Quote:
Originally Posted by chungo
That would be great!! As my superior explicitly gave me the order to "play around " with the iLiad and make it work in WLAN I think I can take the risk of bricking the good thing (after all it's not mine  ) And many thanx for your prompt reply 
|
The irex script is in /usr/bin/wireless.sh
My script for the zaurus is as simple as:
Code:
#!/bin/sh
IP=192.168.1.2
GATEWAY=192.168.1.1
IFACE=eth0
SSID="homewlan"
WEPKEY=a0a0a0a0a0a0a0a0a0a0a0a0a0
ifconfig $IFACE $IP
iwconfig $IFACE essid $SSID mode Managed enc $WEPKEY
route add default gw $GATEWAY
The changes needed to adapt my script for the iliad are:
- IFACE is wlan0 in the iliad:
IFACE=wlan0
- At the start of the script, load the wireless driver, with something like:
rmmod cf8385
rmmod cfio
modprobe cf8385
- It is possible that after setting th wep key, you have to enable it with
iwconfig $IFACE key on
- You have to be sure to have a valid nameserver in /etc/resolv.conf:
echo nameserver 208.67.222.222 > /etc/resolv.conf
echo nameserver 208.67.220.220 >> /etc/resolv.conf
I hope I have not forgotten anything and it works with the above modifications.