Which driver do you use? The "wl" driver from broadcom or the "brcmsmac" open source driver? Please show us an output of dmesg, when the wifi card lost connection. Am 23.03.2014 09:29, schrieb Petr Shevtsov:
Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter
-- Petr Shevtsov
23.03.2014, 15:09, "Hannes Mayer" <kontakt@ecarux.de>:
Which networkcard do you use? (lspci) I have had some trouble with a BCM43142 and wpa_supplicant in the last days.
Am 23.03.2014 08:11, schrieb Petr Shevtsov:
Hello,
I've got some problems with my WiFi start script:
1. From time to time it just «looses» the connection, so I have to manually reconnect it with `/etc/rc.d/wifi restart`; 2. From time to tWhichh Nime it doesn't reconnect on my laptop wake-up after suspend; 2. dhcpcd processes aren't properly killed, so after the days of using (and dozens of wifi restarts) I see lots of running processes with `ps ax | grep dhcpcd`.
My /etc/rc.d/wifi script is the following:
#!/bin/sh # # /etc/rc.d/wifi: start/stop wireless network #
case $1 in start) # loopback /sbin/ip addr add 127.0.0.1/8 dev lo broadcast + scope host /sbin/ip link set lo up # wireless /sbin/ip link set wlan0 up /usr/sbin/wpa_supplicant -B -iwlan0 -c/etc/wpa.conf /sbin/dhcpcd -t 30 -h $HOSTNAME wlan0 ;; stop) /sbin/dhcpcd -x rm -f /var/run/dhcpcd-wlan0.pid /sbin/ip link set lo down /sbin/ip addr del 127.0.0.1/8 dev lo /sbin/ip link set wlan0 down /usr/bin/killall -q /usr/sbin/wpa_supplicant rm -f /var/run/wpa_supplicant/wlan0 ;; restart) $0 stop $0 start ;; *) echo "usage: $0 [start|stop|restart]" ;; esac
Thanks!
-- Petr Shevtsov _______________________________________________ CRUX mailing list CRUX@lists.crux.nu http://lists.crux.nu/mailman/listinfo/crux