[kwlug-disc] Adventures in hacking
Khalid Baheyeldin
kb at 2bits.com
Tue Apr 11 20:54:52 EDT 2023
I have seen cases where the built in Ethernet would not come
up on its own, for an unknown reason.
It will show up in lshw -c net, but would be disabled.
So I resorted to the snippet below in /etc/network/interfaces
with a comment so I don't forget.
(Yes, I never bothered with netplan either)
The two boards I have seen doing this were Gigabyte
F2A88X-D3H (Ethernet was called enp1s0) and the MSI
X570-A Pro (enp39s0)
# IMPORTNAT: This interface MUST be static. It cannot be DHCP !!
# If it is DHCP, then weewx weather station will not start
# DO NOT CHANGE THIS!!!
auto enp39s0
iface enp39s0 inet static
address 192.168.0.x
gateway 192.168.0.1
netmask 255.255.255.0
broadcast 192.168.0.255
dns-nameservers 192.168.0.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20230411/6aec63ff/attachment.htm>
More information about the kwlug-disc
mailing list