eth0 is down on laptop after reboot on battery 19 May 2022, 12:15:18 ethernet is blocked by tlp when laptop uses battery. For power saving.tlp.conf has no dedicated option to on/off ethernet as it does for wifi, nfc, bluetooth. It is reasonably suggested - why you don't plug in charger when you can plug wired connection?To make life easier for a user there is no even mention about disabling ethernet in config file. Sometimes such approach can add complexity.If user wants to control manually ethernet or any other PCI device regardless of AC/battery there is an option.Find PCI device address withQuotelspciExclude device addresses from power management in /etc/tlp.conf QuoteRUNTIME_PM_DENYLIST="01:00.0" https://linrunner.de/tlp/settings/runtimepm.html#runtime-pm-denylistBut this option currently does not work and it needs kernel or tlp fix.------------------------------ I use runit. Often after rebootip a - shows eth0 state DOWNThere is no ping to router.After Quoteip link set eth0 downip link set eth0 upnetwork appears.Can tlp optimization for laptop cause the problem?How to configure tlp to let eth0 up on boot? Last Edit: 21 May 2022, 12:30:42 by u0
Re: Dynamic configuration for dhcpcd Reply #1 – 19 May 2022, 19:35:28 If your network interface accidentally goes down, dhcpcd is nothing to do with that. The DHCP client daemon does not establish physical (layer 2) network connection, it uses existing connections. This is probably an issue with network misconfiguration either on your PC or your router. It could also be a hardware issue, again, either on your PC or your router.
Re: Dynamic configuration for dhcpcd Reply #2 – 19 May 2022, 19:53:31 Network is down only after reboot or poweroff. It does not dissapeares during use. Last Edit: 19 May 2022, 20:19:24 by u0
Re: Dynamic configuration for dhcpcd Reply #3 – 19 May 2022, 20:05:00 I don't get exactly what is happening.If your Ethernet interface is down after booting up, then, again, it's either network misconfiguration or hardware issue. DNS settings are applied either on a router side (and then transferred to a PC via DHCP) or directly on your PC.If your computer obtains IP configuration via DHCP, and after that you can't ping your router, then it's highly likely that something is wrong with the router, that's why it doesn't respond.Try another router, if it's available. It's hard to say remotely what exactly is going on, but it seems to me that your router probably meets its decline.
Re: Dynamic configuration for dhcpcd Reply #4 – 19 May 2022, 20:25:44 deleted wrong suggestions Last Edit: 19 May 2022, 21:14:21 by u0
Re: Dynamic configuration for dhcpcd Reply #5 – 19 May 2022, 20:49:41 I booted with SystemrescueCD network works. Booted back to artix - no ping to router.Quoteip link set eth0 downip link set eth0 upEnables connection to router. But with delay.Network is down after reboot. Last Edit: 19 May 2022, 21:18:27 by u0
Re: Network is down after reboot. Reply #6 – 19 May 2022, 22:40:48 Can tlp disable lan?It seems network does not start up on boot when laptop uses battery. Removed tlp - now eth0 is up on boot.But now problem with rfkill blocking wifi must back.Checked few times with enabled/desabled tlp in config file.Looks like developers disabled wired interface for battery saving.But didn't add option in config to enable it manually.There should be option to enable eth0 on battery boot in config. Last Edit: 20 May 2022, 00:53:12 by u0 1 Likes