On 07-04-16 23:56 Lucio Crusca wrote: Lucio please add to the script the following.
> #!/bin/bash -x killall dhclient # Might not be what you want if you have several # dhclients running in parallel. > modprobe zd1211rw # Shouldn't be needed if udev is configured # the right way. ifconfig wlan0 down > ifconfig wlan0 up > iwconfig wlan0 rate 2Mb > iwconfig wlan0 essid MyAP key xxxxxxxxxxxxxxxxxxxxxxxxxx ap 00:18:F3:93:2D:33 iwconfig wlan0 mode managed > dhclient wlan If it doesn't work, forward the output of iwconfig and ifconfig. If encryption parameters change, do rmmod zd1211rw, followed by a modprobe. -- Uli Kunitz ------------------------------------------------------------------------- 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