On 2023/07/16 12:01, Daniel Bauer wrote: --- Are your ethernet devices using hard-linked modules in the kernel or do they load dynamically at runtime? Does your laptop put any of those devices to sleep after some time -- could they come up and search for where they should be? FWIW, I wrote a script to ensure the right drivers are loaded @ system boot -- AND that the right ports are associated with right wires. As an example, I use data something like: (FWIW, built-in mods are hardcoded into my kernel, so they always come up with fixed names). # Links that we _expect_ will come up with right names (built-mods) #Default_good=( $(echo eth{0..1}) ) # store as hash, with intfname as key and it's ethernet addr as the data # if2hw=([eth0]="00:15:17:bf:be:b2" [eth1]="00:15:17:bf:be:b3" # [eth2]="00:26:b9:48:71:e2" [eth3]="00:26:b9:48:71:e4" # [eth4]="a0:36:9f:15:c9:c0" [eth5]="a0:36:9f:15:c9:c2" )
On 2023-07-16 19:01, Daniel Bauer wrote:
Like every 8 days my mini-computer loses cabled network connection (see original post for details). It happened again today.
This doesn't correspond to any dhcp timeout, does it? FWIW -- my dhcp assigns permanent addrs on my net for some random devices that I don't want to have to try to figure out how to program, but do want to have constant names. the dhcp demon knows the hw-addrs of various ethernet devices and assigns them fixed IP addrs (it also has a dynamic range for 'guests') But example(s): Some devices that I want to have 'fixed' names for on my net: host Samsung-TV-LR { hardware ethernet a0:d7:f3:2f:14:aa; fixed-address Samsung-TV-LR.sc.tlinx.org; option host-name "SamsungTV"; } host Sony-BRP-LR { hardware ethernet 00:24:be:54:c3:af; fixed-address Sony-BRP-LR.sc.tlinx.org; option host-name "Sony-BRP-LR"; } --- Anyway, just some random thoughts...I could post my scripts, but they are rather specific to devices on my net....