Re: resolve.conf specification

1998-12-14 Thread wb2oyc
BTW, not only it would have to be able to choose the right resolv.conf file, but also the right pap-secrets file, I believe... or I think there's a way of writing different userIDs and passwords in pap-secrets... ? You must have missed the earlier part of the thread. Supposedly, pppconfig will

Re: resolve.conf specification

1998-12-13 Thread homega
[EMAIL PROTECTED] dixit: At present there is no simple way to use a different set of nameservers with each ISP. So, that means there is a non simple way of using 2+ different ISPs... if so, how? and, could you explain it to me step by step, please? BTW, not only it would have to be able to

Re: resolve.conf specification

1998-12-13 Thread john
Horacio writes: So, that means there is a non simple way of using 2+ different ISPs... if so, how? and, could you explain it to me step by step, please? This a cheap hack, off the top of my head and untested. Use pppconfig to set up named providers ispA, ispB, and ispC, in addition to

Re: resolve.conf specification

1998-12-08 Thread Jameson Burt
I avoid the problem of a separate /etc/resolv.conf for each of my ISP's by never using my ISP's DNS servers. I found that DNS lookups to my local ISP took as long as lookups to the the main internet DNS servers A through M, about 4 seconds. So, I run a local DNS server, and I have but one entry

Re: Re: resolve.conf specification

1998-12-08 Thread David Wright
Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): Ben Collins writes: What does this [resolv.conf] have to do with policy? Packages are not to mess with other packages' conffiles. We had a long and inclusive discussion of this on debian-devel earlier this year. There are also technical

Re: Re: resolve.conf specification

1998-12-08 Thread Ben Collins
On Tue, Dec 08, 1998 at 01:21:25PM +, David Wright wrote: I'm not sure which package owns resolv.conf, but it does appear that pcmcia-cs is quite happy to mangle it (with /etc/pcmcia/network). Could ppp not do the same sort of thing? (and apologies if more knowledgable people have their

Re: Re: resolve.conf specification

1998-12-08 Thread john
Ben Collins writes: dpkg -S /etc/resolv.conf shows no ownership. I think this would be best handled with a sample script that could be included with the pppd package. This script could be dropped into ip-up.d by the user at their discretion. Getting anything into the ppp package seems to

Re: resolve.conf specification

1998-12-08 Thread David Lutz
I like your script (I used to something very similar), but I have since modified mine to use the PPP_IPPARAM feature of later pppd's. In my /etc/ppp/peers/ispX file I just add the ipparam option which is passed to the ip-up/ip-down scripts. It made my life a bunch esier than trying to figure

Re: resolve.conf specification

1998-12-07 Thread Marco Frattola
AJ writes: hey i was wondering if when u did 'pppconfig' and created a new ppp account if u can specify what /etc/recolve.conf file u want cause i have access to a few ISPs around here that use different primary/secondary dns entries.. At present there is no simple way to use a

Re: resolve.conf specification

1998-12-07 Thread Ben Collins
On Sun, Dec 06, 1998 at 06:40:32PM +0100, Marco Frattola wrote: .. /etc/resolv.cont.ispN and symlink one of them to /etc/resolv.conf when a call is made to the isp (HUPing named, of course)? You don't even have to HUP named since it is libc that uses resolv.conf for gethostbyname(). if he

Re: resolve.conf specification

1998-12-07 Thread wb2oyc
wouldn't it be possibile to make a bunch of files, called /etc/resolv.cont.isp1 /etc/resolv.cont.isp2 .. There is a script that deals with this very problem as part of the ppp kit for NetBSD. It resolves this issue not by linking to, but by copying the proper resolv.conf for that connection to

Re: resolve.conf specification

1998-12-07 Thread john
Marco Frattola writes: wouldn't it be possibile to make a bunch of files, called /etc/resolv.cont.isp1 /etc/resolv.cont.isp2 .. /etc/resolv.cont.ispN and symlink one of them to /etc/resolv.conf when a call is made to the isp Sure. That'll work fine for you. The problem is with Debian

Re: resolve.conf specification

1998-12-07 Thread Ben Collins
On Mon, Dec 07, 1998 at 09:56:58AM -0600, [EMAIL PROTECTED] wrote: Marco Frattola writes: wouldn't it be possibile to make a bunch of files, called /etc/resolv.cont.isp1 /etc/resolv.cont.isp2 .. /etc/resolv.cont.ispN and symlink one of them to /etc/resolv.conf when a call is made to

Re: resolve.conf specification

1998-12-07 Thread AJ
you guys have been a lot of help but how would i go about symlinking these? im not new to linux.. but i still consider myself a newbie in linux.. sorry for the ignorance :-( AJ [EMAIL PROTECTED] wrote: Marco Frattola writes: wouldn't it be possibile to make a bunch of files, called

Re: resolve.conf specification

1998-12-07 Thread john
Ben Collins writes: What does this [resolv.conf] have to do with policy? Packages are not to mess with other packages' conffiles. We had a long and inclusive discussion of this on debian-devel earlier this year. There are also technical issues having to do with the fact that a package that

Re: resolve.conf specification

1998-12-07 Thread MallarJ
To create symlinks: ln -s source target In a message dated 12/7/98 1:53:50 PM Central Standard Time, [EMAIL PROTECTED] writes: you guys have been a lot of help but how would i go about symlinking these? im not new to linux.. but i still consider myself a newbie in linux.. sorry for the

Re: resolve.conf specification

1998-12-07 Thread Ben Collins
On Mon, Dec 07, 1998 at 01:27:37PM -0600, [EMAIL PROTECTED] wrote: Ben Collins writes: What does this [resolv.conf] have to do with policy? Packages are not to mess with other packages' conffiles. We had a long and inclusive discussion of this on debian-devel earlier this year. There are

Re: resolve.conf specification

1998-12-07 Thread Ben Collins
On Mon, Dec 07, 1998 at 02:53:08PM -0500, AJ wrote: you guys have been a lot of help but how would i go about symlinking these? im not Marco Frattola writes: wouldn't it be possibile to make a bunch of files, called /etc/resolv.cont.isp1 /etc/resolv.cont.isp2 ..

resolve.conf specification

1998-12-06 Thread AJ
hey i was wondering if when u did 'pppconfig' and created a new ppp account if u can specify what /etc/recolve.conf file u want cause i have access to a few ISPs around here that use different primary/secondary dns entries.. So is there any file i can edit to specify what file i want to use? AJ

Re: resolve.conf specification

1998-12-06 Thread Ben Collins
On Sun, Dec 06, 1998 at 11:45:47AM -0500, AJ wrote: hey i was wondering if when u did 'pppconfig' and created a new ppp account if u can specify what /etc/recolve.conf file u want cause i have access to a few ISPs around here that use different primary/secondary dns entries.. So is there any

Re: resolve.conf specification

1998-12-06 Thread john
AJ writes: hey i was wondering if when u did 'pppconfig' and created a new ppp account if u can specify what /etc/recolve.conf file u want cause i have access to a few ISPs around here that use different primary/secondary dns entries.. At present there is no simple way to use a different set