Larry Gagnon <(E-Mail Removed)> wrote:
> I am unable to connect to any server via a PPP connection under
> VectorLinux 4.0. The same machine/modem/line/ISP works fine under a dual
> boot Win98SE setup. I get a successful PPP connection as shown in
> "ifconfig" and "/var/log/messages". I have the correct DNS server names in
> /etc/resolv.conf. But I continually get "hostname lookup failures" with
> ftp, browser, email. I cannot even ping my ISP's website. When I attempt
> to ping the remote server IP address listed in the ifconfig ppp0 section,
> ping seems to hang, when I stop it it tells me "20 packets transmitted, 0
> packets received".
You probably have an existing default route; pppd won't replace an
existing default route even with the defaultroute option. If that's
the case and there is only one local network then remove the existing
default route - you don't need it.
If you really need that default route when the PPP connection is not
present then put
/sbin/route add default $IFNAME
in /etc/ppp/ip-up. Pppd supplies the ip-up script with the PPP interface
name in IFNAME.
--
Clifford Kite Email: "echo
xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads:
http://ckite.no-ip.net/