Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 1996 13:06:23 -0600 (CST)
From:      "Paul T. Root" <proot@horton.iaces.com>
To:        lancez@accessld.com (Lance)
Cc:        freebsd-questions@freebsd.org, lancez@accessld.com
Subject:   Re: your mail
Message-ID:  <199612201906.NAA29236@horton.iaces.com>
In-Reply-To: <2.2.16.19961220114508.37874c94@accessld.com> from Lance at "Dec 20, 96 11:33:38 am"

next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, Lance said:
> Hi, there:
> 
> My freebsd PC is connected to our intranet. When I root the system and login
> as root,
> I execute the command 'ifconfig ed1' to check its IP address and didn't find
> it. So
> I execute something like 'ifconfig ed1 179.208.33.1' to assign it an IP
> address. Now
> I am able to ping other machines from this PC and I can ping it from other
> machines
> too. However, when I shut it down and reboot the machine, its IP address is
> lost.

Edit /etc/sysconfig and search for a line called network_interfaces. Then
make them look like this:

network_interfaces="ed1 lo0"
 
ifconfig_ed1="inet 179.208.33.1 netmask 255.255.255.0"
ifconfig_lo0="inet localhost"



> What I am wondering is that how could I avoiding this manually IP address
> assignment
> everytime when I root the system? Could I put it into some configuration file?
> 
> 
> Appreciate your help!
> 
> 
> Lance
> 
> lancez@accessld.com
> 
> 
> 
> 


-- 
Fine beer may be judged with just one sip,
        but it's better to be thoroughly sure. --Czech proverb



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612201906.NAA29236>