@cristophe: thanks for the reply! I was in a hurry last night, sorry i didn't explain clearer.
I have:
- several variations of the network.conf file, for different networks stored in /home/tux/.network/.
- set up sudo to allow tux to run /etc/init.d/network.sh without a password
- a little shortcut in my applications menu ("Switch to Ethernet") which runs "sudo /etc/init.d/network.sh restart /home/tux/.network/ethernet" with no problems.
-> When I'm connected to WiFi at home, but i want to switch to ethernet for speed and stability reasons, this allows me to do it without TazPanel and passwords etc. Great!
Now, to do this the other way around (switching from my ethernet conection back to WiFi) its not quite as simple, because i have several WiFi configs, and only one can be active at once.
Instead of manually making a menu entry for every Wifi network i want to use (or will be using in the furture), i want to automate it.
The openbox menu in the bottom of this article ( http://doc.slitaz.org/en:guides:network-script ) seems to be automatically constructed through the script, with an entry for every file in the specified folder (renamed the /etc/network to /home/tux/.network/). This is exactly what im looking for.
but i cant get it to work.. i dont know where thi openbox menu can be found, the right-click menu on desktop didnt seem to change after reconfiguring..