[plug] Laptop internet connection
Jeremy Malcolm
Jeremy at Malcolm.wattle.id.au
Tue Jun 4 20:25:28 WST 2002
Craig Dyke wrote:
>
> Both computers happily see each other and can individually dial-up.
>
> My question is can i set the laptop to dial-up when off my network and
> use PC dial-up
> when connected?
> If so, can i be pointed in right direction to enable this situation please?
Maybe something in /etc/rc.boot (Debian, deprecated but who cares) or
/etc/rc.d/rc.local (Red Hat) that says something like:
#!/bin/sh
if fping the.other.machine.on.my.network
then exit 0 # We are on the network. Yay.
else pon # Or ifup ppp0 for Red Hat
fi
More information about the plug
mailing list