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.
I thought for a while I'd configured my laptop's wireless card properly. Sometimes, it boots up and autoconnects to my university's WLAN with no work required on my part.
Other times, though, I'll get one of these two messages as it boots:
Quote:
SET failed on device wlan0: Operation not supported
or
Quote:
No carrier detected for device "wlan0". Reducing DHCP timeout to 10 seconds.
In either case, not only will it fail to connect, but countless retries of
iwconfig wlan0 essid <essid> key <key> key open ap auto
dhcpcd
ifconfig (to check)
will still fail to connect to the network. As such, I'm wondering if a: there's something I'm forgetting to run or b: I don't have the drivers configured properly even though it works sometimes.
Here's the relevant portion of /etc/rc.d/rc.inet1.conf for reference:
Code:
## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=BARRIER05
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
WLAN_KEY[4]="[key censored]"
##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"
I'm kind of wondering if I should uncomment DHCP_KEEPRESOLV, especially since the wireless can sometimes disconnect if I carry the laptop a long distance (i.e. between classes). It seems like that handles that sort of thing.
The short answer is that the 3945 drivers in Slackware 12.1's stock kernel don't work
If you use the huge kernel, yes, the stock Slackware kernel does work with a 3945. If you did a full install, Slackware even comes with a package for the firmware needed. On my laptop, doing a full install of 12.1 got my 3945 running out of the box. No additional work needed other than configuration. Of course I use wicd rather than the normal Slackware /etc/rc.d scripts, so that might account for some of the differences between our experiences.
Hangdog42, there are different models and versions of 3945 chips. Therefore, Slackware 12.1's stock driver might well work for you. So that you can make sure, I've linked (in the post above) to step-by-step instructions for duplicating the problems that irkkaaja and I experienced.
However, this driver does not work (properly) for me, irkkaaja, or the people who tested it on Gentoo forums, which has a massive thread devoted to working around its problems. As noted on page 13 on that thread, kernel 2.6.26 (which is newer than what comes with Slackware 12.1) is the earliest one to have working iwl3945 drivers. Kernel 2.6.26 is newer than Slackware 12.1's kernel.
If you use the huge kernel, yes, the stock Slackware kernel does work with a 3945. If you did a full install, Slackware even comes with a package for the firmware needed. On my laptop, doing a full install of 12.1 got my 3945 running out of the box. No additional work needed other than configuration. Of course I use wicd rather than the normal Slackware /etc/rc.d scripts, so that might account for some of the differences between our experiences.
I tried wicd and it still didn't work so I doubt it's a daemon issue.
It's possible (isn't it?) that it works for some types networks and not others, which would explain why you're saying it works and I'm finding it doesn't.
After all, it's only sometimes broken for me. I managed to connect to the network as of now, but the next time I reboot and/or carry the laptop half a mile away to my classes it might break.
But I take it a new kernel won't break the wonderful compatibility I've had with my USB mouse, keyboard, touchpad, screen, and speakers, right?
No, it won't. It would have new and improved drivers, and therefore better compatibility.
That sounds good.
Of course, being that this is my first kernel upgrade, I'd like to make sure I've got this (obvious to people who aren't me) set of actions right.
download 2.6.27.5 from kernel.org
bunzip2 <file>
put it in /usr/src/linux
follow everything else on slackbook.org
stuff happens
successful internet connections.
bragging rights at university linux users group
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646
Rep:
Quote:
Originally Posted by irkkaaja
That sounds good.
Of course, being that this is my first kernel upgrade, I'd like to make sure I've got this (obvious to people who aren't me) set of actions right.
download 2.6.27.5 from kernel.org
bunzip2 <file>
put it in /usr/src/linux
follow everything else on slackbook.org
stuff happens
successful internet connections.
bragging rights at university linux users group
Right from what I see except for you put it in "/usr/src" - the /usr/src/linux folder respectively symlink should stay as it is. If you want to make your life a little bit easier then take the config file from Slackware-current (for example from here: ftp://slackware.cs.utah.edu/pub/slac...p-2.6.27.5-smp). Not only will you have lesser choices to make but you can even be quite sure that you can (hopefully) get the card in the next Slackware release working, too. Copy it as file ".config" to the folder, for example "/usr/src/linux-2.6.27.5/.config".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.