Tiny Core Base > Raspberry Pi

I don’t understand how to set up wifi

<< < (5/5)

drak:
Oh Man!
That was it!

I even wondered why wireless_tools.tcz depends on wireless-6.1.25-piCore.tcz and some other posts in the forum added wireless-6.1.68-piCore.tcz

Thanks!

For reference:
"ifconfig wlan0 up" is not nessecary, other wireless firmware is also not needed

bootlocal.sh

--- Code: ---#!/bin/sh

CNT = 0
until [ -n "$WIFI" ]
do
        [ $((CNT++)) -gt 10 ] && break || sleep 1
        WIFI="$(iwconfig 2>/dev/null | awk '{if (NR==1)print $1}')"
done

# Set CPU frequency governor to ondemand (default is performance)
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

# Load modules - i2c-dev needs manually loaded even if enabled in config.txt
/sbin/modprobe i2c-dev

chmod u=rw,g=,o= /opt/wpa_supplicant.conf
/usr/local/sbin/wpa_supplicant -i$WIFI -c/opt/wpa_supplicant.conf -Dnl80211,wext -B >/dev/null 2>&1

/sbin/udhcpc -i $WIFI -x hostname:ipcore 2>/dev/null

# Start openssh daemon
/usr/local/etc/init.d/openssh start
--- End code ---

onboot.lst

--- Code: ---wireless-6.1.68-piCore.tcz
openssh.tcz
wifi.tcz
firmware-rpi-wifi.tcz
--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version