WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: WiFi Cannot Scan  (Read 66050 times)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: WiFi Cannot Scan
« Reply #75 on: January 20, 2014, 01:12:14 PM »
Please copy and paste the command from forum to a terminal - verbatim et literatim - and then show the content of filetool.lst.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline eltone

  • Full Member
  • ***
  • Posts: 137
Re: WiFi Cannot Scan
« Reply #76 on: January 20, 2014, 01:23:28 PM »
TCP 5.1 Team,

It appears that there's a bug unique to tc-5x on this hardware while cutting the BCM4318 firmware:

Code: [Select]
tc@box:~$ dmesg
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'
------------[ cut here ]------------
WARNING: at drivers/net/wireless/b43/main.c:2574 0xf8566129()
Hardware name: Pavilion dv8000 (ET831UA#ABA)     
Modules linked in: b43 mac80211 bcma cfg80211 cpufreq_stats cpufreq_powersave cpufreq_conservative cpufreq_userspace squashfs loop hp_wmi sparse_keymap powernow_k8 video backlight battery 8139cp ac sdhci_pci sdhci mmc_core wmi 8139too tifm_7xx1 tifm_core ssb pcspkr
Pid: 3864, comm: ifconfig Not tainted 3.8.13-tinycore #2511
Call Trace:
 [<c012b5dd>] ? 0xc012b5dd
 [<f8566129>] ? 0xf8566129
 [<f8566129>] ? 0xf8566129
 [<c012b60b>] ? 0xc012b60b
 [<f8566129>] ? 0xf8566129
 [<f856702e>] ? 0xf856702e
 [<f84f0235>] ? 0xf84f0235
 [<f84eeacb>] ? 0xf84eeacb
 [<c0143bea>] ? 0xc0143bea
 [<c0429b7f>] ? 0xc0429b7f
 [<c0429af2>] ? 0xc0429af2
 [<c0429d6b>] ? 0xc0429d6b
 [<c04263d2>] ? 0xc04263d2
 [<c01b1ed2>] ? 0xc01b1ed2
 [<c0429e3f>] ? 0xc0429e3f
 [<c046dca0>] ? 0xc046dca0
 [<c04263d2>] ? 0xc04263d2
 [<c01b1ed2>] ? 0xc01b1ed2
 [<c014654c>] ? 0xc014654c
 [<c041945b>] ? 0xc041945b
 [<c0419283>] ? 0xc0419283
 [<c01b67a0>] ? 0xc01b67a0
 [<c01b7239>] ? 0xc01b7239
 [<c012263e>] ? 0xc012263e
 [<c01b72ac>] ? 0xc01b72ac
 [<c04c63d8>] ? 0xc04c63d8
---[ end trace 0899dba7c56a2a0b ]---
b43-phy0: Loading firmware version 410.2160 (2015-15-255 15:32:10)
b43-phy0 warning: No "pcm5.fw" firmware file found. Hardware accelerated cryptography is disabled.
b43-phy0 warning: 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.
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
net_ratelimit: 5 callbacks suppressed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
8139too 0000:06:06.0 eth0: link down
b43-phy0 ERROR: MAC suspend failed
usb 2-3.4: USB disconnect, device number 4
hub 2-3:1.0: unable to enumerate USB device on port 4
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
tc@box:~$


TCP 4.73 handled this function OK.

eltone

Offline eltone

  • Full Member
  • ***
  • Posts: 137
Re: WiFi Cannot Scan
« Reply #77 on: January 20, 2014, 05:21:52 PM »
Please copy and paste the command from forum to a terminal - verbatim et literatim - and then show the content of filetool.lst.
Dear tinypoodle:

There are NO stupid questions, only answers.  All forward slashes confirmed OK.

The subject of this thread needs to be addressed by the TCP 5.1 team.  Adding TCP 4.73 to the mix adds a baseline functionality incentive for lowest common denominator resolution ASAP!
Sincerely,
eltone
~no offense

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: WiFi Cannot Scan
« Reply #78 on: January 20, 2014, 05:39:32 PM »
No, the forward slashes are NOT OK. You have included a leading slash NOT in the instructions.
Your repeated return to your previous mistakes after things have been demonstrated as working properly will ensure that you never
will have a functioning system.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: WiFi Cannot Scan
« Reply #79 on: January 20, 2014, 07:12:18 PM »
Please copy and paste the command from forum to a terminal - verbatim et literatim - and then show the content of filetool.lst.
Dear tinypoodle:

There are NO stupid questions, only answers.

Well, often you seem not to provide accurate/specific answers to what is requested from you by all those trying to support you...

Quote
All forward slashes confirmed OK.

Not sure what to make out of this, I think the request (which you even quoted!) was as simple, specific and detailed as possible, you shout "bug" every somesuch, but are not really helping if you don't follow up with further investigation.

You have been pointed to the exact same "How to" more than one year ago, in a thread in where you had similar complaints and requests and claimed similar bugs as in this one, none of which has been proven to be a bug ever since.

http://forum.tinycorelinux.net/index.php/topic,14622.msg83308.html#msg83308

So, if you claim to have found a bug in a "How to" more than one year after you have been pointed to it, while in over 3 years none of the more than 4000 users having viewed the same have reported anything, you are not convincing at all when you are not following up and provide necessary evidence.

Generally speaking, bug reports about bugs which cannot be reliably reproduced most likely end up with status "Closed. Can  not reproduce." - except in the rare case where there would be indications of a heisenbug.

Quote
The subject of this thread needs to be addressed by the TCP 5.1 team.  Adding TCP 4.73 to the mix adds a baseline functionality incentive for lowest common denominator resolution ASAP!

This sentence leaves  me puzzled, not understanding what any of it could possibly mean...
???
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline eltone

  • Full Member
  • ***
  • Posts: 137
Re: WiFi Cannot Scan
« Reply #80 on: January 20, 2014, 07:18:07 PM »
No, the forward slashes are NOT OK. You have included a leading slash NOT in the instructions.
Your repeated return to your previous mistakes after things have been demonstrated as working properly will ensure that you never
will have a functioning system.
hi,
WLAN on TCP 5.1 has never functioned properly on this hardware, only TCP 4.73/wicd has, as w/other distros.

e.g., Slackware 14.0, Porteus-XFCE 2.0
eltone

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: WiFi Cannot Scan
« Reply #81 on: January 20, 2014, 08:43:02 PM »
1. There is nothing specific to "WLAN on TCP 5.1" in what you quoted gerald_clark, but it's entirely specific to 'tar', i.e. how to add files to Core's backup in general.

2. Testing a specific piece of hardware with different distros could only provide for anecdotal evidence.

My anecdotal evidence with testing a specific wireless radio with dozens of distros over a timespan of many years has shown that it would only ever work out of the box under CorePlus and Slackware 9.0, while OTOH it took me 2 hours of fiddling under Ubuntu and I gave up after a few days of trying with Backtrack (oh the irony!). 
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: WiFi Cannot Scan
« Reply #82 on: January 20, 2014, 11:21:30 PM »
Maybe it's time to re-state what you'd like to achieve.

I understand you'd like to get wifi working with your bcm-4318 hardware using an installed x86 tc-5.x, but is your aim to have it working from the cli, with the wifi extension or with the wcid extension?

In addition, do you wish it to work with freely available firmware or with the broadcom firmware as described in linux wireless b43?

Offline eltone

  • Full Member
  • ***
  • Posts: 137
Re: WiFi Cannot Scan
« Reply #83 on: January 20, 2014, 11:57:48 PM »
Maybe it's time to re-state what you'd like to achieve.
Quote
I understand you'd like to get wifi working with your bcm-4318 hardware using an installed x86 tc-5.x, but is your aim to have it working from the cli, with the wifi extension or with the wcid extension?
Dear Juanito:
No bloat means CLI.  I have NO faith in wifi extension w/WEP and wicd extension has too much bloat to pursue any 5.1 usage.  You enlightened me on this WLAN CLI indexing avenue that thread feedback shows optimism.  Also, going with a frugal install to thumb drive w/no wifi/firmware installation.  Just add the essentials one by one.
Quote
In addition, do you wish it to work with freely available firmware or with the broadcom firmware as described in linux wireless b43?
Hindsight is twenty-twenty, so whatever was used successfully w/TCP 4.73, I'm for, where b43-fwcutter was ignored.
Sincerely,
eltone

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: WiFi Cannot Scan
« Reply #84 on: January 21, 2014, 12:06:24 AM »
So:

* boot tc-5.x with no firmware/wireless extensions "onboot" and no wireless modules blacklisted.
* load firmware-openfwwf extension
* load wireless-KERNEL extension
* check dmesg to see if b43 module has loaded and found the firmware it requires

paste relevant dmesg output here

Offline eltone

  • Full Member
  • ***
  • Posts: 137
Re: WiFi Cannot Scan
« Reply #85 on: January 21, 2014, 10:42:03 AM »
So:

* boot tc-5.x with no firmware/wireless extensions "onboot" and no wireless modules blacklisted.
* load firmware-openfwwf extension
* load wireless-KERNEL extension
* check dmesg to see if b43 module has loaded and found the firmware it requires

paste relevant dmesg output here
Code: [Select]
tc@box:~$ sudo lsmod
Module                  Size  Used by    Not tainted
cpufreq_stats          12288  0
cpufreq_powersave      12288  0
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
squashfs               24576 58
loop                   20480 116
hp_wmi                 12288  0
sparse_keymap          12288  1 hp_wmi
powernow_k8            16384  0
video                  16384  0
pcspkr                 12288  0
backlight              12288  1 video
battery                16384  0
sdhci_pci              12288  0
sdhci                  24576  1 sdhci_pci
ac                     12288  0
mmc_core               53248  1 sdhci
8139cp                 20480  0
ssb                    36864  0
tifm_7xx1              12288  0
tifm_core              12288  1 tifm_7xx1
8139too                20480  0
wmi                    12288  1 hp_wmi
tc@box:~$ tce-load -i firmware-openfwwf
/etc/sysconfig/tcedir/optional/firmware-openfwwf.tcz: OK
tc@box:~$ tce-load -i wireless-3.8.13-tinycore
/etc/sysconfig/tcedir/optional/wireless-3.8.13-tinycore.tcz: OK
tc@box:~$ sudo lsmod
Module                  Size  Used by    Not tainted
b43                   278528  0
mac80211              155648  1 b43
bcma                   24576  1 b43
cfg80211              110592  2 b43,mac80211
cpufreq_stats          12288  0
cpufreq_powersave      12288  0
cpufreq_userspace      12288  0
cpufreq_conservative    12288  0
squashfs               24576 60
loop                   20480 120
hp_wmi                 12288  0
sparse_keymap          12288  1 hp_wmi
powernow_k8            16384  0
video                  16384  0
pcspkr                 12288  0
backlight              12288  1 video
battery                16384  0
sdhci_pci              12288  0
sdhci                  24576  1 sdhci_pci
ac                     12288  0
mmc_core               53248  1 sdhci
8139cp                 20480  0
ssb                    36864  1 b43
tifm_7xx1              12288  0
tifm_core              12288  1 tifm_7xx1
8139too                20480  0
wmi                    12288  1 hp_wmi
tc@box:~$ dmesg | tail -33
 sdb: sdb1 sdb2 sdb3 sdb4
sd 2:0:0:0: [sdb] No Caching mode page present
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] Attached SCSI removable disk
 excluding 0x870-0x87f
pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcf7:
 excluding 0xc00-0xc07 0xc10-0xc17 0xc50-0xc57 0xc68-0xc6f 0xcd0-0xcdf
pcmcia_socket pcmcia_socket0: cs: memory probe 0x0c0000-0x0fffff:
 excluding 0xc0000-0xfffff
pcmcia_socket pcmcia_socket0: cs: memory probe 0xa0000000-0xa0ffffff:
 clean.
pcmcia_socket pcmcia_socket0: cs: memory probe 0x60000000-0x60ffffff:
 clean.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff:
 clean.
loop: module loaded
Adding 250300k swap on /dev/zram0.  Priority:-1 extents:1 across:250300k SS
usb 2-3.3: new full-speed USB device number 3 using ohci_hcd
squashfs: version 4.0 (2009/01/31) Phillip Lougher
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
usb 4-1: new low-speed USB device number 2 using ohci_hcd
Adding 262140k swap on /dev/sdb4.  Priority:-2 extents:1 across:262140k
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
EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
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:~$


HTH
eltone

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14535
Re: WiFi Cannot Scan
« Reply #86 on: January 21, 2014, 07:39:02 PM »
OK, that looks OK (except I might have expected to see "wlan0 somewhere), now I guess you can try:
Code: [Select]
$ sudo iwconfig wlan0 essid "eltonenetwork"
$ sudo iwconfig wlan0 key 6789abcdef
$ sudo udhcpc -b -i wlan0 -x hostname:box -p /var/run/udhcpc.wlan0.pid

BTW, "lsmod" is OK, "sudo lsmod" is not required.

Offline eltone

  • Full Member
  • ***
  • Posts: 137
Re: WiFi Cannot Scan
« Reply #87 on: January 22, 2014, 09:45:02 AM »
OK, that looks OK (except I might have expected to see "wlan0 somewhere), now I guess you can try:
Code: [Select]
$ sudo iwconfig wlan0 essid "eltonenetwork"
$ sudo iwconfig wlan0 key 6789abcdef
$ sudo udhcpc -b -i wlan0 -x hostname:box -p /var/run/udhcpc.wlan0.pid

BTW, "lsmod" is OK, "sudo lsmod" is not required.

hi,
CLI line one is missing a component:

Code: [Select]
tc@box:~$ tce-load -i firmware-openfwwf
/etc/sysconfig/tcedir/optional/firmware-openfwwf.tcz: OK
tc@box:~$ tce-load -i wireless-3.8.13-tinycore
/etc/sysconfig/tcedir/optional/wireless-3.8.13-tinycore.tcz: OK
tc@box:~$ sudo iwconfig wlan0 essid "eltonenetwork"
sudo: iwconfig: command not found
tc@box:~$


Suspect there's a better firmware choice w/missing component.
eltone

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: WiFi Cannot Scan
« Reply #88 on: January 22, 2014, 09:51:22 AM »
Code: [Select]
tce-load -i wireless_tools.tcz
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline eltone

  • Full Member
  • ***
  • Posts: 137
Re: WiFi Cannot Scan
« Reply #89 on: January 22, 2014, 10:44:29 AM »
Code: [Select]
tce-load -i wireless_tools.tcz
hi,

'b43' firmware remains NON-functional:

Code: [Select]
tc@box:~$ tce-load -i firmware-openfwwf
/etc/sysconfig/tcedir/optional/firmware-openfwwf.tcz: OK

tc@box:~$ tce-load -i wireless_tools
wireless-3.8.13-tinycore.tcz: OK
libiw.tcz: OK
wireless_tools.tcz: OK

tc@box:~$ sudo iwconfig wlan0 essid "eltonenetwork"

tc@box:~$ sudo iwconfig wlan0 key 6789abcdef

tc@box:~$ sudo udhcpc -b -i wlan0 -x hostname:box -p /var/run/udhcpc.wlan0.pid
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background

tc@box:~$ dmesg | tail -33
 [<c04263d2>] ? 0xc04263d2
 [<c01b1ed2>] ? 0xc01b1ed2
 [<c0429e3f>] ? 0xc0429e3f
 [<c046dca0>] ? 0xc046dca0
 [<c04263d2>] ? 0xc04263d2
 [<c01b1ed2>] ? 0xc01b1ed2
 [<c014654c>] ? 0xc014654c
 [<c041945b>] ? 0xc041945b
 [<c0419283>] ? 0xc0419283
 [<c01b67a0>] ? 0xc01b67a0
 [<c01b7239>] ? 0xc01b7239
 [<c012263e>] ? 0xc012263e
 [<c01b72ac>] ? 0xc01b72ac
 [<c04c63d8>] ? 0xc04c63d8
---[ end trace 470a5bf9db3a765a ]---
b43-phy0: Loading firmware version 410.2160 (2015-15-255 15:32:10)
b43-phy0 warning: No "pcm5.fw" firmware file found. Hardware accelerated cryptography is disabled.
b43-phy0 warning: 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.
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
net_ratelimit: 5 callbacks suppressed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
b43-phy0 ERROR: MAC suspend failed
tc@box:~$


WLAN LED does get enabled is about all.

Q: Any fresh ideas?
eltone