[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

IP address and ipfwadm



I am using dialup PPP and need to run ipfwadm everytime I connect to my
ISP.  I know that I can put ipfwadm into /etc/rc file.  What is the
best/easy way to get the IP address other than using ifconfig or route
(they are not good because the output is more than one line)?

ipfwadm -A -a -P ****My IP address go here**** -D 0/0

Lawrence


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: