Hi,
I’m using a mobile connection via network manager. I see using ifconfig
that there is a ppp0 interface, however I don’t see the special file
/dev/ppp0. Where can it be?
I run updatedb s root to find out, and this is the result:
minas-tirith:/etc/cron.d # locate ppp0
/dev/ippp0
/home/cer/.gkrellm2/data/net/ppp0
/lib/udev/devices/ippp0
/other/home/cer/.gkrellm2/data/net/ppp0
/root/.gkrellm2/data/net/ppp0
/var/run/netconfig/ppp0
/var/run/netconfig/ppp0/netconfig0
/var/run/ppp0.pid
/var/run/ppp_resolv.conf.ppp0
/var/run/SuSEfirewall2/status/interfaces/ppp0
/var/run/SuSEfirewall2/status/interfaces/ppp0/zone
minas-tirith:/etc/cron.d #
(I want to find out in a cron script if the network is up, by testing
existence of /dev/eth0 and /dev/ppp0)
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))