PDA

View Full Version : Error for wireless request “Set Encode” (8B2A) :


Dirne
2005-12-21, 09:12 AM CST
Hi,

I’m a Linux newbie with some wireless network problems. My wireless network is working fine when I don’t use the password protection option. But when I’m trying to set up a wireless connection with password protection using this command: ‘iwconfig eth0 essid APname key s:password’,
I get this error:
Error for wireless request “Set Encode” (8B2A) :
SET failed on device eth0 ; Argument list too long.

I get the same error if I try entering a password in hex.

Laptop:
Software:
Fedora Core 4
Wireless Adapter:
Intersil PRISM2 11 Mbps Wireless Adapter
Driver:
orinoco_cs

code_astronomer
2005-12-21, 10:43 AM CST
Hi,
Im a complete noob with Fedora so Im not sure what to suggest, but you could always try splitting the commands:

iwconfig eth0 essid APname
iwconfig eth0 key password

Dirne
2005-12-21, 11:23 AM CST
Weird! That actually works, at least with hex-codes. I haven’t been able to test it with a normal code yet.

Thanks

Dirne
2005-12-21, 12:20 PM CST
Is it possible to make some kind of batch or python file containing the iwconfig commands? It would be a lot easier to execute one file once booted, instead of typing those damn commands each time I reboot.

code_astronomer
2005-12-21, 12:25 PM CST
If you look in: /etc/sysconfig/network-scripts/ you should find a config file that you can add your details to.
it would probably be called something like: ifcfg-eth0 for you I think. That should get loaded at boot time and so you wont have to re-enter any settings. Thats how mine works. (literally got mine working today)

Dirne
2005-12-21, 12:43 PM CST
K, that sounds nice. But if I wanted to make such a file, could you tell me what it would look like?

I could really use that knowledge for other purposes as well.

code_astronomer
2005-12-21, 01:03 PM CST
In Fedora, you can add commands to the .bashrc file thats (hidden) in your home folder. You can basically add commands to it like you would if you were in a terminal...I think. Please dont quote me on that haha.