LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-12-2018, 12:31 AM   #1
WetFroggy
Member
 
Registered: Jul 2008
Posts: 62

Rep: Reputation: 0
asrock taichi x399 "dual lan" network 'annoyance'


Just recently updated my 10yr old hardware to a ryzen-based system, and I was having a bit of difficulty bringing the network up. I admit the last time I couldn't bring up a network was on a 486 machine, so I was/am flying a bit foggy here.

I HAD managed to get it working once, but upon reboot, and re-doing the steps I wrote down, nothing - gone.

What I had discovered:
ifconfig -a shows
eth1 eth2 loopback wlan0 (notice no eth0? I'll honestly admit I didn't notice for 20 min.)

inet1.conf has an entry for eth0

router has the new mac address for one of them (asrock doesnt make it clear which is lan1 or lan2, so its a bit of a guess)

while the loading messages go flying past, igb (which seems to be the network module? or so says a ubuntu page with similar toubles) is grabbing and changing:
igb 0000:04:00.0 eth126: renamed from eth0
igb 0000:04:00.0 eth2: renamed from eth126

Locating and learning the above, i've modified rc.inet1.conf
eth2 to use_dhcp="yes"

hung a bit, failed; moved the cable, tried again it worked.

---

So I supposed the question is, WHY, why is igb moving eth0 over to eth126 over to eth2?

Why doesn't it report similarily with the other lan connection (or is it already eth1? I never did check)? Does this have to do with the ioumm grouping thingy I've briefly heard about? Is there a way to prevent or change this rather unexpected behaviour? (eth0 decides it wishes to be eth2!)

Perhaps this is normal? I don't know.
 
Old 12-12-2018, 04:16 AM   #2
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
You should check and probably edit /etc/udev/rules.d/70-persistent-net.rules which keeps a record of of network interface addresses and the names (eth0, eth1, ...) which have been assigned to them when they were first discovered. These assignments are looked up and replicated at each boot (maintaining consistency across reboots). My guess is that your .rules file will have eth0 assigned to the interface from your previous mobo, then eth1 & eth2 assigned to interfaces on your new mobo. You can edit the .rules file - remove the eth0 entry, then change the remaining assigments to eth0 & eth1. If you don't know which interface relates to a particular cable socket, trial and error will show whether you assign the names correctly. If it's wrong, swap the names over (and reboot), or just swap the cable to the other socket.

chris
 
1 members found this post helpful.
Old 12-12-2018, 07:20 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,

Or you can remove '/etc/udev/rules.d/70-persistent-net.rules' and then reboot system to generate a new '/etc/udev/rules.d/70-persistent-net.rules' file.

Hope this helps.
Have fun & enjoy!
 
1 members found this post helpful.
Old 12-12-2018, 05:20 PM   #4
WetFroggy
Member
 
Registered: Jul 2008
Posts: 62

Original Poster
Rep: Reputation: 0
Thank you! Okay, was not aware of the udev rules portion, I will reboot and let it rebuild.

*IF* it doesn't work, I have an additional possible path to track. Started the machine up today, nothing physically changed from last session, and the _other_ lan port suddenly became eth2 and the previous working one was now eth1.

I think I have run into this before (oddly, back on the 486 and 3 same model nics). Polling Order? Will see how udev finds the port(s) after a few restarts.

--

It rebuilt the file, shows the correct ports with correct MACs. Thank you!

Last edited by WetFroggy; 12-12-2018 at 05:41 PM.
 
  


Reply



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
X399 nvidia/kepler nouveau and kernel 4.9 vs 4.14 slacker72 Slackware 4 02-13-2018 01:55 AM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
SELinux "Multiple same specifications" annoyance lonecrow Linux - Software 1 06-09-2007 12:12 AM
Asrock 939 Dual Sata2 Installation Problem Nekromaan Linux - Hardware 0 05-25-2006 03:05 AM
asrock dual sata II Integrated NIC not connecting sniperhf Linux - Hardware 1 03-02-2006 02:14 PM

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

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