The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 how to update start_if.tun0 with out rebooting?
Author: reiner 
Date:   09-11-00 09:24

I've set-up my ppp by following the instruction in http://www.freebsd.org/handbook/userppp.html . Now Im subcribed in 2 ISP's, the other is for backup incase the other ISP is down. My /etc/start_if.tun0 script looks like this:

ppp -auto myISP1
#ppp -auto myISP2


so when I want to dial-up to my ISP1, I'll just comment ppp -auto myISP2 or vice versa, then reboot the system. Now my question is how do I do that without rebooting the system? is it possible?


thanks,
reiner


Reply To This Message
 
 RE: how to update start_if.tun0 with out rebooting
Author: Michael Joyner 
Date:   10-11-00 07:41

cd /etc
chmod +x start_if.tun0

killall -HUP ppp (if it is already running)

ps ax | grep ppp

until ppp doesn't show up

vi start_if.tun0

make changes

./start_if.tun0

to activate changes

Reply To This Message
 
 RE: how to update start_if.tun0 with out rebooting
Author: reiner 
Date:   10-11-00 11:46

thanks!!! im a real newbie.... I still have a lot of questions :)

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org