[Gllug] NICs on RHEL 4.0
Russell Howe
rhowe at siksai.co.uk
Mon Nov 13 18:53:58 UTC 2006
On Mon, Nov 13, 2006 at 05:19:19PM +0000, Yashpal Nagar wrote:
> Finally trying to write udev rules based upon mac address:
[snip]
> SYSFS{address}="00:0b:cd:4e:31:c1"
[snip]
> Based upon above i made two rule and put them in
> /etc/udev/rules.d/10-local.rules
Surely the following two lines should be uncommented?
> #SYSFS{address}=="00:0b:cd:4e:31:c1", NAME="eth0"
> #SYSFS{address}=="00:0b:cd:4e:2e:f7", NAME="eth1"
and relying on IRQ to name interfaces, which is what I presume these two
lines are doing should be removed?
> BUS=="pci", SYSFS{irq}=="177", NAME="eth0"
> BUS=="pci", SYSFS{irq}=="185", NAME="eth1"
>
> Both sets above fails stating the above in logs
> Nov 13 17:16:06 Servername udev[7497]: parse error
> /etc/udev/rules.d/10-local.rules, line 3:0, rule skipped
> Nov 13 17:16:06 Servername udev[7497]: parse error
> /etc/udev/rules.d/10-local.rules, line 4:0, rule skipped
>
> does anyone have any clue?
Not me - I've never written a udev rule!
--
Russell Howe | Why be just another cog in the machine,
rhowe at siksai.co.uk | when you can be the spanner in the works?
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list