View previous topic :: View next topic |
Author |
Message |
dhave Apprentice
Joined: 28 Oct 2005 Posts: 298 Location: Still outside the Matrix ...
|
Posted: Mon Dec 04, 2006 1:38 pm Post subject: Want to get rid of eth1_rename [SOLVED] (udev103 and network |
|
|
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 ] _________________ This space available!
Last edited by dhave on Mon Dec 04, 2006 6:04 pm; edited 1 time in total |
|
Back to top |
|
|
dhave Apprentice
Joined: 28 Oct 2005 Posts: 298 Location: Still outside the Matrix ...
|
Posted: Mon Dec 04, 2006 1:55 pm Post subject: |
|
|
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! |
|
Back to top |
|
|
richfish Apprentice
Joined: 03 Mar 2006 Posts: 202 Location: Phoenix, AZ
|
Posted: Mon Dec 04, 2006 5:43 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
dhave Apprentice
Joined: 28 Oct 2005 Posts: 298 Location: Still outside the Matrix ...
|
Posted: Mon Dec 04, 2006 6:04 pm Post subject: |
|
|
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! |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Wed Dec 20, 2006 4:27 pm Post subject: |
|
|
Will this eventually be a part of the udev ebuild, or will this need to be run seperately from now on? |
|
Back to top |
|
|
irondog l33t
Joined: 07 Jul 2003 Posts: 715 Location: Voor mijn TV. Achter mijn pc.
|
Posted: Sun Dec 24, 2006 11:59 am Post subject: |
|
|
This is just a work-around for a bug in UDEV.
I've written a patch to fix the issue:
https://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. |
|
Back to top |
|
|
broken_chaos Guru
Joined: 18 Jan 2006 Posts: 370 Location: Ontario, Canada
|
Posted: Sun Dec 24, 2006 5:21 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
ferg Guru
Joined: 15 Nov 2002 Posts: 540 Location: Cambridge, UK
|
Posted: Sun Apr 29, 2007 7:29 pm Post subject: |
|
|
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: | /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!" |
|
Back to top |
|
|
irondog l33t
Joined: 07 Jul 2003 Posts: 715 Location: Voor mijn TV. Achter mijn pc.
|
Posted: Sun Apr 29, 2007 8:21 pm Post subject: |
|
|
With a non-buggy udev you'll not need to do that. _________________ Alle dingen moeten onzin zijn. |
|
Back to top |
|
|
ferg Guru
Joined: 15 Nov 2002 Posts: 540 Location: Cambridge, UK
|
Posted: Tue Jun 26, 2007 12:36 pm Post subject: |
|
|
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!" |
|
Back to top |
|
|
Acidphase n00b
Joined: 15 Jul 2011 Posts: 24
|
Posted: Thu Feb 02, 2012 4:09 pm Post subject: Nice |
|
|
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: | /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 |
|
Back to top |
|
|
BrandonKByrne n00b
Joined: 05 Oct 2012 Posts: 2
|
Posted: Fri Oct 05, 2012 11:24 am Post subject: new user |
|
|
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 |
|
Back to top |
|
|
alexisfab12 n00b
Joined: 20 Jun 2022 Posts: 3
|
Posted: Tue Oct 18, 2022 12:07 am Post subject: |
|
|
thanks , great space here.. |
|
Back to top |
|
|
|