Lucio Crusca wrote:
> ifconfig $WLESS_IF up
> iwconfig $WLESS_IF mode managed
> iwconfig $WLESS_IF rate 2Mb
> iwconfig $WLESS_IF essid "videokernel"
> ifconfig $WLESS_IF 192.168.1.22 netmask 255.255.255.0
> route add default gw 192.168.1.1 dev $WLESS_IF
> wpa_supplicant -Bw -c /etc/wpa_supplicant/wpa_supplicant.conf -i$WLESS_IF

This is a rather strange script. If you're using wpa_supplicant you 
don't need most of the above. Configure wpa_supplicant correctly, 
manually wait until it has completed association, then configure your IP 
and route info.

wpa_supplicant will handle bringing the interface up, associating, etc.

Daniel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to