paul- wrote: 
> Wifi setup is a weakness of the Base OS that we use.   There is no easy
> way to do what you want,  outside of building scripts to manipulate it.

I agree the wifi setup in the piCore OS is terribly convoluted. The
voodoo seems to happen in ./usr/local/bin/wifi.sh, a shell script
written some years ago by the TinyCore folks. 

wifi.sh reads the /home/tc/wifi.db file, which in turn gets configured
by the piCorePlayer web UI script /home/tc/www/cgi-bin/writetowifi.cgi.
When changes are saved in the UI, the writetowifi.cgi script invokes
wifi.sh with the -a (for automatic) option to bring up the wifi
connection with the new parameters (fingers crossed).

The wifi.sh script looks as if it can enumerate multiple entries in
wifi.db, so it would be an interesting experiment to manually add
entries to wifi.db and invoke wifi.sh to see if it can find other wifi
networks. If that proves out, perhaps the pCP team could consider adding
a section in the wifi config screen for a second wifi network.

Just a thought.....


------------------------------------------------------------------------
wtnh's Profile: http://forums.slimdevices.com/member.php?userid=36993
View this thread: http://forums.slimdevices.com/showthread.php?t=107901

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to