[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Whereami with PPP?



Hi,

does anybody have an experience with %subj%? I have this as my
/etc/whereami/detect.conf, but I do not know, how to reliably
test for the presence of ppp0 interface (all ppp-related modules
remain loaded even after disconnection):

   set DEBUGWHEREAMI 1
   default unknown
   testmii eth0 lan

   if lan
     set INTERFACE eth0
     testdhcp '*.*.*.*' dhcp
     testping    192.168.0.3  home
   else
     testmodule   ppp_deflate    ppp
   fi

   if dhcp
     testdhcp    192.10.*.*       neu
   fi

   if ppp
     set INTERFACE ppp0
     # testing DNS server
     testping    198.6.1.6       surfbest
     #testping    198.6.1.6       volny
   fi

Any thoughts?

   Matej

-- 
Matej Cepl,
Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
If Patrick Henry thought that taxation without representation was
bad, he should see how bad it is with representation.



Reply to: