LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 07-01-2010, 12:28 PM   #1
Mountain
Member
 
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214

Rep: Reputation: 33
no network today. It worked fine yesterday...


I'm running a new install of Kubuntu 10.04. I installed it a week ago. I'm using wired ethernet. Yesterday everything was working fine. I have not made any changes other than installing some updates yesterday. Today I have no network interfaces listed in ifconfig except lo.

But my network cards are listed in lspci.

What are the next troubleshooting steps? Thanks

EDIT:
ifup ethX reports the interface is unknown.

cat /etc/network/interfaces
shows only the lo interface, not eth0 or eth1.

If using the GUI to launch KNetworkManager, the application doesn't open. Nothing happens. No error, but KNetworkManager just doesn't open.
(I've only been using KDE a short while. I'm not used to any of the tools.)

grep -i eth /var/log/messages
doesn't show any obvious errors. I can't paste the file at the moment because that machine has no network and the memory card reader isn't working (a hardware problem that's existed for a long time).

Last edited by Mountain; 07-01-2010 at 01:18 PM. Reason: additional steps I tried
 
Old 07-01-2010, 01:20 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,752

Rep: Reputation: 189Reputation: 189
Code:
ifconfig -a
Should show you all of your ethernet interfaces. If it's not there then it isn't being detected.

If not does dmesg show you any problems. Scroll down and look for your device
Code:
dmesg | less
If it shows up in dmesg then maybe you changed your kernel module with that update. Maybe you can roll back. If it's not listed in dmesg then it isn't working.
 
1 members found this post helpful.
Old 07-01-2010, 01:47 PM   #3
Mountain
Member
 
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214

Original Poster
Rep: Reputation: 33
eth0 and eth1 are listed when I use ifconfig -a. I normally only use eth1. At the moment, neither has an IP address.

dmesg doesn't show any obvious problems.

I think what happened is that when I stopped work yesterday I hibernated my system (which I don't normally do and which I don't think my hardware handles well). It failed to resume from that state, but it did boot up fine.

Is it possible that the interfaces were "taken down" or disabled by the hibernation and then not restored properly? If so, how would I tell that? And how would I resolve it?

Last edited by Mountain; 07-01-2010 at 01:48 PM. Reason: typo
 
Old 07-01-2010, 02:49 PM   #4
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,752

Rep: Reputation: 189Reputation: 189
Code:
ifconfig eth1 up
Code:
ifconfig eth1 down
Some devices don't wake up correctly. Look at acpi for your distribution. I've never used Ubuntu.

On this FreeBSD machine the mouse will drop out after sleep and wake up. I solved it by adding
Code:
/etc/rc.d/moused restart
to /etc/rc.resume

So yes that's quite possible that the network card is not comming back after sleep.
 
Old 07-01-2010, 03:19 PM   #5
Mountain
Member
 
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 214

Original Poster
Rep: Reputation: 33
Thanks for your help. I got it working. I edited the /etc/network/interfaces file and added these lines:
auto eth1
iface eth1 inet dhcp

then I did /etc/init.d/networking restart
and my network was back.

It seems really strange to me that hibernating my system would cause the removal of lines from the interfaces file. Could that be what happened? If so, that's just too weird.

Now I am wondering what else might have gotten screwed up.Maybe I need to check /etc/resolv.conf and some other files... any suggestions on how to ensure my system is running properly?

Should I post a log file here? I don't see any obvious errors (but that could just be due to the fact that I don't know what to look for). Thanks.

EDIT:
This is a new installation. If it is screwed up, I would prefer to either fix it or reinstall from scratch before I invest all the time to customize it to my liking. That's why I'd like to know if it has any other problems now, before I move forward. What is the best way to find any and all error messages from the various log files?

Last edited by Mountain; 07-01-2010 at 03:44 PM.
 
  


Reply

Tags
eth0, ethernet, network


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
Yesterday PHP worked just fine and today it wants to serve up the php code. orsty9001 Linux - Server 10 12-12-2008 10:48 AM
USB Devices Fail To Mount - They Worked Fine Yesterday rrrssssss Suse/Novell 22 09-25-2007 01:04 PM
ipodder worked yesterday not today pennyg Linux - Desktop 1 11-07-2006 01:31 PM
DOOM3 worked yesterday, doesn't today NetRAVEN5000 Linux - Games 9 10-22-2005 06:25 PM
startx -- :1.0 worked yesterday but today.. slackist Linux - General 3 05-12-2005 10:35 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration