LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-06-2006, 07:19 PM   #1
thedu
LQ Newbie
 
Registered: Jul 2006
Location: Austin, Tx
Distribution: Debian-Sarge-Kernel-2.6.27-2-386
Posts: 16

Rep: Reputation: 0
ca't seem to be able to use my internet


2.6 Kernel Sarge i386 iso

i have a ehternet card which i connect to a d-link router which is connected to a earthlink dsl modem

internet was working great up until 2 nights ago when i started to recieve the message i.e. "www.google.com can not be found. please check the name and try again." (you can substitute google with any address i put in)

i use mozilla browser

not sure how to fix this or why it suddenly stopped letting me connect to the internet

i know the internet is still working because i use my other computer on it just fine

thanks
 
Old 08-07-2006, 12:27 AM   #2
thedu
LQ Newbie
 
Registered: Jul 2006
Location: Austin, Tx
Distribution: Debian-Sarge-Kernel-2.6.27-2-386
Posts: 16

Original Poster
Rep: Reputation: 0
at the root command line i pinged googled

#ping 64.233.167.99 -c 8

8 sent 8 rec 0% packet loss

so i'mn assuming the internet's up and working to this computer

i even typed 64.233.167.99 into the mozzilla address bar and it brought up the google page, but if i click any of the links on the page it doesn't do anything, and if i type www.google.com no luck it doesn't it find it
 
Old 08-07-2006, 01:28 AM   #3
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by thedu
at the root command line i pinged googled

#ping 64.233.167.99 -c 8

8 sent 8 rec 0% packet loss

so i'mn assuming the internet's up and working to this computer

i even typed 64.233.167.99 into the mozzilla address bar and it brought up the google page, but if i click any of the links on the page it doesn't do anything, and if i type www.google.com no luck it doesn't it find it
The problem you are describing is not being able to access your DNS (Domain Name System) servers. You should have a file called /etc/resolv.conf listing the address of your servers. Maybe this has become deleted or screwed up.

But if, as I suspect, you are using DHCP, I would think this should get straightened out when you reboot or restart your network service. If rebooting doesn't straighten out the problem, see if you can find any reference to dhcp in your system log after rebooting or restarting "network." On my system, these entries would be in /var/log/messages, but I am not sure about Debian. Also check your /etc/resolv.conf file.
 
Old 08-08-2006, 01:50 AM   #4
thedu
LQ Newbie
 
Registered: Jul 2006
Location: Austin, Tx
Distribution: Debian-Sarge-Kernel-2.6.27-2-386
Posts: 16

Original Poster
Rep: Reputation: 0
looked around the logs didn't see anything, so since I didn't have anything on the computer i didn't mind losing i went on and decided to just reload the os,

i ran kill disk on the hard drive to format it first

and then reloaded from the debian cds, everything went great till the update procedure, it couldn't update i got a failure to resolve connection or something message...

i know the the cables good i unpluged it from the computer and plugged it into my other computer to check it out and it worked like a dream, not sure where to begin with this should i maybe be looking at a hardware problemn or a bios problem...

any suggestions?
 
Old 08-08-2006, 03:42 AM   #5
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
If it were not what you reported in post #2, I would suspect a hardware problem. But what you reported is exactly what a DNS problem looks like.

At this point (updates aside) do you have a functioning system? If I were in you shoes, if the system was functioning I would try to get some more data from it, or I would boot from a live CD like Damn Small Linux (DSL) and try to get some data that way.

After my first response to you, I checked a DSL system I have to see what kind of reporting it does when it does a DHCP request. If you have enabled system logging (which is off by default on DSL) with the commands syslogd and klogd, it will log details about the DHCP response, including what DNS addresses (if any) are supplied. This sort of info would be useful in diagnosing your problem.

You should also be able to create this same reporting in your Debian system if it is running (minus Internet of course). I am on a public computer right now and don't have access to my Linux stuff, so I might get some details wrong here, but I should be close enough you can figure it out by consulting the man pages.

What you need to do is add a line to your /etc/syslog.conf file something like:

Code:
daemon.*   /var/log/whatever_you _want_for_logfile_name
This should cause all info concerning the DHCP transaction to be logged. You then need to restart you network interface (first making sure it is set up for DHCP).

If you want to try Damn Small Linux and have a computer with CD burner and Internet access, it is only a 50 MB download.
 
Old 08-09-2006, 03:58 PM   #6
robingazi
Member
 
Registered: Jul 2006
Location: Bangladesh
Distribution: Ubuntu
Posts: 93

Rep: Reputation: 15
If you are not using DHCP then I'd suggest you run base-config again and mannually input your ip, gateway, host mask,and most importantly your name servers at the internet connection settings. Be sure to separate the name servers with spaces only. If base-config isnt installed yet, highly unliky since you are using sarge, then "apt-get install base-config". You did mention that another programme, I suspect synaptic, has failed to connect to the internet so Im thinking its probably gone worng in the base-config.


This is my first ever attempt to help anyone in a forum of any kind. So dont get your hopes up with this advice.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unplug Internet Cable and plugin aging, but could not connected to the internet DevlinX Linux - General 2 07-02-2006 10:36 AM
K3B ca't record dvd's on a plextor 716a Braveheart1980 Linux - Software 14 08-20-2005 07:05 AM
Ca't get HP Deskjet 5650 printing on SUSE 9.1 Pro Madrinator Linux - Hardware 1 11-19-2004 12:58 PM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 11:48 AM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM

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

All times are GMT -5. The time now is 09:40 PM.

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