-------- Original Message --------
Subject: Re: [App_rpt-users] Static IP Address
Date: Tue, 22 Feb 2011 13:15:22 -0500
From: Jon Rorke <jrorke@cogeco.ca>
Reply-To: jrorke@cogeco.ca
To: app_rpt-users-request@qrvc.com


Ok well you can edit the this file:

/etc/sysconfig/network-scripts/ifcfg-eth0

Here is example of my box set for static on 10.0.0.3:


# Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
DEVICE=eth0
BOOTPROTO=none
HWADDR={your mac}
ONBOOT=yes

TYPE=Ethernet
IPADDR=10.0.0.3
NETMASK=255.0.0.0
GATEWAY=10.0.0.1

Or you could type in "setup" at the prompt and use the tool to set the system for static ip.

Then stop network service and restart or just reboot the box.

In the resolve.conf I have the following:

nameserver 208.67.222.222
nameserver 208.67.220.220

these are 'open DNS" servers that are not ISP specific.

You can also use your ISP DNS numbers too.

Jon VA3RQ




On 2/22/2011 12:48 PM, KI6PSP (Ed) wrote:
Ok, I give. What file do I edit to set a Static IP. I have dug around a few linux boards, but I can't seem to find the correct file. I modified one file, but the system barfed on me, and didn't like the strings I put in.
 
Can someone point me to the correct path, and possible show a sample file. This system also suffers from the "Sendmail Hang" because of the "resolve.conf". Once I get a static IP in, I can fix the resolve.
 
Thanks

--
KI6PSP (Ed)
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users