Hello,
I would like the WLAN interface on my laptop to be down by default but ready to connect to my network with a simple
Everything works as expected with the following configuration:
/etc/rc.conf
/etc/wpa_supplicant.conf
... but that automatically connects the interface at boot, which is not what I want.
So, I tried to use NOAUTO:
As expected, no automatic connection occurs.
However, when turning on the interface with
What could I do?
I would like the WLAN interface on my laptop to be down by default but ready to connect to my network with a simple
ifconfig wlan0 up.Everything works as expected with the following configuration:
/etc/rc.conf
Code:
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA DHCP country CH"
/etc/wpa_supplicant.conf
Code:
network={
ssid="myssid"
psk="mypsk"
priority=1
}
... but that automatically connects the interface at boot, which is not what I want.
So, I tried to use NOAUTO:
Code:
ifconfig_wlan0="WPA DHCP NOAUTO country CH"
As expected, no automatic connection occurs.
However, when turning on the interface with
ifconfig wlan0 up, the computer doesn't connect to the SSID set in wpa_supplicant.conf but to a random unprotected network in the neighbourhood. It seems that wpa_supplicant is not called when starting the interface manually.What could I do?