G
G
g00dv1n2015-05-16 23:55:15
linux
g00dv1n, 2015-05-16 23:55:15

Have I configured the static ip correctly?

In general, I decided to set up a static ip on my Ubuntu, since there are a lot of devices at home and it’s not cool to prescribe a new IP for port forwarding all the time.
auto wlan0
iface wlan0 inet static
address 192.168.0.2
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 192.168.0.1, 192.168.0.2, 8.8.8.8
added wpa-
pssid
from this example the corresponding lines in /etc/network/interfaces.
Everything is working.
But now he does not see other access points (or rather, the icon for connecting to a wifi network is inactive, as it were, and there is no list of access points). The question is how to fix it and why? This is not so important, but I would like to understand why.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Power, 2015-05-17
@g00dv1n

"wifi icon" is NetworkManager. As far as I understand it does not manage interfaces that are manually configured (via /etc/network/interfaces). If you need NetworkManager, set up a connection through it. Better yet, make a static IP binding to the MAC address on the router.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question