Results 11 to 18 of 18
Originally Posted by waterhead
I would use the file in the /etc/sysconfig/networking/devices. But the files there are identical to the ones in the network-scripts folder.
Change whatever you feel needs ...
- 11-24-2008 #11Just Joined!
- Join Date
- Nov 2008
- Posts
- 14
Hey,
Thanks for the input man. I have tried this, it somehow broke my network conectivity. Perhaps I am doing somethign wrong or leaving out some entries of of this file. Do you know where I can find out the specifications for these entries so I know what can and should go there.
- 11-24-2008 #12Just Joined!
- Join Date
- Nov 2008
- Posts
- 14
Hey,
Just reporting back. Everything works but I get this erro when I bring my network up or down:
Code:Error for wireless request "Set Encode" Set failed on device wlan0 ; invalid argument (8B2A)
I am sure it has to do with the ifcfig-wlan0 or keys-wlan0 scripts.
Any thoughts on what is casuing this or how to get rid of it?
- 11-25-2008 #13
Maybe this is about the encryption key. Read the iwconfig man pages about this:
key/enc[ryption]Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 11-25-2008 #14Just Joined!
- Join Date
- Nov 2008
- Posts
- 14
Hey, Yes I checked this and still have no luck after playing with a few different settings.
I edited my ifcfg-wlan file to include settings for KEY and ENC but I can`t seem to figure out what is wrong. Perhaps it is related to the wpa_supplicant.conf file although I doubt this becuase this service starts up with out generating any errors.
Where can I go to see the errors log containing the errors from the ifup wlan0 command?
Althought my connection is working, I am concerned as it could be have security implications and I just feel like I need to understand what and why this error is occuring.
Any help is appreciated!
- 11-26-2008 #15
Depending on the type of encryption used, the key is entered in a different way.
For WEP I believe you can enter it with the iwconfig command. For WPA encryption, you must use wpa_supplicant. The wpa_supplicant.conf file is where the encryption key is put, in hex form. You can find the hex version of a text key using the wpa_passphrase command.
Code:> wpa_passphrase usage: wpa_passphrase <ssid> [passphrase]
Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 11-26-2008 #16Just Joined!
- Join Date
- Nov 2008
- Posts
- 14
Yes that is correct and exactly what I have done. It is connecting with the wpa_supplicant service that is running on boot. I get no errors from this at all. It seems to be working well but when I use:
I get this error:Code:ifup wlan0
So I am thinking the problem lies with the /etc/sysconfig/network-scripts/ifcfg-wlan0 file. Here is what is included in mine which is set up for static IP:Code:Error for wireless request "Set Encode" Set failed on device wlan0 ; invalid argument (8B2A)
I also found this file named keys-wlan0 and this is the contents of that file although I have no ideal how that is used either since I assume wpa_supplicant handles the WPA encryption here is that file:Code:# Static IP Config TYPE=Wireless DEVICE=wlan0 HWADDR=00:1e:58:9e:37:02 CHANNEL=1 RATE=54M ESSID=JAZZNET MODE=Managed ONBOOT=yes BOOTPROTO=none BROADCAST=192.168.1.255 IPADDR=192.168.1.200 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 DNS0=192.168.1.1 NETWORK=192.168.1.0 PEERDNS=no IPV6INIT=no USERCTL=no NM_CONTROLLED=no
I am so lost any help is appreciated.Code:KEY=mypasswordinhexmypasswordinhexmypasswordinhexmypasswordinhex
- 11-26-2008 #17Just Joined!
- Join Date
- Nov 2008
- Posts
- 14
This was the problem!!! I had to comment out this line and the error went away. I dawned on me that the keys-wlan0 file is used to pass a WEP encryption key to connection but since I have wpa_supplicant doing this for me, I need not have the file or any entry in this keys-wlan0 file. Since my connection already has accepted a WPA Key this file sending a second key, WEP type at that was giving the error.
Thanks for your help!
- 11-26-2008 #18
Good work!
Paul
Please do not send Private Messages to me with requests for help. I will not reply.



Reply With Quote
