* 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* Re: NIC configuration problem
2007-05-21 10:46 NIC configuration problem E2Erdem
@ 2007-05-21 11:03 ` Marco d'Itri
2007-05-21 12:03 ` E2Erdem
1 sibling, 0 replies; 3+ messages in thread
From: Marco d'Itri @ 2007-05-21 11:03 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1: Type: text/plain, Size: 430 bytes --]
On May 21, E2Erdem <e2erdem@gmail.com> wrote:
> 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.
The forcedeth driver and/or hardware is broken and uses a random MAC
address at each boot. You cannot use MAC-based persistent interface
names. Workaround:
rm -f /etc/udev/rules.d/*_persistent-net*.rules
--
ciao,
Marco
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 286 bytes --]
-------------------------------------------------------------------------
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/
[-- Attachment #3: Type: text/plain, Size: 226 bytes --]
_______________________________________________
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
* Re: NIC configuration problem
2007-05-21 10:46 NIC configuration problem E2Erdem
2007-05-21 11:03 ` Marco d'Itri
@ 2007-05-21 12:03 ` E2Erdem
1 sibling, 0 replies; 3+ messages in thread
From: E2Erdem @ 2007-05-21 12:03 UTC (permalink / raw)
To: linux-hotplug
On Mon, 2007-05-21 at 13:03 +0200, Marco d'Itri wrote:
> On May 21, E2Erdem <e2erdem@gmail.com> wrote:
>
> > 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.
> The forcedeth driver and/or hardware is broken and uses a random MAC
> address at each boot. You cannot use MAC-based persistent interface
> names. Workaround:
> rm -f /etc/udev/rules.d/*_persistent-net*.rules
Thank you.
Removing this files solved my problem. I hope this solution doesn't
create another problem.
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).