WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: WiFi Cannot Scan  (Read 37770 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11064
Re: WiFi Cannot Scan
« Reply #15 on: January 11, 2014, 02:31:10 AM »
Win32 WLAN driver is non-functional:

Code: [Select]
$ sudo ndiswrapper -i /mnt/sdb1/drivers/ndiswrapper/E6220/xp/bcmwl5.inf

$ ndiswrapper -l
bcmwl5 : driver installed

$ sudo modprobe ndiswrapper

$ dmesg | tail -10
...
ndiswrapper version 1.58 loaded (smp=yes, preempt=no)
ndiswrapper: driver bcmwl5 (Broadcom,10/26/2011, 5.100.82.112) loaded
ndiswrapper 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
ndiswrapper 0000:02:00.0: setting latency timer to 64
ndiswrapper: using IRQ 17
wlan0: ethernet device 64:27:37:22:ab:51 using NDIS driver: bcmwl5, version: 0x5645270, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 14E4:4359.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2-PSK; AES/CCMP with WPA, WPA2, WPA2-PSK
usbcore: registered new interface driver ndiswrapper

Offline eltone

  • Full Member
  • ***
  • Posts: 137
Re: WiFi Cannot Scan
« Reply #16 on: January 11, 2014, 06:10:50 AM »
Greetings!

Q: If the WLAN BCM4318 chipset is this finicky w/TCP, why not eliminate all the wireless/firmware extensions from ever being installed.  Now, using a wired connection, download only the needed ones from the 5.1 repo?

e.g.,
1) wireless-tools.tcz
2) b43-fwcutter.tcz & cut firmware as reported in thread.
3) wifi.tcz
4) firmware-openfwwf.tcz
5) firmware-broadcom_bcm43xx.tcz

Using this concept, blacklisting should never be needed.
Sincerely,
eltone
PS. NO bloat!
* for reference only *

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11064
Re: WiFi Cannot Scan
« Reply #17 on: January 11, 2014, 06:25:01 AM »
I may be wrong, but in your case, I don't believe you need firmware-openfwwf or firmware-broadcom_bcm43xx

The blacklist is only needed if you use wl-modules-KERNEL or ndiswrapper.

..and all this because broadcom do not make their driver information freely available to linux.

Offline eltone

  • Full Member
  • ***
  • Posts: 137
Re: WiFi Cannot Scan
« Reply #18 on: January 11, 2014, 12:58:08 PM »
Greetings!

Q: If the WLAN BCM4318 chipset is this finicky w/TCP, why not eliminate all the wireless/firmware extensions from ever being installed.  Now, using a wired connection, download only the needed ones from the 5.1 repo?

e.g.,
1) wireless-tools.tcz
2) b43-fwcutter.tcz & cut firmware as reported in thread.
3) wifi.tcz

Hi,
Just did this barebones wireless/firmware install:

Code: [Select]
tc@box:~$ cd b43fw
tc@box:~/b43fw$ wget -c http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.1
38.tar.bz2
Connecting to www.lwfinger.com (173.254.28.119:80)
broadcom-wl-5.100.13 100% |*******************************| 13197k  0:00:00 ETA
tc@box:~/b43fw$ tar xf broadcom-wl-5.100.138.tar.bz2
tc@box:~/b43fw$ sudo mkdir -p /usr/local/lib/firmware
tc@box:~/b43fw$ sudo b43-fwcutter -w /usr/local/lib/firmware broadcom-wl-5.100.1
38/linux/wl_apsta.o
This file is recognised as:
  filename   :  wl_apsta.o
  version    :  666.2
  MD5        :  e1b05e268bcdbfef3560c28fc161f30e
Extracting b43/lp0initvals14.fw
Extracting b43/lcn0bsinitvals25.fw
Extracting b43/n0bsinitvals25.fw
Extracting b43/n0bsinitvals17.fw
Extracting b43/ucode17_mimo.fw
Extracting b43/ucode16_lp.fw
Extracting b43/sslpn1initvals27.fw
Extracting b43/lp2bsinitvals19.fw
Extracting b43/sslpn3bsinitvals21.fw
Extracting b43/ucode16_sslpn.fw
  ucode time:     01:15:07
Extracting b43/ucode25_lcn.fw
Extracting b43/ucode21_sslpn.fw
Extracting b43/lp0bsinitvals14.fw
Extracting b43/b0g0initvals9.fw
Extracting b43/ucode20_sslpn.fw
Extracting b43/a0g1bsinitvals9.fw
Extracting b43/lp1initvals20.fw
Extracting b43/b0g0bsinitvals13.fw
Extracting b43/lp2initvals19.fw
Extracting b43/n2bsinitvals19.fw
Extracting b43/sslpn4bsinitvals22.fw
Extracting b43/ucode16_sslpn_nobt.fw
  ucode date:     2011-02-23
Extracting b43/n1bsinitvals20.fw
Extracting b43/n1initvals20.fw
Extracting b43/b0g0bsinitvals5.fw
Extracting b43/ucode22_sslpn.fw
Extracting b43/b0g0initvals13.fw
Extracting b43/ht0initvals26.fw
Extracting b43/ucode33_lcn40.fw
Extracting b43/sslpn1bsinitvals20.fw
Extracting b43/lcn400bsinitvals33.fw
Extracting b43/ucode14.fw
Extracting b43/a0g0initvals5.fw
Extracting b43/lp1bsinitvals22.fw
Extracting b43/n16initvals30.fw
Extracting b43/lp0bsinitvals16.fw
Extracting b43/lcn1bsinitvals25.fw
Extracting b43/lcn400initvals33.fw
Extracting b43/n0bsinitvals24.fw
Extracting b43/lcn2bsinitvals26.fw
Extracting b43/lcn1initvals26.fw
Extracting b43/n0bsinitvals22.fw
Extracting b43/n18initvals32.fw
Extracting b43/lcn2initvals26.fw
Extracting b43/a0g1bsinitvals5.fw
Extracting b43/n0bsinitvals11.fw
Extracting b43/lcn2initvals24.fw
Extracting b43/lcn0initvals26.fw
Extracting b43/n0absinitvals11.fw
Extracting b43/ucode21_sslpn_nobt.fw
  ucode time:     01:15:07
Extracting b43/ucode26_mimo.fw
Extracting b43/n2initvals19.fw
Extracting b43/sslpn3initvals21.fw
Extracting b43/a0g1bsinitvals13.fw
Extracting b43/sslpn4initvals22.fw
Extracting b43/pcm5.fw
Extracting b43/ucode22_mimo.fw
Extracting b43/ucode9.fw
Extracting b43/lcn2initvals25.fw
Extracting b43/lp1initvals22.fw
Extracting b43/sslpn1bsinitvals27.fw
Extracting b43/lcn0initvals24.fw
Extracting b43/ucode32_mimo.fw
Extracting b43/a0g0bsinitvals9.fw
Extracting b43/n18bsinitvals32.fw
Extracting b43/n0initvals24.fw
Extracting b43/n0initvals25.fw
Extracting b43/a0g1initvals5.fw
Extracting b43/ucode24_lcn.fw
Extracting b43/n0initvals17.fw
Extracting b43/n0bsinitvals16.fw
Extracting b43/lp0initvals15.fw
Extracting b43/b0g0initvals5.fw
Extracting b43/ucode20_sslpn_nobt.fw
Extracting b43/lcn1initvals24.fw
Extracting b43/sslpn0initvals16.fw
Extracting b43/a0g1initvals13.fw
Extracting b43/lp1bsinitvals20.fw
Extracting b43/sslpn2initvals19.fw
Extracting b43/a0g1initvals9.fw
Extracting b43/lcn1bsinitvals24.fw
Extracting b43/ucode5.fw
Extracting b43/lcn2bsinitvals24.fw
Extracting b43/lp0bsinitvals13.fw
Extracting b43/n0initvals16.fw
Extracting b43/ucode19_sslpn_nobt.fw
Extracting b43/b0g0bsinitvals9.fw
Extracting b43/ucode11.fw
Extracting b43/lp0initvals16.fw
Extracting b43/ucode16_mimo.fw
Extracting b43/lcn0bsinitvals26.fw
Extracting b43/ht0initvals29.fw
Extracting b43/lcn2bsinitvals25.fw
Extracting b43/a0g0initvals9.fw
Extracting b43/ucode29_mimo.fw
Extracting b43/lcn0bsinitvals24.fw
Extracting b43/ucode19_sslpn.fw
Extracting b43/lcn1initvals25.fw
Extracting b43/ucode30_mimo.fw
Extracting b43/n16bsinitvals30.fw
Extracting b43/ucode25_mimo.fw
Extracting b43/ucode24_mimo.fw
Extracting b43/ucode27_sslpn.fw
Extracting b43/lp0initvals13.fw
Extracting b43/a0g0bsinitvals5.fw
Extracting b43/ht0bsinitvals26.fw
Extracting b43/ucode13.fw
Extracting b43/sslpn2bsinitvals19.fw
Extracting b43/ucode15.fw
Extracting b43/lp0bsinitvals15.fw
Extracting b43/n0initvals11.fw
Extracting b43/lcn0initvals25.fw
Extracting b43/sslpn0bsinitvals16.fw
Extracting b43/sslpn1initvals20.fw
Extracting b43/lcn1bsinitvals26.fw
Extracting b43/n0initvals22.fw
Extracting b43/ht0bsinitvals29.fw
tc@box:~/b43fw$

Code: [Select]
tc@box:~$ dmesg
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 3.8.13-tinycore (tc@box) (gcc version 4.7.2 (GCC) ) #2511 SMP Fri Oct 18 14:41:31 UTC 2013
microcode: AMD CPU family 0xf not supported
cfg80211: Calling CRDA to update world regulatory domain
b43-phy0: Broadcom 4318 WLAN found (core revision 9)
b43-phy0: Found PHY: Analog 3, Type 2 (G), Revision 7
Broadcom 43xx driver loaded [ Features: PMNL ]
b43-phy0 ERROR: Firmware file "b43/ucode5.fw" not found
b43-phy0 ERROR: Firmware file "b43-open/ucode5.fw" not found
b43-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.
8139too 0000:06:06.0 eth0: link down
tc@box:~$
WLAN BCM4318 has incorrect firmware!  Also, wifi has NO dialog and simply vanishes!
eltone

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: WiFi Cannot Scan
« Reply #19 on: January 11, 2014, 01:14:09 PM »
b43/ucode5.fw is in firmware-openfwwf.tcz.

Offline eltone

  • Full Member
  • ***
  • Posts: 137
Re: WiFi Cannot Scan
« Reply #20 on: January 11, 2014, 02:58:46 PM »
. . .download only the needed ones from the 5.1 repo?

e.g.,
1) wireless-tools.tcz
2) b43-fwcutter.tcz & cut firmware as reported in thread.
3) wifi.tcz
4) firmware-openfwwf.tcz
5) firmware-broadcom_bcm43xx.tcz


Hi,
Added 4 & 5.  NO fw errors:

Code: [Select]
tc@box:~$ dmesg
microcode: AMD CPU family 0xf not supported
cfg80211: Calling CRDA to update world regulatory domain
b43-phy0: Broadcom 4318 WLAN found (core revision 9)
b43-phy0: Found PHY: Analog 3, Type 2 (G), Revision 7
Broadcom 43xx driver loaded [ Features: PMNL ]
ieee80211 phy0: Selected rate control algorithm 'pid'
microcode: AMD CPU family 0xf not supported
8139too 0000:06:06.0 eth0: link down
tc@box:~$

Wifi still has NO dialog/vanishes!

Q: What's the missing extension{s}?
eltone

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
WiFi Cannot Scan
« Reply #21 on: January 11, 2014, 03:08:55 PM »
Looks like you need 3 + 4 only


« Last Edit: January 11, 2014, 03:13:26 PM by coreplayer2 »

Offline eltone

  • Full Member
  • ***
  • Posts: 137
Re: WiFi Cannot Scan
« Reply #22 on: January 11, 2014, 03:29:19 PM »
Looks like you need 3 + 4 only

coreplayer2,

Q: Then why would 1,2 & 5, being installed, cause wifi to fail?

Suspect wifi is dependent on another repo 5.1 extension{s}.
eltone

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: WiFi Cannot Scan
« Reply #23 on: January 11, 2014, 06:19:58 PM »
It's really not that difficult we're not trying to confuse you.   Broadcom has been slow in providing any Linux support for their hardware.  As a result the available options may sound a little confusing, though with each of these combinations it's a case of either one or the other not both/all. 
There are distro's which provide a means to download and install the required proprietary firmware for you, but the end user has to initiate this.
Noting which driver and firmware is used in a system where the wifi worked for you would have been useful information.


Wifi extension will load all normally required dep's,  your hardware's driver is provided within Kernel modules, all you should need in addition (in this case) is firmware which looks as if it's located within openfwwf  otherwise use the b43fwcutter.







Sent from my iPhone using Tapatalk

Offline eltone

  • Full Member
  • ***
  • Posts: 137
Re: WiFi Cannot Scan
« Reply #24 on: January 11, 2014, 08:06:42 PM »
It's really not that difficult we're not trying to confuse you.   Broadcom has been slow in providing any Linux support for their hardware.  As a result the available options may sound a little confusing, though with each of these combinations it's a case of either one or the other not both/all. 
There are distro's which provide a means to download and install the required proprietary firmware for you, but the end user has to initiate this.
Noting which driver and firmware is used in a system where the wifi worked for you would have been useful information.


Wifi extension will load all normally required dep's,  your hardware's driver is provided within Kernel modules, all you should need in addition (in this case) is firmware which looks as if it's located within openfwwf  otherwise use the b43fwcutter.

Dear coreplayer2:

We both arrived at the same conclusion!

Forget about TCP 5.1 wireless/firmware original settings and only install two extensions:

1) wifi.tcz
2) firmware-openfwwf.tcz

Two thumb drive TCP installs have been cooked in the process and must start over with a fresh install w/o its WLAN original settings.  Thread indicated b43-fwcutter.tcz is flawed.

Thanks for replying to my post.

Sincerely,
eltone.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11064
Re: WiFi Cannot Scan
« Reply #25 on: January 11, 2014, 10:13:47 PM »
WLAN BCM4318 has incorrect firmware!
eltone

b43/ucode5.fw is in the cut firmware, did you cut it/load it before you loaded the wireless-KERNEL extension (which would load the b43 module, which expects to find the firmware when it is loaded)?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11064
Re: WiFi Cannot Scan
« Reply #26 on: January 11, 2014, 10:18:47 PM »
Thread indicated b43-fwcutter.tcz is flawed.

I don't think so, but the firmware probably needs to be installed before the b43 module (contained in the wireless-KERNEL extension) is loaded.

Offline eltone

  • Full Member
  • ***
  • Posts: 137
Re: WiFi Cannot Scan
« Reply #27 on: January 12, 2014, 12:37:37 AM »
Thread indicated b43-fwcutter.tcz is flawed.

I don't think so, but the firmware probably needs to be installed before the b43 module (contained in the wireless-KERNEL extension) is loaded.

hi,

Please translate, so a digital analyzer is not required.

Everything is installed at the factory (original factory settings).  The end-user's job is to cut/install firmware.  No-wonder it fails.

eltone

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11064
Re: WiFi Cannot Scan
« Reply #28 on: January 12, 2014, 12:50:45 AM »
check wireless is enabled in bios and any hardware wireless switch is set to "on"

reboot your machine without any firmware or wireless extensions loaded

cut and install the b43 firmware as detailed above

load the wireless-KERNEL extension

paste the results of "dmesg | tail -20" or similar

Offline eltone

  • Full Member
  • ***
  • Posts: 137
Re: WiFi Cannot Scan
« Reply #29 on: January 12, 2014, 09:17:49 AM »
check wireless is enabled in bios and any hardware wireless switch is set to "on"

reboot your machine without any firmware or wireless extensions loaded

cut and install the b43 firmware as detailed above

load the wireless-KERNEL extension

paste the results of "dmesg | tail -20" or similar

hi,
paste data:

Code: [Select]
tc@box:~$ dmesg | tail -20
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Attached SCSI removable disk
usb 2-3.3: new full-speed USB device number 3 using ohci_hcd
input: ImPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input8
usb 2-3.4: new full-speed USB device number 4 using ohci_hcd
loop: module loaded
Adding 250072k swap on /dev/zram0.  Priority:-1 extents:1 across:250072k SS
usb 4-1: new low-speed USB device number 2 using ohci_hcd
squashfs: version 4.0 (2009/01/31) Phillip Lougher
input: Kensington Kensington USB Wireless Mouse as /devices/pci0000:00/0000:00:14.4/0000:06:04.0/0000:07:00.0/usb4/4-1/4-1:1.0/input/input9
hid-generic 0003:047D:1039.0001: input,hidraw0: USB HID v1.00 Mouse [Kensington Kensington USB Wireless Mouse] on usb-0000:07:00.0-1/input0
Adding 1023996k swap on /dev/sdb2.  Priority:-2 extents:1 across:1023996k
microcode: AMD CPU family 0xf not supported
8139too 0000:06:06.0 eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
microcode: AMD CPU family 0xf not supported
cfg80211: Calling CRDA to update world regulatory domain
b43-phy0: Broadcom 4318 WLAN found (core revision 9)
b43-phy0: Found PHY: Analog 3, Type 2 (G), Revision 7
Broadcom 43xx driver loaded [ Features: PMNL ]
ieee80211 phy0: Selected rate control algorithm 'pid'
tc@box:~$


The balls in your court . . .
eltone