LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Broadcom b43 driver - appears in lsmod, can't find interface (https://www.linuxquestions.org/questions/linux-wireless-networking-41/broadcom-b43-driver-appears-in-lsmod-cant-find-interface-788917/)

minrich 02-16-2010 04:10 PM

Okay back to basics:

a) output of: lspci | grep wireless
b) output of: cat /etc/network/interfaces
c) output of: ps aux | grep -i net
d) output of: sudo route -n
e) output of: /sbin/iwconfig

fatman 02-17-2010 11:10 AM

OK, here's what I get:

1.
Code:

matt@HTPC:/usr/src/broadcom-wl-4.80.53.0/kmod$ lspci | grep wireless
matt@HTPC:/usr/src/broadcom-wl-4.80.53.0/kmod$

I also ran this:

Code:

matt@HTPC:/usr/src/broadcom-wl-4.80.53.0/kmod$ lspci | grep Broadcom
02:07.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 02)
matt@HTPC:/usr/src/broadcom-wl-4.80.53.0/kmod$

I see a possible problem:
Linux Wireless had me run "lspci -vnn", which gave me a PCI-ID of 14e4:4320, which, according to Linux Wireless means that the card is a Rev 3. (See http://linuxwireless.org/en/users/Dr...wn_PCI_devices). However the command above says Rev 2. The difference, according to Linux Wireless, is that Rev 3 uses b43, and Rev 2 uses b43legacy.


2.
Code:

matt@HTPC:/usr/src/broadcom-wl-4.80.53.0/kmod$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp

I removed some stuff I commented out of "interface" (I've tried this file with both "eth1" & "wlan0" - what is the difference between those anyways)

3.
Code:

matt@HTPC:/usr/src/broadcom-wl-4.80.53.0/kmod$ ps aux | grep -i net
matt      9039  0.0  0.1  3944  624 pts/1    S+  12:17  0:00 grep -i net
matt@HTPC:/usr/src/broadcom-wl-4.80.53.0/kmod$


4.
Code:

matt@HTPC:/usr/src/broadcom-wl-4.80.53.0/kmod$ sudo route -n
Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
matt@HTPC:/usr/src/broadcom-wl-4.80.53.0/kmod$

5.
Code:

matt@HTPC:/usr/src/broadcom-wl-4.80.53.0/kmod$ /sbin/iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

matt@HTPC:/usr/src/broadcom-wl-4.80.53.0/kmod$

Unless you think I'm barking up the wrong tree, I'm going to try b43legacy. Any other ideas would be welcome as well. Thanks.

minrich 02-17-2010 12:13 PM

Don't bother with b43-legacy. It won't do you any good.
I notice that you have the same bcm4306 ver3 that I have on may acer ferrari, which is what I am using atm. Because I am using debian lenny amd64 I am using the old, old ndiswrapper with netbc564.inf and BCMWL564.SYS drivers. If you want to try them you will have to search for (google) for 64-bit_Broadcom_54g_Drivers.zip - I can't remember where I got them for my Suse9.3 back in 2003. However this is not, should not be, a priority for you because you need a network manager first because your wlan0 interface isn't being set up regardless of which driver that you use. See next paragraph ...

I notice from the output of the: ps aux | grep -i net that you don't appear to have a network manager working, if you are using gnome I think it is system settings whereas in kde, which I use, it is in Control Center where I can start 'services' to include network manager to start at boot. On the other hand if you are using gnome you might be using nm-applet - you can find out if it is running by the command: ps aux | grep -i nm. If so you shouldn't need to start network manager but rather start it from the sys tray wwhere I think it automatically appears if it is running. Either way it (network manager or nm-applet) will read you /etc/network/interfaces file and find the wlan0 setting.

Sorry, but I should have included '-i' in the lspci command that I suggested because that would have made it case insensitive and it would have found the 'Wireless' output that you got with 'Broadcom'.

Once you have gotten a network manager installed and setup you might need to run: sudo /etc/init.d/networking restart to be able to see you LAN/internet using iwconfig.

Hope this helps

minrich 02-17-2010 12:38 PM

P.S. Do me a favour, run: cd ~ (to get back to your home directory) so I don't have to read /usr/src/broadcom-wl-4.80.53.0/kmod each time you post a command or its output. Ta muchly.

fatman 03-03-2010 05:35 PM

Hey man, thanks for all the help.

After a busy period, I installed Karmic Koala (by burning CDs and installing Interpid, Jaunty, then Karmic), and for the hell of it tried b43legacy. It worked! The interface came up, and I can connect to the router with security off.

I guess the info on linux wireless was wrong. (or does b43legacy work on any b43 compatile chipset, with b43 being better?)

Now I've got to get WPA or WEP working and iron out all the other update glitches (I do like a lot of the new stuff in Karmic). It took awhile, but I learned alot!

minrich 03-03-2010 07:21 PM

Glad you got it working, and thanks for the thanks. You might like to click on the 'Thread Tools' button atop your first post in this thread to mark the thread as solved.


All times are GMT -5. The time now is 05:12 AM.