From: E2Erdem <e2erdem@gmail.com>
To: linux-hotplug@vger.kernel.org
Subject: NIC configuration problem
Date: Mon, 21 May 2007 10:46:41 +0000 [thread overview]
Message-ID: <1179744401.5224.14.camel@localhost> (raw)
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
next reply other threads:[~2007-05-21 10:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-21 10:46 E2Erdem [this message]
2007-05-21 11:03 ` NIC configuration problem Marco d'Itri
2007-05-21 12:03 ` E2Erdem
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1179744401.5224.14.camel@localhost \
--to=e2erdem@gmail.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.