View previous topic :: View next topic |
Author |
Message |
EneNL n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/2102897908438ddb7a75cb6.jpg)
Joined: 31 Aug 2005 Posts: 54 Location: The Netherlands
|
Posted: Fri Dec 02, 2005 11:20 pm Post subject: RaLink RT2500 WEP problem [SOLVED] |
|
|
After weeks of struggling I got my wireless working. I have a RaLink RT2500 based wireless card.
Without WEP configurations (both on the router and the on the Gentoo box), WLAN works fine most of the time. Sometimes it just won't connect for a mysterious reason.
Anyway, one of the things I have tried is setting up WEP via /etc/conf.d/wireless. With that I can get closest to having a working WLAN. It does not work yet though, because it cannot DHCP an address (as follows:)
Quote: | Starting ra0
Configuring wireless network for ra0
ra0 connected to "nieuwland" at 00:01:36:03:06:FB
in managed mode (WEP enabled - open)
Bring up ra0
dhcp
Running dhcpcd ... [!!] |
This is what happens.
My /etc/conf.d/wireless is:
Quote: | key_nieuwland="s:<HEREIPUTMYWEPKEY> enc open"
preferred_aps=( "nieuwland" ) |
I use 64 bit WEP, although I do have the possibility to use 128 bit, which I would rather use, it's just that I thought I'd try with 64 bit first.
Also, while it is trying to DHCP an address, the DHCP client table in my routers does not show anything.
EDIT: Also, I have read the 7 page long thread below. It didn't solve my problem though, and I didn't want to hijack it.
And another thing, I am ofcourse open to other ways of configuring the WEP key.
Last edited by EneNL on Sun Dec 04, 2005 1:49 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Sat Dec 03, 2005 12:13 am Post subject: |
|
|
It could be that your WEP key is not correct. Try to use the hex one without the "s:" or to put it in single quotes if there are special characters in it.
Code: | key_nieuwland="s:'<your key as a string>'" |
enc open is the default, so you may omit it. _________________ Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
EneNL n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/2102897908438ddb7a75cb6.jpg)
Joined: 31 Aug 2005 Posts: 54 Location: The Netherlands
|
Posted: Sat Dec 03, 2005 12:25 am Post subject: |
|
|
Thanks for you help.
How can I find out what the hexadecimal key is?
The key settings in the router gives these things:
[64 bit or 128 bit] (pull down menu)
Passphrase [inputbox] [generate button]
[key 1 generated]
[key 2 generated]
[key 3 generated]
[key 4 generated]
Default TX Key: [1 or 2 or 3 or 4] (pull down menu] (is set to 1 by the way)
I woould think I should choose the first key that is generated, but it contains letters, not just numbers. So...
EDIT: I added a picture with what it looks like, that might be clearer. And yes I will change the password after this.
Image: http://www.xs4all.nl/~fjnieuw/files/image.png |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Sat Dec 03, 2005 8:23 am Post subject: |
|
|
Looking at the picture the key you get in "keyx generated" is the hex one. The string version is the one typed in passphrase. So use the passphrase with s: or use generated without s:. _________________ Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
EneNL n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/2102897908438ddb7a75cb6.jpg)
Joined: 31 Aug 2005 Posts: 54 Location: The Netherlands
|
Posted: Sun Dec 04, 2005 1:49 pm Post subject: |
|
|
FINALLY. Thanks for your post, but I found out what was wrong.
Just using "9394920519" as the WEP wouldn't work, I then noticed that iwconfig would list it as 9394-9205-19, and I used that in /etc/conf.d/wireless. That works. You brought me on the idea, thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|