Jump to content

Set static ip ethernet and wifi armbian-OrangePiPC


divide

Recommended Posts

Hi all. I want set static ip ethernet and wifi but when i set static ip ethernet. Wifi not working, I can ping to my gateway but can not ping to google.

this is my setting:  /etc/network/interfaces

 

source /etc/network/interfaces.d/*
auto eth0
#allow-hotplug eth0
#no-auto-down eth0
iface eth0 inet static
address 192.168.20.233
netmask 255.255.255.0
gateway 192.168.20.1
dns-nameservers 8.8.8.8 8.8.4.4

auto wlan0
#allow-hotplug wlan0
#no-auto-down wlan0
iface wlan0 inet dhcp
wpa-ssid  "myssid"
wpa-psk "mypass"

 

 

Edited by divide
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