Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
08-28-2013, 11:35 AM
|
#16
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639
Rep: 
|
Quote:
Originally Posted by jostber
This might happen if you haven't set your wpa key in wicd-curses. Run wicd-curses as root, use the right arrow on your router and set the wpa key there. Then run wicd-curses again as user.
|
I find that key problems hang at the Authenticating stage and don't get to the obtaining ip address stage. When it hangs at the ip address stage in my own experience it has been related to drivers.
Brian
|
|
|
08-28-2013, 11:47 AM
|
#17
|
Member
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543
Rep: 
|
Quote:
Originally Posted by BCarey
I find that key problems hang at the Authenticating stage and don't get to the obtaining ip address stage. When it hangs at the ip address stage in my own experience it has been related to drivers.
Brian
|
Yes, that's right. If we can see the wicd log we might get some more clues.
|
|
|
08-28-2013, 12:49 PM
|
#18
|
Member
Registered: Apr 2008
Distribution: Gentoo, FreeBSD
Posts: 225
Rep:
|
It definitely could be driver-related: easiest way to test that theory is run an Archlinux Live CD (latest kernel) and see if you can connect to the network with it.
If you're not using X there's a python program called cnetworkmanager you might want to try http://vidner.net/martin/software/cnetworkmanager.
|
|
|
08-28-2013, 05:36 PM
|
#19
|
Member
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333
Original Poster
Rep:
|
Quote:
Originally Posted by jostber
Yes, that's right. If we can see the wicd log we might get some more clues.
|
Quote:
Originally Posted by jostber
Can you run this?
Code:
cat /var/log/wicd/wicd.log
|
Sorry for the delay, the entire wicd log can be seen here. If more logs are needed, let me know. .
As the system initializes everything before login, there are a few messages that look suspicious but I don't know what log those are saved to.
|
|
|
08-28-2013, 09:51 PM
|
#20
|
Member
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333
Original Poster
Rep:
|
Quote:
Originally Posted by vik
It definitely could be driver-related: easiest way to test that theory is run an Archlinux Live CD (latest kernel) and see if you can connect to the network with it.
|
Would I be able to initialize the broadcom driver within a live cd?
|
|
|
08-29-2013, 01:37 AM
|
#21
|
Member
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543
Rep: 
|
Quote:
Originally Posted by slacker_
Sorry for the delay, the entire wicd log can be seen here. If more logs are needed, let me know. .
As the system initializes everything before login, there are a few messages that look suspicious but I don't know what log those are saved to.
|
Can you check these things in wicd?
- Check that you have selected the correct Driver in the Advanced tab in preferences WPA/WPA2/WEXT.
- Shut down the wicd gui, and try to connect with wicd-curses.
- Check if there are any error messages from dmesg after running wicd. Post the output here.
- Install and run wireshark and make it listen on your wireless interface and post the output here.
|
|
|
08-29-2013, 02:42 AM
|
#22
|
Senior Member
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: CRUX
Posts: 1,510
|
hmmm.... if it is a driver issue, as a _last_ resort you may try the windows driver via ndiswrapper (if it works) and blacklist the kernel driver from loading. I know it sound ridiculous, but I had a laptop that worked better with the windows wireless driver.
|
|
|
08-29-2013, 02:58 AM
|
#23
|
Member
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333
Original Poster
Rep:
|
Quote:
Originally Posted by jostber
Can you check these things in wicd?
- Check that you have selected the correct Driver in the Advanced tab in preferences WPA/WPA2/WEXT.
- Shut down the wicd gui, and try to connect with wicd-curses.
- Check if there are any error messages from dmesg after running wicd. Post the output here.
- Install and run wireshark and make it listen on your wireless interface and post the output here.
|
I'll do this tomorrow and get back to you with the results.
Quote:
Originally Posted by solarfields
hmmm.... if it is a driver issue, as a _last_ resort you may try the windows driver via ndiswrapper (if it works) and blacklist the kernel driver from loading. I know it sound ridiculous, but I had a laptop that worked better with the windows wireless driver.
|
I've tried ndiswrapper under debian, only allowed access to 2.4 Ghz range, and only on the 2.6 kernel.
|
|
|
08-29-2013, 04:59 AM
|
#24
|
Senior Member
Registered: Apr 2005
Posts: 2,727
|
You probably need a newer kernel and the latest firmware. Some of the earlier firmware has problems and the b43 driver included in 3.2 may be immature for that chipset. The best thing you can do at this stage is compile a 3.10.x and take it from there.
You haven't explained where you got the firmware from or how you installed it?
Or you can try the broadcom-sta driver first.
|
|
|
08-29-2013, 02:44 PM
|
#25
|
Member
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333
Original Poster
Rep:
|
Quote:
Originally Posted by cynwulf
You probably need a newer kernel and the latest firmware. Some of the earlier firmware has problems and the b43 driver included in 3.2 may be immature for that chipset. The best thing you can do at this stage is compile a 3.10.x and take it from there.
You haven't explained where you got the firmware from or how you installed it?
Or you can try the broadcom-sta driver first.
|
Got the driver from here. I just installed broadcom-sta from slackbuilds last night but it isn't showing up in lsmod. I tried modprobe wl and it kicked back this:
Code:
ERROR: could not insert 'wl': Exec format error
Not sure what this means exactly.
I've never had to do a manual kernel upgrade, where would I start with that?
Last edited by slacker_; 08-29-2013 at 04:13 PM.
|
|
|
08-29-2013, 06:37 PM
|
#27
|
Member
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333
Original Poster
Rep:
|
Quote:
Originally Posted by cynwulf
|
In order:
Yes it was extracted to /lib/firmware/b43 and it seems that I should just remove it from the system now that I'm trying to use broadcom-sta, but I can't seem to figure out how to uninstall the firmware...
That guide is for building the 2.6 kernel on 13.37, same procedure for building 3.10 on 14 I'm assuming?
My laptop isn't capable of smp (it's from 2003, so.. you get the idea). When I installed the current kernel, I had to use huge.s. Since I'm new to all this, I don't know if I should use config-huge-3.10.9 or config-generic-3.10.9?
|
|
|
08-30-2013, 04:33 AM
|
#28
|
Senior Member
Registered: Apr 2005
Posts: 2,727
|
Quote:
Originally Posted by slacker_
In order:
Yes it was extracted to /lib/firmware/b43 and it seems that I should just remove it from the system now that I'm trying to use broadcom-sta, but I can't seem to figure out how to uninstall the firmware...
|
You don't need to remove the firmware - and you can't uninstall it because of the method you used to install it. You could delete it, but I would strongly suggest just leaving it there.
You seem to be somewhat confused however, so I'll try to clarify:
If you're using broadcom-sta (wl) just use your existing kernel, don't compile a newer one and just follow the post I linked to, which deals with applying some patches to work around the error you were getting.
If you're going to stick with b43, you need the firmware (which you extracted from the broadcom-sta driver) and you will need a newer kernel (if you want a newer b43 module, you need a newer kernel because b43 is included in the kernel).
Quote:
Originally Posted by slacker_
That guide is for building the 2.6 kernel on 13.37, same procedure for building 3.10 on 14 I'm assuming?
|
Yes, just adapt it to suit (make sure you substitute your kernel version string).
Quote:
Originally Posted by slacker_
My laptop isn't capable of smp (it's from 2003, so.. you get the idea). When I installed the current kernel, I had to use huge.s. Since I'm new to all this, I don't know if I should use config-huge-3.10.9 or config-generic-3.10.9?
|
You may need the non smp kernel and you may not. smp itself is not an issue on single cores (I run an smp kernel on a single core Pentium 4), but if you have an old CPU which does not support NX bit, then you definitely will need the standard non smp x86 config.
Whether you use huge or generic is up to you. If you use generic, you will have to create an initrd, or just build your file system driver into the kernel. This is a matter of ticking a box when you run make xconfig (see the howto).
Last edited by cynwulf; 08-30-2013 at 04:35 AM.
|
|
|
08-30-2013, 02:48 PM
|
#29
|
Member
Registered: Aug 2013
Distribution: Arch, Debian, Slackware
Posts: 333
Original Poster
Rep:
|
Quote:
Originally Posted by cynwulf
if you're using broadcom-sta (wl) just use your existing kernel, don't compile a newer one and just follow the post i linked to, which deals with applying some patches to work around the error you were getting.
|
So, If I already installed broadcom-sta with sbopkg, I'm guessing that whole patching thing won't work.
Quote:
Originally Posted by cynwulf
whether you use huge or generic is up to you. If you use generic, you will have to create an initrd, or just build your file system driver into the kernel. This is a matter of ticking a box when you run make xconfig (see the howto).
|
I read through that and it mentions a few things with lilo, but I'm having an issue with that too. Lilo didn't install right when I installed slack, and I haven't been able to figure out how to reinstall/reconfigure it.
|
|
|
08-31-2013, 03:31 AM
|
#30
|
Senior Member
Registered: Apr 2005
Posts: 2,727
|
Quote:
Originally Posted by slacker_
So, If I already installed broadcom-sta with sbopkg, I'm guessing that whole patching thing won't work.
|
Remove, it patch it, build it again and install it again. Then try to insert the wl module again.
Quote:
Originally Posted by slacker_
I read through that and it mentions a few things with lilo, but I'm having an issue with that too. Lilo didn't install right when I installed slack, and I haven't been able to figure out how to reinstall/reconfigure it.
|
If lilo isn't installed correctly, then how are you booting?
|
|
|
All times are GMT -5. The time now is 10:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|