I'd tried the en:guides:wifi-easy and wifi-hard. Somehow it won't work.
I'm using slitaz stable whereby the wifi is NOT wlan0... it's ra0.
I'd changed the network.conf file to the below.
=== START /etc/network.conf ===
INTERFACE="ra0"
# Dynamic IP address.
# Enable/disable DHCP client at boot time.
DHCP="yes"
# Static IP address.
# Enable/disable static IP at boot time.
STATIC="yes"
# Set IP address and netmask for a static IP.
IP="192.168.1.112"
NETMASK="255.255.255.0"
# Set route gateway for a static IP.
GATEWAY="192.168.1.1"
# Set DNS server for a static IP.
DNS_SERVER="192.168.1.1"
# Wifi connection.
# Enable/disable wireless connection at boot time.
WIFI="yes"
# Wifi interface (iwconfig) and ESSID.
WIFI_INTERFACE="ra0"
WIFI_ESSID="theessidname"
WIFI_MODE="managed"
WIFI_KEY="s:thepassword"
WIFI_KEY_TYPE="wep"
WPA_DRIVER=""
WIFI_CHANNEL=""
WIFI_IWCONFIG_ARGS=""
=== END /etc/network.conf ===
It won't work. The module rt2860sta is initialized on boot.
However, if I do the following as root in the terminal, the wifi will work...
iwconfig ra0 key open
iwconfig ra0 key s:thepassword
iwconfig ra0 essid theessidname
udhcpc -i ra0
Please let me know what should I do to make the wifi work from boot.
Thank you!