WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: wifi.sh says "no devices found" on piCore 9.0.3  (Read 1547 times)

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12235
Re: wifi.sh says "no devices found" on piCore 9.0.3
« Reply #15 on: June 15, 2020, 11:32:17 PM »
Have you tried piCore-11.0?

Offline alessio

  • Newbie
  • *
  • Posts: 5
Re: wifi.sh says "no devices found" on piCore 9.0.3
« Reply #16 on: July 15, 2020, 02:39:31 PM »
Have you tried piCore-11.0?

Hi Juanito,

I'm trying with piCore-11.0 on Raspberry Pi Zero W but "sudo wifi.sh" says: No device found!

in attachment the DMESG output.

regards

Alessio

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 581
Re: wifi.sh says "no devices found" on piCore 9.0.3
« Reply #17 on: July 15, 2020, 04:03:23 PM »
Looks perfectly normal.   What extensions do you have loaded?

Offline alessio

  • Newbie
  • *
  • Posts: 5
Re: wifi.sh says "no devices found" on piCore 9.0.3
« Reply #18 on: July 16, 2020, 01:45:45 PM »
Looks perfectly normal.   What extensions do you have loaded?

Hi Paul,

  • firmware-rpi-wifi.tcz
  • wireless-4.19.81-piCore.tcz
  • wpa_supplicant.tcz
  • wifi.tcz

I also tryed to change the boot order with the same result...


Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 581
Re: wifi.sh says "no devices found" on piCore 9.0.3
« Reply #19 on: July 16, 2020, 08:12:53 PM »
Did you add wireless_tools.tcz

Make sure you have downloaded the entire dependancy chain.  Each extension should have a .tcz  .tcz.md5sum.txt and make sure to get the .tcz.dep if its there.

Here is the tree
Code: [Select]
wifi.tcz
   wireless_tools.tcz
      wireless-4.9.22-piCore.tcz
   wpa_supplicant.tcz
      libnl.tcz
      openssl.tcz
         ca-certificates.tcz
      readline.tcz
         ncurses.tcz

onboot.lst should have

firmware-rpi-wifi.tcz
wifi.tcz

Offline alessio

  • Newbie
  • *
  • Posts: 5
Re: wifi.sh says "no devices found" on piCore 9.0.3
« Reply #20 on: July 17, 2020, 02:15:07 PM »
Hi Paul,

I put all files that you say but but wifi still isn't recognized.

I can not see errors / logs.

I am frustrated. I tryed DietPi on the same RasberryPi Zero W in 5 minutes: downloaded, edit only one txt file direct on SD , powered up and connected via ssh in wifi....

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 581
Re: wifi.sh says "no devices found" on piCore 9.0.3
« Reply #21 on: July 17, 2020, 04:31:12 PM »
The more I look at the tree below, we are missing a dependency to libiw.tcz

Juanito, can you add libiw.tcz as a dependancy for wireless_tools

alessio,

Run the following

Code: [Select]
echo "libiw.tcz" >> /mnt/mmcblk0p2/tce/optional/wireless_tools.tcz.dep

tce-audit builddb
tce-audit fetchmissing

That should fix your local copy for now.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 581
Re: wifi.sh says "no devices found" on piCore 9.0.3
« Reply #22 on: July 17, 2020, 05:45:22 PM »
Sorrry, I was brain dead from work when I wrote that.  Without network access tce-audit does no good.

And i forgot to check the repo.  Somehow libiw is missing..... guess everyone is either upgrading or proficient from pulling from old versions

You should be able to use this copy.
http://distro.ibiblio.org/tinycorelinux/9.x/armv6/tcz/libiw.tcz

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12235
Re: wifi.sh says "no devices found" on piCore 9.0.3
« Reply #23 on: July 18, 2020, 12:35:27 AM »
Juanito, can you add libiw.tcz as a dependancy for wireless_tools

I'm not sure why, but wireless_tools contains libiw in piCore-11.x (which means that we are missing the dev files).

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 581
Re: wifi.sh says "no devices found" on piCore 9.0.3
« Reply #24 on: July 18, 2020, 05:27:00 AM »
I looked, I’ve never built libiw, I must have copied since piCore 8.  Libiw was a dependency in 8 and 9 too.  iwconfig is what is linked to libiw.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12235
Re: wifi.sh says "no devices found" on piCore 9.0.3
« Reply #25 on: July 18, 2020, 06:34:46 AM »
I just checked with:
Code: [Select]
$ tce-load -i firmware-rpi-wifi wifi
$ sudo wifi.sh
..and it works, so iwconfig is using the copy of libiw in wireless_tools

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 581
Re: wifi.sh says "no devices found" on piCore 9.0.3
« Reply #26 on: July 18, 2020, 07:54:51 AM »
Seems it doesn't care much about version.  I had libiw installed on mine, and ldd was showing that link.

So then I don't know what the problem is on his end.