Jump to content

Recommended Posts

Posted

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/interfaces
iface wlan0 inet static
address 192.168.1.200
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
pre-up wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -wB -D <forgot the name>
post-down killall -q wpa_supplicant

Posted

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
Posted

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.

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

Important Information

Terms of Use - Privacy Policy - Guidelines