Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the weblog My expedition into AMD64: Section 1


Re: My expedition into AMD64: Section 1
Posted by Anonymous (2001:6b0:23:1006:208:74ff:fead) on Tue 26 Jun 2007 at 21:34
I think it has to do with a redesign of I/O in Linux kernel. Long time since I looked into this myself. You should prob. name your devices wan and lan instead of eth0 and eth1. I have done that myself. I don't remember which is the "Debian" way of those two files I have changed.

This is what I used:
$ more /etc/udev/rules.d/010_local.rules
# /etc/010_local.rules pcn-2335

ACTION!="add",          GOTO="local_rules_end"
SUBSYSTEM!="net",       GOTO="local_rules_end"

# Dell 3Com 3c905C-TX/TX-M  [Tornado]  internal Ehernet
# hig-lan mac 00:B0:D0:23:A8:D2
# PCI bus 3Com 3c905 100BaseTX  [Boomerang]  card
# loc-lan mac 00:60:97:A7:F7:19

KERNEL=="eth*", SYSFS{address}=="00:b0:d0:23:a8:d2",   NAME="hig-lan"
KERNEL=="eth*", SYSFS{address}=="00:60:97:a7:f7:19",   NAME="loc-lan"


LABEL="local_rules_end"

# eof

and
$ more /etc/udev/rules.d/z25_persistent-net.rules
# 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.

# PCI device 10b7:9050 (3c59x)
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", SYSFS{address}=="00:60:97:a7:f7:19", NAME="loc-lan"

# PCI device 10b7:9200 (3c59x)
ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", SYSFS{address}=="00:b0:d0:23:a8:d2", NAME="hig-lan"

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search