All of lore.kernel.org
 help / color / mirror / Atom feed
* start up script
@ 2004-03-06 10:43 Ravi Kumar Munnangi
  2004-03-06 12:00 ` John Kelly
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Ravi Kumar Munnangi @ 2004-03-06 10:43 UTC (permalink / raw)
  To: linux-newbie

Users,
 
  Iam working in a LAN with a number of systems.
  A system has X hardware address and another has Y
hardware address.
  I want to set the hardware address of the second
system
  also to X.
  I also want to set the primary IP addresses of both
  systems to 172.31.19.30.
  So when I ping to 172.31.19.30, both the systems
  should respond.

  The topology of LAN we are using is star. All
systems
  are connected to a Switch.
  Does the settings change when we are using a bus
  topology?
  
  Do I have to write a start up script?
  How should I write?
   
  My actual goal is to start 2 web servers on two
  systems with same hardware address and same 
  primary IP address but with different secondary
  IP addresses. So when a request comes from a 
  client, the request has to be seen by both 
  systems. I will write some mechanism by which only
  one will respond finally.

  Please help!
  
  Thanks in advance,
  ravikumar

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: Start Up Script
@ 2003-03-06 15:28 Carol Anne Ogdin
  0 siblings, 0 replies; 21+ messages in thread
From: Carol Anne Ogdin @ 2003-03-06 15:28 UTC (permalink / raw)
  To: Brian Bunnell; +Cc: netfilter

[-- Attachment #1: Type: text/plain, Size: 2229 bytes --]

I put a collection of bash scripts (containing all my iptables and ip and 
other configuration commands) in a unique directory that I can use at 
bootup.  I have a shorter bash script that invokes those specific bash 
scrips from the startup process.
Specifically, at /etc/rc.d/rc2.d/ (and at .../rc3.d/..., .../rc4.d/... and 
.../rc5.d/...) I have a script named S11dwt that contains the following 
commands:
        #!/bin/bash
        pushd . &>/dev/null

        cd /etc/sysconfig/network-scripts/DWT

        bash Kernel
        bash Firewall
        bash NICs
        bash Routes

        popd &>/dev/null

The four referenced scripts set certain Kernel configuration parameters, 
setup the Firewall iptables chains, enable the NICs, and then establish 
the Routes.

Hope this helps...most Linux documentation is written for people who 
already know how to do things, so it can be hard to ferret out simple 
things like this.

--Carol Anne 
Carol Anne Ogdin
http://www.net-working.com
530/295-3657
Deep Woods Technology, Inc.
http://www.deepwoods.com
CAOgdin@deepwoods.com
Leveraging technology to restore the soul of the organization
Message: 2
From: "Brian Bunnell" <bbunnell@iastate.edu>
To: <netfilter@lists.netfilter.org>
Subject: Start Up Script
Date: Sun, 2 Mar 2003 12:43:02 -0600

Hello

Thank you very much for helping me.  I have a perfectly good netfilter
script that I run from the command line and everything works fine.  I 
would
like this script to run when I boot up the computer.  I am having a lot of
trouble finding quality resources on the net about this.

There are great resources for learning how to use netfilter.  However, 
when
it comes to startup scripts, all the examples seem to be 25 pages long and
incomprehensible or wnat me to completely rewrite the script I already 
have.

Why can't I just tell the computer to run my script instead of the "Let 
the
world in" script it runs at boot?

Does anyone have any recommendations, resources or better yet, a good
concise example for run level 3?

Thank you very much
Brian Bunnell
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 1/21/03

[-- Attachment #2: Type: text/html, Size: 3764 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Start Up Script
@ 2003-03-02 18:43 Brian Bunnell
  2003-03-06 15:55 ` James A. Pattie
  0 siblings, 1 reply; 21+ messages in thread
From: Brian Bunnell @ 2003-03-02 18:43 UTC (permalink / raw)
  To: netfilter

Hello

Thank you very much for helping me.  I have a perfectly good netfilter
script that I run from the command line and everything works fine.  I would
like this script to run when I boot up the computer.  I am having a lot of
trouble finding quality resources on the net about this.

There are great resources for learning how to use netfilter.  However, when
it comes to startup scripts, all the examples seem to be 25 pages long and
incomprehensible or wnat me to completely rewrite the script I already have.

Why can't I just tell the computer to run my script instead of the "Let the
world in" script it runs at boot?

Does anyone have any recommendations, resources or better yet, a good
concise example for run level 3?

Thank you very much
Brian Bunnell
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 1/21/03




^ permalink raw reply	[flat|nested] 21+ messages in thread
* start up script
@ 2003-02-11 23:05 - Luis -
  2003-02-12  6:35 ` Leonid Mamtchenkov
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: - Luis - @ 2003-02-11 23:05 UTC (permalink / raw)
  To: linux admin

Hi all, i want to add a script to the start up in my Red Hat box, but i 
already put the file in /etc/rc.d/init.d and make the symbolic link in 
/etc/rc3.d/S55routetable.

But still doesn't work, if i run the script manually, it runs just fine, but 
when i restart the server i doesn't run.  

Basically the script is for adding some routes to my server.

Thanks
-- 
Luis Valencia
------------------------
With a PC, I always felt limited
by the software available.
On Unix, I am limited only by my knowledge.
--Peter J. Schoenster



^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2004-03-09 14:09 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-06 10:43 start up script Ravi Kumar Munnangi
2004-03-06 12:00 ` John Kelly
2004-03-06 17:12 ` Ray Olszewski
2004-03-09 14:09 ` Stephen Samuel
  -- strict thread matches above, loose matches on Subject: below --
2003-03-06 15:28 Start Up Script Carol Anne Ogdin
2003-03-02 18:43 Brian Bunnell
2003-03-06 15:55 ` James A. Pattie
2003-03-06 17:36   ` Arnt Karlsen
2003-02-11 23:05 start up script - Luis -
2003-02-12  6:35 ` Leonid Mamtchenkov
2003-02-12  7:23 ` Glynn Clements
2003-02-12  8:35 ` freddie
2003-02-12 11:24 ` terry white
2003-02-12 14:38   ` - Luis -
2003-02-12 15:33     ` Scott Taylor
2003-02-12 17:45       ` - Luis -
2003-02-12 18:09         ` Jeff Largent
2003-02-12 18:29           ` - Luis -
2003-02-12 16:07     ` terry white
2003-02-12 22:14     ` Glynn Clements
2003-02-12 22:21     ` Andrew B. Cramer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.