linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem with network rules
@ 2006-08-11 21:06 Piter PUNK
  2006-08-12  3:53 ` Alexander E. Patrakov
  2006-08-13 14:48 ` Piter PUNK
  0 siblings, 2 replies; 3+ messages in thread
From: Piter PUNK @ 2006-08-11 21:06 UTC (permalink / raw)
  To: linux-hotplug

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
-- 
     |        E-Mail: piterpk@terra.com.br        (personal)
    .|.               roberto.batista@ntux.com.br (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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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: Problem with network rules
  2006-08-11 21:06 Problem with network rules Piter PUNK
@ 2006-08-12  3:53 ` Alexander E. Patrakov
  2006-08-13 14:48 ` Piter PUNK
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander E. Patrakov @ 2006-08-12  3:53 UTC (permalink / raw)
  To: linux-hotplug

Piter PUNK wrote:

> 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.

-- 
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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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: Problem with network rules
  2006-08-11 21:06 Problem with network rules Piter PUNK
  2006-08-12  3:53 ` Alexander E. Patrakov
@ 2006-08-13 14:48 ` Piter PUNK
  1 sibling, 0 replies; 3+ messages in thread
From: Piter PUNK @ 2006-08-13 14:48 UTC (permalink / raw)
  To: linux-hotplug

Alexander E. Patrakov wrote:
> Piter PUNK wrote:
> 
>> 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
-- 
     |        E-Mail: piterpk@terra.com.br        (personal)
    .|.               roberto.batista@ntux.com.br (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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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:[~2006-08-13 14:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-11 21:06 Problem with network rules Piter PUNK
2006-08-12  3:53 ` Alexander E. Patrakov
2006-08-13 14:48 ` Piter PUNK

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).