Re: pppd, named and netscape

1999-12-20 Thread John Hasler
Douglas Eck writes:
 First, an easy question. Is there a simple way to get -idle to override
 -persistent.

'idle' and 'persist' are incompatible.

 I just used named because it was the easiest way to get samba to
 work... turn off WINS and set up a very simple nameserver.

I don't know anything about NT, but can't you give it your ISP's
nameservers and tell it to use the Linux box as a gateway?

 Perhaps there is some other simple fix like showing named to my nt box
 but not to my linux box. (That is, nt would point to the linux box for
 DNS, but the linux box itself would not use it's own dns server.)

That should work.  Just take 127.0.0.1 out of /etc/resolv.conf and put your
ISP's nameservers in.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


Re: pppd, named and netscape

1999-12-06 Thread Rob Mahurin
On Sun, Dec 05, 1999 at 11:12:05AM -0700, Douglas Eck wrote:
 First, an easy question. Is there a simple way to get -idle to
 override -persistent. I want to redial until I get connected, but
 if I forget to log off, I want the modem to hang up after 15 minutes.
 This seems like a reasonble thing to do.
 

Don't know anything about ppp, sorry.

 OK, now the real question.
 
 IMHO it's a fun one. I'm running slink and using my box to share a modem
 with another machine, an NT box. I'm using IP_Masquerade for this
 purpose and it works beautifully. I'm also running named so that
 my nt box looks to my debian box for all services... Samba works, and
 the NT box seems happy enough. All is kosher most of the time.
 
 Problem is, when I'm offline and start netscape, the program freezes up.
 I've
 straced this problem and recognize that Netscape is confused by my
 own nameserver. It keeps trying and trying to do dns lookups against
 it and never realizes that we're offline. I've verified that this
 is the problem by killing named. With named dead, I'm able to start
 netscape up while offline with no troubles. 

Perhaps (seems like there ought to be, anyway) there's some way to get
pon to start named for you, and poff to kill it?  That is, include
'/etc/init.d/bind start|stop' in your ppp logon|logoff scripts?  Just
a guess.

Rob

-- 
If you love someone, set them free.
If they don't come back, then call them up when you're drunk.