From mboxrd@z Thu Jan 1 00:00:00 1970 From: E2Erdem Date: Mon, 21 May 2007 10:46:41 +0000 Subject: NIC configuration problem Message-Id: <1179744401.5224.14.camel@localhost> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, I want to use static IP for my network card. But I can't. On every reboot my UDEV sets another name (eth1 to eth10) for my NIC and uses DHCP. I configured my interface file properly: ## /etc/network/interfaces -- allow-hotplug eth0 auto eth0 iface eth0 inet static address 10.0.0.1 netmask 255.255.255.0 network 10.0.0.0 broadcast 10.0.0. -- ## But it seems UDEV doesn't look there. When I try to restart network manualy I get this error: eth0: ERROR while getting interface flags: No such device My OS is Debian GNU/Linux with AMD64 kernel. My UDEV version is 0.105-4. ## /etc/udev/rules.d/z25_persistent-net.rules # PCI device 0x10de:0x03ef (forcedeth) SUBSYSTEM="net", DRIVERS="?*", ATTRS{address}="00:00:6c:59:8e:df", NAME="eth1" # PCI device 0x10de:0x03ef (forcedeth) SUBSYSTEM="net", DRIVERS="?*", ATTRS{address}="00:00:6c:29:a0:90", NAME="eth2" # PCI device 0x10de:0x03ef (forcedeth) SUBSYSTEM="net", DRIVERS="?*", ATTRS{address}="00:00:6c:0e:3e:48", NAME="eth3" # PCI device 0x10de:0x03ef (forcedeth) SUBSYSTEM="net", DRIVERS="?*", ATTRS{address}="00:00:6c:4e:ce:50", NAME="eth4" # PCI device 0x10de:0x03ef (forcedeth) SUBSYSTEM="net", DRIVERS="?*", ATTRS{address}="00:00:6c:14:b8:98", NAME="eth5" # PCI device 0x10de:0x03ef (forcedeth) SUBSYSTEM="net", DRIVERS="?*", ATTRS{address}="00:00:6c:dd:87:46", NAME="eth6" # PCI device 0x10de:0x03ef (forcedeth) SUBSYSTEM="net", DRIVERS="?*", ATTRS{address}="00:00:6c:00:51:bc", NAME="eth7" # PCI device 0x10de:0x03ef (forcedeth) SUBSYSTEM="net", DRIVERS="?*", ATTRS{address}="00:00:6c:e6:bb:ee", NAME="eth8" ## I'm not on the list, please CC me. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel