LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-10-2013, 07:12 AM   #1
Rotten194
LQ Newbie
 
Registered: Dec 2011
Posts: 20

Rep: Reputation: Disabled
Wireless issues with Realtek card, NetworkManager, and wpa_supplicant


I'm currently having issues trying to connect to wireless that appeared after an update. When I try to connect, it simply enters an infinite reconnect loop, asking me for the password each time. I can connect to unencrypted networks fine with the ifconfig/iwconfig/dhclient method (haven't tried it on my encrypted network yet, since I'm not near it at the moment), but NetworkManager just freaks out.

This is the common bit of the log of trying to connect to an unencrypted network (the same one I'm currently on using dhclient) and trying to connect to my encrypted network. I'll get the full log of failing to connect to my encrypted network when I get back to it later.
Code:
May 10 07:48:49 not-skynet NetworkManager[1029]: <info> Config: set interface ap_scan to 1
May 10 07:48:49 not-skynet NetworkManager[1029]: <info> (wlan0): supplicant interface state: disconnected -> scanning
May 10 07:48:59 not-skynet NetworkManager[1029]: <info> (wlan0): supplicant interface state: scanning -> authenticating
May 10 07:49:04 not-skynet NetworkManager[1029]: <info> (wlan0): supplicant interface state: authenticating -> disconnected
May 10 07:49:05 not-skynet NetworkManager[1029]: <info> (wlan0): supplicant interface state: disconnected -> scanning
May 10 07:49:14 not-skynet NetworkManager[1029]: <warn> Activation (wlan0/wireless): association took too long, failing activation.
I've upgraded wpa_suppliant from 1.0 to 2.0, didn't help. Using the newest version of Xubuntu (13.04) on a liveusb didn't help.

Code:
$ NetworkManager --version && wpa_supplicant -v | grep v && uname -r
0.9.6.0
wpa_supplicant v2.0
3.5.0-28-generic
Code:
$ lsmod | grep rtl
rtl8192ce              53546  0 
rtl8192c_common        48656  1 rtl8192ce
rtlwifi                74703  1 rtl8192ce
mac80211              549341  3 rtl8192ce,rtl8192c_common,rtlwifi
cfg80211              211134  2 rtlwifi,mac80211
compat                 14950  7 rtl8192ce,rtlwifi,mac80211,cfg80211,bnep,rfcomm,bluetooth
 
Old 05-10-2013, 01:45 PM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Hi

What do you mean with...
Quote:
to connect to wireless that appeared after an update.
?

What appeared after an update?
What did you update?
Was it working before [whatever you did]?
Is it to your own wlan access point that you're trying to connect to or is it something else?

Cheers!
 
Old 05-10-2013, 04:39 PM   #3
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
What distro...

Which linux and which desktop are you using? I found that I could best manage my wireless internet connections using NetworkManager with the Gnome NetworkManager applet.

I use the KDE desktop on openSUSE 12.2 but the applet can be installed and run without a problem.

I ran into the same sort of problem as yours at one time and could use the applet to remove all the settings from previous connection attempts and then configure the connection. The applet seems to be quite good at picking up the wireless at boot. Is it worth a try?

Last edited by thorkelljarl; 05-10-2013 at 04:58 PM.
 
Old 05-10-2013, 07:47 PM   #4
Rotten194
LQ Newbie
 
Registered: Dec 2011
Posts: 20

Original Poster
Rep: Reputation: Disabled
I've been messing around for a while and the problem seems to be getting an IP address from DHCP.

Quote:
Listening on LPF/wlan0/7c:4f:b5:72:fb:7f
Sending on LPF/wlan0/7c:4f:b5:72:fb:7f
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
etc etc
(excuse any typos, I had to retype this by hand since it's on another computer with no internet, hence the post...)

Installing wicd led to a bad password error, which apparently can be wicd misinterpreting a failed dhcp request, so both NetworkManager and wicd are having this problem.

How can I fix this?

Quote:
Originally Posted by Pearlseattle View Post
Hi

What do you mean with...

?

What appeared after an update?
What did you update?
Was it working before [whatever you did]?
Is it to your own wlan access point that you're trying to connect to or is it something else?

Cheers!
The network problems appeared
I think it was a kernel update. I want to keep it around because it seems to have fixed a null pointer deref that caused random kernel panics
Yes, it was working fine - or as fine as wireless on linux can work, anyways
Yes, it's my access point (WPA2)

Quote:
What distro...
Xubuntu 12.10. And I don't think a different applet will fix this.

Last edited by Rotten194; 05-10-2013 at 07:50 PM.
 
Old 05-10-2013, 08:42 PM   #5
Rotten194
LQ Newbie
 
Registered: Dec 2011
Posts: 20

Original Poster
Rep: Reputation: Disabled
So this gets weirder and weirder...

I used a program called Connectify to set up a WPA-PSK hotspot on a Windows netbook. Same encryption as the network I was trying to connect to earlier, and all it does is bridge to that network...

I connected to it, and it works perfectly. WTF?
 
  


Reply



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
Serious issues with Realtek RTL8187SE wireless card hololeap Linux - Hardware 2 10-16-2011 03:32 AM
Realtek wireless issues with 13.37 D1ver Slackware 12 05-05-2011 03:51 PM
Gentoo: Trying to get my wireless card working with NetworkManager kahlil88 Linux - Networking 2 04-15-2009 11:48 AM
NetworkManager + wpa_supplicant Zxarr Linux - Wireless Networking 2 07-07-2008 08:39 AM
wireless issues with ndiswrapper and wpa_supplicant 1337ln Slackware 2 10-04-2007 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:00 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