I'm attempting to create a headless install by enabling the Automation Options in dietpi.txt. However the install halts during "DietPi-Software" due to repeated failed "connection test" attempts.
"ifconfig" shows eth0 is up but has not obtained an IP, if I run "dhclient eth0" the interface is able to obtain an IP, at that point I can "exit" and it will continue with the rest of the install. Also, rebooting will obtain an IP and the install will finish. Any ideas what the issue might be?
Hardware: Odroid-C2
Automated installation failing on "connection test"
Re: Automated installation failing on "connection test"
Hi,
DHCP Server is a ...?
cu
k-plan
Might be, your DHCP Server on LAN react to slow or your LAN performance is bad (packet loss).djjerdog wrote:Any ideas what the issue might be?
DHCP Server is a ...?
cu
k-plan
Re: Automated installation failing on "connection test"
Could also be https://github.com/Fourdee/DietPi/blob/ ... /boot#L171. We dont currently wait for dhclient to terminate. Maybe preventing it from restarting cleanly.k-plan wrote:Hi,
Might be, your DHCP Server on LAN react to slow or your LAN performance is bad (packet loss).djjerdog wrote:Any ideas what the issue might be?
DHCP Server is a ...?
cu
k-plan
I've modified the boot script to fix the above, and debug a little. Can you:
- Write a fresh DietPi image
- Download this file, and place into /boot/dietpi/boot
- Set automation settings and power on.
Can you also upload your dietpi.txt aswell please, remove any keys/pw's?
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Automated installation failing on "connection test"
Hi,
C2 are booting and working really so dammed fast!
Yes, killall -w can as well do the trick!Fourdee wrote:Could also be ...

C2 are booting and working really so dammed fast!
Re: Automated installation failing on "connection test"
k-plan wrote: C2 are booting and working really so dammed fast!

As you probably know, the C2+EMMC is a beast combination. I have one powered up every day for DietPi testing and coding. I couldn't live without one now. When I power up a RPi 3, even with the SD card overclock, it feels like a snail, everytime.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Automated installation failing on "connection test"
Success! I burned a new image with the modified boot file and while it did still fail the connection test 3 or 4 times it then past and continued on.
I notice the connection test says "Max duration of 20 seconds..." but it only seems to wait maybe 1-2 seconds, is this how it is supposed to perform or is that something also to do with the speed of the C2?
Thank you!
I notice the connection test says "Max duration of 20 seconds..." but it only seems to wait maybe 1-2 seconds, is this how it is supposed to perform or is that something also to do with the speed of the C2?
Thank you!
Re: Automated installation failing on "connection test"
Hi,djjerdog wrote: I notice the connection test says "Max duration of 20 seconds..." but it only seems to wait maybe 1-2 seconds, is this how it is supposed to perform or is that something also to do with the speed of the C2?
Thank you!
Thanks for the report.
Yep, it shouldn't take 1-2 seconds, could be a bug in the code, i'll take a look.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Automated installation failing on "connection test"
I have the same error on raspberry pi model B on first boot. Wifi adapter - asus usb n13. Dietpi v130. On previous versions all was working fine. What do i need to do?
Re: Automated installation failing on "connection test"
Ehternet disabled in dietpi.txt, but it exists in .network file, and no wlan0 string.