[ale] Network Connection - Lack Thereof
Stephen R. Blevins
stephen.r.blevins at gmail.com
Sun Nov 6 20:50:54 EST 2016
Thanks. I'll give your suggestions a try.
Stephen R. Blevins
stephen.r.blevins at gmail.com
On 11/06/2016 07:12 PM, Phil Turmel wrote:
> On 11/06/2016 06:45 PM, Jim Kinney wrote:
>> So the kernel changed and now uses the bus designations for nics.
>
> Actually, that's udev's name slot ruleset.
>
>> ifconfig shows *no* eth0, just enp63s0 for the already-known MAC address.
>>
>> System was working fine yesterday, but when we attempted to boot up
>> today, it has been going bonkers.
>>
>> Ideas for me to try?
>
> Replace eth0 with enp63s0 in your network config files.
>
> Possibly use a custom name rule to use a name of your choice. It would be unwise to keep using eth0, as that name can no longer be trusted to be the expected interface. (That's been true for a while now, but many systems have fairly repeatable boot sequences.) Note that you can still make the board-level rules available as a fallback.
>
> Here's a trimmed sample from my custom rule file in /etc/udev/rules.d/80-net-name-slot.rules
>
> ######## Cut here ###########
>
> ACTION!="add", GOTO="net_name_slot_end"
> SUBSYSTEM!="net", GOTO="net_name_slot_end"
>
> # Pavilion dv6 PCI device 0x8086:/sys/devices/pci0000:00/0000:00:1c.1/0000:0d:00.0 (iwlwifi)
> ATTR{address}=="4c:eb:42:98:22:77", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="wifi1"
>
> # AsusTek USB-AC56 USB3 Dual Band Wifi 40:16:7e:b7:98:93 (8812au)
> ATTR{address}=="40:16:7e:b7:98:93", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="wifi2"
>
> # ZBook PCI device 00:19.0 (e1000e)
> ATTR{address}=="ec:b1:d7:c1:70:cd", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="lan1"
>
> # PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:1c.0/0000:07:00.0 (r8169)
> ATTR{address}=="00:00:00:00:00:89", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="lan2"
>
> # ZBook PCI device 5c:00.0 (iwlwifi)
> ATTR{address}=="80:19:34:32:fb:77", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="wifi1"
>
> NAME!="", GOTO="net_name_slot_end"
>
> IMPORT{cmdline}="net.ifnames"
> ENV{net.ifnames}=="0", GOTO="net_name_slot_end"
>
> NAME=="", ENV{ID_NET_NAME_ONBOARD}!="", NAME="$env{ID_NET_NAME_ONBOARD}"
> NAME=="", ENV{ID_NET_NAME_SLOT}!="", NAME="$env{ID_NET_NAME_SLOT}"
> NAME=="", ENV{ID_NET_NAME_PATH}!="", NAME="$env{ID_NET_NAME_PATH}"
>
> LABEL="net_name_slot_end"
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
More information about the Ale
mailing list