Re: Autoconnecting

2002-04-15 Thread Edward Dekkers

> 1) How can I automatically connect to my ISP and start my firewall
> (Firestarter) on a system restart?

This has already been asnwered I see.

>
> 2) When connecting to the ISP in this way, how can I get it to Reconnect
> on Disconnection (my ISP disconnects me every 8 hours.)

The easiest way to do this I find is with using pppd in demand mode. I don't
know if kppp will allow this. Someone would have to elaborate.

I've managed to get pppd working in demand mode on a few machines now, so
may be able to help you with that, should you want to try it.

Regards,
Edward.




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Autoconnecting

2002-04-15 Thread Anthony E. Greene

On Mon, Apr 15, 2002 at 06:52:09PM +0530, Ashwin Khandare wrote:
>> 1) How can I automatically connect to my ISP and start my firewall
>> (Firestarter) on a system restart?
>You can enter the path of Firestarter script in /etc/rc.local .This will
>fire you firewall whenever the system boots up.

A better way to do this is to get your firewall running the way to like
(firestarter, custom rules, whatever), then dump the rules to the ipchains
config file:

  service ipchains save

Then make sure ipchains is started in the runlevels that include
networking (levels 3-5):

  chkconfig --levels 345 ipchains on

Now when you boot, ipchains will run a standard initscript and read your
rules from it's config file (/etc/sysconfig/ipchains). You can change your
rules at the command line and save them so that they are used each time
the machine boots.

I have a custom firewall script that I use to configure my firewall. The
last command of the script saves the rules using the "service" command.
The script uses the long options (--append instead of -a, --protocol
instead of -p). That is much easier to read and maintain.


Tony
-- 
Anthony E. Greene 
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05  HomePage: 
Linux: the choice of a GNU Generation. 



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Autoconnecting

2002-04-15 Thread Jack Bowling

** Reply to message from Jim Hale <[EMAIL PROTECTED]> on Mon, 15 Apr 2002 05:49:50 -0500


> I've been using my Linux machine as a gateway for about 2 weeks now and
> have a few questions. I have been logging in as root, connecting
> (manually) using kppp and starting firestarter manually:
> 
> 1) How can I automatically connect to my ISP and start my firewall
> (Firestarter) on a system restart? 

The latest FS code v0.8.2 includes an initscript written in chkconfig format. To make 
Firestarter start and stop automatically on a reboot, do the following:

/sbin/chkconfig --levels 2345 firestarter on
 
jb

-- 
Jack Bowling
mailto: [EMAIL PROTECTED]



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: Autoconnecting

2002-04-15 Thread Ashwin Khandare


- Original Message -
From: "Jim Hale" <[EMAIL PROTECTED]>
To: "Mailing List - Red Hat (Co)" <[EMAIL PROTECTED]>
Sent: Monday, April 15, 2002 4:19 PM
Subject: Autoconnecting


> I've been using my Linux machine as a gateway for about 2 weeks now and
> have a few questions. I have been logging in as root, connecting
> (manually) using kppp and starting firestarter manually:
>
> 1) How can I automatically connect to my ISP and start my firewall
> (Firestarter) on a system restart?
You can enter the path of Firestarter script in /etc/rc.local .This will
fire you firewall whenever the system boots up.
>
> 2) When connecting to the ISP in this way, how can I get it to Reconnect
> on Disconnection (my ISP disconnects me every 8 hours.)
> One can write a shell script which checks for interface ppp0 or whatever
maybe and as soon as interface is down
it gets the interface up.


> 3) Anyone using IEMS (Internet Exchange Message Server from iam.com)? It
> seems to get 'stupid' after my ISP disconnects me and I reconnect
> (unless I restart the whole machine.)
>
> Any help woiuld be GREATLY appreciated. THANKS!
>
> Jim Hale
> -
> Jim & Kathy's MIDI & Audio Website
> http://hale.dyndns.org
>
>
>
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.330 / Virus Database: 184 - Release Date: 2/28/02



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Autoconnecting

2002-04-15 Thread Jim Hale

I've been using my Linux machine as a gateway for about 2 weeks now and
have a few questions. I have been logging in as root, connecting
(manually) using kppp and starting firestarter manually:

1) How can I automatically connect to my ISP and start my firewall
(Firestarter) on a system restart? 

2) When connecting to the ISP in this way, how can I get it to Reconnect
on Disconnection (my ISP disconnects me every 8 hours.)

3) Anyone using IEMS (Internet Exchange Message Server from iam.com)? It
seems to get 'stupid' after my ISP disconnects me and I reconnect
(unless I restart the whole machine.)

Any help woiuld be GREATLY appreciated. THANKS!

Jim Hale
-
Jim & Kathy's MIDI & Audio Website
http://hale.dyndns.org



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list