[SOLVED]Unable to connect to internet with Debian Squeeze

Kernels & Hardware, configuring network, installing services

[SOLVED]Unable to connect to internet with Debian Squeeze

Postby r.babu » 2012-02-25 15:54

Hi,

I did a clean install of Debian Squeeze on my new laptop using the net install CD image. I'm having an ADSL broadband connection and during the installation I used the ppp-udeb module to configure the internet and I was able to download the required packages from the Debian mirror. But after the completion of the install process and reboot, I'm not able to connect to the internet. I get a message saying "unknown host" when I PING to http://www.google.com. But I could see from the logs that the network has been established. I don't have much knowledge of networking. I did try some troubleshooting but to no avail. Below is the log of the steps I did for troubleshooting. I'm stuck at this point. Kindly help me to connect to the internet from my Debian box.

Code: Select all
root@debian:~# pon provider
Plugin rp-pppoe.so loaded.
root@debian:~# tail -15 /var/log/syslog
Feb 26 01:54:29 debian pppd[2761]: PPP session is 4668
Feb 26 01:54:29 debian pppd[2761]: Connected to 00:e0:fc:64:25:4e via interface eth0
Feb 26 01:54:29 debian pppd[2761]: Using interface ppp0
Feb 26 01:54:29 debian pppd[2761]: Connect: ppp0 <--> eth0
Feb 26 01:54:29 debian NetworkManager[1434]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Feb 26 01:54:29 debian NetworkManager[1434]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Feb 26 01:54:29 debian modem-manager: (net/ppp0): could not get port's parent device
Feb 26 01:54:32 debian pppd[2761]: CHAP authentication succeeded: Authentication success,Welcome!
Feb 26 01:54:32 debian pppd[2761]: CHAP authentication succeeded
Feb 26 01:54:32 debian pppd[2761]: peer from calling number 00:E0:FC:64:25:4E authorized
Feb 26 01:54:32 debian pppd[2761]: not replacing existing default route via 192.168.1.1
Feb 26 01:54:32 debian pppd[2761]: local  IP address 59.92.14.63
Feb 26 01:54:32 debian pppd[2761]: remote IP address 59.92.0.1
Feb 26 01:54:32 debian pppd[2761]: primary   DNS address 218.248.240.180
Feb 26 01:54:32 debian pppd[2761]: secondary DNS address 218.248.241.4
root@debian:~# ping www.google.com
ping: unknown host www.google.com
root@debian:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3009ms

root@debian:~# cat /etc/resolv.conf
nameserver 218.248.240.180
nameserver 218.248.241.4
# Generated by NetworkManager
root@debian:~#
Last edited by r.babu on 2012-02-26 06:13, edited 1 time in total.
r.babu
 
Posts: 13
Joined: 2011-05-08 10:04

Re: Unable to connect to internet with Debian Squeeze

Postby dilberts_left_nut » 2012-02-25 21:44

r.babu wrote:
Code: Select all
Feb 26 01:54:32 debian pppd[2761]: not replacing existing default route via 192.168.1.1

I'm not really familiar with ppp connections, all the ASDL I use has a modem doing the ppp conection, but the quoted line looks significant.
A missing or incorrect default route woud explain your symptoms. It's not DNS as the ping by IP fails too.
Try adding a route pointing at the ISP ppp endpoint or STFW for 'ppp default route' :)
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4733
Joined: 2009-10-05 07:54
Location: enzed

Re: [SOLVED]Unable to connect to internet with Debian Squeez

Postby r.babu » 2012-02-26 06:14

Added the entry "replacedefaultroute" to /etc/ppp/peers/provider and it worked.
r.babu
 
Posts: 13
Joined: 2011-05-08 10:04


Return to System configuration

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable