Skip to contentSkip to conversation

Problem with network rules

DISCUSSION Piter PUNK 2 participants 3 messages Aug 11, 2006 – Aug 13, 2006

lore
Share & tools
lore

Piter PUNK

author
#0 lore raw

Hi,

I got from one of our users one strange "log". The guy have
a rule for this card, nameing the card as eth1 but the module doesn't understand that, take a look:

---------------from user-------------------------------------------- [root@localhost rules.d]# cat network-devices.rules
# Local network rules to name your network cards.
# These rules were generated by nethelper.sh, but you can customize

# them if needed.
#
# If you delete this file, /lib/udev/nethelper.sh will try to
# generate it again the next time udev is started.

KERNEL="eth?", SYSFS{address}="00:0e:9b:c5:98:36", NAME="eth0" KERNEL="eth?", SYSFS{address}="00:c0:9f:97:de:1f", NAME="eth1" [root@localhost rules.d]# modprobe sis900 [root@localhost rules.d]# /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:C0:9F:97:DE:1F
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:16 Base address:0x1800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

[root@localhost rules.d]# modprobe -r sis900 [root@localhost rules.d]# modprobe bcm43xx [root@localhost rules.d]# /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0E:9B:C5:98:36
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:22 Base address:0xc000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)
--------------from user------------------------------------

Anyone had a tip of why this thing is happening? The udev is udev-096. And i thanks any help... i had
sis900 cards embedded in my notebook and built-in in a old SiS MotherBoard... and i can't reproduce the error...

Thanks for your help,

Piter PUNK

Signature · 17 lines
     |        E-Mail: [email protected]        (personal)
    .|.               [email protected] (professional)
    /V\
   // \\      UIN:116043354  Homepage:www.openslack.org/~piterpk
  /(   )\
   ^`~'^         ----> Slackware Linux - The Best One! <----
  #105432

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#1 lore raw
Quoted 2 lines · Piter PUNK

KERNEL="eth?", SYSFS{address}="00:0e:9b:c5:98:36", NAME="eth0" KERNEL="eth?", SYSFS{address}="00:c0:9f:97:de:1f", NAME="eth1"

You need linux-2.6.16.x >= 2.6.16.10 for this to work.

Signature · 11 lines
Alexander E. Patrakov

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
author
#2 lore raw
In reply to Piter PUNK
Quoted 7 lines · Alexander E. Patrakov
Quoted 2 lines · Piter PUNK

KERNEL="eth?", SYSFS{address}="00:0e:9b:c5:98:36", NAME="eth0" KERNEL="eth?", SYSFS{address}="00:c0:9f:97:de:1f", NAME="eth1"

You need linux-2.6.16.x >= 2.6.16.10 for this to work.

The kernel in slackware-current is the 2.6.16.27. But, maybe the guy with the problem are using one older version. I will ask to him.

Thanks to give a clue to me -;)

Piter PUNK

Signature · 17 lines
     |        E-Mail: [email protected]        (personal)
    .|.               [email protected] (professional)
    /V\
   // \\      UIN:116043354  Homepage:www.openslack.org/~piterpk
  /(   )\
   ^`~'^         ----> Slackware Linux - The Best One! <----
  #105432

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel