Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 07-20-2005, 01:11 AM   #1
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Rep: Reputation: 16
WEP and dhcpcd, pump, etc.

So there seems to be a curse surrounding 128-bit WEP encryption and automatically obtaining an IP from a wireless router. I have read or skimmed through a whole bunch of web posts, many of them here, where people can only seem to get an IP address when WEP is off. As soon as WEP is on, things start failing right and left. I had this problem on my laptop until I figured out that I had to enter the hex key manually, the ASCII wasn't going to work.

This takes the cake though: On another laptop I am able to boot from the Knoppix 3.7 live CD, configure WEP per the router, run pump and get an IP address. When I did a hard drive install of Knoppix with knx2hd, the network worked for exactly two days. It then ceased to function. The issue: pump was failing to get an IP address with WEP enabled. Big f'ing surprise. So I formatted the hard drive, tried the LiveCD again, everything worked fine. Redid the hard drive install: nothing, same problem. I've been using Linux (various distros) for over two years now. I could probably compile my kernel in my sleep. Yet it's this kind of goofy, illogical situation that makes me wonder why I bother.

The various posts I've read have had lots of good suggestions, such as changing to a 64-bit key, making sure the wifi card loads first, making sure the essid is set to the router after setting the key, trying open vs restricted keys... the thing is, since the same configuration is being used in exactly the same way with the Live CD, none of these things should make a difference. The suggestions I have tried have indeed not worked.

I should mention that the same laptop running WindowsXP connects fine. Another laptop running Gentoo (mine) and using the exact same wifi card connects fine with WEP and everything. Drivers are different though, I'm using hostap, and the other one is using orinoco. I tried using hostap on the knoppix laptop though, and it didn't work either.

So it's a big mystery. I'd love an answer from anyone who has seen this, and fixed it. Or perhaps a link to a WPA HOWTO so I don't have to deal with stupid WEP? The ultimate goal is to set up a laptop running Linux so someone who is learning the thing and seeking to replace Windows with it can use it relatively easily, i.e. so they can connect to the internet wirelessly. It's tough being a Linux evangelist when this sort of thing refuses to work! I'm aware that WEP is crap, but it's also one of those things where I stubbornly want to be able to fix the problem. I'm sure some of you out there can relate! Thanks.

Add'l info: kernel 2.6.9 on the Knoppix, 2.6.12-gentoo-r8 on mine

Last edited by cellist; 07-20-2005 at 01:24 AM.
Old 07-31-2005, 11:28 AM   #2
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Original Poster
Rep: Reputation: 16
Old 08-03-2005, 11:14 PM   #3
Registered: Aug 2005
Location: Lansing, IL
Distribution: Opensuse 11
Posts: 140

Rep: Reputation: 15
I went through much frustration with WEP. I switched my router to use WPA-PSK, and I used wpa_supplicant.

This linkt#1

and this part of the gentoo hanbook helped me get my wireless going.

Check and see if you can use wpa_supplicant on knoppix?

good luck...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pump cjnodell Linux - Networking 2 08-12-2005 09:05 AM
Pump Fails with WEP jonwatson Linux - Wireless Networking 6 07-18-2005 02:23 PM
Linux/Debian, WEP and linux-wlan - cannot get it to work with WEP slewis1972 Linux - Wireless Networking 1 12-25-2003 05:48 PM
Pump.. Pongo Linux - Newbie 1 01-20-2003 12:33 PM
pump febisfebi Linux - Networking 1 11-29-2001 07:25 AM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration