README-wireless.txt

Refer to the wiki if unfamiliar with the basic install and use of dCore:
  http://wiki.tinycorelinux.net/dcore:welcome

Assuming a properly set up TCE directory, see README-1st.txt, the system may
require the kernel's wireless SCE. Enter the following in terminal to confirm
the dCore flavour and kernel version being used:
  version
  uname -r

If the dCore system does not have a wired connection to install extensions, from
another system download the wireless.sce and wireless-<kernel_version>.sce
extensions, example:
  wireless.sce
  wireless-4.8.17-tinycore.sce

Download location:
  http://repo.tinycorelinux.net/dCore/x86/sce/<dCore-version>/

Download from the appropriate dCore flavour:
  http://repo.tinycorelinux.net/dCore/x86/sce/dCore-jessie/
  http://repo.tinycorelinux.net/dCore/x86/sce/dCore-trusty/
  http://repo.tinycorelinux.net/dCore/x86/sce/dCore-stretch/
  http://repo.tinycorelinux.net/dCore/x86/sce/dCore-zesty/
  http://repo.tinycorelinux.net/dCore/x86/sce/dCore-wheezy/
  http://repo.tinycorelinux.net/dCore/x86/sce/dCore-artful/
  http://repo.tinycorelinux.net/dCore/x86/sce/dCore-xenial/

If downloading from another system, transfer these SCEs to the dCore wireless
system (eg. via USB stick) and place them into dCore's SCE directory:
  /etc/sysconfig/tcedir/sce/

Needed firmware files are included in the wireless.sce extension.

The system may need ndiswrapper modules (https://wiki.debian.org/NdisWrapper):
  ndiswrapper-modules-<kernel_version>-tinycore.sce

Example wget commands for dCore-jessie:
wget http://repo.tinycorelinux.net/dCore/x86/sce/dCore-jessie/wireless.sce
wget http://repo.tinycorelinux.net/dCore/x86/sce/dCore-jessie/wireless.md5.txt
wget http://repo.tinycorelinux.net/dCore/x86/sce/dCore-jessie/wireless-3.16.6-tinycore.sce
wget http://repo.tinycorelinux.net/dCore/x86/sce/dCore-jessie/wireless-3.16.6-tinycore.sce.md5.txt
wget http://repo.tinycorelinux.net/dCore/x86/sce/dCore-jessie/ndiswrapper-modules-3.16.6-tinycore.sce
wget http://repo.tinycorelinux.net/dCore/x86/sce/dCore-jessie/ndiswrapper-modules-3.16.6-tinycore.sce.md5.txt

Once downloaded and placed into the SCE directory, load the packages,
substituting with the kernel version being used, example:
  sce-load wireless
  sce-load wireless-3.16.6-tinycore
  sce-load ndiswrapper-modules-3.16.6-tinycore

Use the usual Linux commands to set up a wireless connection. The 'iwconfig'
command is from the 'wireless-tools' package:
  sce-import -o wireless-tools
  sce-load wireless-tools

Then create a file /etc/wpa_supplicant.conf to contain:
  network={
    ssid="YOUR_ESSID"
    psk="YOUR_PASSWORD"
  }

Add the following to /opt/boolocal.sh or give these commands after boot:
  wpa_supplicant -iwlan0 -Dwext -c/etc/wpa_supplicant.conf
  udhcpc -i wlan0

The udhcpc command assumes dhcp is the desired way to get an address.

Add the following to /opt/.filetool.lst for backup:
  etc/wpa_supplicant.conf
  opt/bootlocal.sh

Is is beneficial to add all required wireless extensions to:
  /etc/sysconfig/tcedir/sceboot.lst

Run backup and reboot system for testing:
  backup
  sudo reboot