FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-26-2008, 02:42 AM
Account for Debian group mail
 
Default udev z25_persistent-net.rules problem

Hello,

New machine running the vmlinuz-2.6.18-6-amd64 kernel and 4 GB of ram.

I set up the /etc/network/interfaces file up as such:
--------------------------------------------------------------------------------
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 209.102.12x.xx
netmask 255.255.255.0
network 209.102.124.0
broadcast 209.102.124.255
gateway 209.102.12x.x
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 20x.129.4x.2x 20x.10x.12x.xx 20x.10x.12x.xx
dns-search pcez.com

(The numbers are changed to protect the innocent)
-----------------------------------------------------------------------------------

The /etc/udev/rules.d/z25_persistent-net.rules file looks like this the
first time you boot it up?
----------------------------------------------------------------------------------
# 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 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:98:68:74", NAME="eth0"
---------------------------------------------------------------------------------

The next time it boots up the machine does not recognize eth0
and there is a eth1 added to the above file. If I change the
/etc/network/interfaces file to eth1 and do a ifup -a there is the
Internet.

Each time the machine is booted up the number climbs eth1 eth2 eth3 ...
etc.

Below is the z25_persistent-net.rules after 11 reboots, and if you want
the ethernet to work you need to bump up the eth? in the interfaces file.

If you remove the z25_persistent-net.rules file when you reboot it will
set the ethernet to eth0.

Any ideas?

What I have done just so I can run the machine is to remove the
z25_persistent-net.rules file as part of the reboot process. This works.

Thanks,

Ken

-------------------------------------------------------------------
# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:98:68:74",
NAME="eth0"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:26:35:2a",
NAME="eth1"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:a5:e5:e6",
NAME="eth2"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:71:d8:88",
NAME="eth3"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:f4:d0:22",
NAME="eth4"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:8e:b6:f5",
NAME="eth5"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:b8:bd:71",
NAME="eth6"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:26:5d:d1",
NAME="eth7"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:b5:3a:51",
NAME="eth8"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:a4:57:52",
NAME="eth9"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:02:f1:58",
NAME="eth10"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:be:90:42",
NAME="eth11"



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-26-2008, 02:49 AM
David Parker
 
Default udev z25_persistent-net.rules problem

----- Original Message -----
From: Account for Debian group mail <debian@pcez.com>
Date: Friday, July 25, 2008 10:43 pm
Subject: udev z25_persistent-net.rules problem
To: debian-user@lists.debian.org
>
> The next time it boots up the machine does not recognize eth0
> and there is a eth1 added to the above file. If I change the
> /etc/network/interfaces file to eth1 and do a ifup -a there is the
> Internet.
>
> Each time the machine is booted up the number climbs eth1 eth2
> eth3 ...
> etc.
>

Hi,

This is a problem with the forcedeth driver in etch.* See this post:

http://lists.debian.org/debian-user/2007/10/msg02402.html

I hope this helps.

*** - Dave
 
Old 07-26-2008, 05:50 AM
Account for Debian group mail
 
Default udev z25_persistent-net.rules problem

Dave,

Thanks. The post that said this was fixed in the forcedeth driver in
testing, any idea what this file is called so I can download it and get it
installed?

Thanks again,

Ken


On Fri, 25 Jul 2008, David Parker wrote:

> ----- Original Message -----
> From: Account for Debian group mail <debian@pcez.com>
> Date: Friday, July 25, 2008 10:43 pm
> Subject: udev z25_persistent-net.rules problem
> To: debian-user@lists.debian.org
> >
> > The next time it boots up the machine does not recognize eth0
> > and there is a eth1 added to the above file. If I change the
> > /etc/network/interfaces file to eth1 and do a ifup -a there is the
> > Internet.
> >
> > Each time the machine is booted up the number climbs eth1 eth2
> > eth3 ...
> > etc.
> >
>
> Hi,
>
> This is a problem with the forcedeth driver in etch.* See this post:
>
> http://lists.debian.org/debian-user/2007/10/msg02402.html
>
> I hope this helps.
>
> *** - Dave
>
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-26-2008, 11:59 AM
Florian Kulzer
 
Default udev z25_persistent-net.rules problem

[ Please don't top-post. ]

On Fri, Jul 25, 2008 at 22:50:07 -0700, Account for Debian group mail wrote:
> Dave,
>
> Thanks. The post that said this was fixed in the forcedeth driver in
> testing, any idea what this file is called so I can download it and get it
> installed?

There may be a much simpler solution, provided that you can live with
getting a semi-random MAC address at every reboot: Just change the udev
rule for eth0 to look like this

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:*", NAME="eth0"

and remove all the other ethX rules from the file.

> On Fri, 25 Jul 2008, David Parker wrote:
> > From: Account for Debian group mail
> >
> > > The next time it boots up the machine does not recognize eth0
> > > and there is a eth1 added to the above file. If I change the
> > > /etc/network/interfaces file to eth1 and do a ifup -a there is the
> > > Internet.
> > >
> > > Each time the machine is booted up the number climbs eth1 eth2
> > > eth3 ...
> > > etc.
> > >
> >
> > Hi,
> >
> > This is a problem with the forcedeth driver in etch.? See this post:
> >
> > http://lists.debian.org/debian-user/2007/10/msg02402.html
> >
> > I hope this helps.

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-26-2008, 04:42 PM
Andrei Popescu
 
Default udev z25_persistent-net.rules problem

On Fri,25.Jul.08, 22:50:07, Account for Debian group mail wrote:
> Dave,
>
> Thanks. The post that said this was fixed in the forcedeth driver in
> testing, any idea what this file is called so I can download it and get it
> installed?
>
> Thanks again,

Do you have etch-proposed-updates in your sources.list? I think the
2.6.24 kernel for etch-and-half [1] should already be available.

[1] http://wiki.debian.org/EtchAndAHalf

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
 
Old 07-26-2008, 09:14 PM
David Parker
 
Default udev z25_persistent-net.rules problem

> Thanks. The post that said this was fixed in the forcedeth
> driver in
> testing, any idea what this file is called so I can download it
> and get it
> installed?
>
*
The driver is part of the linux-image-2.6.25.2 kernel package.

*** - Dave
 
Old 07-28-2008, 06:37 PM
Account for Debian group mail
 
Default udev z25_persistent-net.rules problem

Just got it and it solved the problem. After putting in new kernel I had
to remove the "/etc/udev/rules.d/z25_persistent-net.rules" file and it
started working just fine.

Thanks,

Ken



On Sat, 26 Jul 2008, Andrei Popescu wrote:

> On Fri,25.Jul.08, 22:50:07, Account for Debian group mail wrote:
> > Dave,
> >
> > Thanks. The post that said this was fixed in the forcedeth driver in
> > testing, any idea what this file is called so I can download it and get it
> > installed?
> >
> > Thanks again,
>
> Do you have etch-proposed-updates in your sources.list? I think the
> 2.6.24 kernel for etch-and-half [1] should already be available.
>
> [1] http://wiki.debian.org/EtchAndAHalf
>
> Regards,
> Andrei
> --
> If you can't explain it simply, you don't understand it well enough.
> (Albert Einstein)
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 12:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org