Author Topic: Multiple WLAN profiles in OZ3.3.5  (Read 3876 times)

tawalker

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
    • http://
Multiple WLAN profiles in OZ3.3.5
« 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.
---
Tim Walker - UK
Sharp Zaurus SL-5500 - OZ 3.3.5
"A.N.Other" 128Mb MMC - Buffalo CF WiFi
---

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Multiple WLAN profiles in OZ3.3.5
« Reply #1 on: May 17, 2004, 12:47:12 pm »
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.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

tawalker

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
    • http://
Multiple WLAN profiles in OZ3.3.5
« Reply #2 on: May 19, 2004, 08:04:39 am »
Quote
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
---
Tim Walker - UK
Sharp Zaurus SL-5500 - OZ 3.3.5
"A.N.Other" 128Mb MMC - Buffalo CF WiFi
---

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Multiple WLAN profiles in OZ3.3.5
« Reply #3 on: May 20, 2004, 08:09:46 am »
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
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

dino

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • http://
Multiple WLAN profiles in OZ3.3.5
« Reply #4 on: May 20, 2004, 09:56:18 am »
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.
SL5500, Open Zaurus 3.5.2, 128MB SD

tawalker

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
    • http://
Multiple WLAN profiles in OZ3.3.5
« Reply #5 on: May 21, 2004, 08:41:07 am »
Thanks for the suggestions - I\'ll try dino\'s idea first, and read up on cardctl when I have more time.

Tim
---
Tim Walker - UK
Sharp Zaurus SL-5500 - OZ 3.3.5
"A.N.Other" 128Mb MMC - Buffalo CF WiFi
---

superbondbond

  • Newbie
  • *
  • Posts: 27
    • View Profile
    • http://
Multiple WLAN profiles in OZ3.3.5
« Reply #6 on: May 21, 2004, 09:16:45 am »
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

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: