On Thu, Jun 21, 2001 at 02:49:12PM +0200, Alex Suzuki wrote: > On Thu, Jun 21, 2001 at 09:49:08AM +0800, Yuchung Cheng wrote: > > first enable the "debug" options in /etc/ppp/peers/you_isp_name > > then check the /var/log/messages to see if /etc/ppp/ip-up is executed > > then check run-parts --test /etc/ppp/ip-up.d to see if your script is > > executed > > Doh. I forgot to put a > #!/bin/sh > line on top of the script. It now works fine. It deletes the LAN > default route with > /sbin/route del default > and adds the new one with > /sbin/route add default gw ${PPP_REMOTE} >
So that's how you do it the "proper" way! Thanks :) Drew -- PGP public key available at http://dparsons.webjump.com/drewskey.txt Fingerprint: A110 EAE1 D7D2 8076 5FE0 EC0A B6CE 7041 6412 4E4A