`dietpi-installer` on LePotato pure-Debian Bookworm removes ethernet drivers
Creating a bug report/issue
Required Information
- DietPi version | 8.23 RC 3
- Distro version | bookworm
- Kernel version |
Linux DietPi 6.1.61-10985-g88acb5e7b94d #1 SMP PREEMPT_DYNAMIC Mon Nov 6 21:24:36 EST 2023 aarch64 GNU/Linux - SBC model | Generic Device (aarch64) (LePotato)
- Power supply used | 5 Amps Anker
- SD card used | SanDisk ultra 64 Gb
Additional Information (if applicable)
- Software title | (EG: Nextcloud)
- Was the software title installed freshly or updated/migrated?
- Can this issue be replicated on a fresh installation of DietPi?
- Bug report ID |
echo $G_HW_UUID
Steps to reproduce
- Install this firmware onto an SD: debian-12-base-arm64+aml-s905x-cc.img.xz
- Install OpenSSH-server and enable root login
- Check that remote login works
- Install DietPi using https://dietpi.com/docs/hardware/#make-your-own-distribution - select either AmLogic S905 or Generic image (same effect with both)
- 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")
same problem with Debian Bookworm in a lxc container.
fix:
- I have to use generic image
- I had to edit /etc/network/interfaces adapter to eth0
- and ifup eth0 did the trick
after reboot no connection. fixed it with script starting after reboot "ifup eth0"
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".