From: Tasha Smith <natasha3641@yahoo.com>
To: Alistair@alistairt.ath.cx, netfilter@lists.netfilter.org
Subject: Re: Why would these rules cause errors only sometimes?
Date: Thu, 24 Oct 2002 19:54:58 -0700 (PDT) [thread overview]
Message-ID: <20021025025458.11685.qmail@web40709.mail.yahoo.com> (raw)
In-Reply-To: <20021024220039.GA1068@Ajftl1.ajfthome.on.ca>
INET_IP=`ifconfig eth0 |grep "inet addr"|awk -F : '{ print $2 }'|cut -d \ -f
1`;
"That lines casues this error:"
cut: the delimeter must be a single character
Try `cut --help' for more information.
#################################################################################
> This line will grab your current IP off the ppp0 link --
>
> INET_IP=`ifconfig ppp0|grep P-t-P|awk -F : '{ print $2 }'|cut -d \
> -f 1`;
>
> this line will grab your current IP off any ethx link
>
> INET_IP=`ifconfig eth[x]|grep "inet addr"|awk -F : '{ print $2
> }'|cut -d \ -f 1`;
>
> change the above to suit your needs ...
>
>
> Alistair
>
>
>
> On 2002.10.24 03:44 Tasha Smith wrote:
> >
> > ---OK...but the only problem is i have a DYNAMIC ip adress. Soo it
> > changes and
> > soo if i put an Ip adress i have right now in my script where eth0 is
> > it will
> > change and then it will block me from the net? How can i get it to
> > update my ip
> > adress in script when it changes!
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Y! Web Hosting - Let the expert host your web site
> > http://webhosting.yahoo.com/
> >
> >
>
__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
next prev parent reply other threads:[~2002-10-25 2:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-24 4:46 Why would these rules cause errors only sometimes? Tasha Smith
2002-10-24 7:30 ` Boryan Yotov
2002-10-24 7:44 ` Tasha Smith
2002-10-24 22:00 ` Alistair Tonner
2002-10-25 2:54 ` Tasha Smith [this message]
2002-10-25 7:47 ` Antony Stone
2002-10-28 16:53 ` Antony Stone
2002-10-24 7:59 ` Boryan Yotov
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=20021025025458.11685.qmail@web40709.mail.yahoo.com \
--to=natasha3641@yahoo.com \
--cc=Alistair@alistairt.ath.cx \
--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