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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-10-2009, 03:28 PM
|
#1
|
LQ Newbie
Registered: Jan 2009
Distribution: Slackware
Posts: 8
Rep:
|
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.
|
|
|
01-10-2009, 03:45 PM
|
#2
|
Member
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322
Rep:
|
Can you post output of lspci
Last edited by Nikosis; 01-10-2009 at 04:27 PM.
|
|
|
01-10-2009, 04:03 PM
|
#3
|
LQ Newbie
Registered: Jan 2009
Distribution: Slackware
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
01-10-2009, 04:28 PM
|
#4
|
Member
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322
Rep:
|
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
|
|
|
01-10-2009, 04:38 PM
|
#5
|
LQ Newbie
Registered: Jan 2009
Distribution: Slackware
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
01-10-2009, 05:04 PM
|
#6
|
LQ Newbie
Registered: Jan 2009
Distribution: Slackware
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
01-10-2009, 07:34 PM
|
#7
|
Member
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322
Rep:
|
Original error outputs would be helpful
What ifconfig -a shows now
Did you rerun netconfig
|
|
|
01-10-2009, 07:38 PM
|
#8
|
LQ Newbie
Registered: Jan 2009
Distribution: Slackware
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
01-10-2009, 08:16 PM
|
#9
|
Member
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322
Rep:
|
make a copy of /etc/udev/rules.d/70-persistent-net.rules
delete file 70-persistent-net.rules
reboot your system
|
|
|
01-11-2009, 12:15 AM
|
#10
|
LQ Newbie
Registered: Jan 2009
Distribution: Slackware
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
01-11-2009, 12:35 AM
|
#11
|
Member
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322
Rep:
|
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.
|
|
|
01-11-2009, 01:01 AM
|
#12
|
LQ Newbie
Registered: Jan 2009
Distribution: Slackware
Posts: 8
Original Poster
Rep:
|
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!
|
|
|
01-11-2009, 01:20 AM
|
#13
|
Member
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322
Rep:
|
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
|
|
|
01-11-2009, 07:31 AM
|
#14
|
Senior Member
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Rep:
|
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.
|
|
|
01-11-2009, 10:00 PM
|
#15
|
LQ Newbie
Registered: Jan 2009
Distribution: Slackware
Posts: 8
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:38 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
|
|