Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 09-07-2007, 07:05 PM   #1
Registered: Jul 2003
Distribution: Slackware 10.2 / Slamd 64
Posts: 86

Rep: Reputation: 15
Slackware 12 Wireless problems

Hello all!

I've just recently performed a complete and fresh installation of slackware 12. Up until recently, I was using slackware 11. The slackware installation was running on both a laptop and desktop PC, both are just plain old normal boring x86 32-bit systems. The wireless device I am using is a USB Netgear MA111. I connect to the internet via a server, which in turn is connected to a wireless router.

Under slackware 11, I could use the following script successfully to connect to the internet;


modprobe prism2_usb prism2_doreset=1

wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_hostwep decrypt=true encrypt=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11ExcludeUnencrypted=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0="XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX"
wlanctl-ng wlan0 lnxreq_autojoin "ssid=home" authtype="opensystem"

ifconfig wlan0 up
route add default gw
Under slackware 11, this works fine. Under slackware 12, it dosen't seem to work. If I try to ping - say - I get absolutely nothing in return; under slackware 11 it would work fine. I know the internet is working as I am using another PC with slackware 11 on it, and the internet's working just fine. And with another netgear MA111 too (swapping them over didn't work at all).

Here is some more info;

Output from iwconfig
wlan0     IEEE 802.11-b  ESSID:"home"  Nickname:"home"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:18:39:28:69:D6   
          Bit Rate:11 Mb/s   Tx-Power:18 dBm   
          Retry limit:8   RTS thr:off   Fragment thr:off
          Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX   Security mode:restricted
          Link Quality=52/100  Signal level=-68 dBm  Noise level=-89 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
lo        Link encap:Local Loopback  
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:712 (712.0 b)  TX bytes:712 (712.0 b)

wlan0     Link encap:Ethernet  HWaddr 00:09:5B:B2:E4:22  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::209:5bff:feb2:e422/64 Scope:Link
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:304 (304.0 b)  TX bytes:1296 (1.2 KiB)
Last few lines of dmesg
ieee1394: exports duplicate symbol _csr1212_destroy_keyval (owned by kernel)
ohci1394: exports duplicate symbol ohci1394_unregister_iso_tasklet (owned by kernel)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
hub 1-0:1.0: over-current change on port 2
usb 2-3: new full speed USB device using ohci_hcd and address 2
usb 2-3: configuration #1 chosen from 1 choice
prism2usb_init: prism2_usb.o: 0.2.8 Loaded
prism2usb_init: dev_info is: prism2_usb
usbcore: registered new interface driver prism2_usb
ident: nic h/w: id=0x8026 1.0.0
ident: pri f/w: id=0x15 1.1.4
ident: sta f/w: id=0x1f 1.7.0
Prism2 card SN: \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
linkstatus=DISCONNECTED (unhandled)
route (takes several seconds to complete)
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface     *        U     0      0        0 wlan0
loopback        *            U     0      0        0 lo
default         UG    0      0        0 wlan0
If I were to do all of this under slackware 11, I'd have no problems; I could type "ping" and get a response. I get no response whatsoever using slackware 12.

Sometimes if I turned everything off - the router & the server, left it for a while and switched it back on I could get it to work under SW12. But it seemed to be extremely hit-and-miss. Using another PC at the same time with a Netgear MA111 and running SW11 had no problems at all.

Even more bizarre though is that sometimes - once in a blue moon - it will connect and I can ping (say) . But if I removed the MA111 device, waited a moment and plugged it back in chances are it would fail again. It all seems to be *extremely* flaky.

Can anyone think what's going on -- is there some big change 'tween Slackware 11 & 12 ?


Last edited by slothpuck; 09-07-2007 at 07:50 PM.
Old 09-08-2007, 12:43 PM   #2
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,178

Rep: Reputation: 47
The only change I know of that might affect it is the kernel. Which kernel are you using? I keep fairly up-to-date with the kernels and after around 2.6.19 I had problems with the wlan-ng driver. Eventually it wouldn't even build. Are you using a pre-compiled package or source for the driver? If it's pre-compiled did you make sure your kernel matches the one it was built for?

From your post it looks like the driver is complaining about IPv6. If you can, try to rebuild your kernel without IPv6. You can also check the output of the lsmod command. If ipv6 is listed you can blacklist the module so it doesn't load.

On a sidenote, I've been using ndiswrapper for this device and it works well.
Old 09-09-2007, 03:29 PM   #3
Registered: Jul 2003
Distribution: Slackware 10.2 / Slamd 64
Posts: 86

Original Poster
Rep: Reputation: 15
Thanks, I'll give it a go . I'm using all the stuff btw that is on the SW12 DVD. I forget the exact kernel number though(!). And yeah it was a precompiled one.



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
Wireless Problems Slackware 10.2 DarkNemesis618 Slackware 3 04-07-2006 11:16 AM
Wireless card..Wireless router.. Slackware 10.2 ..Problems with Internet Connection. Storm Bringer Linux - Wireless Networking 4 03-23-2006 06:25 AM
strange wireless problems under slackware OhMyAchingGut Linux - Wireless Networking 4 10-04-2004 06:05 PM
Wireless lan problems in Slackware 10 oudent Slackware 7 07-19-2004 08:31 PM
Wireless problems in Slackware Firestone Linux - Software 1 07-11-2003 08:47 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:06 AM.

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