LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-02-2009, 10:42 PM   #1
r_sreekumar
LQ Newbie
 
Registered: Sep 2007
Posts: 14

Rep: Reputation: 0
Talking DSL Connecting Problem, debian


Hello,
I have recently installed Debian (Lenny) in my machine. I configured my dsl broadband connection with pppoeconf. Everything went fine. I could login with
"pon desl-provider" . Now the system is getting proper IP address and DNS from the provider. ( I checked with "ifconfig"). But unable browse or ping to any external site. When I tried with "Etch" also, this problem was there. But I have absolutely no problem in using the same connection from "SUSE"(My default OS, from which I am posting this!!!), "FC" or "Windows". Please help.
-Sreekumar
 
Old 05-03-2009, 06:57 AM   #2
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
Have you a '/etc/resolv.conf' file where the DNS adresses are written ?
If the resolv.conf file is placed elsewhere, try to make a soft link to it :

cd /etc
ln -s <path to the resolv.conf file>

You can also write the provided DNS addresses into /etc/resolv.conf file from the connexion script, or using the ip-up script.
My ip-up script is like that :
Code:
#!/bin/sh
#
# This script is run by pppd when there's a successful ppp connection.
#
cp /etc/ppp/resolv.conf /etc
 
Old 05-03-2009, 11:52 AM   #3
r_sreekumar
LQ Newbie
 
Registered: Sep 2007
Posts: 14

Original Poster
Rep: Reputation: 0
no problem with /etc/resolv.conf . Any other solution?
 
Old 05-03-2009, 12:00 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
please post he output from

Code:
ifconfig
cat /etc/resolv.conf
route -n
Try to disable the firewall, if present.
 
Old 05-04-2009, 10:54 PM   #5
r_sreekumar
LQ Newbie
 
Registered: Sep 2007
Posts: 14

Original Poster
Rep: Reputation: 0
I'm giving the outputs of ifconfig, cat /etc/resolv.conf, route -n add iptables -L

Quote:
/sbin/ifconfig
===============
eth0 Link encap:Ethernet HWaddr 00:23:54:7f:54:10
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::223:54ff:fe7f:5410/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:207 errors:0 dropped:0 overruns:0 frame:0
TX packets:268 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21406 (20.9 KiB) TX bytes:30561 (29.8 KiB)
Interrupt:216 Base address:0x8000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 B) TX bytes:560 (560.0 B)

ppp0 Link encap:Point-to-Point Protocol
inet addr:117.204.82.108 P-t-P:117.204.80.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1460 Metric:1
RX packets:121 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:10594 (10.3 KiB) TX bytes:54 (54.0 B)


cat /etc/resolv.conf
=======================
nameserver 218.248.255.146
nameserver 218.248.255.139
### BEGIN INFO
#
# Modified_by: NetworkManager
# Process: /usr/bin/NetworkManager
# Process_id: 2698
#
### END INFO

/sbin/route -n
===================
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
117.204.80.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0



/sbin/iptables -L
===================
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Last edited by r_sreekumar; 05-04-2009 at 10:58 PM. Reason: formating was not correct
 
Old 05-06-2009, 10:19 PM   #6
r_sreekumar
LQ Newbie
 
Registered: Sep 2007
Posts: 14

Original Poster
Rep: Reputation: 0
is it any gateway problem. How to setup gateway in debian, please help
 
Old 05-10-2009, 11:23 AM   #7
r_sreekumar
LQ Newbie
 
Registered: Sep 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Thumbs down

Anybody having some idea to solve this please?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem connecting with pppoe on every Debian distro blassmegod Debian 3 09-09-2007 02:55 PM
problem connecting to pppoe dsl with mepis vaskob MEPIS 1 11-22-2006 06:56 AM
Problem connecting Nikon camera in debian tytono Linux - Newbie 6 09-16-2006 06:47 AM
debian dsl problem darkdreamer Linux - Networking 0 01-29-2003 11:52 AM
Connecting with DSL Simsala Linux - Networking 0 08-18-2001 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration