Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RaLink RT2500 WEP problem [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
EneNL
n00b
n00b


Joined: 31 Aug 2005
Posts: 54
Location: The Netherlands

PostPosted: Fri Dec 02, 2005 11:20 pm    Post subject: RaLink RT2500 WEP problem [SOLVED] Reply with quote

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
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Sat Dec 03, 2005 12:13 am    Post subject: Reply with quote

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
View user's profile Send private message
EneNL
n00b
n00b


Joined: 31 Aug 2005
Posts: 54
Location: The Netherlands

PostPosted: Sat Dec 03, 2005 12:25 am    Post subject: Reply with quote

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
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Sat Dec 03, 2005 8:23 am    Post subject: Reply with quote

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
View user's profile Send private message
EneNL
n00b
n00b


Joined: 31 Aug 2005
Posts: 54
Location: The Netherlands

PostPosted: Sun Dec 04, 2005 1:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum