Broadcom BCM4313 does not work - Lenovo G560
Hey there everyone, I am new to Ubuntu and Linux in general. I have installed Ubuntu 12.10 from the official website. I am running dual boot with Windows 7. My machine is a laptop Lenovo G560.
At home I am getting Internet from a wireless router. I have no problems connecting to my wireless(did not install any drivers) but I can't seem to get wired connection working. When a plug the cable nothing happens, I do not get the usual arrows icon for wired connection. I get a message now and then about wired connection disconnected and nothing else. I have tried disabling/enabling wired/wireless connection and networking in general - nothing seems to work.
As I am pretty much a newbie with Linux I apologize in advance for any missing crucial information you need to help me solve this. Whatever additional info you need I will be posting.
p.s - I have tried to achieve wired connection at my friends house as well - same thing + wireless connects with no problem but there is no actuall Internet connection. Same thing happens in the dorm where I study and spend most of my time - cable doesn't work, wireless connects but there is no Internet.
It seems as if I get Internet signal only at home and only through wireless.
Windows 7 works fine everywhere.
Re: Wired connection does not work - Lenovo G560
Hi,
please show the outputs of:
Code:
uname -a
lspci -nnk | grep -iA2 net
Re: Wired connection does not work - Lenovo G560
uname -a
Quote:
Linux lenovo 3.5.0-22-generic #34-Ubuntu SMP Tue Jan 8 21:41:11 UTC 2013 i686 i686 i686 GNU/Linux
lspci -nnk | grep -iA2 net
Quote:
06:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
Subsystem: Broadcom Corporation Device [14e4:0510]
Kernel driver in use: wl
--
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
Subsystem: Lenovo Device [17aa:392e]
Kernel driver in use: r8169
Re: Wired connection does not work - Lenovo G560
You can try the module brcmsmac instead of the proprietary STA-driver:
Update this driver and its firmware via:
Code:
sudo apt-get install --reinstall linux-backports-modules-cw-3.6-precise-generic build-essential dkms linux-headers-generic
wget http://media.cdn.ubuntu-de.org/forum/attachments/39/45/5007272-Broadcom_Firmware_fae7121.tar.gz
sudo tar xvf 5007272-Broadcom_Firmware_fae7121.tar.gz -C /lib/firmware
From here:
http://forum.ubuntuusers.de/topic/le.../#post-5007272
Unload and uninstall the driver:
Code:
sudo modprobe -rfv wl
sudo apt-get remove --purge bcmwl-kernel-source
sudo depmod -a
sudo update-initramfs -u
Load the other driver:
Code:
sudo modprobe -v brcmsmac
You should copy/paste these commands ;-)
Re: Wired connection does not work - Lenovo G560
sudo apt-get install --reinstall linux-backports-modules-cw-3.6-precise-generic build-essential dkms linux-headers-generic
wget http://media.cdn.ubuntu-de.org/forum...fae7121.tar.gz
sudo tar xvf 5007272-Broadcom_Firmware_fae7121.tar.gz -C /lib/firmware
Quote:
chaushev@lenovo:~$ sudo apt-get install --reinstall linux-backports-modules-cw-3.6-precise-generic build-essential dkms linux-headers-generic
[sudo] password for chaushev:
Sorry, try again.
[sudo] password for chaushev:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-backports-modules-cw-3.6-precise-generic
E: Couldn't find any package by regex 'linux-backports-modules-cw-3.6-precise-generic'
chaushev@lenovo:~$
sudo modprobe -rfv wl
sudo apt-get remove --purge bcmwl-kernel-source
sudo depmod -a
sudo update-initramfs -u
Quote:
chaushev@lenovo:~$ sudo modprobe -rfv wl
[sudo] password for chaushev:
Sorry, try again.
[sudo] password for chaushev:
rmmod /lib/modules/3.5.0-22-generic/updates/dkms/wl.ko
chaushev@lenovo:~$ sudo modprobe -v brcmsmac
insmod /lib/modules/3.5.0-22-generic/kernel/lib/cordic.ko
insmod /lib/modules/3.5.0-22-generic/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/3.5.0-22-generic/kernel/drivers/net/wireless/brcm80211/brcmutil/brcmutil.ko
insmod /lib/modules/3.5.0-22-generic/kernel/drivers/bcma/bcma.ko
insmod /lib/modules/3.5.0-22-generic/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/3.5.0-22-generic/kernel/drivers/net/wireless/brcm80211/brcmsmac/brcmsmac.ko
chaushev@lenovo:~$
I did a restart after this. On start up the wireless connected automatically. I switched it off and plugged in the ethernet cable. At first nothing, then I went to connections and clicked on Auto Ethernet. After few seconds it connected and the arrow indicators appeared as well. Thank you a lot!
If it is not too much, would you explain exactly what we did and what caused this problem?
Re: Wired connection does not work - Lenovo G560
The driver brcmsmac is already part of the kernel, but its firmware is outdated. We uninstalled the Broadcom-STA driver and updated the other driver and its firmware
Re: Wired connection does not work - Lenovo G560
When I go to Software sources>Additional drivers I see that I still use some Broadcom STA driver. Is this different from the Broadcom STA driver I uninstalled?
http://img18.imageshack.us/img18/334...m201302012.png
Re: Wired connection does not work - Lenovo G560
Deactivate it there. It is already uninstalled.
Re: Wired connection does not work - Lenovo G560
Quote:
Originally Posted by
praseodym
You can try the module brcmsmac instead of the proprietary STA-driver:
Update this driver and its firmware via:
Code:
sudo apt-get install --reinstall linux-backports-modules-cw-3.6-precise-generic build-essential dkms linux-headers-generic
wget http://media.cdn.ubuntu-de.org/forum/attachments/39/45/5007272-Broadcom_Firmware_fae7121.tar.gz
sudo tar xvf 5007272-Broadcom_Firmware_fae7121.tar.gz -C /lib/firmware
From here:
http://forum.ubuntuusers.de/topic/le.../#post-5007272
Unload and uninstall the driver:
Code:
sudo modprobe -rfv wl
sudo apt-get remove --purge bcmwl-kernel-source
sudo depmod -a
sudo update-initramfs -u
Load the other driver:
Code:
sudo modprobe -v brcmsmac
You should copy/paste these commands ;-)
Hi praseodym
thanks to your instruction i'm now able to connect to lan but i still have problem with my wlan!!!
Can you please help me with that??
here few details
Code:
lspci -nn |grep -iA2 net02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
03:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8162 Fast Ethernet [1969:1090] (rev 10)
ivan@ivan-Lenovo-G580:~$ lspci -nnk |grep -iA2 net
02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
Subsystem: Broadcom Corporation Device [14e4:0587]
Kernel driver in use: bcma-pci-bridge
i can see my hotspot but i can't connect and the signal is very poor!
here my post with more details
http://ubuntuforums.org/showthread.php?t=2116035
Re: Broadcom BCM4313 does not work - Lenovo G560
Please show:
Code:
lsmod
iwconfig
rfkill list
egrep 'bcma|brcm' /etc/modprobe.d/*