LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-02-2011, 07:40 PM   #1
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 287

Rep: Reputation: 30
Suddenly cannot reach internet


I used my computer this morning, but when I returned this evening, I am unable to reach the internet. Also the light on the mobo where the ethernet cable is plugged in is steady yellow.

My limited experience would tell me it is a hardware failure, but it seems so strange with nothing happening during the day. How might I best diagnose the problem?
 
Old 08-02-2011, 07:42 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
What distro are you using? What is the output of the command '/sbin/ifconfig'? Are you using a router?
 
Old 08-02-2011, 08:09 PM   #3
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 287

Original Poster
Rep: Reputation: 30
Using Ubunutu 10.10

I have a 24 port Linksys switch hooked up to a router. All other computers on the lan are behaving normally.

Output from command is lengthy to retype on this computer, but can do if you need the entire result. OTOH, if you only need part of the output, I can get that to you very quickly.

Thanks.
 
Old 08-02-2011, 08:17 PM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
Ideally, the 'eth0' bit.
 
Old 08-02-2011, 09:59 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,159
Blog Entries: 15

Rep: Reputation: 3092Reputation: 3092Reputation: 3092Reputation: 3092Reputation: 3092Reputation: 3092Reputation: 3092Reputation: 3092Reputation: 3092Reputation: 3092Reputation: 3092
The first test I would do, because it's easy and fast and narrows the search, would be swap the ethernet cable to that machine with one leading to a working computer at the computer end of the cables.

If the problem stays where it is, it is definitely something in the machine or its software load.

If it moves with the cable, it's something outside the machine.

If its a problem with the switch or the cable, days of tweaking the machine won't tell you a thing.

Edit: Also, just reseating the cable may be all that's required.

Last edited by frankbell; 08-02-2011 at 10:00 PM.
 
Old 08-02-2011, 10:01 PM   #6
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 287

Original Poster
Rep: Reputation: 30
Sorry for the delay. I'm a slow typist.

Link encap: 192.168.0.104 HWAddr 48:5b:39:94:28:00
inet addr: 192.168.0.104 cast: 192.168.0.255 MASK:255.255.255.0
inet addr: fe80::4a5b:39ff:fe94:2800/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:76 errors:0 dropped:0 overruns:0 frame:0
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32037 (32.0KB) TX bytes:12239 (12.2KB)
Interrupt:44 Base address:0x4000

Whew!
 
Old 08-02-2011, 11:57 PM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Sorry for the delay. I'm a slow typist.
Next time,
Code:
ifconfig >ifconfig.txt
This will give you an output file ifconfig.txt that you can copy to a memory stick and take to a machine with internet access. Next you can copy and paste. Might be faster
 
Old 08-03-2011, 04:32 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,738

Rep: Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753
Can you communicate with other computers on your LAN? Try pinging another computer. If so then it isn't a hardware problem.

If not then does the link light on the switch indicate the correct link mode i.e 10/100/1000? Look at the output of the command ethtool. Should match link mode, full duplex.
as suggested have you tried swapping cables to a know good port on the switch?
Have you Restarted the computer or restarted networking?
 
Old 08-03-2011, 07:03 AM   #9
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 287

Original Poster
Rep: Reputation: 30
I missed Frank Bell's post yesterday while I was going from one computer to the other trying to type the output (thanks for the .txt tip), but when I read Michael's this morning, was getting ready to do the swap to a known "internet good" computer when I tried pinging the router and got a reply (yea!).

Had restarted the computer twice yesterday and the second time had not restarted my browser, so when the ping worked this morning, I opened the browser and lo, it reached the internet. Very strange. I expect that I now have an intermittent problem, but hopefully that will be a one-time event.

Expect me back, but in the meantime, thanks for all the great help!
 
  


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
cannot reach the internet (probably ipv6 problem) kipoda Linux - Networking 9 04-07-2009 03:00 PM
ftp clients not able to reach internet rajesh.bahl Linux - Networking 3 05-24-2007 01:07 PM
cannot reach internet from private LAN toodr Linux - Networking 12 10-23-2005 07:44 PM
RH8.0 - Can not reach the internet donhoudek Linux - Newbie 1 11-21-2002 08:25 AM
Can someone help me reach the Internet!!!??? AMDPwred Linux - General 8 12-23-2001 02:14 AM


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