Multi Wireless networks

2008-10-27 Thread Armin ranjbar
Network that i and well , my FR are in are very different , some of them
do ran DHCP and most of them not , how can i assign static ip address to
static essids ? 


-- 
Armin ranjbar , System Administrator

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Multi Wireless networks

2008-10-27 Thread Johny Tenfinger
I'm asking that too, can it be done in /etc/network/interfaces?

On Mon, Oct 27, 2008 at 20:20, Armin ranjbar [EMAIL PROTECTED] wrote:
 Network that i and well , my FR are in are very different , some of them
 do ran DHCP and most of them not , how can i assign static ip address to
 static essids ?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Multi Wireless networks

2008-10-27 Thread Stefan Monnier
 Network that i and well , my FR are in are very different , some of them
 do ran DHCP and most of them not , how can i assign static ip address to
 static essids ?
 I'm asking that too, can it be done in /etc/network/interfaces?

You can do it with wpa-supplicant.  The way to use it is described on
Debian in /usr/share/doc/wpasupplicant/README.Debian.gz.  The Om
networking setup seems strongly influenced by Debian, so that same
config might be usable there, although IIRC the Om2008.9 install seems
to lack some of the necessary scripts (at least /sbin/wpa_action), tho
you might be able to simply copy them from a Debian install.


Stefan


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Multi Wireless networks

2008-10-27 Thread Joel Newkirk
On Mon, 27 Oct 2008 16:35:28 -0400, Stefan Monnier
[EMAIL PROTECTED] wrote:
 Network that i and well , my FR are in are very different , some of
them
 do ran DHCP and most of them not , how can i assign static ip address
 to
 static essids ?
 I'm asking that too, can it be done in /etc/network/interfaces?
 
 You can do it with wpa-supplicant.  The way to use it is described on
 Debian in /usr/share/doc/wpasupplicant/README.Debian.gz.  The Om
 networking setup seems strongly influenced by Debian, so that same
 config might be usable there, although IIRC the Om2008.9 install seems
 to lack some of the necessary scripts (at least /sbin/wpa_action), tho
 you might be able to simply copy them from a Debian install.
 
 
 Stefan

'man wpa_action' gives a hint as well:

   An example wpa_supplicant.conf configured to roam between 3
different networks:

  network={
   ssid=foo
   id_str=uni
   key_mgmt=NONE
  }

  network={
   ssid=bar
   id_str=home_static
   psk=123456789...
  }

  network={
   ssid=
   key_mgmt=NONE
  }

   The  corresponding interfaces file would contain LOGICAL interfaces,
that correlate to each unique ’id_str’ provided by the configuration
file:

  iface eth1 inet manual
   wpa-driver wext
   wpa-roam /path/to/wpa_supplicant.conf

  iface default inet dhcp

  iface uni inet dhcp

  iface home_static inet static
  address 192.168.0.20
  netmask 255.255.255.0
  network 192.168.0.0
  broadcast 192.168.0.255
  gateway 192.168.0.1





j


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community