Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-22-2003, 10:33 AM   #1
Registered: Aug 2003
Location: South Africa
Distribution: Fedora Core 4
Posts: 39

Rep: Reputation: 15
Question Running Scripts When Modem Starts Up

Hi Guys!

How do I run scripts (firewall for instance) when my modem connects to the internet

Old 08-22-2003, 12:39 PM   #2
Registered: Mar 2003
Location: Iowa, US
Distribution: Mint
Posts: 174

Rep: Reputation: 30
You should have some scripts located in /etc/ppp/ by the name of ip-up.local and ip-down.local. (there should be several in there) You can edit these to do what you want them to. Ip-up.local is called from ip-up when ppp is assigned an ip address. Ip-down is just the opposite.

To be fair, I use Mandrake so Red Hat may have slightly different names for the scripts. Look in the directory /etc/ppp. It should be simple enough to figure out.

Hope this helps,

Old 08-31-2003, 12:46 PM   #3
Registered: Aug 2003
Location: South Africa
Distribution: Fedora Core 4
Posts: 39

Original Poster
Rep: Reputation: 15
thanks, I got that going


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluxbox starts slow/X11 keeps CPU running at 9x% kaon Slackware 0 02-10-2005 11:28 AM
Running programs when x starts kzar Debian 3 08-03-2004 03:49 PM
running a command everytime kde starts Menestrel Linux - Newbie 3 05-22-2004 07:11 AM
Running programs when Flux starts mattp Linux - Newbie 16 03-31-2004 06:07 PM
stopping programs running when linux starts face_master Linux - General 1 02-10-2003 07:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration