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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-01-2010, 12:28 PM
|
#1
|
|
Member
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 213
Rep:
|
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
|
|
|
|
07-01-2010, 01:20 PM
|
#2
|
|
Senior Member
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,648
Rep: 
|
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
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.
|
07-01-2010, 01:47 PM
|
#3
|
|
Member
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 213
Original Poster
Rep:
|
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
|
|
|
|
07-01-2010, 02:49 PM
|
#4
|
|
Senior Member
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,648
Rep: 
|
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.
|
|
|
|
07-01-2010, 03:19 PM
|
#5
|
|
Member
Registered: Nov 2007
Location: A place with no mountains
Distribution: Kubuntu, sidux, openSUSE
Posts: 213
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:10 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|