MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.68k stars 491 forks source link

`dietpi-installer` on LePotato pure-Debian Bookworm removes ethernet drivers #6742

Open kx1t opened 8 months ago

kx1t commented 8 months ago

Creating a bug report/issue

Required Information

Additional Information (if applicable)

Steps to reproduce

  1. Install this firmware onto an SD: debian-12-base-arm64+aml-s905x-cc.img.xz
  2. Install OpenSSH-server and enable root login
  3. Check that remote login works
  4. Install DietPi using https://dietpi.com/docs/hardware/#make-your-own-distribution - select either AmLogic S905 or Generic image (same effect with both)
  5. Reboot

Expected behaviour

The ethernet device should be recognized as it was before

Actual behaviour

Ethernet device is not found

Extra details

Device simply not available in /dev/ or with ip a. ifup doesn't make a difference, etc. ip a shows a end0 device that is not addressable with ifup end0 ("unknown interact end0")

ManuVice commented 7 months ago

same problem with Debian Bookworm in a lxc container.

fix:

after reboot no connection. fixed it with script starting after reboot "ifup eth0"

MichaIng commented 6 months ago

Yes, this can be an issue if another network stack is used on the pre-image. If it is NetworkManager, AFAIK it is sufficient to just re-add a DNS nameserver when facing this issue. When you run into an error can you try to "Open subshell" and there:

echo 'nameserver 9.9.9.9' > /etc/resolv.conf
exit

Then "Retry".