Computer (laptop): NEC Versa M540
Modem: Intel Corp 8280 AC'97 Modem Controller (on /dev/ttySL0)
Distro: Debian GNU/Linux
Kernel: 2.6.8-mppe
pppd: 2.4.3
chat: 1.22
I realise that this is quite possibly the most common sort of post, and I have found a prolific number of similar posts - but none seem to solve my problem.
Trying to connect to my dial-up ISP using "pon isp-name" (I do use my actual ISP name) connects with pppd and chat. The /var/log/ppp.log shows that PAP authentication seems fine, the nameservers are found (I've checked that they are correct). It also shows the local and remote IP addresses. /etc/resolv.conf contains both nameservers (and ONLY those two nameservers).
Now, I've used "ping" to successfully ping the local and remote IP addresses, but when I try "ping dns.ip.addresses.here" (or any other, for that matter), I get "connect: Network is unreachable".
I can connect to the network at uni using the built-in network card, with none of these problems. There is a script for my uni network username in /etc/ppp/ip-up.d - I tried to adapt this to my dialup connection, but with no luck.
/etc/ppp/peers/isp-name:
Code:
# This optionfile was generated by pppconfig 2.3.10.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/isp-name"
debug
/dev/ttySL0
115200
defaultroute
replacedefaultroute
noipdefault
user "<<username>>"
remotename isp-name
ipparam isp-name
usepeerdns
/etc/ppp/peers/ppp0
Code:
usepeerdns
user <<username>>
/dev/ttySL0
connect "/usr/bin/wvdial --chat ppp0"
defaultroute
replacedefaultroute
noauth
I inserted the "replacedefaultroute" after reading similar posts on various forums. No luck.
Last few lines of /var/log/ppp.log:
Code:
Jul 7 21:54:52 localhost pppd[5532]: Cannot determine ethernet address for proxy ARP
Jul 7 21:54:52 localhost pppd[5532]: local IP address <<local-IP-add>>
Jul 7 21:54:52 localhost pppd[5532]: remote IP address <<rem-IP-add>>
Jul 7 21:54:52 localhost pppd[5532]: primary DNS address <<DNS-1>>
Jul 7 21:54:52 localhost pppd[5532]: secondary DNS address <<DNS-2>>
Jul 7 21:54:52 localhost pppd[5532]: Script /etc/ppp/ip-up started (pid 5544)
Jul 7 21:54:52 localhost pppd[5532]: Script /etc/ppp/ip-up finished (pid 5544), status = 0x0
Code:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
<<rem-IP-add>> 0.0.0.0 255.255.255.255 UH 0 0 0 isp-name
Code:
# cat /var/log/ppp-ipupdown.log
/etc/ppp/ip-up ppp0 /dev/ttySL0 115200 <<local-IP-add>> <<rem-IP-add>> isp-name
/etc/ppp/ip-up.d/0dns-up: line 120: /usr/sbin/nscd: No such file or directory
The line in question is the last one in the script (nscd doesn't seem to exist on my system):
Code:
# Tell nscd about what we've done.
/usr/sbin/nscd -i hosts || exit 0
I would appreciate any help.