Wireless Not Enabled

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
flanna
Level 3
Level 3
Posts: 105
Joined: Sun Sep 18, 2011 11:10 am

Re: Wireless Not Enabled

Post by flanna »

AlbertP wrote:Perhaps you can edit the file /etc/rc.local and add: rfkill unblock all (before the line that reads exit 0).

Code: Select all

gksudo gedit /etc/rc.local
This has worked for the most part. I still get a problem if the laptop enters sleep mode. When I bring it out of sleep mode there is no wifi. Also the code "frkill unblock all" (as SU) has no effect. I have to reboot the system.
Any suggestions?
User avatar
chili555
Level 3
Level 3
Posts: 178
Joined: Sun Apr 22, 2007 12:07 pm

Re: Wireless Not Enabled

Post by chili555 »

Often it is the case that the wireless driver drops when the laptop goes to sleep/hibernate/cryofreeze. Let's identify your driver and write one file to see if we can reload it on wake-up. Please post:

Code: Select all

lsmod
flanna
Level 3
Level 3
Posts: 105
Joined: Sun Sep 18, 2011 11:10 am

Re: Wireless Not Enabled

Post by flanna »

chili555 wrote:Often it is the case that the wireless driver drops when the laptop goes to sleep/hibernate/cryofreeze. Let's identify your driver and write one file to see if we can reload it on wake-up. Please post:

Code: Select all

lsmod
OK here it is...

Code: Select all

ThinkPad-X121e ~/Desktop $ lsmod
Module                  Size  Used by
snd_seq_dummy          12798  0 
ses                    17321  0 
enclosure              15217  1 ses
usb_storage            53538  0 
uas                    17996  0 
cryptd                 20510  0 
aes_x86_64             17208  1 
aes_generic            38279  1 aes_x86_64
rfcomm                 47694  8 
sco                    18131  2 
bnep                   18308  2 
l2cap                  53570  16 rfcomm,bnep
binfmt_misc            17565  1 
vboxnetadp             13340  0 
vboxnetflt             28297  0 
vboxdrv               252684  2 vboxnetadp,vboxnetflt
parport_pc             36959  0 
ppdev                  17113  0 
dm_crypt               22993  0 
snd_hda_codec_hdmi     28103  1 
snd_hda_codec_conexant    57511  1 
snd_hda_intel          33211  2 
uvcvideo               72195  0 
thinkpad_acpi          81587  0 
cdc_wdm                17506  0 
snd_hda_codec         103804  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
arc4                   12529  2 
snd_hwdep              13604  1 snd_hda_codec
videodev               82052  1 uvcvideo
snd_pcm                96625  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
joydev                 17606  0 
v4l2_compat_ioctl32    17078  1 videodev
btusb                  18600  2 
snd_seq_midi           13324  0 
cdc_ncm                17501  0 
snd_rawmidi            30486  1 snd_seq_midi
usbnet                 26165  1 cdc_ncm
bluetooth              72448  9 rfcomm,sco,bnep,l2cap,btusb
cdc_acm                22574  0 
iwlagn                333500  0 
snd_seq_midi_event     14899  1 snd_seq_midi
snd_seq                61621  3 snd_seq_dummy,snd_seq_midi,snd_seq_midi_event
iwlcore               167503  1 iwlagn
snd_timer              29602  2 snd_pcm,snd_seq
snd_seq_device         14462  4 snd_seq_dummy,snd_seq_midi,snd_rawmidi,snd_seq
mac80211              294370  2 iwlagn,iwlcore
tpm_tis                18537  0 
snd                    67382  15 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel,thinkpad_acpi,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
psmouse                73535  0 
serio_raw              13166  0 
rts_pstor             440614  0 
cfg80211              178528  3 iwlagn,iwlcore,mac80211
tpm                    22267  1 tpm_tis
snd_page_alloc         18529  2 snd_hda_intel,snd_pcm
tpm_bios               13684  1 tpm
soundcore              12680  1 snd
nvram                  14419  1 thinkpad_acpi
lp                     17825  0 
parport                46458  3 parport_pc,ppdev,lp
i915                  514985  4 
drm_kms_helper         42136  1 i915
drm                   227495  5 i915,drm_kms_helper
ahci                   25951  2 
i2c_algo_bit           13400  1 i915
video                  19438  1 i915
dm_raid45              77827  0 
libahci                26642  1 ahci
atl1c                  41171  0 
xor                    12890  1 dm_raid45
btrfs                 550402  0 
zlib_deflate           27074  1 btrfs
libcrc32c              12644  1 btrfs
ThinkPad-X121e ~/Desktop $
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Wireless Not Enabled

Post by AlbertP »

chili555 & flanna:

The cause is already identified. It is the thinkpad_acpi module (thinkpad-acpi driver) which disables the wireless in rfkill.

Unfortunately we can't blacklist thinkpad_acpi, as that will also leave flanna unable to control the screen brightness and volume, use the Fn-Fx key combinations and a lot of other ACPI features. Here's some general information about thinkpad-acpi: http://lxr.linux.no/#linux+v3.0.4/Docum ... d-acpi.txt
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
User avatar
chili555
Level 3
Level 3
Posts: 178
Joined: Sun Apr 22, 2007 12:07 pm

Re: Wireless Not Enabled

Post by chili555 »

AlbertP wrote:chili555 & flanna:

The cause is already identified. It is the thinkpad_acpi module (thinkpad-acpi driver) which disables the wireless in rfkill.

Unfortunately we can't blacklist thinkpad_acpi, as that will also leave flanna unable to control the screen brightness and volume, use the Fn-Fx key combinations and a lot of other ACPI features. Here's some general information about thinkpad-acpi: http://lxr.linux.no/#linux+v3.0.4/Docum ... d-acpi.txt
Which is it, flanna? When you resume from suspend, is rfkill soft-blocked or is iwlagn not loaded?

After suspend:

Code: Select all

rfkill list all
lsmod | grep iwl
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Wireless Not Enabled

Post by AlbertP »

rfkill is hard blocked when waking up. That's the problem. The IWL driver is working OK. (EDIT: it seems like this wasn't correct)

flanna: Are you sure the wifi on/off switch/button/key can't turn your wifi back on after resume?
Last edited by AlbertP on Thu Sep 29, 2011 11:11 am, edited 1 time in total.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
User avatar
chili555
Level 3
Level 3
Posts: 178
Joined: Sun Apr 22, 2007 12:07 pm

Re: Wireless Not Enabled

Post by chili555 »

From the link you posted:
0x1005 0x04 FN+F5 Radio. Enables/disables
the internal Bluetooth hardware
and W-WAN card if left in control
of the firmware. Does not affect
the WLAN card.
Interesting.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Wireless Not Enabled

Post by AlbertP »

flanna, please run rfkill list again, immediately after resume, before trying to turn on the wireless.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
flanna
Level 3
Level 3
Posts: 105
Joined: Sun Sep 18, 2011 11:10 am

Re: Wireless Not Enabled

Post by flanna »

AlbertP wrote:flanna, please run rfkill list again, immediately after resume, before trying to turn on the wireless.
Here it is...

Code: Select all

hinkPad-X121e ~/Desktop $ rfkill list
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
2: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: yes
	Hard blocked: yes
3: tpacpi_wwan_sw: Wireless WAN
	Soft blocked: yes
	Hard blocked: yes
ThinkPad-X121e ~/Desktop $
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Wireless Not Enabled

Post by AlbertP »

Now phy0 is hard blocked. That means, that you have to use the wifi on/off switch to get it working. If that switch doesn't turn it on, I think it's a hardware problem.
chili555 just pointed out that Wireless WAN is not related to Wireless LAN. But still there is a switch, button or key turning off the WLAN as it reports to be hard blocked.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
aarroonnss

Re: Wireless Not Enabled

Post by aarroonnss »

Hello, my wlan also has given up on my lenova ideapad s12, i tried the things I coud find around the forum so far but it's still not working.

sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
-------------------------
* I. scanning WIFI PCI devices...
-- Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
==> PCI ID = 14e4:4315 (rev 01)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:off
Retry min limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=5/5 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

vboxnet0 no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet Hardware Adresse 00:26:2d:f8:f9:ed
inet Adresse:139.18.185.208 Bcast:139.18.185.255 Maske:255.255.255.0
inet6-Adresse: fe80::226:2dff:fef8:f9ed/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:448 (448.0 B) TX bytes:17921 (17.9 KB)
Interrupt:20

lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metrik:1
RX packets:51 errors:0 dropped:0 overruns:0 frame:0
TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:3526 (3.5 KB) TX bytes:3526 (3.5 KB)

-------------------------
* V. querying DHCP...
-------------------------
* VI. querying nslookup google.com...
Server: 192.168.2.1
Address: 192.168.2.1#53

Non-authoritative answer:

Name: google.com

Address: 74.125.43.106

Name: google.com

Address: 74.125.43.99

Name: google.com

Address: 74.125.43.104

Name: google.com

Address: 74.125.43.103

Name: google.com

Address: 74.125.43.105

Name: google.com

Address: 74.125.43.147




sudo modprobe b43


sudo modprobe wl
dmesg | grep -e wl -e b43
[ 15.777806] wl 0000:07:00.0: PCI INT A -> Link[L1E4] -> GSI 19 (level, low) -> IRQ 19
[ 15.777828] wl 0000:07:00.0: setting latency timer to 64





rfkill list all
sudo rfkill unblock all
rfkill list all

0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: brcmwl-0: Wireless LAN
Soft blocked: no
Hard blocked: yes


(rebooting...=
rfkill list all

0: brcmwl-0: Wireless LAN

Soft blocked: yes

Hard blocked: yes

1: ideapad_wlan: Wireless LAN

Soft blocked: yes

Hard blocked: no

2: ideapad_bluetooth: Bluetooth

Soft blocked: yes

Hard blocked: no


sudo rfkill unblock all

rfkill list all

0: brcmwl-0: Wireless LAN

Soft blocked: no

Hard blocked: yes

1: ideapad_wlan: Wireless LAN

Soft blocked: no

Hard blocked: no

2: ideapad_bluetooth: Bluetooth

Soft blocked: no

Hard blocked: no



lsmod | grep b43
dmesg | grep b43

(nothing)

I also reinstalled the additional drivers but it did not make any difference. Please help.
aarroonnss

Re: Wireless Not Enabled

Post by aarroonnss »

Btw: I am using Linux Mint 11.

The wlan- Button on the side of the netbook is switched to on. In Bios the wlan is also turned to on.

I had the same problem a few years ago, there it helped to start with windows and there I could activate the wlan,
so it also runs in Linux again. This maybe help somone else.
I have no windows anymore on my netbook so this option isn't there fo me anymore.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Wireless Not Enabled

Post by AlbertP »

Please uninstall the STA driver (aka wl), reboot, and install the B43 driver (apt install b43-fwcutter).
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
jacknocturne

Re: Wireless Not Enabled

Post by jacknocturne »

AlbertP wrote:Please uninstall the STA driver (aka wl), reboot, and install the B43 driver (apt install b43-fwcutter).
Hello, similar problem to aarroonnss, setup similar. Wireless works on windows but not on Linux mint 11.

After installing b43-fwcutter as you recommended above, network-manager applet reports firmware missing.

Is this a general problem or a recent upgrade makes it not work?
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Wireless Not Enabled

Post by AlbertP »

Firmware missing means usually that b43-fwcutter is not installed. If it still does not work with b43-fwcutter installed properly, please install firmware-b43-installer as well. And please use terminal so that we can see it when something goes wrong:

Code: Select all

apt install firmware-b43-installer
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
jacknocturne

Re: Wireless Not Enabled

Post by jacknocturne »

Thanks for the reply. I uninstalled and installed again, here is the output

Code: Select all

Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  debhelper module-assistant quilt po-debconf libmail-sendmail-perl html2text
  libsys-hostname-long-perl
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  b43-fwcutter firmware-b43-installer
0 upgraded, 2 newly installed, 0 to remove and 18 not upgraded.
Need to get 0 B/18.2 kB of archives.
After this operation, 131 kB of additional disk space will be used.
Selecting previously deselected package b43-fwcutter.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 172220 files and directories currently installed.)
Unpacking b43-fwcutter (from .../b43-fwcutter_1%3a013-3_i386.deb) ...
Selecting previously deselected package firmware-b43-installer.
Unpacking firmware-b43-installer (from .../firmware-b43-installer_4.150.10.5-5_all.deb) ...
Processing triggers for man-db ...
Setting up b43-fwcutter (1:013-3) ...
Setting up firmware-b43-installer (4.150.10.5-5) ...
--2011-10-25 16:05:05--  http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
Resolving mirror2.openwrt.org... 46.4.11.11
Connecting to mirror2.openwrt.org|46.4.11.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3888794 (3.7M) [application/x-bzip2]
Saving to: `broadcom-wl-4.150.10.5.tar.bz2'


 0% [                                       ] 0           --.-K/s              
 1% [                                       ] 63,996       282K/s              
 8% [==>                                    ] 319,830      741K/s              
14% [====>                                  ] 563,082      775K/s              
24% [========>                              ] 939,144     1008K/s              
25% [=========>                             ] 1,007,646    881K/s              
28% [==========>                            ] 1,105,506    819K/s              
30% [==========>                            ] 1,187,988    761K/s              
33% [============>                          ] 1,301,226    737K/s              
36% [=============>                         ] 1,400,484    708K/s              
39% [==============>                        ] 1,529,100    700K/s              
42% [===============>                       ] 1,645,134    687K/s              
46% [================>                      ] 1,790,526    688K/s              
49% [==================>                    ] 1,920,540    683K/s              
53% [===================>                   ] 2,079,912    689K/s              
57% [=====================>                 ] 2,229,498    691K/s  eta 2s      
61% [=======================>               ] 2,404,248    700K/s  eta 2s      
66% [========================>              ] 2,570,610    730K/s  eta 2s      
71% [==========================>            ] 2,762,136    735K/s  eta 2s      
75% [============================>          ] 2,943,876    713K/s  eta 2s      
80% [==============================>        ] 3,146,586    729K/s  eta 1s      
86% [================================>      ] 3,350,694    697K/s  eta 1s      
91% [==================================>    ] 3,568,782    734K/s  eta 1s      
97% [=====================================> ] 3,789,666    769K/s  eta 1s      
100%[======================================>] 3,888,794    795K/s   in 4.9s    

2011-10-25 16:05:10 (781 KB/s) - `broadcom-wl-4.150.10.5.tar.bz2' saved [3888794/3888794]

This file is recognised as:
  ID         :  FW13
  filename   :  wl_apsta_mimo.o
  version    :  410.2160
  MD5        :  cb8d70972b885b1f8883b943c0261a3c
Extracting b43/pcm5.fw
Extracting b43/ucode15.fw
Extracting b43/ucode14.fw
Extracting b43/ucode13.fw
Extracting b43/ucode11.fw
Extracting b43/ucode9.fw
Extracting b43/ucode5.fw
Extracting b43/lp0bsinitvals15.fw
Extracting b43/lp0initvals15.fw
Extracting b43/lp0bsinitvals14.fw
Extracting b43/lp0initvals14.fw
Extracting b43/a0g1bsinitvals13.fw
Extracting b43/a0g1initvals13.fw
Extracting b43/b0g0bsinitvals13.fw
Extracting b43/b0g0initvals13.fw
Extracting b43/lp0bsinitvals13.fw
Extracting b43/lp0initvals13.fw
Extracting b43/n0absinitvals11.fw
Extracting b43/n0bsinitvals11.fw
Extracting b43/n0initvals11.fw
Extracting b43/a0g1bsinitvals9.fw
Extracting b43/a0g0bsinitvals9.fw
Extracting b43/a0g1initvals9.fw
Extracting b43/a0g0initvals9.fw
Extracting b43/b0g0bsinitvals9.fw
Extracting b43/b0g0initvals9.fw
Extracting b43/a0g1bsinitvals5.fw
Extracting b43/a0g0bsinitvals5.fw
Extracting b43/a0g1initvals5.fw
Extracting b43/a0g0initvals5.fw
Extracting b43/b0g0bsinitvals5.fw
Extracting b43/b0g0initvals5.fw
After that i rebooted, and checked ,nothing has changed. It does not show that even the wireless card exists.

Code: Select all

~ $ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Wireless Not Enabled

Post by AlbertP »

I think the STA driver is not properly uninstalled - it still seems to blacklist the b43 driver.

The easiest way to get rid of this is by removing the file completely:

Code: Select all

sudo rm /etc/modprobe.d/blacklist-bcm43.conf
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
jacknocturne

Re: Wireless Not Enabled

Post by jacknocturne »

Wow that worked like a charm :D A million thanks mate :) Now i can view and access wireless networks.
aarroonnss

Re: Wireless Not Enabled

Post by aarroonnss »

AlbertP wrote:Firmware missing means usually that b43-fwcutter is not installed. If it still does not work with b43-fwcutter installed properly, please install firmware-b43-installer as well. And please use terminal so that we can see it when something goes wrong:

Code: Select all

apt install firmware-b43-installer
Hi,
here is my terminal text:

sudo apt install firmware-b43-installer
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
firmware-b43-installer ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 18 nicht aktualisiert.

seems to be allright

Edit:
Still not working.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Wireless Not Enabled

Post by AlbertP »

Last week someone posted on the forum that installing firmware-b43-lpphy-installer helps to get the BCM4312 (14e4:4315) working. And mintwifi shows you're having that card.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
Locked

Return to “Networking”