On Thu, 2003-02-20 at 15:10, Matej Cepl wrote: > 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):
Even I don't try and use whereami with ppp connections, but I have thought about doing so. I just don't have frequent enough reasons to be on dialup any more. Realistically I think the best way would be to run whereami in the up/down hooks with --hint options used to restrict the detection rulesets. Cheers, Andrew. -- --------------------------------------------------------------------- Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St DDI: +64(4)916-7201 MOB: +64(21)635-694 OFFICE: +64(4)499-2267 Survey for nothing with http://survey.net.nz/ ---------------------------------------------------------------------