Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Want to get rid of eth1_rename [SOLVED] (udev103 and network

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
dhave
Apprentice
Apprentice
User avatar
Posts: 298
Joined: Fri Oct 28, 2005 4:03 pm
Location: Still outside the Matrix ...

Want to get rid of eth1_rename [SOLVED] (udev103 and network

  • Quote

Post by dhave » Mon Dec 04, 2006 1:38 pm

I've suddenly lost my eth1 device, which is used for my wireless connection. It's been replaced by eth1_rename. I understand from other posts that udev is causing this, but I haven't yet gotten clear on just how to straighten things out.

I'd like to get eth1 back rather than change my wireless utilities to eth1_rename.

I haven't added new devices, so this must be due to a udev upgrade.

[edit - stuck by NeddySeagoon 091206 22:45 ]
Last edited by dhave on Mon Dec 04, 2006 6:04 pm, edited 1 time in total.
This space available!
Top
dhave
Apprentice
Apprentice
User avatar
Posts: 298
Joined: Fri Oct 28, 2005 4:03 pm
Location: Still outside the Matrix ...

  • Quote

Post by dhave » Mon Dec 04, 2006 1:55 pm

Mod: If you think this post fits better in Networking and Security, please move it. I wasn't sure where to post it, since it's really a udev question. Thanks.
This space available!
Top
richfish
Apprentice
Apprentice
Posts: 202
Joined: Fri Mar 03, 2006 4:19 am
Location: Phoenix, AZ

  • Quote

Post by richfish » Mon Dec 04, 2006 5:43 pm

If you have udev-103, the easiest thing to do is run "/lib/udev/write_net_rules all_interfaces". Then change the eth0/eth1 naming in /etc/udev/rules.d/70-persistent-net.rules as necessary.
Top
dhave
Apprentice
Apprentice
User avatar
Posts: 298
Joined: Fri Oct 28, 2005 4:03 pm
Location: Still outside the Matrix ...

  • Quote

Post by dhave » Mon Dec 04, 2006 6:04 pm

richfish wrote:If you have udev-103, the easiest thing to do is run "/lib/udev/write_net_rules all_interfaces". Then change the eth0/eth1 naming in /etc/udev/rules.d/70-persistent-net.rules as necessary.
Thank you, richfish. That worked perfectly.
This space available!
Top
mikegpitt
Advocate
Advocate
User avatar
Posts: 3224
Joined: Sat May 22, 2004 6:49 pm

  • Quote

Post by mikegpitt » Wed Dec 20, 2006 4:27 pm

Will this eventually be a part of the udev ebuild, or will this need to be run seperately from now on?
Top
irondog
l33t
l33t
User avatar
Posts: 715
Joined: Mon Jul 07, 2003 1:41 pm
Location: Voor mijn TV. Achter mijn pc.

  • Quote

Post by irondog » Sun Dec 24, 2006 11:59 am

This is just a work-around for a bug in UDEV.
I've written a patch to fix the issue:
http://bugs.gentoo.org/show_bug.cgi?id=158531

I have been ignored with this bug, but the proper way to fix the bug is to fix the C code, not to alter the configuration.
Alle dingen moeten onzin zijn.
Top
broken_chaos
Guru
Guru
Posts: 370
Joined: Wed Jan 18, 2006 7:47 am
Location: Ontario, Canada

  • Quote

Post by broken_chaos » Sun Dec 24, 2006 5:21 pm

irondog wrote:I have been ignored with this bug, but the proper way to fix the bug is to fix the C code, not to alter the configuration.
You might get more attention when you say you've actually tested it and it works, instead of implying that you haven't actually used your own fix yet, letalone that it works properly.
Top
ferg
Guru
Guru
User avatar
Posts: 542
Joined: Fri Nov 15, 2002 9:38 am
Location: Cambridge, UK
Contact:
Contact ferg
Website

  • Quote

Post by ferg » Sun Apr 29, 2007 7:29 pm

I got bitten with this whilst adding a new Gigabit NIC to my Mythtv Gentoo box. I wondered why my NIC was not getting recognised as eth0 even though the onboard NIC was disabled in BIOS.

Switching the two lines for each card worked in

Code: Select all

/etc/udev/rules.d/70-persistent-net.rules
Ta!

Cheers
Ferg
Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!"
Top
irondog
l33t
l33t
User avatar
Posts: 715
Joined: Mon Jul 07, 2003 1:41 pm
Location: Voor mijn TV. Achter mijn pc.

  • Quote

Post by irondog » Sun Apr 29, 2007 8:21 pm

With a non-buggy udev you'll not need to do that. :)
Alle dingen moeten onzin zijn.
Top
ferg
Guru
Guru
User avatar
Posts: 542
Joined: Fri Nov 15, 2002 9:38 am
Location: Cambridge, UK
Contact:
Contact ferg
Website

  • Quote

Post by ferg » Tue Jun 26, 2007 12:36 pm

Arrrggggghhh!!!!!

Why cannot I learn from past mistakes. I just switched motherboards, and got bitten by this once again. Wondering why my new NIC was not being recognised as ETH0!!

Doh!!

Cheers
Ferg
Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!"
Top
Acidphase
n00b
n00b
Posts: 24
Joined: Fri Jul 15, 2011 4:18 am

Nice

  • Quote

Post by Acidphase » Thu Feb 02, 2012 4:09 pm

I just went through this myself few weeks ago when I switched out my whole rig, luckily I was able to figure it out on my own. I was going
to just delete:

Code: Select all

/etc/udev/rules.d/70-persistent-net.rules
As udev would just make a new one next time you reboot(or restart udev) instead I just opened the file up saw that it was only two lines first line being the interface from my old interface and second line being from the new one.
So at that point said simple enough just delete the first line and change the eth1 to eth0 done. :)
-Acidphase
Top
BrandonKByrne
n00b
n00b
Posts: 2
Joined: Fri Oct 05, 2012 6:35 am

new user

  • Quote

Post by BrandonKByrne » Fri Oct 05, 2012 11:24 am

I am a new user on the forum and look forward to using this forum in the future. I am very new to and am in need of some help.
What "user" and "host" show up in the for that statement? Does that help any? Can you change the password on that user? That would prevent them, and might get the guy in the next cubicle complaining. You could turn on the "general log"; it might give you some extra clues
Top
alexisfab12
n00b
n00b
Posts: 3
Joined: Mon Jun 20, 2022 5:51 am

  • Quote

Post by alexisfab12 » Tue Oct 18, 2022 12:07 am

thanks , great space here.. :D :D :D
Top
Post Reply

13 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic