cah Bojonegoro

Sopo sing Was, bakal Tiwas ; Sopo sing Temen, bakal Tinemu

  • Home
  • About
  • My Favorite Music
  • Follow My RSS

udev: renamed network interface eth0 to eth5

March 31st, 2009  |  Published in My Jobs, Ubuntu  |  5 Comments

I have a virtual machine in here used to automate a backup process & reporting purpose. It is an Ubuntu JeOS inside a windows machine using Sun Virtual Box. I create this since they didn’t provide me login to any Unix Machine, instead of they give me a windows PC. Worse, the account didn’t had any administrative privileges. X-(

I managed to request them to installed Sun VirtualBox inside this PC. But the sys admin said to me, do you have the license for this program ?? (doh)

Forget it, it had been installed anyway and It is working for about 2 months.

But today the problem is after i play around with the Virtual Box networking, i ended up with making the Virtual Machine isolated from the outside world. Yes, the only interface detected is only loopback. Where in the earth is eth0 gone.

Several time to change the setting on Virtual box networking, but still didn’t get the etho appear inside the VM. Suspected that the Sun xVM is having problem with its networking, i create another VM using TinyME live CD and i found out that NAT is working properly. So, it is got to be something happened with the Ubuntu JeOS.

From dmesg, i got this error.

heric@jeos:~$ dmesg | grep eth0
[    9.843856] eth0: registered as PCnet/FAST III 79C973
[   15.560583] udev: renamed network interface eth0 to eth5

so, why udev renaming my eth0 to eth5 ?

I check in udev rules & found out that there are several ethernet interface in the in /etc/udev/rules.d/70-persistent-net.rules.

heric@jeos:~$ more /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:e7:d3:34", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:1d:7d:f2", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:f1:14:ae", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:57:65:84", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:af:39:5c", ATTR{type}=="1", KERNEL=="eth*", NAME="eth4"

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:86:50:a8", ATTR{type}=="1", KERNEL=="eth*", NAME="eth5"

I should have only one eth interface in this file. But, as a result playing around with VBox networking, in my Virtual Machine i had 5 udev rules for 5 different ethernet MAC Address, that’s why udev rename my eth0 to eth5, and VirtualBox doesn’t recognized this eth5.

Well, the solution is simple, i remove all udev rules in this file & reboot the machine.
When it is come up, the outside world is visible again (dance)



« « Tip Bekerja dengan Gambar di Blog

The power of apt-get » »


5 Comments to “udev: renamed network interface eth0 to eth5”
  1. kickdavid suka facebook says:
    April 1, 2009 at 4:17 am

    wah, commentnya bisa emoticon nih.
    Nyobain ah.
    (dance) (headspin) (idiot)

    mantap bro (worship)

    Reply
  2. heric says:
    April 1, 2009 at 6:54 am

    hahaha…
    gara2 virus plurk ini jadi begini
    makasih dah mampir gan
    (drinking)

    Reply
  3. Pro Methean says:
    July 31, 2009 at 2:06 am

    Bless you sir, that was driving me nuts.

    - Pro

    Reply
  4. tabouuuu says:
    July 29, 2010 at 12:58 pm

    thks it works

    Reply
  5. tabouuuu says:
    July 29, 2010 at 1:01 pm

    thks so muchhhhhhhhhh

    Reply

Leave a Reply

Click here to cancel reply.

(required)

(required)


:-)) :-) :-D (LOL) :-P (woot) ;-) :-o X-( :-( :-& (angry) (annoyed) (bye) B-) (cozy) (sick) (: (goodluck) (griltongue) (mmm) (hungry) (music) (tears) (tongue) (unsure) (highfive) (dance) (doh) (brokenheart) (drinking) (girlkiss) (rofl) (money) (rock) (nottalking) (party) (sleeping) (thinking) (bringit) (worship) (applause) 8-) (gym) (heart) (devil) (lmao) (banana_cool) (banana_rock) (evil_grin) (headspin) (heart_beat) (ninja) (haha) (evilsmirk) (bigeyes) (funkydance) (idiot) (lonely) (scenic) (hassle) (panic) (okok) (yahoo)

Random Quote

“If you tell the truth, you don’t have to remember anything.” — Mark Twain

Recent Posts

  • Scream Latest Edition
  • Pengalaman Pertama Minta Slip Biru
  • Dan Brown’s Lost Symbol
  • Kompilasi Foto Hasna
  • Selamat Idul Fitri 1430H

Antara Series (3)
Cerpen (1)
domain (2)
Hasna (3)
Hosting (2)
intermezzo (1)
Konsumen (1)
Kuliner (3)
Live in Egypt (10)
My Jobs (2)
My Thought (2)
Photography (10)
PyQt (3)
Rumahku (1)
Social Networking (4)
Telco (6)
Thinkpad (6)
Trip (2)
Ubuntu (38)
Uncategorized (20)
Unix (9)
wordpress (5)

WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

Commentator Reward

Komentar Usil

4,190 spam comments
blocked by
Akismet

Dilbert


©2010 cah Bojonegoro
Powered by WordPress using the Gridline Lite theme by Graph Paper Press
Creative Commons License