LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-25-2008, 09:46 PM   #1
Gildawie
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
Kubuntu 8.04 cannot connect to secure wireless router (WEP)


Hi.

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.

Thanks.
Ian Robertson
 
Old 10-26-2008, 06:56 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Does it work with iwconfig?
Code:
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
Code:
ifconfig wlan0 up
and if you want it down, respectively
Code:
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.

Last edited by b0uncer; 10-26-2008 at 06:58 AM.
 
Old 10-27-2008, 12:24 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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


Reply

Tags
ubuntu, wireless


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
Unable to connect wireless (WEP) on Slack 12.1 with Intel 3495ABG and DI-624 Router dewert Linux - Wireless Networking 9 04-13-2009 08:03 AM
Unable to connect wireless (WEP) on Slack 12.1 with Intel 3495ABG and DI-624 Router dewert Slackware 2 05-21-2008 05:48 AM
bcm4306 no connect but can see WEP router using b43, fwcutter, F8 tnrooster Linux - Wireless Networking 14 02-05-2008 04:14 PM
Must disable and re-enable WEP on router to connect BigFoot13 Linux - Wireless Networking 0 05-19-2007 01:10 PM
Can't connect over vpnclient with WEP enabled Wireless Router Brad.Scalio@noaa.gov Linux - Software 0 05-12-2007 11:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:04 AM.

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