ECS Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ecs] linux question re ifconfig
Neil Cherry
Mon, 28 Feb 2005 14:41:42 -0500

Joseph LaFerla wrote:
> Mark
> 
> I think the directory is (in Redhat) /etc/sysconfig/network-scripts.  The
> fle is called ifcfg-ethx where x is the number of the device, i.e. eth0,
> eth1 etc.
> 
> There is also a file in /etc/sysconfig called network which has your gateway
> information and the device that routes through the gateway.
> 
> Joe
> 
> 
> -----Original Message-----
> From: Mark Gilmore [mailto:mark1@markgilmore.net] 
> Sent: February 28, 2005 7:55 AM
> To: ecs@netbloc.com
> Subject: [ecs] linux question re ifconfig
> 
> anyone happen to know what file(s) are updated when you re-assign eth0 to a 
> diff IP ?:
>          ifconfig eth0 192.168.0.3
> thanks

That would be the same for Fedora and Red Hat. Gentoo keeps the info
in /etc/conf.d/net. Others have kept the info in /etc/rc.d/rc.networ*

Remember to change the IP address, the network, broadcast and
anything else that needs to match.

-- 
Linux Home Automation         Neil Cherry       ncherry@comcast.net
http://home.comcast.net/~ncherry/               (Text only)
http://hcs.sourceforge.net/                     (HCS II)
http://linuxha.blogspot.com/                    My HA Blog

  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.