LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-10-2009, 03:28 PM   #1
vosk519
LQ Newbie
 
Registered: Jan 2009
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
eth0 missing


Slackware 12.1 ethernet was working perfectly, until one day the motherboard dies and was replaced with another (both old and new ASUS A8V Deluxe). Now, eth0 isn't anywhere to be seen. My on-board ethernet is the "Marvell Yukon 88E8001/8003/8010 Gigabit Ethernet Controller".

Windows XP x64 can use the on-board ethernet just fine.

Can changing a motherboard, even if it's the same model, cause eth0 to not be found by ifconfig in Linux?

When I run "ifconfig -a", all I see is "lo" (loopback) and "eth1". My "eth0" disappeared.

I haven't even been using Slackware after the motherboard died, until today.

When I do "modprobe" and "lsmod", "sk98lin" is not shown in the output - however I don't know 100% if it was even there before the motherboard died. And as far as I know, "sk98lin" is needed for the ethernet controller I want to use.

I have checked some other threads, I'll continue to do so, but I'd like to do some poking around in Linux some more. (I have to get on Windows to browse internet at the moment.)

Thank you for any help you can give me.
 
Old 01-10-2009, 03:45 PM   #2
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
Can you post output of lspci

Last edited by Nikosis; 01-10-2009 at 04:27 PM.
 
Old 01-10-2009, 04:03 PM   #3
vosk519
LQ Newbie
 
Registered: Jan 2009
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
I honestly don't see any point but ok...

Code:
00:0a.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
00:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
I could probably paste the whole output, but I would need to save to file and copy to Windows.
 
Old 01-10-2009, 04:28 PM   #4
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
Quote:
Can changing a motherboard, even if it's the same model, cause eth0 to not be found by ifconfig in Linux?
It might because your net has different mac address now.

If it shows eth1, I think it might be naming problem only
I would try to modify /etc/udev/rules.d/70-persistent-net.rules
if there are two lines there (eth0 and eth1) just comment out the one that says eth0, and change the name of second from eth1 to eth0
 
Old 01-10-2009, 04:38 PM   #5
vosk519
LQ Newbie
 
Registered: Jan 2009
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, I was thinking something similar myself too.
It seems very likely to me. I'll go try it.

Last edited by vosk519; 01-10-2009 at 04:41 PM.
 
Old 01-10-2009, 05:04 PM   #6
vosk519
LQ Newbie
 
Registered: Jan 2009
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, I changed "eth1" to "eth0" and commented out the eth0 one, rebooted and still doesn't work; it says now it can't start the device.
Mind you, eth0 was the FireWire and eth1 was my Marvell Yukon...

"eth1" is using "skge", at least I think that's what it was.

(Windows XP also detects the FireWire (IEEE 1394) and the Gigabit LAN (Marvell Yukon 88E8001).)

Last edited by vosk519; 01-10-2009 at 05:26 PM.
 
Old 01-10-2009, 07:34 PM   #7
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
Original error outputs would be helpful
What ifconfig -a shows now
Did you rerun netconfig
 
Old 01-10-2009, 07:38 PM   #8
vosk519
LQ Newbie
 
Registered: Jan 2009
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
I didn't run netconfig at all, can't seem to find where it's located. (Saw it mentioned on forum already too.)

ifconfig -a shows "lo" and "eth0" with the changes you instructed me to make. Without changes, it shows "lo" and "eth1".

I'll see if I can get the exact error messages for you too. (Having one computer to do this on requires me to do alot of rebooting Windows and Linux.)

Last edited by vosk519; 01-10-2009 at 07:40 PM.
 
Old 01-10-2009, 08:16 PM   #9
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
make a copy of /etc/udev/rules.d/70-persistent-net.rules
delete file 70-persistent-net.rules
reboot your system
 
Old 01-11-2009, 12:15 AM   #10
vosk519
LQ Newbie
 
Registered: Jan 2009
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
Deleted the file, rebooted, ran "netconfig" and typed in all the settings, rebooted -- did "ifconfig eth0 192.168.2.20" -- I now can access the other LAN machines, just not get on the internet.
 
Old 01-11-2009, 12:35 AM   #11
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
There is no need for
Quote:
ifconfig eth0 192.168.2.20
Everything suppose to be done by netconfig ip address, gateway, dhcp.
What kind of network connection do you have?

Last edited by Nikosis; 01-11-2009 at 12:36 AM.
 
Old 01-11-2009, 01:01 AM   #12
vosk519
LQ Newbie
 
Registered: Jan 2009
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
I used that line because the README file for the sk98lin told me to do so, "Manual Load of Module", although I didn't install the module, as it already existed.

I have a DSL broadband connection.

I also found out why I couldn't get on the internet; for whatever crazy reason, files on my hard drive change their attributes by themselves - they lose their "Executable" flag. In this case, "resolv.conf" wasn't executable... Why does that happen? o_O

Anyway, I'm on the internet again, I really appreicate your help, you did point me in the right direction, thanks!
 
Old 01-11-2009, 01:20 AM   #13
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
Quote:
I also found out why I couldn't get on the internet; for whatever crazy reason, files on my hard drive change their attributes by themselves - they lose their "Executable" flag. In this case, "resolv.conf" wasn't executable... Why does that happen? o_O
resolv.conf doesn't have to be executable
 
Old 01-11-2009, 07:31 AM   #14
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
If it's sorted not much point to this, but I have a new asus mboard and you just use eth1 instead of eth0, have no idea why.
 
Old 01-11-2009, 10:00 PM   #15
vosk519
LQ Newbie
 
Registered: Jan 2009
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
If I remove the executable flag from "resolv.conf", I lose my internet, since my "Default Gateway" gets set to "" (nothing).

I won't question it, I just know it's working now.
 
  


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
eth0 missing?? mega386 Slackware 4 04-12-2006 06:55 PM
eth0 (and modules?) missing zaimor Slackware - Installation 1 10-28-2005 03:56 PM
eth0 missing ticky87 Linux - Networking 3 10-18-2005 03:30 AM
Missing eth0 digity Linux - Networking 8 06-15-2005 07:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:38 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