OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: tawalker on May 17, 2004, 10:04:24 am
-
As an OZ user who converted from tkcROM, one thing I miss from tkcROM is the ability to set up and choose from multiple network profiles, and launch the one I want.
For instance, I have a profile set up right now for my home access point, and this launches and connects automatically when I insert the wireless card. I might also want to create another profile for a (hypothetical) WLAN at my office, a local coffee shop with an access point, etc. and be able to activate the appropriate settings when I need them.
It was comparatively easy with tkcROM to set up these profiles, and launch them from the taskbar menu, but there\'s no taskbar icon for networks in OZ that I can see. There is a Network icon under Settings, but when I select the wireless LAN interface (wlan0), the \"Profiles\" tab is always \"greyed out\".
I\'ve searched for a way to set up and select multiple WLAN profiles in OZ, that doesn\'t involve \"hacking\" from the terminal, but haven\'t yet found one. (I can do the terminal stuff if necessary, but a GUI would be much more welcome ) Any ideas?
Also, I think I read somewhere that OZ can autodetect an access point and select the appropriate WLAN profile automatically - is this true?
Many thanks,
Tim.
-
Opie-Networksettings does not implement multiple profiles, that\'s why the tab is gray. The maintainer left the project before it was completed. If anyone wants to take a shot at implementing this, feel free - the code is in CVS.
Opie-Networksettings indeed can scan for the wireless network neighbourhood but due to the aforementioned limitation it does not select WLAN profiles automatically.
-
Opie-Networksettings does not implement multiple profiles, that\'s why the tab is gray. The maintainer left the project before it was completed. If anyone wants to take a shot at implementing this, feel free - the code is in CVS.
That explains it - to be honest, it\'s a rather big hole in the application, but I can\'t really complain as I\'m not a programmer
Is there a way I could set up multiple profiles without the GUI (e.g. a config file I can edit to set up the profiles \"manually\"), or will we have to wait until Opie-Networksettings is updated?
Thanks for your help,
Tim
-
IIRC cardctl already supports multiple profiles. This is nothing zaurus specific so you should find lots of information on the internet.
Don\'t hold your breath and wait for any open source software being updated... it probably won\'t happen until you make it happen
-
The network settings are contained in the file /etc/network/interfaces . The following is what I use:
1) I used the Network GUI to configure my network for home.
2) I then copied /etc/network/interfaces to /etc/network/interfaces.home
3) Do steps 1 and 2 to create /etc/network/interfaces.work
To activate the settings for work, pop the network card out and do a
\'cp /etc/network/interfaces.work /etc/network/interfaces\'
Pop the card back in and it should connect.
When you get home repeat, but with
\'cp /etc/network/interfaces.home /etc/network/interfaces\'
I\'m sure there is a more elegant solution, but this seems to work for now.
-
Thanks for the suggestions - I\'ll try dino\'s idea first, and read up on cardctl when I have more time.
Tim
-
I was using the cardctl method for a while, but then I ran across this link.
http://lists.debian.org/debian-powerpc/200...8/msg00505.html (http://lists.debian.org/debian-powerpc/2001/08/msg00505.html)
Since the OZ uses Debian based networking scripts, the method described on that page also works fine on the Z.
Once I got that working, I wrote a script using Opie-SH so that I tap an icon, it brings up a box and I choose the profile I want from a drop-down menu. It works flawlessly.
I\'ll post my config files if anyone\'s interested (don\'t have my Z with me right now). :wink: