Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Automatic per-site configuration

0 views
Skip to first unread message

Paul Schenkeveld

unread,
Jun 26, 2011, 7:55:27 AM6/26/11
to
Hi,

There must be many others like me who carry a laptop from one site to
another every week. Currently I have to work at four different sites.

I'd like my FreeBSD 8.2 laptop to automatically start stuff depending
on where I boot it and also my personal login environment depends on
where I am (PRINTER setting in .profile, clients to automatically start
and DISPLAY setting in .xsession, key bindings in .ctwmrc etc.)

Until recently I could look at the fully qualified hostname I got from
DHCP as all DHCP servers gave me a usable hostname but now I also have
to work at various sites where DHCP does not give me a hostname at all.

Getting no hostname from DHCP confuses xdm which defaults to "1"
requiring me to switch to another virtual console and manually set the
hostname to "localhost" or something.

The hostname="foo.bar.tld" in rc.conf is absolute, when set the hostname
obtained from DHCP is ignored.

How do other people solve this? I'd prefer to to be prompted during
boot and during login for the site I want to configure for.

Kind regards,

Paul Schenkeveld
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobil...@freebsd.org"

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

0 new messages