I'm struggling with setting my static ip, nothing seems to work.
When I enter my interfaces, it says (by default):
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
And that's okay, so, now I just want to assign a static ip, and I am using the wlan0 device in order to do so, as eth0 is unavailable. I try to add in below, for example:
auto wlan0
iface wlan0 inet static
address 192.168.0.87/24
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.87/24, 8.8.8.8
wpa-ssid 'user'
wpa-psk 'password' # I also tried it with hex value without quotation marks
For sure, I know that my gateway is like that, all of it comes from the interface settings under nmcli dev list iface wlan0, but then it does not work. When I reboot the system, despite my network manager is properly disabled, the connections do not work, it just freezes and times out every time.
What could possibly wrong here?