Linux Netfilter discussions
 help / color / mirror / Atom feed
From: JeeBak Kim <jbkim@cs.pdx.edu>
To: Tasha Smith <natasha3641@yahoo.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Ineeed of major help with  Dynamic IP Addy for my IPTABLES :(((
Date: Wed, 16 Oct 2002 22:20:11 -0700	[thread overview]
Message-ID: <20021017052011.GA28173@sirius.cs.pdx.edu> (raw)
In-Reply-To: <20021017044848.63963.qmail@web40701.mail.yahoo.com>

* Tasha Smith (natasha3641@yahoo.com) [021016 21:51]:
> Ohh just soo you guys know "was i suppose to do this part to the rc.pump.done
> script": 
> "chmod -u=rwx /etc/rc.d/rc.pump.done" or should i have left that part out?????
> 
> And 1 more thing when i changed in the script
> "sh /etc/init.d/iptables panic "to ----->" /etc/init.d/firewall panic
[snip]
> rm /var/tmp/pump.out
> 
> echo IPADDR=$IPADDR . /etc/rc.d/pump.info

Try changing the . to > in the above line.

> echo NETMASK=$NETMASK >> /etc/rc.d/pump.info
> echo SUBNET_BASE=$NETWORK >> /etc/rc.d/pump.info
> echo SUBNET_BROADCAST=$BROADCAST >> /etc/rc.d/pump.info
> echo GATEWAY=$GATEWAY >> /etc/rc.d/pump.info
> echo HOSTNAME=$HOSTNAME >> /etc/rc.d/pump.info
> echo DHCP_SERVER=$DHCP_SERVER>> /etc/rc.d/pump.info
[snip]

or better yet:

cat << EOF > /etc/rc.d/pump.info
IPADDR=$IPADDR
NETMASK=$NETMASK
SUBNET_BASE=$NETWORK
SUBNET_BROADCAST=$BROADCAST
GATEWAY=$GATEWAY
HOSTNAME=$HOSTNAME
DHCP_SERVER=$DHCP_SERVER
EOF



  reply	other threads:[~2002-10-17  5:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-17  4:18 Ineeed of major help with Dynamic IP Addy for my IPTABLES :((( Tasha Smith
2002-10-17  4:48 ` Tasha Smith
2002-10-17  5:20   ` JeeBak Kim [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-17  7:56 Tasha Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021017052011.GA28173@sirius.cs.pdx.edu \
    --to=jbkim@cs.pdx.edu \
    --cc=natasha3641@yahoo.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox