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
|
VMWare has obviously assigned eth3 to this virtual machine. Just configure eth3 in place of eth0
|
thanks for reply,but where should i do the configuration.what do you mean by this.
|
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)
|
You mention using ifconfig, so just use eth3 instead of eth0.
|
Quote:
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 |
Is there a free version of vmware? Not finding one...
-ab |
look for vmware server. It is free and they do have a version for linux.
|
fwded the information
Quote:
# # 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 |
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.
|
Quote:
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 ~ ~ ~ |
Quote:
|
All times are GMT -5. The time now is 02:21 AM. |