SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im running Slackware 14.1 on IBM Thinkpad T42, and I'm using only wifi. I'm using my ADSL-modem as dhcp-server and a Buffalo WHN-G300N as a hotspot.
Everything works fine with my wife's minilaptop Samsung N150 / Win7 and my desktop HP Pavilion a6622sc Vista/Ubuntu 14.04 dual boot.
I run Mint13/MATE on this laptop for years, but no problems with network, so I don't think the problem is in HW.
With my StinkBad/Slackware the problem is that using Network Manager the connection breaks every now and then - maybe once per hour on the average using AES/WAP. With TKIP it breaks the connection a bit more often.
With wicd the breaks take place mayne every 5 minutes on the average using TKIP. With AES/WPA it shows in the bottom all kinds of stuff, then at the end:
"Connected to kotiverkko-G-AES "Nickname: " JAA-SLACK at 84%" and then something else.
It shows it about 1 second and says "Not connected".
I selected autoconnection usage for both wicd and NM, but it doesn't autoconnect. While connection was broken I checked rfkill list and nothing was blocked. Also iwlist scanning looked normal even when connection was broken.
A funny thing: with wicd, when I connect, the /var/log/wicd/wicd.log:
Code:
2014/07/05 15:42:10 :: DHCP connection successful
2014/07/05 15:42:10 :: not verifying
2014/07/05 15:42:10 :: Connecting thread exiting.
2014/07/05 15:42:10 :: ifconfig eth1
2014/07/05 15:42:10 :: IP Address is: 192.168.1.40
2014/07/05 15:42:10 :: Sending connection attempt result success
But when the break occurs, nothing is added to the log.
The wpa_supplicant log (I guess the NM uses that):
Code:
bash-4.2# tail -f /var/log/wpa_supplicant.log
eth1: Associated with 00:1d:73:73:88:ea
eth1: WPA: Key negotiation completed with 00:1d:73:73:88:ea [PTK=CCMP GTK=CCMP]
eth1: CTRL-EVENT-CONNECTED - Connection to 00:1d:73:73:88:ea completed [id=0 id_str=]
Successfully initialized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
eth1: Trying to associate with 00:1d:73:73:88:ea (SSID='kotiverkko-G-AES' freq=2437 MHz)
eth1: Associated with 00:1d:73:73:88:ea
eth1: WPA: Key negotiation completed with 00:1d:73:73:88:ea [PTK=CCMP GTK=CCMP]
eth1: CTRL-EVENT-CONNECTED - Connection to 00:1d:73:73:88:ea completed [id=0 id_str=]
eth1: WPA: Group rekeying completed with 00:1d:73:73:88:ea [GTK=CCMP]
eth1: CTRL-EVENT-DISCONNECTED bssid=00:1d:73:73:88:ea reason=3 locally_generated=1
eth1: Trying to associate with 00:1d:73:73:88:ea (SSID='kotiverkko-G-AES' freq=2437 MHz)
eth1: Associated with 00:1d:73:73:88:ea
eth1: WPA: Key negotiation completed with 00:1d:73:73:88:ea [PTK=CCMP GTK=CCMP]
eth1: CTRL-EVENT-CONNECTED - Connection to 00:1d:73:73:88:ea completed [id=0 id_str=]
This is break, disconnecting, reconnecting.
Last line before disconnecting was:
eth1: WPA: Group rekeying completed with 00:1d:73:73:88:ea [GTK=CCMP]
It looks like in neither case (wicd, NM) the break is not recognized, because the gui shows "connected" status even if web browser doesn't get anywhere (wit other machines browsing works fine at the same time), and the autoconnect doesn't autoconnect.
I really don't know which other logs to look into - or if some more logging should be turned on or something, to find out the reason of the connection breaks.
Executing install script for qemu-2.0.0-i486-2_SBo.tgz.
Package qemu-2.0.0-i486-2_SBo.tgz installed.
Done upgrading/installing package.
Processing aqemu
aqemu:
aqemu not found in /var/cache/sbopkg.
--2014-07-06 11:36:49-- http://downloads.sourceforge.net/aqe...-0.8.2.tar.bz2
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... failed: Connection timed out.
wget: unable to resolve host address 'downloads.sourceforge.net'
aqemu:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
(Y)es to continue, (N)o to abort, (R)etry the build?:
tail -f /var/log/wpa_supplicant.log
eth1: WPA: Key negotiation completed with 00:1d:73:73:88:ea [PTK=CCMP GTK=CCMP]
eth1: CTRL-EVENT-CONNECTED - Connection to 00:1d:73:73:88:ea completed [id=0 id_str=]
Successfully initialized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
eth1: Trying to associate with 00:1d:73:73:88:ea (SSID='kotiverkko-G-AES' freq=2437 MHz)
eth1: Associated with 00:1d:73:73:88:ea
eth1: WPA: Key negotiation completed with 00:1d:73:73:88:ea [PTK=CCMP GTK=CCMP]
eth1: CTRL-EVENT-CONNECTED - Connection to 00:1d:73:73:88:ea completed [id=0 id_str=]
eth1: WPA: Group rekeying completed with 00:1d:73:73:88:ea [GTK=CCMP]
eth1: WPA: Group rekeying completed with 00:1d:73:73:88:ea [GTK=CCMP]
# here the connection was gone
#Then I disconnected
eth1: CTRL-EVENT-DISCONNECTED bssid=00:1d:73:73:88:ea reason=3 locally_generated=1
#then I connected again
eth1: Trying to associate with 00:1d:73:73:88:ea (SSID='kotiverkko-G-AES' freq=2437 MHz)
eth1: Associated with 00:1d:73:73:88:ea
eth1: WPA: Key negotiation completed with 00:1d:73:73:88:ea [PTK=CCMP GTK=CCMP]
eth1: CTRL-EVENT-CONNECTED - Connection to 00:1d:73:73:88:ea completed [id=0 id_str=]
Please provide the output for 'lspci -vv |grep -i wireless'. What about 'dmseg' section for your wireless via 'dmesg |grep -i wireless'. Looking at your link it shows me that laptop uses the 'Intel PRO/Wireless 2200B' so check that the driver/module is correct via lsmod since.Intel Pro is supported. Confirm your firmware is up to date. Here's a old thread that may help: http://www.linuxquestions.org/questi...2200bg-598597/
I didn't know what to search in dmesg, so I browsed through it all, but I didn't find anything out of the ordinary (errors or complaints about wireless, eth1 or the wifi-chip.
In connection information it says that the driver is ipw2200.
If that has any meaning here, wicd used wext:
2014/07/04 04:59:19 :: did not find wpa_driver in configuration, setting default
wext
But wicd worked much worse that Network Manager.
Connects stays for about 10 secs then ask for key again.
With Network Manager my connection may keep up sometimes even a couple of hours, but
typically about a half to full hour, with WPA (WPA works a bit better than TKIP).
It doesn't ask for key, because it looks like the upper layers don't even realize that the connection is lost. I can only tell when web browser can't find servers all of a sudden.
I have to disconnect manually and then reconnect. The key is not asked once it was given.
And all the tine (even during the connection break) the iwlist scanning shows sensible values about nearby networks. It looks like the lower level works, but somehow on the way to upper layers something goes wrong.
Last edited by turboscrew; 07-08-2014 at 04:39 PM.
For almost 24 months I had an issue, similar to yours, with a single netbook's wifi. I'm in the habit of running -current, so the issue persisted through many iterations of slackware.
The wireless network I was running was open, as I was no where near anyone else, plus I have no issue with easily sharing my internet access when the need arises.
I found that I could generally stay connected a *bit* longer with NetworkManager than I could with wicd, but the connection still dropped randomly, suddenly, and seemingly for no reason, regardless.
Then, somewhere, (and I apologize for not furnishing a link), I stumbled across a post stating that wireless N *required* WPA2 authentication to function properly.
I changed from an open network to one requiring WPA2, and my issue was resolved. Don't know if this helps....
For almost 24 months I had an issue, similar to yours, with a single netbook's wifi. I'm in the habit of running -current, so the issue persisted through many iterations of slackware.
The wireless network I was running was open, as I was no where near anyone else, plus I have no issue with easily sharing my internet access when the need arises.
I found that I could generally stay connected a *bit* longer with NetworkManager than I could with wicd, but the connection still dropped randomly, suddenly, and seemingly for no reason, regardless.
Then, somewhere, (and I apologize for not furnishing a link), I stumbled across a post stating that wireless N *required* WPA2 authentication to function properly.
I changed from an open network to one requiring WPA2, and my issue was resolved. Don't know if this helps....
cheers,
This was also the solution for the person whose post I linked to.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.