LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Missing dependency or what? wlan0 with Slackware 12 on Toshiba Satellite M115-S3094 (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/missing-dependency-or-what-wlan0-with-slackware-12-on-toshiba-satellite-m115-s3094-794563/)

ShellyCat 03-10-2010 07:56 PM

Missing dependency or what? wlan0 with Slackware 12 on Toshiba Satellite M115-S3094
 
Hi, I don't know if this is a missing dependency (in the kernel or otherwise) in Slackware 12. This is my first time setting up wireless. I downloaded the ucode, driver, and mac subsystem from Intel and installed it according to instructions.

I saw this thread:
http://www.linuxquestions.org/questi...-s10-2-788879/

My output from iwconfig and lspci is similar, but not exactly. (I am not anywhere I can copy and paste this stuff at the moment...but I will post later.)

I guess demesg | grep firmware output should look something like this:
Quote:

Originally Posted by AkylaQD (Post 3862421)
[SIZE="2"][ 5.821117] i2400m_usb 1-6:1.0: firmware: requesting i2400m-fw-usb-1.4.sbcf
[ 8.099046] i2400m_usb 1-6:1.0: firmware interface version 9.2.0
[ 220.163240] iwlagn 0000:02:00.0: firmware: requesting iwlwifi-5150-2.ucode
[ 220.259419] iwlagn 0000:02:00.0: loaded firmware version 8.24.2.2

But instead, I only get this error:
Code:

iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
Does anyone know what this error message means? I don't know where to start on this.

Hangdog42 03-11-2010 07:11 AM

I suspect that the driver isn't loading the firmware for some reason. Can you look in /lib/firmware and see if iwlwifi-3945-1.ucode is actually there? It is also pretty critical that we know what hardware you have. Is it actually an Intel 3945 card? If you look in the output of lspci you should see something like this:

Code:

0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
By the way, is there a reason why you're using Slackware 12? To be honest there have been a lot of improvements in wireless with the last couple of Slackware releases, so moving to 13 or even 12.1 might be a good idea.

ShellyCat 03-11-2010 06:01 PM

Hi Hangdog,

I can't recall if there wasn't Slack 13 the last time I looked, or if the newest kernel was going to cause a problem with certain hardware.

Sorry I didn't post the other stuff yet...my Internet went out shortly after I got home, and was fixed sometime today. I'll try to post the output of the other commands between my favorite TV episodes. ;-)

Another question
Is there any other configuration tool I should need besides iwconfig and ifconfig? Or is that it?

Again, I'll post the output of those other commands, and if I have to, I'll check Slack 13 on the weekend. (I have schoolwork and other work that's urgent.) But if I can just get wireless up and running now, I would be happy, so I could use it at school in the meantime.

ShellyCat 03-11-2010 06:25 PM

Technical details:
 
iwconfig:
Code:

lo        no wireless extensions.

wmaster0  no wireless extensions.

wlan0    IEEE 802.11a  ESSID:""  Nickname:"CPLAP"
          Mode:Managed  Channel:0  Access Point: Not-Associated
          Tx-Power=0 dBm
          Retry min limit:7  RTS thr:off  Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0  Missed beacon:0

eth0      no wireless extensions.

lspci:
Code:

03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
dmesg | grep firmware:
Code:

iwl3945: iwlwifi-3945-1.ucode firmware file req failed: Reason -2
found in /lib/firmware:
Code:

iwlwifi-3945-2.ucode*

Hangdog42 03-12-2010 07:02 AM

Quote:

Is there any other configuration tool I should need besides iwconfig and ifconfig? Or is that it?
Check in the /extra directory of your Slackware disk for wicd (I don't remember if it is in 12 or not). If there is a version there it is probably GUI only (more recent ones also have a console mode) and it is a very easy way to configure and connect to wireless networks. It pretty much eliminates the need to mess with the command line tools.

Leaving wicd aside for the moment, you'll likely need wpa_supplicant if your network is WPA encrypted since iwconfig can only handle WEP by itself (and you shouldn't be using WEP). If you are using WPA encryption, you'll have to edit /etc/wpa_supllicant.conf with the information needed for your network.


From the technical details you've posted, it looks like your card is active. Have you tried to configure it? If so were there any errors besides the one you've already posted? The reason I'm asking is that I'm not finding a lot based on the error you have posted, so any additional clues would be good. Also try looking in /var/log/syslog and /var/log/messages for anything else related to your wireless card.

You also might find AlienBob's instructions helpful for configuring your network.

ShellyCat 03-12-2010 06:11 PM

Hangdog, thanks for the link to that Wiki -- I'll print that out and I'll also try the wicd program after I install it.
  • I think once, at school, I wasn't even able to bring wlan0 up, but that was probably before I remembered to flip the wireless switch.
  • I wasn't getting any other errors.
  • I don't know if they use WEP or WAP. All I know is the ESSID and password, and I don't know if anyone at the library knows technical stuff at all.
  • I ran iwlist wlan0 scanning (just now, at home) and I didn't get any errors, just "no results". (I have no idea if any of my neighbors are running wireless.)

But I'll install wicd and take that article with me to school. It's officially closed next week, but there's still people there. I can't test at home b/c I can't afford to buy a wireless router right now. So I can only do my research and some config at home, and can only test at school.

BTW, I installed Slackware 13 last night after finding out it includes my drivers -- the day I installed them on S12 I must have been really tired, because I read the download drivers wouldn't work, but missed the part where a newer version comes with the 2.6.29.6 kernel. ;) Everything is still the same.

rkski 03-13-2010 12:25 AM

From your dmesg output it is looking for

Quote:

iwlwifi-3945-1.ucode
BUT your /lib/firmware contains iwlwifi-3945-2.ucode
Maybe it won't won't with Slackware12??

Hangdog42 03-13-2010 08:40 AM

There is something really odd going on here. I've got that same card in my laptop and Slackware 13 picked it up and used it without any fuss. If you can't connect with wicd, please look in your log files for additional clues as to what is going on. Rkski has an interesting observation, but to be honest, a name change like that shouldn't cause this problem.

ShellyCat 03-24-2010 09:17 AM

wicd installed, will see what happens
 
Installation took me a while to figure out. There's a lot of conflicting information online about what to do before and after installation. I like to research before I download...but I should have just downloaded first...the simplest info is in the README and INSTALL. I think most online info regards older bugs and/or conflicts with certain tools.

wicd is installed and the gui tool is loaded when I log into KDE. I never had time to visit school during vacation, because I was working on projects. However, I have a a few hours between classes, so I should at least see if a network scan is successful, before I study for my midterm.

Hangdog42 03-24-2010 11:18 AM

I hope you just installed the wicd package from the slackware/extra directory. That is already set up to go and the only configuration you need to do is make /etc/rc.d/rc.wicd executable and make sure your user is part of the netdev group. That allows the wicd daemon to start at boot and then users can connect using the wicd gui.

ShellyCat 03-24-2010 03:19 PM

Quote:

Originally Posted by Hangdog42 (Post 3910517)
I hope you just installed the wicd package from the slackware/extra directory. That is already set up to go and the only configuration you need to do is make /etc/rc.d/rc.wicd executable...

I read on the wicd website that there is a bug version 1.6.2.1, and I should use 1.6.6.2, so I downloaded, untarred, and ran the configure and install commands. Works great! (I'm using the wifi at school now.)
Quote:

Originally Posted by Hangdog42 (Post 3910517)
...and make sure your user is part of the netdev group. That allows the wicd daemon to start at boot and then users can connect using the wicd gui.

Currently I'm runnning as root [ducks to avoid inevitable tomatoes], but I can do that for a regular user as needed.

The only issues I had were:
  1. Adding an exception for the security certificate (solved)...for some reason, Firefox on Linux doesn't automatically pop up the correct window as it does on Windows, and it took me a while to find it. [CORRECTION: This was fixed in a recent upgrade. I didn't realize I wasn't on 3.6 on the other user account.]
  2. Configuring an exception for a redirect in NoScript (not solved)...I had to disable ABE across the board to see the login page for the wifi network. Temporarily it's okay, but there's no option to just add an exception for a redirect.

ShellyCat 03-24-2010 03:23 PM

Quote:

Originally Posted by rkski (Post 3896478)
From your dmesg output it is looking for
Code:

iwlwifi-3945-1.ucode
BUT your /lib/firmware contains iwlwifi-3945-2.ucode
Maybe it won't won't with Slackware12??

It's just a naming issue like Hangdog said below...Intel doesn't always change the numbering on all files and folders when they do new versions, apparently.

ShellyCat 03-24-2010 03:30 PM

Quote:

Originally Posted by Hangdog42 (Post 3895646)
From the technical details you've posted, it looks like your card is active. Have you tried to configure it?

F.Y.I., with Slackware 13, I probably could have configured it if I had been at school. Running iwlist scan at school returns results. Regardless, it's nice to have the GUI tool in this case, especially since I can configure for multiple points on the same ESSID with one check. Like you said, Slack13 had drivers and kernel moduls installed properly already.

Quote:

Originally Posted by Hangdog42 (Post 3895646)
...you'll likely need wpa_supplicant if your network is WPA encrypted since iwconfig can only handle WEP by itself (and you shouldn't be using WEP). If you are using WPA encryption, you'll have to edit /etc/wpa_supllicant.conf with the information needed for your network.

The network doesn't use any encryption at all :o but I'll remember that for future reference.

Hangdog42 03-25-2010 07:05 AM

Quote:

Configuring an exception for a redirect in NoScript (not solved)...I had to disable ABE across the board to see the login page for the wifi network. Temporarily it's okay, but there's no option to just add an exception for a redirect.
Redirects can be a real pain, particularly if NoScript is involved. I haven't found a great solution although for some frequently accessed networks, I've been able to add a NoScript exception for their domain or IP address. Then after a network restart, Firefox seems to accept the re-direct.

ShellyCat 07-01-2010 05:53 PM

Quote:

Originally Posted by Hangdog42 (Post 3911628)
Redirects can be a real pain, particularly if NoScript is involved. I haven't found a great solution although for some frequently accessed networks, I've been able to add a NoScript exception for their domain or IP address. Then after a network restart, Firefox seems to accept the re-direct.

Unfortunately, at school, I never know what hotspot I'll be on...and I definitely don't know the IP addresses. But in the fall...I'm not there this summer...perhaps I will take a day before classes and walk around and see how many different domains I get, or if I can't see that info, just make exceptions for my best guesses. At least 1 I know, but that's a lab AP and I'm not in there anymore. Sometimes I'm nearby.


All times are GMT -5. The time now is 08:46 PM.