robinbobin ([personal profile] robinbobin) wrote2016-11-17 06:59 pm

static ip on wifi on Raspberry

было в /etc/network/interfaces

#allow-hotplug wlan0
#iface wlan0 inet manual
# wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

стало

allow-hotplug wlan0
iface wlan0 inet static
address 192.168.0.31
netmask 255.255.255.0
gateway 192.168.0.1
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf


и /etc/init.d/network restart
не помогает

тупо reboot