LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-08-2004, 11:34 PM   #16
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46

I've heard that in some problematic cases installing the resolvconf package has helped to resolve DNS addresses. http://packages.debian.org/testing/net/resolvconf But I haven't got the competence to tell if it would help in your case.
 
Old 12-08-2004, 11:53 PM   #17
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Dead Parrot
I've heard that in some problematic cases installing the resolvconf package has helped to resolve DNS addresses. http://packages.debian.org/testing/net/resolvconf But I haven't got the competence to tell if it would help in your case.
If its to do with DNS, I should be able to ping their IP address right? Problem is I can't too! Cause I tried pinging my ISP DNS Server.
 
Old 12-09-2004, 07:18 AM   #18
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
OK, not a DNS problem.

Let's see what you've done. You used telinit (or init) to change to runlevel 1, then to runlevel 2 and your network connection started working. Maybe you should start troubleshooting from here and work out what settings have changed between that point (when net connection was OK) and the later point when you had again lost the net connection.

You say you then "booted" into Gnome. REBOOTED, perhaps? Have you set Gnome to start on some other runlevel? If so, are there any changes between services that are started on different runlevels?

A misconfigured firewall could be one possible reason that stops network connection. I think you should check /etc/rc{0,1,2,3,4,5,6,S}.d/ for sorting out what services are started on different runlevels.
 
Old 12-18-2004, 01:35 AM   #19
neonjohn
LQ Newbie
 
Registered: Dec 2004
Location: Cleveland, TN
Distribution: Debian Sarge
Posts: 4

Rep: Reputation: 0
Re: ADSL Connection connected but can't ping any site?

Quote:
Originally posted by subaruwrx
Hi I tried installing debian sarge.

I pop in the cd and boot from it, then the first few screen it detect my network card and try to configure DHCP for it. It fail then I configure the network manually giving my pc a static 10.0.0.3 IP, Gateway is my Efficient 5660 bridge 10.0.0.1 and the ISP DNS server.

After installing and booting from the base system, I execute a shell to configure my adsl using pppoeconf. It was successfully connected and I could see the IP given by my ISP. However, I could not ping any site, even my ISP DNS server. It said "Destination host unreachable, and beside it was the IP of my Gateway 10.0.0.1.

What seems to be the problem?
The problem is, with that modem/router you don't use pppoe or anything else. You connect to it like any other host and designate it as a gateway. In the first few screens you should have left it at DHCP and let it go. Not to worry, the fix is easy.

That modem/router is your gateway, your dns server and your NAT server. I have a Zoom X3 modem/router so I don't know exactly how you set your Efficient up but in general, you want NAT enabled and you want the modem/router to be the DHCP server. (It, in turn, gets its info via DHCP to your ISP.)

Once your modem/router is set up, edit /etc/resolve to include this line:

nameserver 10.0.0.2

or whatver the address of your modem/router is

in /etc/network/interfaces make sure this line is in there:

iface eth0 inet dhcp

Assuming your ethernet is eth0, and make sure there are no other lines that refer to your ethernet port.

An alternative is to give your system a static IP address in the same range as your modem/router's dhcp server issues. I have done that on my Linux box because it is only a server and other systems on the network need a static address for access. here is my /etc/network/interfaces file:

iface lo inet loopback

iface eth0 inet static
address 10.0.0.50
netmask 255.255.255.0
broadcast 10.0.0.50
gateway 10.0.0.2

I assigned an address of 10.0.0.50 to this machine which is high enough up in that subnet not to collide with the modem/router's issued addresses. My modem/router's address is 10.0.0.2 and that is static.

Additionally, you might want to check to see if your modem/router allows you to reserve static addresses in its dhcp server. My zoom doesn't, my Netgear wireless access point/router/firewall does. If it will allow reservation, there will be a table where you enter your ethernet card's MAC address and the IP address you want reserved. The DHCP server would then assign that address to your machine every time you logged on and it would NOT assign it to any other machine. If you go static IP, then your machine will never poll the DHCP server but the server will still reserve that address and not assign it to any other machine.

If this is confusing, you might just want to run the base config again. called "base-config". In /usr/sbin if your path isn't set up correctly. Just answer the questions again and allow it to set up a dhcp client.

John
johngd @ bellsouth.net
 
Old 11-06-2005, 11:12 PM   #20
deepclutch
Member
 
Registered: Nov 2004
Distribution: Devuan
Posts: 754
Blog Entries: 1

Rep: Reputation: 34
Post

I also got the same problem,ifconfig lists eth0,lo and ppp0.but u cannot ping or browse web.my /etc/network/interfaces file:
Code:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
iface eth0 inet static
name Ethernet LAN card
address 192.168.1.2
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0
gateway 192.168.1.1

auto eth0

iface dsl-provider inet ppp
provider dsl-provider
Please Help urgently...................


After "pon dsl-provider",
You need to try :
Code:
route add default ppp0
that will connect.i updated manually my ppp,pppoe and pppoeconf packages to latest unstable distros package inthe hope that it will work.after i upgraded pppoe/pppoeconf,my
/etc/network/interfaces files last line "pre-up /sbin/ifconfig eth0 up" lost .but that was OK as those lines are not bringing up my eth0 lan anyway.but now lan is working at boot,only problem is i need to run this again for internet adsl:
Code:
route add default ppp0
So my problem is how to make ppp0 as default connection rather than running :route add default ppp0 everytime.Please Help geeks urgently........

Last edited by deepclutch; 11-07-2005 at 05:31 AM.
 
Old 11-07-2005, 01:55 PM   #21
deepclutch
Member
 
Registered: Nov 2004
Distribution: Devuan
Posts: 754
Blog Entries: 1

Rep: Reputation: 34
Help please
 
Old 11-08-2005, 05:09 AM   #22
deepclutch
Member
 
Registered: Nov 2004
Distribution: Devuan
Posts: 754
Blog Entries: 1

Rep: Reputation: 34
SOLVED.I dont know how its got solved auto magically!.I reinstalled ppp/pppoe/pppoeconf debs before removed all user/passwd in pap/chap lines and dsl-provider files.now my /etc/network/interfaces file looks like this:
Quote:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
iface eth0 inet static
name Ethernet LAN card
address 192.168.1.2
netmask 255.255.255.0
broadcast 192.168.1.255
network 192.168.1.0
gateway 192.168.1.1

auto eth0

iface dsl-provider inet ppp
provider dsl-provider
# please do not modify the following line
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
Thanks again..........
 
Old 11-10-2005, 06:27 PM   #23
deepclutch
Member
 
Registered: Nov 2004
Distribution: Devuan
Posts: 754
Blog Entries: 1

Rep: Reputation: 34
also i removed the 'pppoe' .deb
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ADSL How do I get connected? marcp66 Linux - Newbie 2 08-30-2005 08:14 AM
Slack 10 DSL Connected Can't ping evanmars Slackware 2 09-29-2004 06:55 PM
adsl-start says connected, but I can't browse! dtheorem Linux - Networking 1 08-23-2004 02:25 PM
rp-pppoe problem: it says im connected but can't ping anything johnnybezak Linux - Networking 1 05-07-2004 02:56 PM
ADSL Connected ... but not? binskin Linux - Networking 10 11-02-2003 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration