WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore-11beta wifi problem  (Read 5081 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13997
Re: piCore-11beta wifi problem
« Reply #30 on: April 18, 2020, 06:37:01 AM »
WiFi firmware or firmware in general?

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 842
Re: piCore-11beta wifi problem
« Reply #31 on: April 18, 2020, 01:25:07 PM »
This is wifi that I'm talking about.  But they have upgraded the several chipset firmware since launch. 

Offline danny

  • Jr. Member
  • **
  • Posts: 73
Re: piCore-11beta wifi problem
« Reply #32 on: April 20, 2020, 03:02:22 AM »
I have installed firmware wifi without error.
What should I do to find wlan0 and scan nearby wifi?

Thanks

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13997
Re: piCore-11beta wifi problem
« Reply #33 on: April 20, 2020, 04:09:11 AM »
Code: [Select]
$ tce-load -i firmware-rpi-wifi
$ tce-load -i wifi
$ sudo wifi.sh

Offline danny

  • Jr. Member
  • **
  • Posts: 73
Re: piCore-11beta wifi problem
« Reply #34 on: April 24, 2020, 01:04:31 AM »
This is content of onboot.lst on my piCore 11.X:
Code: [Select]
mc.tcz
openssh.tcz
libgcrypt.tcz
TC.tcz
firmware-rpi-wifi.tcz
dillo.tc
wget.tcz
wireless-4.19.81-piCore-v7.tcz
wifi.tcz

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13997
Re: piCore-11beta wifi problem
« Reply #35 on: April 24, 2020, 01:45:52 AM »
You can remove wireless-4.19.81-piCore-v7.tcz from onboot.list since it is a recursive dep of the wifi extension.

You also need to update the firmware-rpi-wifi extension as it was modified recently.

Offline danny

  • Jr. Member
  • **
  • Posts: 73
Re: piCore-11beta wifi problem
« Reply #36 on: April 24, 2020, 03:22:29 AM »
Hi Juanito
When I partition disk of piCore11.X, I can't reconnect  network by Ethernet.
How can I solve this problem?

Thanks

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13997
Re: piCore-11beta wifi problem
« Reply #37 on: April 24, 2020, 03:49:54 AM »
What I see (with a gigabit ethernet connection) is that it takes about 5 minutes after reboot before I can ssh into an RPi4 running piCore-11.x.

With an RPi3 running piCore-11.x it takes about 20 seconds.

You can see here that it's taking a while to get going:
Code: [Select]
$ dmesg
...
[    6.201902] bcmgenet fd580000.genet: configuring instance for external RGMII (no delay)
[    7.271857] bcmgenet fd580000.genet eth0: Link is Down
[   11.431873] bcmgenet fd580000.genet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
« Last Edit: April 24, 2020, 04:13:27 AM by Juanito »

Offline danny

  • Jr. Member
  • **
  • Posts: 73
Re: piCore-11beta wifi problem
« Reply #38 on: April 26, 2020, 06:26:00 PM »
I also can't connect to network by Ethernet after waiting 20 seconds.
Is it possible that partition disk on piCore happen some problem?
I followed this web to partition disk.
https://iotbytes.wordpress.com/picore-tiny-core-linux-on-raspberry-pi/

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13997
Re: piCore-11beta wifi problem
« Reply #39 on: April 26, 2020, 10:17:18 PM »
If piCore boots to a console prompt I'd guess that the problem is more likely to be with the RPi and/or its firmware.

As said, using an RPi3 with piCore-11.x takes about 20 seconds before ssh connects whereas an RPi4 with piCore-11.x takes 5 minutes - and this is using the same sd card and same network cable.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 842
Re: piCore-11beta wifi problem
« Reply #40 on: April 27, 2020, 07:53:32 PM »
I'm not sure whats going on with piCore11, as our 4.19.y based systems become responsive must faster than that.  My initial suspect is something with openssl.    I wonder if it is setup using a blocking call to random?

Might have to install rngd to see if that helps.

Offline danny

  • Jr. Member
  • **
  • Posts: 73
Re: piCore-11beta wifi problem
« Reply #41 on: April 28, 2020, 01:05:35 AM »
Is it possible that connect wifi which I have connected automatically after reboot rpi?

Thanks

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13997
Re: piCore-11beta wifi problem
« Reply #42 on: April 28, 2020, 01:14:43 AM »
Yes:

* add firmware-rpi-wifi and wifi to onboot.list
* add wifi.sh -a 2>&1 > /tmp/wifi.log to /opt/bootlocal.sh
* make a backup (this will save bootlocal.sh and ~/wifi.db)
« Last Edit: April 28, 2020, 01:17:00 AM by Juanito »

Offline danny

  • Jr. Member
  • **
  • Posts: 73
Re: piCore-11beta wifi problem
« Reply #43 on: May 13, 2020, 08:03:23 PM »
I install piCore on compute module 3.
I want to share my PC network to it by USB to Ethernet cable.
But I don't see Ethernet interface when I execute "ifconfig".