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.