dgm78 Posted February 21, 2017 Share Posted February 21, 2017 Hi! I think all fine in my configuration, but not connect on boot, I need to killall -q wpa_supplicant and run /etc/init.d/networking restart to connect. # /etc/network/interfacesiface wlan0 inet staticaddress 192.168.1.200netmask 255.255.255.0network 192.168.1.0broadcast 192.168.1.255gateway 192.168.1.1pre-up wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -wB -D <forgot the name>post-down killall -q wpa_supplicant Link to comment Share on other sites More sharing options...
jkajolin Posted February 22, 2017 Share Posted February 22, 2017 If you have network manager running it will mess up and you should not use wpa_supplicant direcrly but use nmcli commands / profiles I just use thins simple line on /etc/network/interfaces wpa-conf /etc/wpa_supplicant/example.conf Link to comment Share on other sites More sharing options...
tkaiser Posted February 22, 2017 Share Posted February 22, 2017 I need to killall -q wpa_supplicant and run /etc/init.d/networking restart to connect Why? Just ignore wpa_supplicant and other anachronistic methods you find in gazillions of tutorials, configure Wi-Fi with nmtui ('Edit connection' as second step if you missed to assign a static IP address config before) and you're done. Link to comment Share on other sites More sharing options...
Recommended Posts