Re: [gentoo-user] fallback dns servers

2005-05-22 Thread Jean Magnan de Bornier
Le 22 mai à 06:57:59 Walter Dnes [EMAIL PROTECTED] a écrit notamment: On Sat, May 21, 2005 at 12:35:45PM +0200, Jean Magnan de Bornier wrote I want to execute ln -sf /etc/resolv.conf.fac /etc/resolv.conf *before* /etc/init.d/net.eth0, so that if I am at the fac (my office) location I have

Re: [gentoo-user] fallback dns servers

2005-05-22 Thread Neil Bothwick
On Sat, 21 May 2005 12:35:45 +0200, Jean Magnan de Bornier wrote: I want to execute ln -sf /etc/resolv.conf.fac /etc/resolv.conf *before* /etc/init.d/net.eth0, so that if I am at the fac (my office) location I have these dns set up, but if I am home with dhcp the resolv.conf file will be

Re: [gentoo-user] fallback dns servers

2005-05-22 Thread Jean Magnan de Bornier
Le 22 mai à 12:15:44 Neil Bothwick [EMAIL PROTECTED] a écrit notamment: On Sat, 21 May 2005 12:35:45 +0200, Jean Magnan de Bornier wrote: I want to execute ln -sf /etc/resolv.conf.fac /etc/resolv.conf *before* /etc/init.d/net.eth0, so that if I am at the fac (my office) location I have these

Re: [gentoo-user] fallback dns servers

2005-05-22 Thread Johannes Weiner
Thanks Neil, I adopted Walter's solution but I'll look at yours (I will have to find a fresh /etc/conf.d/net, as I wiped out all unncessary lines). :-( It's in the baselayout, simply extract it from there. HTH, hannes pgpOVEcyAEd2d.pgp Description: PGP signature

Re: [gentoo-user] fallback dns servers

2005-05-22 Thread Jean Magnan de Bornier
Le 22 mai à 18:39:09 Johannes Weiner [EMAIL PROTECTED] a écrit notamment: Thanks Neil, I adopted Walter's solution but I'll look at yours (I will have to find a fresh /etc/conf.d/net, as I wiped out all unncessary lines). :-( It's in the baselayout, simply extract it from there. Great,

Re: [gentoo-user] fallback dns servers

2005-05-22 Thread Neil Bothwick
On Sun, 22 May 2005 18:20:29 +0200, Jean Magnan de Bornier wrote: See the preup() function in /etc/conf.d/net, this is executed before the interface is brought up. Thanks Neil, I adopted Walter's solution but I'll look at yours (I will have to find a fresh /etc/conf.d/net, as I wiped out

Re: [gentoo-user] fallback dns servers

2005-05-22 Thread Jean Magnan de Bornier
Le 22 mai à 20:11:00 Neil Bothwick [EMAIL PROTECTED] a écrit notamment: On Sun, 22 May 2005 18:20:29 +0200, Jean Magnan de Bornier wrote: See the preup() function in /etc/conf.d/net, this is executed before the interface is brought up. Thanks Neil, I adopted Walter's solution but I'll

Re: [gentoo-user] fallback dns servers

2005-05-22 Thread Neil Bothwick
On Sun, May 22, 2005 8:18 pm, Jean Magnan de Bornier said: /etc/conf.d/net/example :) I don't have such a directory (/etc/conf.d/net/). Sorry, that should be /etc/conf.d/net.example -- Neil Bothwick -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] fallback dns servers

2005-05-21 Thread Jean Magnan de Bornier
Le 17 mai à 15:01:49 Jean Magnan de Bornier [EMAIL PROTECTED] a écrit notamment: Hello all, I am setting up a way to have my laptop automatically get a correct ip address. When I am at my office, I have a fixed ip; at home (on a private network) I use dhcp. I know I can use quickswitch

Re: [gentoo-user] fallback dns servers

2005-05-21 Thread Walter Dnes
On Sat, May 21, 2005 at 12:35:45PM +0200, Jean Magnan de Bornier wrote I want to execute ln -sf /etc/resolv.conf.fac /etc/resolv.conf *before* /etc/init.d/net.eth0, so that if I am at the fac (my office) location I have these dns set up, but if I am home with dhcp the resolv.conf file will be

Re: [gentoo-user] fallback dns servers

2005-05-19 Thread A. Khattri
On Tue, 17 May 2005, Jean Magnan de Bornier wrote: Hello all, I am setting up a way to have my laptop automatically get a correct ip address. When I am at my office, I have a fixed ip; at home (on a private network) I use dhcp. I know I can use quickswitch for that but I want something

Re: [gentoo-user] fallback dns servers

2005-05-19 Thread Matthias Bethke
Hi A., on Thursday, 2005-05-19 at 13:59:38, you wrote: I know I can use quickswitch for that but I want something really automatic, [...] iface_eth0=dhcp ifconfig_eth0=( dhcp 194.199.136.151 ) [...] # esearch quickswitch Yeah, I guess he knew that ;-) I'm just wondering: where can I