Jump to content

Orange PI PC+ Static IP Address


vovolixo

Recommended Posts

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.
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines