Hello, as I have written in another thread, I am using a TP-Link TL-WN321G USB wifi adapter to connect to my wireless AP. At system sturtup, it connects without problems, however after some usage (maybe half an hour, or an hour, sometimes less, sometimes more), it looses connection. My question is: what is the preoper way of restoring the connection in this case?
What I have tried is the followig:
- Just wait. (Nothing happens, connection remains down).
- Run wpa_supplicant manually. (Not able to reconnect: it cannot associate, or after association, it cannot exchange keys. Tried even ifdown and ifup first, without any luck).
- Reboot the system: in this case, it works again.
Due to this, I suspect, that when the connection is lost, the driver gets into some "locked" state, and there should be some command to "unlock" it.
In case it matters, my configuration is the following:
chipset: rum0
wireless interface: wlan0
wpa_supplicant.conf:
the relevant parts of rc.conf:
One remark: sometimes (before login, or shortly after) I get the following message:
Maybe I have not configured something correctly?
Currently I am using FreeBSD in console mode, because I want to upgrade every package before configuring KDE (thus I cannot use graphical tools to configure the network)
What I have tried is the followig:
- Just wait. (Nothing happens, connection remains down).
- Run wpa_supplicant manually. (Not able to reconnect: it cannot associate, or after association, it cannot exchange keys. Tried even ifdown and ifup first, without any luck).
- Reboot the system: in this case, it works again.
Due to this, I suspect, that when the connection is lost, the driver gets into some "locked" state, and there should be some command to "unlock" it.
In case it matters, my configuration is the following:
chipset: rum0
wireless interface: wlan0
wpa_supplicant.conf:
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="<My_SSID>"
scan_ssid=1
key_mgmt=WPA-PSK
psk="XXXX"
}
the relevant parts of rc.conf:
Code:
defaultrouter=192.168.2.1
...
SNIP
...
hostname="<MY_hostname>"
wlans_rum0="wlan0"
ifconfig_wlan0="DHCP WPA"
...SNIP
One remark: sometimes (before login, or shortly after) I get the following message:
Code:
rum0: need multicast update callback
Currently I am using FreeBSD in console mode, because I want to upgrade every package before configuring KDE (thus I cannot use graphical tools to configure the network)