HowTos/WifiMultipleProfiles

From OpenZaurus

this information from koen on OESF forums

It's not as hard as people think to have multiple WiFi profiles using OZ, and it's possible to edit multiple profiles with the GPE network control panel.

Note: on 6000 (at least) you have to switch on wifi (wlan0 device) in order for the GPE network applet to allow configuration.

OZ uses the same format as debian for /etc/network/interfaces and also supports virtual interfaces. Here's a snippet of that file.

   iface wlan0 inet dhcp
   iface home inet static
      address 192.168.1.7
      netmask 255.255.255.0
      network 192.168.1.0
      broadcast 192.168.1.255
      gateway 192.168.1.1
      wireless_mode managed
      wireless_channel 1        # optional
      wireless_essid linksys     # change to your essid
      wireless_key1 12345asdf    #this is your wep key if it's needed, (optional)
      wireless_ap 00:0F:66:12:0D:C9 # your accesspoint MAC (optional)
   iface work inet dhcp
      wireless_essid workworkwork
      wireless_key1 asdf12345

At home you do 'ifup wlan0=home' and at work you do 'ifup wlan0=work'. You can add more virtual interfaces using the guis in opie or gpe if you want.

OZ has a lot more cool debian stuff like this, so don't be afraid to try howto's written for debian-based stuff on your OZ install.