bananapi M1 /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.51
netmask 255.255.255.0
gateway 192.168.1.1

allow-hotplug wlan0
iface wlan0 inet static
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
wpa-ssid ASUS***
wpa-psk ********
address 192.168.1.52
netmask 255.255.255.0
gateway 192.168.1.1
network 192.168.1.1
iface default inet dhcp


你可能感兴趣的:(bananapi M1 /etc/network/interfaces)