WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore-7.1beta3 released  (Read 28572 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore-7.1beta3 released
« Reply #15 on: March 24, 2016, 03:59:58 AM »
Thanks Paul, it is an upstream issue, not our :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Re: piCore-7.1beta3 released
« Reply #16 on: March 24, 2016, 05:06:35 AM »
Tried wifi stuff on Pi3 again
Got beta3, wrote it to USB.
Used gparted to increase the 12MB second partition up to 40MB.
Booted it, waited for ssh key stuff, opensshed in and ran this
tce-load -wi firmware-brcmfmac43430.tcz
filetool.sh -b
rebooted then tried to install wifi.tcz

Code: [Select]
tce-load -wi wifi.tcz
wifi.tcz.dep OK
wireless_tools.tcz.dep OK
wpa_supplicant.tcz.dep OK
Downloading: wireless-4.1.20-piCore_v7+.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wireless-4.1.20-piCo 100% |***************************************************|  2560k  0:00:00 ETA
wireless-4.1.20-piCore_v7+.tcz: OK
Downloading: wireless_tools.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wireless_tools.tcz   100% |***************************************************| 49152   0:00:00 ETA
wireless_tools.tcz: OK
Downloading: libnl.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 416 Requested Range Not Satisfiable
libnl.tcz: FAILED
md5sum: WARNING: 1 of 1 computed checksums did NOT match
Error on libnl.tcz

Same message Gerrelt got, so I installed libnl.tcz

Code: [Select]
tce-load -wi libnl.tcz
Downloading: libnl.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
libnl.tcz            100% |***************************************************|   292k  0:00:00 ETA
libnl.tcz: OK

then this again
tce-load -wi wifi.tcz
........
wifi.tcz: OK

Much better now

Code: [Select]
lsmod
Module                  Size  Used by    Not tainted
i2c_dev                 6020  0
brcmfmac              178947  0
brcmutil                5731  1 brcmfmac
cfg80211              436630  1 brcmfmac
rfkill                 16625  1 cfg80211
bcm2835_rng             1816  0
regmap_mmio             2969  0
bcm2835_gpiomem         3023  0
spi_bcm2835             7252  0
i2c_bcm2708             5002  0
uio_pdrv_genirq         2966  0
uio                     8340  1 uio_pdrv_genirq

Now to test it.

    [EDIT]: Added code tags.  Rich
« Last Edit: March 24, 2016, 10:52:48 AM by Rich »

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Re: piCore-7.1beta3 released
« Reply #17 on: March 24, 2016, 06:19:04 AM »
Pi 3 wireless working.

sudo iw wlan0 scan  reports stuff

Not exactly sure what did it, tried lots of stuff
http://askubuntu.com/questions/138472/how-do-i-connect-to-a-wpa-wifi-network-using-the-command-line

Something to do with wpa.conf or wpa_supplicant



Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1258
Re: piCore-7.1beta3 released
« Reply #18 on: March 24, 2016, 05:05:24 PM »
Pi 3 wireless working.

sudo iw wlan0 scan  reports stuff

Not exactly sure what did it, tried lots of stuff
http://askubuntu.com/questions/138472/how-do-i-connect-to-a-wpa-wifi-network-using-the-command-line

Something to do with wpa.conf or wpa_supplicant

I didn't have problems

tce-load -w wifi.tcz
wifi.sh
Added wifi.sh -a  to /opt/bootlocal.sh                                                   
filetool.sh -b


Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1258
Re: piCore-7.1beta3 released
« Reply #19 on: March 24, 2016, 06:16:07 PM »
Forgot that you also needed to load

The-load -w firmware-brcmfmac43430.tcz

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Re: piCore-7.1beta3 released
« Reply #20 on: March 24, 2016, 08:33:18 PM »
wifi.sh did not work for me, maybe because I have a wireless router?

Had to edit /etc/sysconfig/wifi-wpadrv, used nl880211 instead of wext
Made a wpa.conf and used this
wpa_supplicant -B -iwlan0 -c/home/tc/wpa.conf -Dnl80211

Have not done wifi on piCore before.
To many other things to learn, but now that Pi 3's are around it got bumped up the list.
Still much more to learn re command line wifi.
Basically fumbling around in the dark, trying things from google.
Might have fire up a X11 version of piCore and try to see how GUI's do it.

Is there a wifi GUI?
Time to read up
https://en.wikipedia.org/wiki/Wireless_tools_for_Linux#wpa_supplicant.2Fhostapd

wpa_supplicant for client
hostapd for server
So if I want to make a Pi3 lawnmower controlled via wifi I need to learn hostapd?

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1258
Re: piCore-7.1beta3 released
« Reply #21 on: March 24, 2016, 11:11:58 PM »
if you are trying to use hostapd....then that is a whole different beast.

wext driver worked fine for me.


Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Re: piCore-7.1beta3 released
« Reply #22 on: March 25, 2016, 12:47:56 AM »
Yep wext works too.
Not sure what the difference is anyway yet.

I used the wifi to scan local access points
sudo iw wlan0 scan | grep SSID

https://wireless.wiki.kernel.org/en/users/Documentation/iw
iw better than iwconfig?

Probably should move this to a Pi3 wifi post, getting off track?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore-7.1beta3 released
« Reply #23 on: March 25, 2016, 02:11:08 AM »
Probably should move this to a Pi3 wifi post, getting off track?

Good idea, it is not really a piCore issue.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1258
Re: piCore-7.1beta3 released
« Reply #24 on: March 25, 2016, 05:42:00 PM »
Bela,,

When does /opt/shutdown.sh get called?  I was expecting to find it in /etc/init.d/rc.shutdown but it's not there.

I'm back on trying to fix reboot hangs when I'm running on wifi, and have a network share mounted.

I believe what happens is that the wifi connection gets killed before the drive is unmounted......when the system tries to unmount all drives, it has to wait for a timeout to move on.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11691
Re: piCore-7.1beta3 released
« Reply #25 on: March 25, 2016, 09:01:29 PM »
Hi Paul_123
Take a look in  /usr/bin/exitcheck.sh

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1258
Re: piCore-7.1beta3 released
« Reply #26 on: March 26, 2016, 11:38:00 AM »
Hi Paul_123
Take a look in  /usr/bin/exitcheck.sh

Sure enough.....

running "exitcheck.sh reboot" does the trick

Offline jncl

  • Newbie
  • *
  • Posts: 38
Re: piCore-7.1beta3 released
« Reply #27 on: March 30, 2016, 11:00:59 AM »
Hi Béla,

  I have been trying to use a modified /etc/hosts file and found that it kept reverting after a reboot.

  I eventually tracked down the issue to the /usr/bin/sethostname script which overwrites this file when it is run.

  I have modified the /usr/bin/sethostname script to only change the hostname value in the /etc/hosts file, which works to my satisfaction, and I attach a diff file of these changes.

  If they are acceptable, could the modified /usr/bin/sethostname script be incorporated into the next beta or release candidate build please.

Jon

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1258
Re: piCore-7.1beta3 released
« Reply #28 on: April 12, 2016, 02:08:55 PM »
Rpi has moved to Kernel 4.4.y

Is the plan to stay at 4.1.20 for a little bit?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: piCore-7.1beta3 released
« Reply #29 on: April 12, 2016, 02:34:07 PM »
Is the plan to stay at 4.1.20 for a little bit?

Good question. In the latest 7.1beta editions GCC, GLIBC was updated to latest upstream and I just updated BusyBox for the not yet released beta4. I will travel in the rest of the month so no new release in April. In May I will make a new release with the current 4.4.x kernel .
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."