Slackware 12.1 and Wireless Network: Almost There!!
Hi,
I am so close to having wireless networking set up under Slackware 12.1 that it is a little infuriating that I cannot finish the job :-) The problem is that although I can start the wireless connection manually from a script I cannot place the settings 'formally' in the normal manner. The wireless chip is a Broadcom Corporation BCM4312 802.11a/b/g (rev 01) and I have downloaded and installed the Broadcom firmware from Linux Wireless. I have cleaned out the /etc/rc.d/rc.wireless.conf and the total file contents are: Code:
# Wireless LAN adapter configuration Code:
bash-3.1# iwconfig Code:
bash-3.1# dmesg | grep Broadcom Code:
#!/bin/bash Code:
bash-3.1# iwconfig Andrew |
[Note: I don't currently use Slackware nor have I ever set up wireless networking on Slackware.]
#1. You borked your /etc/rc.d/rc.wireless.conf file. There's supposed to be a bash "case" in there (i.e. a C "switch", etc.). Try: Code:
# Wireless LAN adapter configuration |
I'd highly Recommend wicd.
If you decide to try this you should use rworkmans' slackbuild here http://slackbuilds.org/repository/12.1/network/wicd/. Just make sure you fulfill the dependencies, apply the patches and read the instructions and you'll be managing your wireless connections with ease in no time at all. |
Hi,
Can I say that this is a very tempting thought: Quote:
Andrew |
What does your /etc/rc.d/rc.inet1.conf look like?
We have three comps with wireless and I have never touched /etc/rc.d/rc.wireless.conf |
i been silently lurking here as i have found slackware's wifi configuration a bit of a mystery, i have debian lenny running wifi great but i been a slackware user for years (just new to wifi) and i am going to give wicd a shot, thanks mRgOBLIN :)
|
As you have suggested I returned the /etc/rc.d/rc.wireless.conf file to its original state and altered only the /etc/rc.d/rc.inet1.conf as follows:
Code:
IFNAME[4]="wlan0" Code:
root@skamandros~# iwconfig Code:
#!/bin/bash Andrew |
This problem keeps coming up with Broadcom cards (especially the 4312) and mac80211. Other threads have suggested that it's a timing issue, but in any event, these cards seem to need a bit of manual intervention.
|
Check out this post ...
Although in Slackware-12.1 that is supposedly fixed in the wireless tools pkg. I believe it's a bug in the kernel driver. |
i tried wicd and it did not work, what i did do though that worked perfectly was add my info to /etc/rc.d/rc.inet1.conf using a static IP and the nameserver IP#s in to /etc/resolv.conf since this PC is the only wireless in the house, the rest are wired and the router wants to put the wireless on the first IP address...
Code:
# Default gateway IP address: |
Well I have achieved success of a sort and I thought I would post my solution here for the record; it is a bit of a hack but it seems to guarantee when I turn the laptop on there is a wireless network waiting for me.
So for the BCM4312 (rev 01) under Slackware 12.1 I followed the following steps: 1. Downloaded the appropriate firmware (broadcom-wl-4.80.53.0) and fwcutter tool (b43-fwcutter-011) and loaded these as per the directions on Linux Wireless. 2. Altered only /etc/rc.d/rc.inet1.conf wih the following (after futzing around in my ignorance with other config files): Code:
IFNAME[4]="wlan0" 3. Added the following script (wireless.sh) to be called from /etc/rc.d/rc.local: Code:
#!/bin/bash Edit: Actually running dhcpcd twice at times caused wlan0 to become non-responsive so I spent another hour or two on this in /etc/rc.d/rc.local: Code:
if [ -e /etc/dhcpc/dhcpcd-wlan0.pid ]; then |
What happens if you revert your rc.inet1.conf and rc.wireless.conf to the default ones, and only run your shell script? Does wireless work then?
|
Also to save you some time and waiting, when you make changes to your "rc.wireless.conf" & "rc.inet1.conf" files you don't need to restart each time.
You can issue a restart command for the network instead. Code:
cd /etc/rc.d/ |
I am afraid that I abandoned my attempts at getting wireless to run effectively on this laptop:
Quote:
Maybe when I have some extended leave I will return ... Andrew |
Quote:
Please report back your results with whatever other distro you choose. I think that the problem you are experiencing is related to the kernel and not to Slackware. There are many problems with broadcom cards on recent kernels (2.6.23 and later, I believe), both using ndiswrapper and native drivers. You might also try Slack 12.0, which uses an earlier kernel that does not have these problems. Your steps 1 and 2, which are quite simple, should be enough to get wireless working on Slackware. So let us know if you get it working on another distro with a 2.6.23 or later kernel. Brian |
All times are GMT -5. The time now is 04:07 PM. |