-   Ubuntu (
-   -   Kubuntu 8.04 cannot connect to secure wireless router (WEP) (

Gildawie 10-25-2008 09:46 PM

Kubuntu 8.04 cannot connect to secure wireless router (WEP)

I'm new to Linux, but have 25 years computing experience.

I have installed Kubuntu 8.04 on a Gateway M6866 laptop.

Wireless adapter is working OK because I can connect when network is unsecured, or secured with WPA.

But once the same network is secured using WEP, connection doesn't happen. I can see available networks in KNetwork Manager but can no longer connect. No error messages, just no connection. Following DHCP negotiation the progress bar disappears.

Is there anything I can try to enable connection to the WEP secured router?
I would really like to keep this as I need WEP for some legacy machines.
Any suggestions will be very welcome.

Ian Robertson

b0uncer 10-26-2008 06:56 AM

Does it work with iwconfig?

sudo iwconfig wlan0 essid network_essid key s:password
dhclient wlan0

If your Kubuntu uses name eth1 for the wireless ethernet card rather than wlan0, change it to the commands above (eth0 is usually your wired ethernet device). Also note that you'll use the form s:password if your password is ASCII, but if it's instead in hex, just drop off the s: (in ascii: key s:password, in hex: key password). And if there are special letters, try quoting the essid/password to escape them.

If it connects that way, the problem is in the application you usually use to connect to networks; either it assumes the key wrong (ascii/hex) or does something else the wrong way..but if iwconfig method fails too, it's something more interesting.

I'm not sure, but you might have to bring the interface up before doing that (if it says no such interface); in that case use

ifconfig wlan0 up
and if you want it down, respectively

ifconfig wlan0 down
Note that on command line you'll use ifconfig to bring devices up/down and configure wired devices, but when configuring wireless devices (no encryption or WEP), you'll use iwconfig instead. For WPA encryption (on command line) you'll need to use something like wpa_supplicant instead; iwconfig doesn't do WPA as far as I know.

Tinkster 10-27-2008 12:24 PM

Moved: This thread is more suitable in <UBUNTU> and has been moved accordingly to help your thread/question get the exposure it deserves.

All times are GMT -5. The time now is 11:35 PM.