[mythtv-users] May have found a cause for a bug I am experiencing with the verison of 0.24 that will eventually become 0.25

Douglas Peale Douglas_Peale at comcast.net
Tue Sep 20 17:13:54 UTC 2011


On 09/20/2011 09:27 AM, Eric Sharkey wrote:
> On Tue, Sep 20, 2011 at 10:41 AM, Douglas Peale
> <Douglas_Peale at comcast.net> wrote:
>> I have two network interfaces: eth0 and eth1. Currently, eth0 is connected to the internet. Will their names swap around like
>> the video0 and video1 do? Will I have to make another udev rule to make this work reliably?
> This may vary by distribution, but I know that on Debian, the udev
> rules for network cards are written automatically so that they don't
> swap around.  If your system isn't configured to do that, then you
> should write the udev rules yourself, otherwise it is a security risk.
>  If you have ports open for services on an internal network, and the
> cards were to swap, you'd suddenly have ports open on the internet
> side, and that wouldn't be good.
>
> Eric
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
Yes there does appear to be a set of udev rules for NICs already:

$ cat 70-persistent-net.rules
# This file maintains persistent names for network interfaces.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-persistent-net-generator.rules
# file; however you are also free to add your own entries.

# PCI device 0x11ab:0x4364 (sky2)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:23:54:91:05:f4", ATTR{dev_id}=="0x0", ATTR{type}=="1",
KERNEL=="eth*", NAME="eth0"

# PCI device 0x11ab:0x4364 (sky2)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:23:54:91:05:f3", ATTR{dev_id}=="0x0", ATTR{type}=="1",
KERNEL=="eth*", NAME="eth1"



Thanks.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://www.mythtv.org/pipermail/mythtv-users/attachments/20110920/271d7ef9/attachment.bin 


More information about the mythtv-users mailing list