Welcome to the Tiny Core Linux Wiki at tinycorelinux.net!

piCore is missing the files necessary for a Pi Zero W to connect to wi-fi. The steps below explain how to add them when you install piCore.

(From: http://forum.tinycorelinux.net/index.php/topic,21134.msg145053.html#msg145053)

  • Download piCore-9.0.3.zip from http://tinycorelinux.net/9.x/armv6/releases/RPi/
  • Copy onto the SD card:
    • e.g. on a Macbook:
      • diskutil list
      • note which number disk is the SD card (3 in my case)
      • diskutil unmountdisk /dev/disk3
      • sudo dd bs=1m if=piCore-9.0.3.img of=/dev/rdisk3 conv=sync
  • mkdir required; cd required
  • for pkg in libiw libnl readline wifi wireless-4.9.22-piCore wireless_tools wpa_supplicant firmware-rpi3-wireless; do
    for f in $pkg.tcz{,.dep,.info,.list,.md5.txt,.tree,.zsync}; do
    wget http://ftp.nluug.nl/os/Linux/distr/tinycorelinux/9.x/armv6/tcz/$f;
    done; \
    done
  • tar zcvf ../required.tar.gz *; cd ..
  • Copy required.tar.gz onto the VFAT partition of the SD card
    • e.g. on a Macbook:
      • cp required.tar.gz /Volumes/piCore/
  • Eject the SD card, remove from computer, insert into Pi Zero W
  • Connect via HDMI to a monitor, and a USB keyboard
  • Power on the Pi
  • At the command line:
    • Expand the second partition:
      • sudo fdisk -u /dev/mmcblk0
      • p
      • Note the StartLBA value for /dev/mmcblk0p2 (77824)
      • d
      • 2
      • n
      • p
      • 2
      • 77824
      • Enter to accept default value
      • w
    • sudo reboot
    • sudo resize2fs /dev/mmcblk0p2
    • Install files required for wifi:
      • mount /mnt/mmcblk0p1
      • cd /mnt/mmcblk0p2/tce/optional
      • tar zxvf /mnt/mmcblk0p1/required.tar.gz
      • rm /mnt/mmcblkp1/required.tar.gz
      • tce-load -i firmware-rpi3-wireless
      • tce-load -i wifi
      • echo “firmware-rpi3-wireless.tcz” » ../onboot.lst
      • echo “wifi.tcz” » ../onboot.lst
    • Connect to wifi and make it persistent:
      • sudo wifi.sh (and select an AP and enter password)
      • echo “wifi.sh -aw” » /opt/bootlocal.sh
      • echo ”/etc/wpa_supplicant.conf” » /opt/.filetool.lst
      • filetool.sh -b
    • sudo exitcheck.sh reboot

I'm not sure why tce-load -i … doesn't add entries to onboot.lst automatically like it does when you have a network connection and can tce-load -wi …

Print/export