vovolixo Posted May 9, 2017 Posted May 9, 2017 I'm trying to set up my OPI PC+ with a static IP address on wlan, but it doesn't seen to be working. This is my /etc/network/interfaces file: allow-hotplug wlan0 iface wlan0 inet static address 192.168.25.160 netmask 255.255.255.0 gateway 192.168.25.1 dns-nameservers 8.8.8.8 8.8.4.4 wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf I tried both with wpa supplicant line commented and non commented, but every time I boot up the board, it is still with the DHCP address.
tkaiser Posted May 10, 2017 Posted May 10, 2017 8 hours ago, vovolixo said: /etc/network/interfaces What about deleting/emptying this file, then using nmtui (Activate Connection) to connect to your Wi-Fi and if that succeeds calling nmtui again (Edit Connection) to set the static IPv4 configuration?
vovolixo Posted May 13, 2017 Author Posted May 13, 2017 On 2017-5-10 at 4:04 AM, tkaiser said: What about deleting/emptying this file, then using nmtui (Activate Connection) to connect to your Wi-Fi and if that succeeds calling nmtui again (Edit Connection) to set the static IPv4 configuration? It worked like a charm! Thanks. 1
Recommended Posts