Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Dec 2006 23:05:27 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Karl Sinn <news@budostore.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Networkdevice configuration: reboot necessary?
Message-ID:  <457C92B7.5040502@infracaninophile.co.uk>
In-Reply-To: <200612102300.39424.news@budostore.de>
References:  <200612102300.39424.news@budostore.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig1711ACC06795F77B640464BA
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Karl Sinn wrote:

> I went on with the configuration of my first FreeBSD computer. And I fo=
und=20
> something amazing:
>=20
> After the configuration of the network device with sysinstall the netwo=
rk did=20
> not work immediately.
> In the handbook it is written to reboot after configuration.

Hmmm... sysinstall will usually prompt you to bring up a network interfac=
e
after you've filled out the appropriate menu stuff. =20

What sysinstall is doing behind the scenes is rewriting the settings in
/etc/rc.conf.  As you've discovered, that only has any effect when runnin=
g
the scripts in /etc/rc.d (or /usr/local/etc/rc.d) -- ie. generally when
rebooting.  In fact, what sysinstall does is append new settings to the
end of rc.conf, confusingly leaving the old ones still at the top of the
file. You would be well advised (for the sake of your own sanity, if
nothing else) to learn how to edit rc.conf directly to make such
configuration changes, plus keep the file trimmed of old entries and
extraneous fluff.

> Is this really necessary?=20
> Is there no other way to change the configuration without turning of th=
e=20
> computer?

Of course there is.  You just run ifconfig from the command line,
like you would with any other unix system.  Of course, that pre-supposes
you know what to put onto the ifconfig command line: the ifconfig(8)
manual page is a good place to start.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW


--------------enig1711ACC06795F77B640464BA
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFFfJK98Mjk52CukIwRCGddAJ9JusP5r0KBFHtQCRWqVjvqsgYmygCXWWl1
NKzdbxdLJrABXtfoywXovw==
=Doew
-----END PGP SIGNATURE-----

--------------enig1711ACC06795F77B640464BA--



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