LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2012, 12:41 PM   #1
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101

Rep: Reputation: 21
wicd can't connect to wireless


I have ethernet network working on my system, but the wireless wouldn't work. So I installed wicd, but now it seems that even wicd can't connect to the wireless network. It hangs on saying "validating authentication" and after around 30 seconds quits saying "No connection".
The output of lspci -v is
Code:
04:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
Kernel driver in use: iwlagn
Kernel modules: iwlagn

08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)
Kernel driver in use: tg3
Kernel modules: tg3
I'm using a WEP passphrase which is definitely correct.
 
Old 06-06-2012, 02:55 PM   #2
nixblog
Member
 
Registered: May 2012
Posts: 426

Rep: Reputation: 53
It could be as simple as (but might not be) the access point not negotiating DHCP correctly with your device - this has happened to me. Try setting your IP address, subnet mask, gateway and DNS servers manually in wicd then try connecting.

Also, what distro are you using and why are you using WEP (is quite insecure)?
 
Old 06-06-2012, 04:58 PM   #3
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by nixblog View Post
It could be as simple as (but might not be) the access point not negotiating DHCP correctly with your device - this has happened to me. Try setting your IP address, subnet mask, gateway and DNS servers manually in wicd then try connecting.
Tried, but still fails.

Quote:
Originally Posted by nixblog View Post
so, what distro are you using and why are you using WEP (is quite insecure)?
I'm using slackware. Yeah, I know WEP is too insecure but facing the same problem with WPA.
 
Old 06-06-2012, 09:06 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
It's farfetched, but I sometimes have this problem and found that rebooting my wireless router fixes it. I think the router needs replaced, but I've been too lazy to get around to it.

When the problem occurs, wireless devices that are already connected remain connected, but new connection attempts throw an authentication error.
 
Old 06-06-2012, 10:14 PM   #5
nixblog
Member
 
Registered: May 2012
Posts: 426

Rep: Reputation: 53
Quote:
Originally Posted by frankbell View Post
When the problem occurs, wireless devices that are already connected remain connected, but new connection attempts throw an authentication error.
Yeah, just replaced a friends Dlink router as it was doing something similar. Some disconnected, some stayed connected and new connections never completed.
 
Old 06-06-2012, 10:53 PM   #6
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slack_64 14.2
Posts: 226

Rep: Reputation: 29
Are you sure the encryption level is set the same between the router and the computer? The symptoms are similar to what you are seeing.
I've had problems with this before(in windows) Usually 40 & 64 bit are compatible with each other, but neither of those are compatible with 128 bit.
I haven't used WEP in a long, long time... Not sure how to change the encryption level in WICD, but it should be easy to change in your routers configuration....

Last edited by ceh383; 06-06-2012 at 10:56 PM.
 
Old 06-07-2012, 12:04 AM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Try using wpa_passphrase
for the proper usage, man wpa_passphrase
 
Old 06-07-2012, 05:19 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Don't know if this is relevant or helpful, but I had problems getting or maintaining a wireless connection with wicd on my laptop and netbook - so I installed Network Manager. No problems since.
 
Old 06-07-2012, 01:59 PM   #9
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101

Original Poster
Rep: Reputation: 21
I installed Network manager and it's dependencies. But when I run nm-applet it says
Code:
bash: /usr/bin/nm-applet: cannot execute binary file
the user is already in the netdev group..
 
Old 06-07-2012, 02:13 PM   #10
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
When I installed it, I ran:
Code:
chmod +x /etc/rc.d/rc.networkmanager
then:
Code:
/etc/rc.d/rc.networkmanager start
And edited the wicd entry in /etc/rc.d/rc.M to read:
Code:
# Start Network Manager:
if [ -x /etc/rc.d/rc.networkmanager ]; then
  sh /etc/rc.d/rc.networkmanager start
To start it at boot-up.
 
Old 06-07-2012, 02:45 PM   #11
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101

Original Poster
Rep: Reputation: 21
I've already changed the permissions and also edited the /etc/rc.d/rc.M file, but I can't seem to run nm-applet. I was trying to figure out a way to connect using nmcli. But it seems that nmcli only connects to pre-connected connections.
Code:
nmcli -p dev wifi
shows me my the connection. But whenever I try
Code:
nmcli con up id 'connection id here'
it throws me the following error
Code:
Error: Unknown connection: connection id here.
I can't seem to figure out what the id is. Is it the SSID or just the name of the connection?
 
Old 06-07-2012, 03:06 PM   #12
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
I don't know. Try your SSID. I only had to do like craigevil mentioned regarding wpa_passphrase, edit /etc/wpa_supplicant.conf, then what I said in my previous post, and everything worked OK. nm-applet showed up in my system tray on the next boot-up.

Last edited by brianL; 06-07-2012 at 03:08 PM.
 
Old 06-07-2012, 03:28 PM   #13
r_s
Member
 
Registered: May 2009
Distribution: slackware, fedora, ubuntu
Posts: 101

Original Poster
Rep: Reputation: 21
Worked. re-installed network-manager-applet 0.8.2 and it worked.

btw. nmcli can't be used to connect to networks you haven't connected before. I was able to use it to connect to my ethernet network but not my wireless.
 
Old 06-07-2012, 03:35 PM   #14
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Glad you've got it sorted out.
 
  


Reply

Tags
slackware, wicd, wireless



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
[SOLVED] bt5 r2 "wicd "wireless bad password and unable to connect to access point errors sagy Linux - Newbie 2 05-19-2012 05:03 PM
wicd won't connect to a particular wireless net while Windows will Cultist Linux - Networking 4 12-26-2010 01:52 PM
Wicd in current won't connect to wireless network. Fixed it with rebuilding grissiom Slackware 6 03-06-2010 12:16 AM
NM & WICD cannot connect to WEP/WPA 2 wireless elusive_night Linux - Newbie 3 09-28-2009 06:04 PM
Cannot connect to wireless network with wicd on Zenwalk Kenny_C Linux - Wireless Networking 1 04-07-2009 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:26 PM.

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