[WHEREAMI] Ifplugd & whereami ?

Joan Tur joantur at clubibosim.org
Thu Nov 17 08:17:14 NZDT 2005


Hallo!

As I'm running a centrino laptop (with an integrated ipw2200 wifi card), and 
whereami seems not to run after loosing AP signal (for instance after 
switching the kill switch on), I was wondering if both ifplugd & whereami can 
run together.

If so, how can I have an static IP with 1 AP and dhcp with the others?

Or maybe there's another way of doing the work?

Right now I've got whereami to supply the 128b wep key to my AP (it doesn't 
support wpa), then give it the connection details (IP & gateway), but if I go 
away of the AP or switch the kill switch on the "-" stanzas are not run.

1. Detect.conf:
default wlan
testmii eth0 lan
if lan
  set INTERFACE eth0
  testdhcp    '*.*.*.*'    dhcp
else
  set INTERFACE eth1
  testap scan wlan
fi
if wlan
  testssid QAP,00000000000000000000000000 qap
fi

2. Whereami.conf:
=qap ifconfig eth1 192.168.0.4 ; route add default gw 192.168.0.100
-qap iwconfig eth1 essid any key off
-qap ifdown eth1 || ifconfig eth1 down


TIA, good job ;)

PD I was using waproamd, then wpasupplicant, but whereami seems promising to 
me
PD2 I'm using Ubuntu 5.10
-- 
Joan Tur (aka Quini), Eivissa-Spain
    Jabber: quini2k at jabber.org
       Yahoo & AIM: quini2k
        www.ClubIbosim.org
  Linux: usuari registrat 190.783



More information about the whereami-discuss mailing list