roberts,
Juanito and,
tinypoodlesuccess, me thinks ... will download a browser and know for sure
thank you for your help!
here's the sequence of events
#1) wrote a small script an incorporated the changed
tinypoodle suggested. Script follows.
#2) modified Juanito's code to capture the script output ($ sudo /usr/local/bin/wifi.sh auto 2>&1 > /tmp/wifi.log) The following message appeared on the screen but not in the log file:
route: SIOCDELRT: No such process.#3) This 'success' gives rise to many questions. Why didn't the original wifi script work on my system. What is unique about my system? Where should I place my script to run on boot? etc ...
my script#!/bin/sh
# chmod +x filename.sh
# Example usage:
# sudo sh filename.sh
# sudo ./filename.sh
# source:
http://wiki.tinycorelinux.net/wiki:setting_up_wifi#sh-4.1# chmod +x /mnt/sdb1/mywifi.sh
#sh-4.1# ls -al /mnt/sdb1/mywifi.sh
#-rwxr-xr-x 1 root root 401 2012-07-18 19:36 /mnt/sdb1/mywifi.sh
wlan=eth1
essid=398VC
wepkey=
iwconfig ${wlan}
iwconfig ${wlan} essid ${essid}
iwconfig ${wlan} enc ${wepkey}
iwconfig ${wlan} key ${wepkey}
#iwconfig ${wlan} commit ; changed per tinypoodle
pkill udhcpc
#udhcpc -H box -b -i ${wlan} ; changed per tinypoodle
udhcpc -i ${wlan}
#
iwconfig ${wlan}