linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* NIC configuration problem
@ 2007-05-21 10:46 E2Erdem
  2007-05-21 11:03 ` Marco d'Itri
  2007-05-21 12:03 ` E2Erdem
  0 siblings, 2 replies; 3+ messages in thread
From: E2Erdem @ 2007-05-21 10:46 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-21 12:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-21 10:46 NIC configuration problem E2Erdem
2007-05-21 11:03 ` Marco d'Itri
2007-05-21 12:03 ` E2Erdem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).