As you mention that you use a 128 bit key I will assume that you are trying to connect to a WEP encrypted AP. These are the only steps that should be required to connect through the command line:
The first two steps are to make sure that you do not have a dhcpcd client currently running and no previous settings in your /etc/dhcpc/ directory that could interfere with the process. Also you want to make sure that you wait after issuing the ifconfig rausb0 up command until your wireless card has locked onto your AP before using the final command. you can check the process by in an additional shell window using the command watch iwconfig rausb0.Code:rm /etc/dhcpc/* dhcpcd –k rausb0 iwconfig rausb0 mode managed iwconfig rausb0 essid "MyNetworkName" iwconfig rausb0 key ”your WEP key in hex form, ie 01122…” ifconfig rausb0 up dhcpcd –d –n rausb0


