Page 1 of 1

[SOLVED] Issue with Broadcom BCM4312 wireless

PostPosted: Nov 22nd, '14, 14:46
by inzone
Hi all
I am a new user of linux systems, I install MAGEIA 4, x86 Distr. in acer extensa 4220 .. My wireless network adapter not work .. this message bring when I try to connect "unable to find network interface for selected device (using ssb driver)."

Re: Problem with wireless in mageia 4

PostPosted: Nov 22nd, '14, 16:21
by doktor5000
Which desktop environment are you using? Do you use net_applet or NetworkManager?
And please provide the output of the following commands:

Code: Select all
lspcidrake -v | grep -i -e net -e wireless -e wifi
ps -ef | grep -v grep | grep -ie net -e wpa


and, as root:
Code: Select all
ifconfig -a
rfkill list all
systemctl status network.service -a
journalctl -ab | grep -iE "fw|firmware|iwl|wifi|wire|80211"

Re: Problem with wireless in mageia 4

PostPosted: Nov 22nd, '14, 16:37
by inzone
net_applet
.. here the output of command;

Code: Select all
ssb             : Broadcom Corporation|BCM4312 802.11b/g LP-PHY [NETWORK_OTHER] (vendor:14e4 device:4315 subv:1028 subd:000b) (rev: 01)
tg3             : Broadcom Corporation|NetLink BCM5787M Gigabit Ethernet PCI Express [NETWORK_ETHERNET] (vendor:14e4 device:1693 subv:1025 subd:011c) (rev: 02)

....
root        12     2  0 15:08 ?        00:00:00 [netns]
root      1108     1  0 15:08 ?        00:00:00 /usr/sbin/wpa_supplicant -B -i wlp0s29f7u1 -c /etc/wpa_supplicant.conf -D wext
in-zone   2676  2567  0 15:09 ?        00:00:14 /usr/bin/perl /usr/bin/net_applet

Re: Problem with wireless in mageia 4

PostPosted: Nov 22nd, '14, 16:39
by inzone
how can i type in root??

Re: Problem with wireless in mageia 4

PostPosted: Nov 22nd, '14, 16:41
by isadora
inzone wrote:how can i type in root??

Your question is probably, how to log in as root in konsole?
Type in the konsole-terminal:
Code: Select all
su -

and give the right password.

Re: Problem with wireless in mageia 4

PostPosted: Nov 22nd, '14, 22:42
by inzone
Thank u ..
This is the next command output ..

Code: Select all
gpg-agent[23008]: directory `/root/.gnupg' created
gpg-agent[23008]: directory `/root/.gnupg/private-keys-v1.d' created
gpg-agent[23009]: gpg-agent (GnuPG) 2.0.22 started
[root@localhost ~]#     ifconfig -a
enp2s0    Link encap:Ethernet  HWaddr 00:1D:72:0A:1C:3E 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:16

irda0     Link encap:IrLAP  HWaddr 00:00:00:00 
          NOARP  MTU:2048  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:8
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

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:65536  Metric:1
          RX packets:134 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:9812 (9.5 KiB)  TX bytes:9812 (9.5 KiB)

wlp0s29f7u1 Link encap:Ethernet  HWaddr 00:0D:81:AC:1A:2C 
          inet addr:192.168.1.19  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:81ff:feac:1a2c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15890 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14040 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9022280 (8.6 MiB)  TX bytes:2155718 (2.0 MiB)

[root@localhost ~]#     rfkill list all
0: acer-wireless: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: phy1: Wireless LAN
        Soft blocked: no
        Hard blocked: no
[root@localhost ~]#     systemctl status network.service -a
network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network)
   Active: active (running) since Sat 2014-11-22 15:08:47 AST; 7h ago
  Process: 784 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/network.service
           ├─1040 /sbin/ifplugd -I -b -i enp2s0
           ├─1108 /usr/sbin/wpa_supplicant -B -i wlp0s29f7u1 -c /etc/wpa_supplicant.conf -D wext
           ├─1110 /sbin/ifplugd -I -b -i wlp0s29f7u1
           └─1867 dhclient -1 -q -lf /var/lib/dhclient/dhclient--wlp0s29f7u1.lease -pf /var/run/dhclient-wlp0s29f7u1.pid wlp0s29f7u1

Nov 22 21:47:15 localhost ifplugd(wlp0s29f7u1)[1110]: Link beat lost.
Nov 22 21:47:16 localhost ifplugd(wlp0s29f7u1)[1110]: Link beat detected.
Nov 22 22:04:35 localhost ifplugd(wlp0s29f7u1)[1110]: Link beat lost.
Nov 22 22:04:36 localhost ifplugd(wlp0s29f7u1)[1110]: Link beat detected.
Nov 22 22:17:29 localhost ifplugd(wlp0s29f7u1)[1110]: Link beat lost.
Nov 22 22:17:30 localhost ifplugd(wlp0s29f7u1)[1110]: Link beat detected.
Nov 22 22:39:06 localhost ifplugd(wlp0s29f7u1)[1110]: Link beat lost.
Nov 22 22:39:07 localhost ifplugd(wlp0s29f7u1)[1110]: Link beat detected.
Nov 22 22:53:40 localhost ifplugd(wlp0s29f7u1)[1110]: Link beat lost.
Nov 22 22:53:41 localhost ifplugd(wlp0s29f7u1)[1110]: Link beat detected.

Re: Problem with wireless in mageia 4

PostPosted: Nov 22nd, '14, 23:24
by isadora
[CODE]-tagging isn't a crime!!!!

Re: Problem with wireless in mageia 4

PostPosted: Nov 22nd, '14, 23:50
by inzone
Thanks ...
I am in ABC .. linux !!!

Re: Problem with wireless in mageia 4

PostPosted: Nov 23rd, '14, 01:02
by doktor5000
You forgot one command, which shows if the correct firmware gets loaded or not:
doktor5000 wrote:and, as root:
Code: Select all
journalctl -ab | grep -iE "fw|firmware|iwl|wifi|wire|80211"


But I think I know what the problem is: ssb driver is loaded instead of the real driver for your wireless chip. The b43 driver supports your chipset, check http://wireless.kernel.org/en/users/Dri ... ed_devices
ssb : Broadcom Corporation|BCM4312 802.11b/g LP-PHY [NETWORK_OTHER] (vendor:14e4 device:4315 subv:1028 subd:000b) (rev: 01)


Please also show the output as normal user of
Code: Select all
rpm -qa | grep firmware
urpmq --list-media active --list-url

Re: Problem with wireless in mageia 4

PostPosted: Nov 23rd, '14, 13:00
by inzone
dear doktor5000,
first output code is more than 900000 charecters ..
....
this a second:
Code: Select all
rtlwifi-firmware-20140828-1.mga4.nonfree
kernel-firmware-20131013-2.mga4
ralink-firmware-20140828-1.mga4.nonfree
radeon-firmware-20140828-1.mga4.nonfree
bluez-firmware-1.2-10.mga4.nonfree
kernel-firmware-nonfree-20140828-1.mga4.nonfree

....
Code: Select all
Core Release cdrom://i586/media/core
Nonfree Release cdrom://i586/media/nonfree
Core Release2 http://mageia.jameswhitby.net/mageia/distrib/4/i586/media/core/release
Core Updates http://mageia.jameswhitby.net/mageia/distrib/4/i586/media/core/updates
Nonfree Release2 http://mageia.jameswhitby.net/mageia/distrib/4/i586/media/nonfree/release
Nonfree Updates http://mageia.jameswhitby.net/mageia/distrib/4/i586/media/nonfree/updates

Re: Problem with wireless in mageia 4

PostPosted: Nov 23rd, '14, 16:04
by doktor5000
inzone wrote:dear doktor5000,
first output code is more than 900000 charecters ..

Please upload it to a pastebin service or attach it as text file.

Re: Problem with wireless in mageia 4

PostPosted: Nov 24th, '14, 07:58
by inzone
attached ..

Re: Problem with wireless in mageia 4

PostPosted: Nov 24th, '14, 14:26
by doktor5000
Please do the following, as root blacklist the ssb module:

Code: Select all
echo "blacklist ssb" >> /etc/modprobe.d/blacklist-mga


Then reboot, and show the output of
Code: Select all
lspcidrake -v | grep -i -e net -e wireless -e wifi
again please

Re: Problem with wireless in mageia 4

PostPosted: Nov 24th, '14, 22:33
by inzone
Code: Select all
ssb             : Broadcom Corporation|BCM4312 802.11b/g LP-PHY [NETWORK_OTHER] (vendor:14e4 device:4315 subv:1028 subd:000b) (rev: 01)
tg3             : Broadcom Corporation|NetLink BCM5787M Gigabit Ethernet PCI Express [NETWORK_ETHERNET] (vendor:14e4 device:1693 subv:1025 subd:011c) (rev: 02)

Re: Problem with wireless in mageia 4

PostPosted: Nov 24th, '14, 23:00
by doktor5000
Can you please show the output as root of
Code: Select all
lsmod
tail /etc/modprobe.d/blacklist-mga

Re: Problem with wireless in mageia 4

PostPosted: Nov 25th, '14, 07:16
by inzone
output:

Code: Select all
Module                  Size  Used by
ipt_IFWLOG             12550  2
ipt_psd                53435  1
ipt_rpfilter           12490  0
xt_realm               12450  0
cls_basic              12772  0
cls_flow               16899  0
cls_fw                 12733  0
cls_u32                16941  0
sch_fq_codel           17313  0
sch_tbf                13001  0
sch_prio               12960  0
sch_hfsc               25916  0
sch_htb                21889  0
sch_ingress            12746  0
sch_sfq                17112  0
bridge                 94805  0
stp                    12848  1 bridge
llc                    14028  2 stp,bridge
ip6t_MASQUERADE        12672  0
xt_CHECKSUM            12493  0
ip6t_rpfilter          12490  0
xt_statistic           12537  0
xt_CT                  12820  36
xt_LOG                 17446  10
xt_connlimit           12564  0
xt_addrtype            12563  4
ip_set_hash_ip         26754  2
xt_comment             12456  48
xt_recent              18069  2
ipt_ULOG               13742  0
ipt_REJECT             12485  4
ipt_MASQUERADE         12760  0
ipt_ECN                12473  0
xt_nat                 12601  0
ipt_CLUSTERIP          13327  0
ipt_ah                 12694  0
ip6table_nat           12871  0
nf_nat_ipv6            13111  1 ip6table_nat
nf_nat_tftp            12420  0
nf_nat_snmp_basic      17082  0
nf_conntrack_snmp      12745  3 nf_nat_snmp_basic
nf_nat_sip             16997  0
nf_nat_pptp            12926  0
nf_nat_proto_gre       12865  1 nf_nat_pptp
nf_nat_irc             12606  0
nf_nat_h323            17419  0
xt_set                 12998  2
nf_nat_ftp             12645  0
ip_set                 35438  2 ip_set_hash_ip,xt_set
nf_nat_amanda          12422  0
nf_conntrack_tftp      12953  5 nf_nat_tftp
nf_conntrack_sane      12938  4
nf_conntrack_sip       23655  5 nf_nat_sip
nf_conntrack_proto_udplite    13076  0
nf_conntrack_proto_sctp    18328  0
nf_conntrack_pptp      14628  3 nf_nat_pptp
nf_conntrack_proto_gre    14021  1 nf_conntrack_pptp
nf_conntrack_netlink    31427  0
nf_conntrack_netbios_ns    12585  2
nf_conntrack_broadcast    12541  2 nf_conntrack_netbios_ns,nf_conntrack_snmp
nf_conntrack_irc       13249  3 nf_nat_irc
nf_conntrack_h323      62776  9 nf_nat_h323
ts_kmp                 12533  5
nf_conntrack_ftp       14056  5 nf_nat_ftp
nf_conntrack_amanda    12897  5 nf_nat_amanda
xt_TPROXY              17135  0
xt_time                12581  0
xt_TCPMSS              12584  0
xt_tcpmss              12453  0
xt_sctp                12733  0
xt_policy              12518  0
xt_pkttype             12456  0
xt_physdev             12523  0
xt_owner               12478  0
xt_NFQUEUE             12609  0
xt_NFLOG               12481  0
nfnetlink_log          17533  1 xt_NFLOG
xt_multiport           12694  8
xt_mark                12499  2
xt_mac                 12444  0
xt_limit               12541  0
xt_length              12480  0
xt_iprange             12679  0
xt_helper              12519  0
xt_hashlimit           17320  0
xt_DSCP                12549  0
xt_dscp                12525  0
xt_dccp                12534  0
xt_connmark            12659  0
xt_CLASSIFY            12459  0
xt_AUDIT               12590  0
ip6t_REJECT            12782  4
iptable_raw            12598  1
xt_tcpudp              12756  56
iptable_nat            12867  0
nf_nat_ipv4            13095  1 iptable_nat
nf_nat                 20936  15 nf_nat_ftp,nf_nat_irc,nf_nat_sip,nf_nat_amanda,ipt_MASQUERADE,nf_nat_proto_gre,ip6t_MASQUERADE,nf_nat_h323,nf_nat_ipv4,nf_nat_ipv6,nf_nat_pptp,nf_nat_tftp,xt_nat,ip6table_nat,iptable_nat
xt_state               12514  0
nf_conntrack_ipv6      14318  27
nf_conntrack_ipv4      14318  36
nf_defrag_ipv6         26163  2 xt_TPROXY,nf_conntrack_ipv6
nf_defrag_ipv4         12649  2 xt_TPROXY,nf_conntrack_ipv4
xt_conntrack           12664  25
nf_conntrack           83278  39 nf_nat_ftp,nf_nat_irc,nf_nat_sip,nf_nat_amanda,xt_CT,nf_nat_snmp_basic,nf_conntrack_netbios_ns,nf_conntrack_proto_gre,xt_helper,ipt_MASQUERADE,nf_conntrack_proto_udplite,nf_nat,ip6t_MASQUERADE,xt_state,xt_connlimit,nf_nat_h323,nf_nat_ipv4,nf_nat_ipv6,nf_nat_pptp,nf_nat_tftp,xt_conntrack,nf_conntrack_amanda,ipt_CLUSTERIP,nf_conntrack_proto_sctp,nf_conntrack_netlink,ip6table_nat,nf_conntrack_broadcast,xt_connmark,nf_conntrack_ftp,nf_conntrack_irc,nf_conntrack_sip,iptable_nat,nf_conntrack_h323,nf_conntrack_ipv4,nf_conntrack_ipv6,nf_conntrack_pptp,nf_conntrack_sane,nf_conntrack_snmp,nf_conntrack_tftp
ip6table_raw           12603  1
iptable_mangle         12615  1
ip6table_mangle        12620  1
nfnetlink              14214  3 nfnetlink_log,ip_set,nf_conntrack_netlink
iptable_filter         12706  1
ip_tables              17987  4 iptable_filter,iptable_mangle,iptable_nat,iptable_raw
ip6table_filter        12711  1
ip6_tables             17819  4 ip6table_filter,ip6table_mangle,ip6table_nat,ip6table_raw
x_tables               22067  59 xt_physdev,xt_pkttype,ip6table_filter,xt_statistic,xt_DSCP,xt_dccp,xt_dscp,xt_iprange,xt_mark,xt_sctp,xt_time,xt_CT,xt_helper,ip6table_mangle,ip6t_rpfilter,xt_length,xt_comment,ipt_ULOG,xt_policy,xt_CHECKSUM,xt_recent,ip_tables,xt_tcpmss,xt_tcpudp,ipt_MASQUERADE,ipt_ah,xt_AUDIT,xt_NFQUEUE,xt_NFLOG,ip6t_MASQUERADE,xt_limit,xt_owner,xt_realm,xt_state,ipt_rpfilter,xt_connlimit,xt_conntrack,xt_LOG,xt_mac,xt_nat,xt_set,ipt_IFWLOG,ipt_CLUSTERIP,xt_hashlimit,xt_multiport,iptable_filter,ip6table_raw,xt_CLASSIFY,xt_TCPMSS,xt_TPROXY,xt_connmark,ipt_REJECT,iptable_mangle,ipt_ECN,ipt_psd,ip6_tables,xt_addrtype,iptable_raw,ip6t_REJECT
af_packet              31164  4
arc4                   12536  2
rtl8192cu              92666  0
rtl_usb                22509  1 rtl8192cu
rtlwifi                75245  2 rtl_usb,rtl8192cu
rtl8192c_common        64845  1 rtl8192cu
b43                   387103  0
coretemp               13227  0
bcma                   46310  1 b43
mac80211              474928  4 b43,rtl_usb,rtlwifi,rtl8192cu
cfg80211              427507  3 b43,mac80211,rtlwifi
iTCO_wdt               13256  0
iTCO_vendor_support    13502  1 iTCO_wdt
rng_core               13158  1 b43
acer_wmi               31735  0
sparse_keymap          13708  1 acer_wmi
rfkill                 21527  3 cfg80211,acer_wmi
joydev                 17097  0
serio_raw              13189  0
microcode              19401  0
nsc_ircc               22475  0
i2c_i801               21996  0
tg3                   156139  0
ptp                    18445  1 tg3
pps_core               18758  1 ptp
libphy                 30231  1 tg3
lpc_ich                16864  0
irda                  107345  1 nsc_ircc
ssb                    57211  1 b43
snd_hda_codec_hdmi     45536  1
shpchp                 32128  0
snd_hda_codec_realtek    59516  1
snd_hda_codec_generic    58258  1 snd_hda_codec_realtek
crc_ccitt              12627  1 irda
snd_hda_intel          42689  4
snd_hda_codec         118546  4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_hwdep              13272  1 snd_hda_codec
snd_pcm                90953  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_timer              24326  1 snd_pcm
thermal                17999  0
battery                18428  0
snd                    62560  16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
processor              30379  1
ac                     13042  0
soundcore              14599  1 snd
wmi                    18673  1 acer_wmi
evdev                  17421  18
tifm_sd                17931  0
tifm_7xx1              13163  0
tifm_core              15133  2 tifm_7xx1,tifm_sd
sdhci_pci              18567  0
mmc_block              31097  0
sdhci                  37779  1 sdhci_pci
mmc_core              106911  6 b43,ssb,mmc_block,sdhci,tifm_sd,sdhci_pci
nvram                  13986  0
ipv6                  314842  32 ip6table_mangle,ip6t_rpfilter,bridge,nf_defrag_ipv6,ip6t_MASQUERADE,nf_nat_ipv6,ip6table_nat,xt_TPROXY,ip6t_REJECT,nf_conntrack_ipv6
autofs4                37429  2
pcmcia                 51828  2 b43,ssb
ehci_pci               12777  0
ehci_hcd               65230  1 ehci_pci
uhci_hcd               40355  0
usbcore               195027  5 uhci_hcd,rtl_usb,ehci_hcd,ehci_pci,rtl8192cu
firewire_ohci          35595  0
yenta_socket           36105  0
firewire_core          57689  1 firewire_ohci
pcmcia_rsrc            18319  1 yenta_socket
sr_mod                 21964  0
crc_itu_t              12627  1 firewire_core
pcmcia_core            22328  3 pcmcia,pcmcia_rsrc,yenta_socket
usb_common             13314  1 usbcore
i915                  710755  3
video                  18860  2 i915,acer_wmi
button                 13599  1 i915
i2c_algo_bit           13197  1 i915
drm_kms_helper         42569  1 i915
drm                   243383  4 i915,drm_kms_helper
ide_pci_generic        12754  0
piix                   12928  0
ide_core              103875  2 piix,ide_pci_generic
ata_generic            12790  0
pata_acpi              12886  0
ata_piix               30529  0

Re: Problem with wireless in mageia 4

PostPosted: Nov 25th, '14, 11:49
by doktor5000
doktor5000 wrote:Can you please show the output as root of
Code: Select all
tail /etc/modprobe.d/blacklist-mga

Re: Problem with wireless in mageia 4

PostPosted: Nov 25th, '14, 15:27
by inzone
Code: Select all
blacklist ssb

Re: Problem with wireless in mageia 4

PostPosted: Nov 25th, '14, 16:48
by doktor5000
So it seems blacklisting is not working as it should.

Maybe it helps if you install the correct firmware for b43 driver. Either install b43-openfwwf package via Mageia repos, or see the instructions further below.
Please also show the output as root of
Code: Select all
rfkill list all
journalctl -ab | grep -i -e ssb -e b43 -e acer_wmi -e bcma


Please take a look at viewtopic.php?p=9837#p9837 to see if you can use that to get the correct firmware, if the b43-openfwwf doesn't work.
For the current URLs to download b43-fwcutter you may need to look at http://wireless.kernel.org/en/users/Dri ... oned_above

Re: Problem with wireless in mageia 4

PostPosted: Nov 25th, '14, 21:19
by inzone
I really appreciate your effort withe me, and here the output of last lines .. I will follow your steps, and show you all results.

Code: Select all
0: acer-wireless: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: phy1: Wireless LAN
        Soft blocked: no
        Hard blocked: no

Re: Problem with wireless in mageia 4

PostPosted: Nov 27th, '14, 01:47
by xxblx
Broadcoms are problem wifi cards.

First of all, you need to try install dkms-broadcom-wl and reboot computer. May be your wifi card will work fine with proprietary driver.

If it will not help:
- Delete dkms-broadcom-wl and broadcom-wl-kernel packages.
- Install b43-fwcutter and b43-tools packages
- Then do next actions with terminal
Code: Select all
cd ~
wget http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
tar xjf broadcom-wl-5.100.138.tar.bz2
cd broadcom-wl-5.100.138/linux
su
<yours root password>
b43-fwcutter -w /lib/firmware wl_apsta.o
modprobe b43
exit

- After you need to go to: Mageia control center - Network & Internet - Set up a new network interface - Wireless (Wi-Fi). Choose something like wlp3s0.

Those actions helped me to configure same wifi card on Mageia 2 two years ago. I think for Mageia 4 steps shall to be similar.
Unfortunately, I no longer have netbook with bcm4312, so I cannot to check it with Mageia 4.

It is full solved!!!

PostPosted: Dec 9th, '14, 14:31
by inzone
Thanks.. very very much, all ..

Finally I installed (dkms-broadcom-wl) package (according to your guidance), the problem fully solved (snapshot attached).

Thanks, doktor5000, isadora, xxblx and all.

Re: Problem with wireless in mageia 4

PostPosted: Dec 9th, '14, 15:16
by isadora
Please don't forget to mark the topic [SOLVED].
You can do so, by editing the subject/title in the first message in this topic.
Write [SOLVED] to the left of subject/title, thanks ahead. ;)