From owner-freebsd-questions Fri Dec 20 11:06:29 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id LAA03270 for questions-outgoing; Fri, 20 Dec 1996 11:06:29 -0800 (PST) Received: from horton.iaces.com ([204.147.87.98]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id LAA03265 for ; Fri, 20 Dec 1996 11:06:26 -0800 (PST) Received: (from proot@localhost) by horton.iaces.com (8.8.4/8.7.3) id NAA29236; Fri, 20 Dec 1996 13:06:23 -0600 (CST) From: "Paul T. Root" Message-Id: <199612201906.NAA29236@horton.iaces.com> Subject: Re: your mail To: lancez@accessld.com (Lance) Date: Fri, 20 Dec 1996 13:06:23 -0600 (CST) Cc: freebsd-questions@freebsd.org, lancez@accessld.com In-Reply-To: <2.2.16.19961220114508.37874c94@accessld.com> from Lance at "Dec 20, 96 11:33:38 am" X-Organization: !nterprise Networking Services - ACES X-Phone: (612) 663-1979 X-Fax: (612) 663-8030 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 200 S. 5th St., Suite 1100 X-Address: Minneapolis, MN 55402 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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