Re: Giving FreeBSD multiple personalities

From: Philip Paeps (philip+usenet_at_paeps.cx)
Date: 04/26/04


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.


Relevant Pages

  • Re: Windows 2K3 and Virtual Server 2005 guests NAT problem
    ... internal network. ... Ethernet adapter "MS Loopback Adapter": ... Configurations received on the client side ...
    (microsoft.public.windows.server.networking)
  • RE: Problems with Permissions
    ... And SBS server is only take ... the role of an internal server. ... they are all configured to connected to internal network. ... g. Run the Configure Email and Internet Connection Wizard on SBS server. ...
    (microsoft.public.windows.server.sbs)
  • Re: Outgoing POP3 email missing/lost/not received
    ... Funny thing is that I have had this ISP for 8 years and it has always been ... It looks like when you last ran CEICW, you set the ISP's mail server to: ... Internet Connection Wizard. ... After the wizard completes, the following network connection ...
    (microsoft.public.windows.server.sbs)
  • Re: server disconnection - very often
    ... Often get the redirected folders working offline prompt on some client ... VMware virtual network interface cause network issue. ... On the Connection Type page, click Broadband, and then click Next. ... |> re-initialize the offline files cache and database on client computers: ...
    (microsoft.public.windows.server.sbs)
  • Re: OT By a mile in parts comments on Viet Nam
    ... check bank accouts etc etc whilst away but is safe to do so over wireless and using the hotel network.. ... you should regard your connection as insecure and use some ... form of encryption to protect your passwords and privacy. ... My recommendation would be to set up a VPN endpoint in the UK that you ...
    (uk.comp.sys.mac)