Re: simple script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



pppd automatically calls "/etc/ppp/ip-up.local" when the interface is up
this script is intended for user customization (you shouldn't edit
"/etc/ppp/ip-up")
so you'd just have to add your "add route ... " command in it (create it if
it doesn't exist)

hth


A 16:11 09/10/2003 +0800, vous avez écrit :
>hi
>anyone ca give me a simple script that when ppp0 is up it will issue the
command "add route -net 192.168.101.0 netmask 255.255.255.128 gw
192.168.101.126"
>
>thanks in advance
>
>
>Toto
>
>Attachment Converted: "d:\app\net\eudora\attach\simplesc"
>


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux