[SOLVED] No wifi connection after debian-7.1.0-amd64-netinst installation
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
No wifi connection after debian-7.1.0-amd64-netinst installation
I partitioned 250 Gb HDD on eMachines model eME7322 runninig Windows 7 Premium to allow 100 Gb for Linux OS. I burned CD of Debian-7.1.0-amd64-netinst which loaded and installation ran until warning of missing firmware "brcm/bcm43xx-0.fw and bcm43xx-hdr-0.fw". I didn't know what to do and skipped it. Everything completed and the OS was loaded and partitions correctly formatted. GRUB works find BUT there is no wireless connection to wifi router. I used a wired connection to the router for the installation, otherwise there is no access to internet.
There is no problem in Windows as the laptop always finds any available wifi signal, so the wireless card is functioning OK.
I subsequently found the missing firmware at git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/brcm. I downloaded and saved all the files
Mode Name Size
-rw-r--r-- bcm4329-fullmac-4.bin 269595 logstatsplain
-rw-r--r-- bcm43xx-0.fw 96224 logstatsplain
-rw-r--r-- bcm43xx_hdr-0.fw 180 logstatsplain
-rw-r--r-- brcmfmac43236b.bin 348160 logstatsplain
-rw-r--r-- brcmfmac4329.bin 253748 logstatsplain
-rw-r--r-- brcmfmac4330.bin 222126 logstatsplain
-rw-r--r-- brcmfmac4334.bin 451566 logstatsplain
There was no brcm directory in /lib/firmware, so I mkdir brcm and cp all the files to it. However, on rebooting there is still an error at the loading of brcm files. I can't read the verbose loading record as it whizzes past and don't know how to step through it. It seems something is still missing as I just catch a line ..."brcmsmac ... failed."
PS. You can delete the files that you manually downloaded.
PPS. If you want to install something *always* try to do it with your package manager before attempting to do it manually.
I rm all the files I had copied to /lib/firmware/brcm and then rmdir brcm itself.
I edited sources.list adding the "contrib" line.
Then, performed the apt-get update and apt-get install firmware-b43-installer, which showed additional space being used.
I removed the wired connection to my router and rebooted. I was hoping that a new network icon would appear on the right of top bar. There was nothing.
I opened the network troubleshooting and opened a terminal.
Terminal: nm-tool
I did not understand why the wired connection was still showing when I had removed it. However, "State: connected" seemed significant although I did not understand the next page in the troubleshooter guide "Check that the wireless adapter was recognized"
I typed lshw -C network and pressed Enter. "If this gives an error message, you may need to install the lshw program on your computer."
bash reported that command not found.
As a noob, I feel completely out of my depth with this. Thank you for your assistance. Is the "lshw program" a package I must install?
I rm all the files I had copied to /lib/firmware/brcm and then rmdir brcm itself.
I edited sources.list adding the "contrib" line.
Then, performed the apt-get update and apt-get install firmware-b43-installer, which showed additional space being used.
Excellent.
Quote:
I removed the wired connection to my router and rebooted. I was hoping that a new network icon would appear on the right of top bar. There was nothing.
Did any sort of network icon appear?
Quote:
I opened the network troubleshooting and opened a terminal.
Terminal: nm-tool
I did not understand why the wired connection was still showing when I had removed it.
Even with the cable disconnected your eth0 device still exists.
Quote:
However, "State: connected" seemed significant although I did not understand the next page in the troubleshooter guide "Check that the wireless adapter was recognized"
I typed lshw -C network and pressed Enter. "If this gives an error message, you may need to install the lshw program on your computer."
bash reported that command not found. As a noob, I feel completely out of my depth with this. Thank you for your assistance. Is the "lshw program" a package I must install?
I don't know what this "troubleshooter guide" is, but in this case it doesn't matter. The lshw command will list the various hardware your computer has, but we already know from your other post that you have a BCM43225 802.11b/g/n. For the record, yes the lshw command is provided by the lshw package which, if you wanted to you could install with the following command:
Code:
apt-get install lshw
In general, if you want to find out what package provides a given program you can use "apt-cache search". For example, try running the following:
Code:
apt-cache search lshw
Anyway futher on to the problem. So that we can see if the firmware has been loaded please run the following command and post the output:
Code:
grep firmware /var/log/dmesg
This searches (using the grep command) for the string (of "keyword") firmware in the log file that contains information from the linux kernel.
Next, please run the following two commands and post their output
Code:
/sbin/ifconfig -a
This will list information about the status of all your network (wired, wireless, virtual etc) devices.
And
Code:
/sbin/iwconfig
This will print information specific to wireless network devices.
@evo2 Just for the record, Debian provides a Desktop Help->Networking, web, email & chat->Wireless, which runs for many pages stepping one through investigative actions very much as you are now kindly doing. Thank you.
Results of grep search
Quote:
root@tycornel:/home/tuddy# grep firmware /var/log/dmesg
[ 6.944869] brcmsmac 0000:02:00.0: firmware: agent aborted loading brcm/bcm43xx-0.fw (not found?)
[ 6.945042] ieee80211 phy0: brcmsmac: Failed to find firmware usually in /lib/firmware/brcm
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:480 (480.0 B) TX bytes:480 (480.0 B)
Result of /sbin/iwconfig
Quote:
lo no wireless extensions.
eth0 no wireless extensions.
Nevertheless, I have installed firmware-b43-installer as aptitude search of new packages shows
Quote:
Actions Undo Package Resolver Search Options Views Help
C-T: Menu ?: Help q: Quit u: Update g: Download/Install/Remove Pkgs
aptitude 0.6.8.2
i firmware-b43-installer 1:015-14.1 1:015-14.1
p firmware-b43-lpphy-installer <none> 1:015-14.1
p firmware-b43legacy-installer <none> 1:015-14.1
p linux-wlan-ng-firmware <none> 0.2.9+dfsg-5
p nvidia-kernel-common <none> 20120630+3
--- non-free - Programs which are not free software (34)
--- libdevel - Development files for libraries (23)
--- libs - Collections of software routines (57)
--- lisp - Lisp programming language and libraries (4)
--- mail - Programs to write, send, and route email messages (2)
Installer package for firmware for the b43 driver
This package installs the firmware needed for usage of the b43 kernel driver. ▒
▒
Supported chipsets: ▒
* BCM4306/3 ▒
* BCM4311 ▒
* BCM4318 ▒
* BCM4321 ▒
* BCM4322 (only 14e4:432b) ▒
Homepage: http://wireless.kernel.org/en/users/Drivers/b43 ▒
▒
Could it be that this installer does not support BCM43225 802.11b/g/n? The supported chipsets above suggests that BCM4322 is limited to 14e4:432b (whatever that is!)
Regarding the network icon, I think this must be an odd outline of a "monitor on a table" which could mean device connected to network. When I click it a dropdown menu shows "Wired - unmanaged" and "Network Settings"->a new window where a network proxy may be configured. I experimented with this but nothing I entered could be saved.
this is all very useful information. From dmesg it is now clear that we have been chasing the wrong driver and wrong firmware. Please see https://wiki.debian.org/brcm80211
Basically, you just need to install the firmware-brcm80211 package
@evo2 OH JOY! Oh rapture. It is good to have my laptop independent once more of its wired connection. The solution was simple with your assistance. Thank you. It highlights the problem for any beginner. There is no way I could have stumbled by chance on the commands of enquiry and understood the results without your help. Thanks must also go to LinuxQuestions for providing this forum.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.