wlan0 - BCM4312 Wireless Problems on Salix 14.2 [solved]

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
_tet_
Posts: 4
Joined: 6. Nov 2017, 22:35
Location: Germany

wlan0 - BCM4312 Wireless Problems on Salix 14.2 [solved]

Post by _tet_ »

On my laptop the wireless card is not working. In the config I see, that the notebook is working with a BCM43142, see:

Code: Select all

sudo lspci -vv | grep Network
02:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
Buf ifconfig or iwoncig only shows eth0 and lo.

Code: Select all

sudo ifconfig wlan0 up
returns in an error (=wlan0: ERROR while getting interface flags:...).

To load the module brcmsmac

Code: Select all

modprobe brcmsmac
modify the b43_backlist.conf and reboot did not solve the problem :evil:

Please help, to get BCM4312 up and running on salix 14.2, 64-bit, xfce.

Thank you
Last edited by _tet_ on 7. Nov 2017, 17:26, edited 2 times in total.
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: wlan0 - BCM4312 Wireless Problems on Salix 14.2

Post by laprjns »

“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
User avatar
_tet_
Posts: 4
Joined: 6. Nov 2017, 22:35
Location: Germany

Re: wlan0 - BCM4312 Wireless Problems on Salix 14.2

Post by _tet_ »

Thank you for the answer.
But it is not working :o

I am using the standard-Kernel 4.4.19, see:

Code: Select all

uname -r
4.4.19
In /lib/modules/4.4.19 I can that the link is ok, see:

Code: Select all

ls -all
insgesamt 3812
drwxr-xr-x  3 root root   4096 Nov  7 00:50 .
drwxr-xr-x  3 root root   4096 Nov  7 00:38 ..
lrwxrwxrwx  1 root root     21 Nov  7 00:50 build -> /usr/src/linux-4.4.19
drwxr-xr-x 14 root root   4096 Nov  7 00:38 kernel
...
But in /usr/src/ is the wrong build:

Code: Select all

root[src]# ls -all linu*
lrwxrwxrwx  1 root root   12 Nov  3 21:21 linux -> linux-4.4.88
... 4.4.88 instead of 4.4.19 :shock:

As a result the command

Code: Select all

sbopkg -i broadcom-sta
is running on an error, see:

Code: Select all

patching file src/shared/linux_osl.c
patching file src/wl/sys/wl_cfg80211_hybrid.c
make: *** /lib/modules/4.4.19/build: Datei oder Verzeichnis nicht gefunden.  Schluss.


... So I have to replace the kernel build 4.4.88 with 4.4.19 or migrade the kernel to 4.4.88.

Can you give me a link, to do that ...
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: wlan0 - BCM4312 Wireless Problems on Salix 14.2

Post by laprjns »

The 4.4.88 kernel is now the Salix 14.2 standard so you should upgrade to it. Use slapt-get in a terminal to upgrade. Here's how.

First update the package cache:

Code: Select all

$ sudo slapt-get --update
Then upgrade all the kernel related packages. Assuming that you are using the kerenl-huge kernel, upgrade the five kernel related packages.

Code: Select all

 sudo slapt-get --install kernel-huge kernel-modules kernel-headers kernel-firmware kernel-source
After this and before you reboot, you need to run either lilo or eliloconfig to update the boot loader with the new kernel.

Code: Select all

$ sudo lilo -v 
or

Code: Select all

$ sudo eliloconfig
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
User avatar
_tet_
Posts: 4
Joined: 6. Nov 2017, 22:35
Location: Germany

solved: wlan0 - BCM4312 Wireless Problems on Salix 14.2

Post by _tet_ »

Great - thank you.

At first I did the Update of the kernel with

Code: Select all

sudo slapt-get --update
sudo slapt-get --install kernel-huge kernel-modules kernel-headers kernel-firmware kernel-source
sudo lilo -v 
After a reboot I checked the kernel with

Code: Select all

$ uname -r
4.4.88
The update was correct :D

After that I was able to install the driver with

Code: Select all

sudo sbopkg -i broadcom-sta
This time everything was fine.
Then I created the file /etc/modprobe.d/b43-blacklist.conf with the configuration, and rebooted the notebook.
The check with iwconfig was correct:

Code: Select all

$ iwconfig
lo        no wireless extensions.

eth1      IEEE 802.11abg  ESSID:"Nest"  
          Mode:Managed  Frequency:2.442 GHz  Access Point: BC:05:43:F1:16:BB   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          
eth0      no wireless extensions.
eth1 is available ;)

After this it was necessary to configure eth1 in the wicd-client as "wireless lan", searched for wireless lans and configured my network "nest".

Everything is working. Thank you very much.
Last edited by _tet_ on 7. Nov 2017, 17:58, edited 1 time in total.
User avatar
_tet_
Posts: 4
Joined: 6. Nov 2017, 22:35
Location: Germany

Re: wlan0 - BCM4312 Wireless Problems on Salix 14.2 [solved]

Post by _tet_ »

Another benefit is: also virtualbox is working. When I tried to start the application, I got the error

Code: Select all

The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (4.4.19) or it failed to load.
Workaround at the time: Convert the image with VBoxManage clonehd & then start with qemu-system-x86_64. But it is very slow.
It looks like, that the reason for the error was the difference in Kernel (old 4.4.19) and the kernel module (4.4.48). Now the kernel module are both 4.4.98, and here also everything is working. Thank you.
Post Reply