On Mon, 23 Sep 2002, Steve Coffman wrote: > Hi, > I'm trying to set up a simple firewall (ipchains) and router for my brother-in-law >that just got cable access. I have a similar router at home using a DSL static IP >address. > Question: What steps do I need to take to get the current IP address from the cable >modem (DHCP?). > What do I need to change in the ipchains if anything. > I'm also having a problem getting the dns servers. > > Any help, examples, or where to look would be great.
Here's my stab. Careful of the linefeed. IPADDRESS=$(/sbin/ifconfig eth0 | grep inet | awk '{print $2}' | awk -F: '{print $2}') -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list