[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PPP, default route, and long waiting, wierd problem
Ben Allen wrote:
> Ok here is my problem I use PPP to dial-up to my isp. Simple enough, I
> use the Nat feature in it to serve my LAN. It connects fine, internet
> works just great. Nevertheless, here the problem, as long as there is a
> default route in my route table it takes about a minute for anything to
> connect to 172.16.1.4, which is the nic of the box. Even if you use that
> address locally it still takes forever. Moreover, it takes forever to
> show my route table. If I go ahead and delete the default route, it will
> run perfectly. A weird thing about SSH when I connect to the box with
> SSH it asks for my password right away and then it sits. Also I noticed
> that it takes sendmail forever to startup. I just rebuilt PPP from a
> updated source tree. What could it be?? Maybe it's more of a generic
> problem and not related with PPP, since when I put in a false default it
> did the same thing.
> Thanks for any help,
> Ben
> ocean@northlink.net
>
According to the postings in the last time to ssh, I'll assume you have
something wrong with your dns setup.
Unless you are running your own nameserver I would add this to
/etc/ppp/ppp.conf
enable dns
Further more check your /etc/hosts to see if there are all internal
computers listed, so that the dns not tries to resolve internal
addresses. Also make sure /etc/resolv.conf contains "lookup file bind".
If all this doesn't help you may (but don't judge me for that if it
doesn't make sense) add to /etc/ppp/ppp.linkup
! sh "route delete default"
or
! sh "route flush"
Hope that helps
Carsten