Re: Giving FreeBSD multiple personalities
From: Philip Paeps (philip+usenet_at_paeps.cx)
Date: 04/26/04
- Next message: Philip Paeps: "Re: sendmail starting extremly slow"
- Previous message: Robert: "wapsh port returning "sh: can't access tty; job control turned off""
- In reply to: bob prohaska: "Giving FreeBSD multiple personalities"
- Next in thread: Rob Warnock: "Re: Giving FreeBSD multiple personalities"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Apr 2004 06:14:00 GMT
bob prohaska <bp@imln8.berkeley.edu> wrote:
> I'd like to have a FreeBSD 5.1 host come up in two alternate
> configurations, with different hostnames and network (ppp vs ethernet)
> setups.
>
> It looks as if the easiest way is to make two /etc/rc.conf files, and
> rename the one I'm not using to something else.
You could set up your rc.conf to try to establish one kind of connection
(the one most likely to succeed), and stick a check in rc.local to check
if the connection exists, and if not to try connecting to the other kind
of network.
> Is this sufficient?
It might get messy if you need to change something for both networks and
you forget one. Recipe for tough debugging.
> Is there a better way?
I like the rc.local way, but you might like something different...
- Philip
--
Philip Paeps Please don't email any replies
I follow the newsgroup.
BOFH Excuse #118:
the router thinks its a printer.
- Next message: Philip Paeps: "Re: sendmail starting extremly slow"
- Previous message: Robert: "wapsh port returning "sh: can't access tty; job control turned off""
- In reply to: bob prohaska: "Giving FreeBSD multiple personalities"
- Next in thread: Rob Warnock: "Re: Giving FreeBSD multiple personalities"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|