Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2005 09:35:36 +0700
From:      Bachilo Dmitry <root@solink.ru>
To:        freebsd-hackers@freebsd.org
Subject:   Re: network settings
Message-ID:  <200509190935.36658.root@solink.ru>
In-Reply-To: <D8CDC6DA-840B-47BD-AFFC-D653AB21E280@redry.net>
References:  <D8CDC6DA-840B-47BD-AFFC-D653AB21E280@redry.net>

next in thread | previous in thread | raw e-mail | index | archive | help
=F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 =F7=CF=D3=CB=D2=C5=D3=C5=CE=D8=C5 18=
 =F3=C5=CE=D4=D1=C2=D2=D8 2005 22:10 eoghan =CE=C1=D0=C9=D3=C1=CC(a):
> Hello
> Im pretty new the freeBSD. Im working with 5.3. Each time I start up
> the computer I have to go to /usr/sbin/sysintall and configure it to
> use my network. I plugged directly in and Im not sure why I have to
> set this up each time.
> Also, when I go to configure -> networking -> interfaces it shows my
> network card (3COM) but gives an error about not finding the
> dhcpclient (but it still works). Wondering if theres a way to make it
> save my changes? Or is the issue related to the dhcp client?
> Thanks
> Eoghan

You should write all the stuff to /etc/rc.conf (see man rc.conf for that), =
but=20
in my opinion if you actually did /stand/sysinstall many times, your rc.con=
f=20
"got cancer" if i can say so, because it writes the changes all the time in=
=20
rc.conf not deleting previous. You should just write once something like:

ifconfig_xl0=3D"inet <your_ip> netmask <your netmask>"'
defaultrouter=3D"<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=3D"DHCP"



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