LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-15-2013, 12:04 PM   #1
unclejed613
Member
 
Registered: Mar 2009
Posts: 352

Rep: Reputation: 32
almost painless machine upgrade


had my machine crash this week, badcap disease in the power supply, so i decided it was time to get a "new" machine... actually it's a refurb. all i did was take my disk out of the dead machine and put it in the new one (along with the video card). half expected to have to reinstall slack or do some major tweaking. as it turned out it was rather painless, it just worked out of the starting gate. except for one thing. i had to look at /var/log/messages to find it.... "renamed eth0 to eth1". after telling wicd that the wired connection was on eth1, i had network again. maybe somebody could explain why eth0 is now eth1....
 
Old 06-15-2013, 12:14 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,357

Rep: Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739
Delete /etc/udev/rules.d/70-persistent-net.rules to remove the dead machine network device entry and reboot.
 
Old 06-15-2013, 12:14 PM   #3
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,001
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
I would assume because you have a different NIC, and so it recognizes it as a different device. The system keeps track of all your network devices it sees, and so still remembers eth0 as your original NIC. I'm too lazy to go grab the machine I have Slackware on, and have never had this trouble so have never looked, but in MANY modern distros, if you wanted to rename your NIC to eth0 you'd edit udev policies. /etc/udev/rules.d/70-persistent-net-rules or the like, rename/remove eth0 and then change eth1 to eth0 (or deleting both to have it recreate). After rebooting, your NIC will be eth0 again.

Last edited by Timothy Miller; 06-15-2013 at 12:15 PM.
 
Old 06-15-2013, 12:33 PM   #4
unclejed613
Member
 
Registered: Mar 2009
Posts: 352

Original Poster
Rep: Reputation: 32
tnx, everything seems to work ok, so i'll leave it as it is (if it works, don't fix it).... i was just wondering why it did that...
 
  


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
Using upgraded machine nearby to upgrade a machine? kedar.mhaswade Linux - General 1 11-09-2009 12:16 AM
Painless AGP video card upgrade recommendation smacfarl Linux - Hardware 1 05-07-2009 11:07 PM
Painless Linux on OS X via virtualisation. marshaw3 Linux - General 4 11-08-2007 01:31 AM
most painless way to upgrade the kernel? dr_zayus69 Linux - Software 19 09-05-2005 12:12 PM
Painless wine install in RH 9 !!! Athlon_Jedi Linux - Software 2 05-21-2003 05:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:22 AM.

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