Re: [gentoo-user] Automatic host switching [SOLVED]

2008-09-22 Thread Momesso Andrea
On Sunday 21 September 2008 20:53:13 Neil Bothwick wrote: > On Sun, 21 Sep 2008 18:34:15 +0100, Robert Bridge wrote: > > > Like having a /etc/hosts.home and a /etc/hosts.world and a script > > > that sysmlinks them to /etc/hosts depending on the fact that i can > > > ping or not 192.168.1.5? > > >

Re: [gentoo-user] Automatic host switching

2008-09-21 Thread Alan McKinnon
On Sunday 21 September 2008 19:17:29 Momesso Andrea wrote: > On Sunday 21 September 2008 18:28:48 Alan McKinnon wrote: > > On Sunday 21 September 2008 15:08:18 Momesso Andrea wrote: > > > My home server is 192.168.1.5 in my home wan, the hostname of the > > > machine is "fandango", and the the /etc

Re: [gentoo-user] Automatic host switching

2008-09-21 Thread Neil Bothwick
On Sun, 21 Sep 2008 18:34:15 +0100, Robert Bridge wrote: > > Like having a /etc/hosts.home and a /etc/hosts.world and a script > > that sysmlinks them to /etc/hosts depending on the fact that i can > > ping or not 192.168.1.5? > > Basically, I would probably look at methods of hooking it onto t

Re: [gentoo-user] Automatic host switching

2008-09-21 Thread Robert Bridge
On Sun, 21 Sep 2008 19:19:46 +0200 Momesso Andrea <[EMAIL PROTECTED]> wrote: > On Sunday 21 September 2008 18:47:24 Robert Bridge wrote: > > On Sun, 21 Sep 2008 15:08:18 +0200 > > > > Momesso Andrea <[EMAIL PROTECTED]> wrote: > > > My home server is 192.168.1.5 in my home wan, the hostname of the

Re: [gentoo-user] Automatic host switching

2008-09-21 Thread Momesso Andrea
On Sunday 21 September 2008 18:47:24 Robert Bridge wrote: > On Sun, 21 Sep 2008 15:08:18 +0200 > > Momesso Andrea <[EMAIL PROTECTED]> wrote: > > My home server is 192.168.1.5 in my home wan, the hostname of the > > machine is "fandango", and the the /etc/hosts in my laptop looks like > > this: > >

Re: [gentoo-user] Automatic host switching

2008-09-21 Thread Momesso Andrea
On Sunday 21 September 2008 18:28:48 Alan McKinnon wrote: > On Sunday 21 September 2008 15:08:18 Momesso Andrea wrote: > > My home server is 192.168.1.5 in my home wan, the hostname of the machine > > is "fandango", and the the /etc/hosts in my laptop looks like this: > > > > [...] > > 192.168.1.5

Re: [gentoo-user] Automatic host switching

2008-09-21 Thread Robert Bridge
On Sun, 21 Sep 2008 15:08:18 +0200 Momesso Andrea <[EMAIL PROTECTED]> wrote: > My home server is 192.168.1.5 in my home wan, the hostname of the > machine is "fandango", and the the /etc/hosts in my laptop looks like > this: > > [...] > 192.168.1.5 fandango > > Sometimes I need to co

Re: [gentoo-user] Automatic host switching

2008-09-21 Thread Alan McKinnon
On Sunday 21 September 2008 15:08:18 Momesso Andrea wrote: > My home server is 192.168.1.5 in my home wan, the hostname of the machine > is "fandango", and the the /etc/hosts in my laptop looks like this: > > [...] > 192.168.1.5 fandango > > Sometimes I need to connect to the server whi

[gentoo-user] Automatic host switching

2008-09-21 Thread Momesso Andrea
My home server is 192.168.1.5 in my home wan, the hostname of the machine is "fandango", and the the /etc/hosts in my laptop looks like this: [...] 192.168.1.5 fandango Sometimes I need to connect to the server while I'm far from home, so the server has also a dyndns address, let's