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 time 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