Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
picore:wifi [2025/05/05 17:17] – created rhermsenpicore:wifi [2025/06/28 20:23] (current) rhermsen
Line 1: Line 1:
 ====== piCore WiFi ====== ====== piCore WiFi ======
- 
-** Under Construction ** 
  
 There are several options to obtain the needed extensions to get WiFi working.\\ There are several options to obtain the needed extensions to get WiFi working.\\
Line 8: Line 6:
  
  
-  * Obtain the .tcz and .tcz.md5.txt and .tcz.dep files of the following extensionsand their dependencies: +Below the steps to first download the needed extensions to an USB-stick and install them from there.
-    * firmware-rpi-wifi.tcz +
-    * wireless-6.6.47-piCore-v8-16k.tcz +
-    * wireless_tools.tcz +
-    * wpa_supplicant.tcz +
-    * wifi.tcz+
  
-  * and put them on a FAT32 usb-stick.+The needed files depend on the type of RPi and if you have 32-bit (armhf) or 64-bit (aarch64) piCore OS.
  
 +You will need additional USB and possible driver extensions to get external Wifi adapters to work.
  
-  For the piCore-15 64-bit (aarch64) the links are+==== Download the Extensions ==== 
-  <code> +  Obtain the .tcz and .tcz.md5.txt and .tcz.dep (if availablefiles of the following extensions, and their dependencies (like specified in the .dep file)
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/firmware-rpi-wifi.tcz +    The generic list 
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/firmware-rpi-wifi.tcz.md5.txt+      firmware-rpi-wifi.tcz 
 +      * wireless_tools.tcz 
 +      * wpa_supplicant.tcz 
 +      * wifi.tcz\\ \\ 
 +  * The next extension needs to match the kernel version and for the RPi5 you need to use the 16K version.\\ If using the tce commands you can use the KERNEL keyword to get the correct version. 
 +    * RPi3 
 +      * wireless-6.6.47-piCore-v8.tcz 
 +      * wireless-KERNEL.tcz 
 +    * RPi5 
 +      * wireless-6.6.47-piCore-v8-16k.tcz 
 +      * wireless-KERNEL.tcz\\ 
 +    * and put them on a FAT32 usb-stick.\\ \\
  
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/wpa_supplicant.tcz +** Additional information neededPlease update the table below to add more models if you gathered the details**
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/wpa_supplicant.tcz.md5.txt +
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/wpa_supplicant.tcz.dep+
  
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/readline.tcz +|                      ^ RPi3                                                                 ^ RPi5                                                                 ^ 
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/readline.tcz.md5.txt +^ 32-bit piCore-15.x   | [[picore:wifi:rpi3_wifi_armhf_15|RPi3 piCore-15 32-bit (armhf)]]     | [[picore:wifi:rpi5_wifi_armhf_15|RPi5 piCore-15 32-bit (armhf)]]     | 
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/readline.tcz.dep+^ 64-bit piCore64-15.x | [[picore:wifi:rpi3_wifi_aarch64_15|RPi3 piCore-15 64-bit (aarch64)]] | [[picore:wifi:rpi5_wifi_aarch64_15|RPi5 piCore-15 64-bit (aarch64)]] | 
 +^ 32-bit piCore-16.x   | [[picore:wifi:rpi3_wifi_armhf_16|RPi3 piCore-16 32-bit (armhf)]]     | [[picore:wifi:rpi5_wifi_armhf_16|RPi5 piCore-16 32-bit (armhf)]]     | 
 +^ 64-bit piCore64-16.x | [[picore:wifi:rpi3_wifi_aarch64_16|RPi3 piCore-16 64-bit (aarch64)]] | [[picore:wifi:rpi5_wifi_aarch64_16|RPi5 piCore-16 64-bit (aarch64)]] | 
 +\\
  
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/libnl.tcz +==== Mount the USB-stick and copy the extensions to the tce directory ==== 
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/libnl.tcz.md5.txt+  * Insert the USB-stick in the RPi and mount the USB-stick to a mount-point (e.g. /mnt/sda1). 
 +      * verify with 'dmesg' the device path (e.g. /dev/sda1)
 +      * verify with 'ls' if a proper mount-point exist. 
 +          * ls / 
 +          * ls /mnt 
 +      * create a mount-point if one doesn't exist or if an additional one is needed. 
 +        * mkdir -p /mnt/sda1 
 +      * verify with 'mount' if the mount-point is not already in use. 
 +      * sudo mount /dev/sda1 /mnt/sda1/\\
  
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/ncurses.tcz +  * Copy all needed files to the optional directory in tce 
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/ncurses.tcz.md5.txt +          * Adapt the source path to match the correct location of your files
- +          * cp /mnt/sda1/64bit/16.x/* /mnt/mmcblk0p2/tce/optional/\\ \\ 
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/wifi.tcz +==== Load the extensions and add them to the onboot list ==== 
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/wifi.tcz.md5.txt +    * <code>
-http://repo.tinycorelinux.net/15.x/aarch64/tcz/wifi.tcz.dep +
-</code> +
- +
-  * sudo mount /dev/sda1 /mnt/sda1/ +
- +
-  * cp /mnt/sda1/64bit/* /mnt/mmcblk0p2/tce/optional/ +
- +
-  * <code>+
 tce-load -i firmware-rpi-wifi.tcz  tce-load -i firmware-rpi-wifi.tcz 
 tce-load -i wifi.tcz tce-load -i wifi.tcz
-tce-load -i wireless-6.6.47-piCore-v7.tcz  
-tce-load -i wireless_tools.tcz  
-tce-load -i wpa_supplicant.tcz 
 </code> </code>
  
-  * sudo vi /mnt/mmcblk0p2/tce/onboot.lst\\ add: <code> +    * sudo vi /mnt/mmcblk0p2/tce/onboot.lst\\ add: <code> 
-        firmware-rpi-wifi.tcz +firmware-rpi-wifi.tcz 
-        wifi.tcz +wifi.tcz</code> 
-        wireless_tools.tcz +    * sudo vi /opt/.filetool.lst\\ add: <code> 
-        wpa_supplicant.tcz +etc/wpa_supplicant.conf</code>\\ 
-        </code> +==== Connect to WiFi ==== 
-  * sudo vi /opt/.filetool.lst\\ add: <code> +  * Manually execute 'sudo wifi.sh' select and configure an access point.\\ This will create a 'wifi.db' file.
-        etc/wpa_supplicant.conf +
-        </code> +
-         +
-  * Manually execute 'wifi.sh' select and configure an access point.\\ This will create a 'wifi.db' file.+
  
 +Once the wifi.db file is created you can connect to this WiFi access-point automatically at bootup by adding below line in the bootlocal script.
  
   * sudo vi /opt/bootlocal.sh\\ add: <code>   * sudo vi /opt/bootlocal.sh\\ add: <code>
-        wifi.sh -a &> /home/tc/wifi.log & +wifi.sh -a &> /home/tc/wifi.log & 
-        </code>+</code> 
 +         
 +  * backup\\ \\ 
 +         
 +==== Stable Wifi with piCore-15. ==== 
 +  * According the [[https://forum.tinycorelinux.net/index.php/topic,27338.0.html|RN's]] it might be needed, and it looks to have solved my instability issues with both the RPi3 and RPi5. 
 +    * sudo mount /dev/mmcblk0p1 /mnt/mmcblk0p1 
 +    * sudo vi /mnt/mmcblk0p1/cmdline.txt\\ add:\\ <code> 
 +brcmfmac.feature_disable=0x82000 
 +</code>
                  
Print/export
QR Code
QR Code picore:wifi (generated for current page)