Date: Mon, 19 Sep 2005 10:37:25 +0100 From: eoghan <freebsd@redry.net> To: Bachilo Dmitry <root@solink.ru> Cc: freebsd-hackers@freebsd.org Subject: Re: network settings Message-ID: <432E86D5.7000109@redry.net> In-Reply-To: <200509190935.36658.root@solink.ru> References: <D8CDC6DA-840B-47BD-AFFC-D653AB21E280@redry.net> <200509190935.36658.root@solink.ru>
index | next in thread | previous in thread | raw e-mail
Bachilo Dmitry wrote: > В сообщении от Воскресенье 18 Сентябрь 2005 22:10 eoghan написал(a): > > You should write all the stuff to /etc/rc.conf (see man rc.conf for that), but > in my opinion if you actually did /stand/sysinstall many times, your rc.conf > "got cancer" if i can say so, because it writes the changes all the time in > rc.conf not deleting previous. You should just write once something like: > > ifconfig_xl0="inet <your_ip> netmask <your netmask>"' > defaultrouter="<your gateway>" > > and write down to the /etc/resolve.conf: > > nameserver <your ISP's DNS> > > > or simply write down to /etc/rc.conf: > ifconfig_xl0="DHCP" Thanks for the info. i did have a look through the rc.conf and it sure does look like its written the settings many times. Does anyone have a sample of a clean rc.conf? Also, my network assign ip's to each pc on the network. I noticed in the conf the ip was specified, which can change... is there any way of doing this in the rc.conf? Eoghanhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?432E86D5.7000109>
