You are not logged in.
Hi, I have a RT2500 card, and I start my wpa wireless network from a custom script with iwpriv commands:
#!/bin/bash
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
start)
stat_busy "Starting Wireless Interface"
ifconfig ra0 up
iwconfig ra0 essid ulysses
iwconfig ra0 mode Managed
iwpriv ra0 set AuthMode=WPAPSK
iwpriv ra0 set EncrypType=AES
#wpa_passphrase <ssid> [passphrase]
iwpriv ra0 set WPAPSK=somecodedstuff
iwpriv ra0 set TxRate=0
dhcpcd ra0
;;
stop)
stat_busy "Stopping Wireless Interface"
/sbin/ifconfig ra0 down
;;
esac
I have this script in /etc/rc.d as a daemon and it starts at boot. Works very nice. But there is one glitch which sort of annoy me a little. When I start it, this is shown in the terminal:
:: Starting Wireless Interface [BUSY]
But the BUSY does not change into DONE, even though wireless network loads properly. How do I fix this small problem?
Last edited by anadyr (2008-01-23 19:27:04)
Offline
Don't you need a
stat_done
in there?
-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/
Offline
Oh yeah, I missed that when I looked at the other daemon. Thanks!
Offline