LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-11-2008, 02:11 AM   #1
jeya
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Rep: Reputation: 0
Thumbs up eth0:device not found:why ?


hi ,i am running debian linux in vmware 2.0.4. when i try to up eth0 using ifconfig eth0 command it says eth0:device not found but if i type ifconfig alone configurations of eth3 is displayed?what is this meant to be?pls confirm soon
 
Old 12-11-2008, 02:15 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
VMWare has obviously assigned eth3 to this virtual machine. Just configure eth3 in place of eth0
 
Old 12-11-2008, 02:22 AM   #3
jeya
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
thanks for reply,but where should i do the configuration.what do you mean by this.
 
Old 12-11-2008, 02:25 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Are you running a GUI (in which case there will be a network tool you can use) or using the CLI (in which case use ifconfig)
 
Old 12-11-2008, 11:08 AM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
You mention using ifconfig, so just use eth3 instead of eth0.
 
Old 12-11-2008, 02:51 PM   #6
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by jeya View Post
hi ,i am running debian linux in vmware 2.0.4. when i try to up eth0 using ifconfig eth0 command it says eth0:device not found but if i type ifconfig alone configurations of eth3 is displayed?what is this meant to be?pls confirm soon
This can be caused by moving a vm image from one machine or another. Or sometimes weird things happen like that. If you could please post the following to help us out.

1. /etc/modules
2. /etc/network/interfaces
3. /etc/udev/rules.d/<file that has persistent-net.rules

that will give us a good start. Here we should be able to modifiy things to get you back to using eth0
 
Old 12-11-2008, 09:14 PM   #7
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Rep: Reputation: 31
Is there a free version of vmware? Not finding one...

-ab
 
Old 12-11-2008, 11:24 PM   #8
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
look for vmware server. It is free and they do have a version for linux.
 
Old 12-11-2008, 11:35 PM   #9
jeya
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
fwded the information

Quote:
Originally Posted by jstephens84 View Post
This can be caused by moving a vm image from one machine or another. Or sometimes weird things happen like that. If you could please post the following to help us out.

1. /etc/modules
2. /etc/network/interfaces
3. /etc/udev/rules.d/<file that has persistent-net.rules

that will give us a good start. Here we should be able to modifiy things to get you back to using eth0
When I opened the first /etc/modules, I got the following information in the terminal /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
I found there is nothing usefull with this information


i tried the next file /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
auto eth0
iface eth0-work inet dhcp
iface eth1 inet dhcp

iface eth3 inet static
address 192.168.1.200
netmask 255.255.255.0

auto eth3
this was the thing I got

finally, I opened /etc/udev/rules.d/
I found a file z25_persistent-net.rules
This was the result I got!


# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:75:4b:1e", NAME="eth0"

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:26:87:82", NAME="eth1"

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:30:6b:f1", NAME="eth2"

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:88:c2:aa", NAME="eth3"
their can be certain changes that has to be made in this file so as to convert eth3 to eth0
pls assist me in this regard
 
Old 12-12-2008, 01:57 AM   #10
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Well you can change the eth0 and eth3 in the udev file then save and do the same for the interfaces file then reboot and that should switch around everything.
 
Old 12-12-2008, 03:57 AM   #11
jeya
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jstephens84 View Post
Well you can change the eth0 and eth3 in the udev file then save and do the same for the interfaces file then reboot and that should switch around everything.
i tried the same. as follows
in the /etc/network/interfaces

i changed eth3 to eth0 as follows
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
iface eth0-work inet dhcp
iface eth1 inet dhcp

# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:75:4b:1e", NAME="eth0"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:26:87:82", NAME="eth1"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:30:6b:f1", NAME="eth2"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:88:c2:aa", NAME="eth3"
finally ,when i reboot the system in vmware,os says it is not able to read /etc/network/interfaces
but if i give ifconfig
it shows eth0 information alone
i am afraid ,whether i am aliasing eth3 as eth0.
kindly conclude

~
~
~
 
Old 12-12-2008, 09:23 AM   #12
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by jeya View Post
i tried the same. as follows
in the /etc/network/interfaces

i changed eth3 to eth0 as follows
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
iface eth0-work inet dhcp
iface eth1 inet dhcp

# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:75:4b:1e", NAME="eth0"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:26:87:82", NAME="eth1"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:30:6b:f1", NAME="eth2"
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:88:c2:aa", NAME="eth3"
finally ,when i reboot the system in vmware,os says it is not able to read /etc/network/interfaces
but if i give ifconfig
it shows eth0 information alone
i am afraid ,whether i am aliasing eth3 as eth0.
kindly conclude

~
~
~
In your earlier post you had eth3 setup with a Static IP. But it looks like you deleted the entry for the eth3 in your interfaces file.
 
  


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
eth0 device not found starkhorn Fedora 9 09-20-2007 10:24 PM
No device eth0 found Poilar Linux - Networking 2 05-29-2007 07:54 PM
b44 error eth0 "device not found" [fedora 6][Dell] hkernel Linux - Hardware 5 12-13-2006 03:16 PM
Gentoo - eth0: "Device not found" sparka Linux - Networking 1 05-07-2006 10:35 PM
eth0: Device not found!!!! PDD Linux - Networking 6 11-17-2004 03:43 PM

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

All times are GMT -5. The time now is 02:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration