> Well I sort of do this allready I have a laptop that has the Potato distro on 
> it, I use both ethernet and ppp,
> I am using the DHCP client in potato and it works great; if there is no 
> ethernet connection, then no IP is assigned
> to the eth0 interface, essentially no route. I just use PPP normaly.
> --
> *--* Mail: [EMAIL PROTECTED]
> *--* Voice: 425.739.4247
> *--* Fax: 425.827.9577
> *--* HTTP://www.otak-k.com/~lawrence/
> --------------------------------------
> - - - - - - O t a k  i n c . - - - - -
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

How do you get over the problem with dhcp(potato) hanging when there is no net 
connection?  dhcpcd just sits there if it cannot find one. (or atleast I have 
never been patient enough to wait it out, I give it about 30 s and give up) 
just installing both would be great for now if that worked.

Although, I would like a scheme where it starts the right daemon because it 
could protentially less time and memory than starting both.  Jens you are right 
about error trapping kernel message would be brain dead.  However ifconfig 
STDOUT does give you how many packets are recieved, if you sent 1 and did not 
recieve any in reply the
you have a smarter way of knowing whether or not you have a live line.  You 
could use regex to parse that ifconfig STDOUT in the script.  I am reaching 
here.:-)

What do you think?

Thanks,
haggs

Reply via email to