Fixing after dietpi-config "dropping connections please wait" dietpi

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
chucklesmcgee
Posts: 18
Joined: Tue Jun 02, 2020 7:19 pm

Fixing after dietpi-config "dropping connections please wait" dietpi

Post by chucklesmcgee »

I tried to change the DNS in dietpi-config on my RaspberryPi4 which I run headless over ethernet. I selected the new DNS and went to apply it, but it started hanging on:

"dropping connections please wait"

For more than 10 minutes. I powered it down but it won't boot back up and I can't SSH into it.

Is there something I should check or edit on the SD card to get it working again?
User avatar
Joulinar
Posts: 2024
Joined: Sat Nov 16, 2019 12:49 am

Re: Fixing after dietpi-config "dropping connections please wait" dietpi

Post by Joulinar »

Hi,

many thanks for your report. Unfortunately as we don't know what happen on your system, it would be goof if you could attach a screen to check for error messages (if available).
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
chucklesmcgee
Posts: 18
Joined: Tue Jun 02, 2020 7:19 pm

Re: Fixing after dietpi-config "dropping connections please wait" dietpi

Post by chucklesmcgee »

Yes, as I run it headless it's a little difficult to get a screenshot.

I restored to a backup, but it's a bit older and is missing some work, mostly just torrent files on qtorrent and a cron file.

I apologize if this is obvious, but where in the file structure are settings related to network configuration found?
User avatar
Joulinar
Posts: 2024
Joined: Sat Nov 16, 2019 12:49 am

Re: Fixing after dietpi-config "dropping connections please wait" dietpi

Post by Joulinar »

/etc/network/interfaces is the location for network config's
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
chucklesmcgee
Posts: 18
Joined: Tue Jun 02, 2020 7:19 pm

Re: Fixing after dietpi-config "dropping connections please wait" dietpi

Post by chucklesmcgee »

Here's what I found in dietpi-boot.log

Code: Select all

[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Boot | [0m[90mSat Aug  8 10:17:20 CDT 2020 | Waiting for valid network connection before continuing boot | Mode=2
[0m
[J[0m[90m[[0m[32m  OK  [0m[90m][0m [90mDietPi-Boot | [0mSat Aug  8 10:17:20 CDT 2020 | Valid network connection found
[0m
[J[0m[90m[[0m[33m .... [0m[90m][0m [90mDietPi-Run_NTPD | [0msystemctl restart systemd-timesyncd[0m
[J[0m[90m[[0m[32m  OK  [0m[90m][0m [90mDietPi-Run_NTPD | [0msystemctl restart systemd-timesyncd
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (1/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (2/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (3/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (4/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (5/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (6/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (7/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (8/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (9/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (10/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (11/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (12/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (13/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (14/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (15/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (16/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (17/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (18/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (19/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (20/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (21/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (22/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (23/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (24/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (25/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (26/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (27/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (28/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (29/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (30/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (31/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (32/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (33/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (34/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (35/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (36/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (37/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (38/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (39/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (40/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (41/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (42/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (43/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (44/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (45/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (46/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (47/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (48/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (49/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (50/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (51/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (52/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (53/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (54/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (55/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (56/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (57/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (58/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (59/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mWaiting for completion of systemd-timesyncd (60/60)
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mTimed out waiting for systemd-timesyncd
[0m
[J[0m[90m[[0m[31mFAILED[0m[90m][0m Network time sync | An issue has occurred
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90mPlease check the service status for more information:
[0m
[J[0m[90m[[0m INFO [0m[90m][0m [90mDietPi-Run_NTPD | [0m[90m - systemctl -l status systemd-timesyncd
[0m
chucklesmcgee
Posts: 18
Joined: Tue Jun 02, 2020 7:19 pm

Re: Fixing after dietpi-config "dropping connections please wait" dietpi

Post by chucklesmcgee »

Joulinar wrote: Sun Aug 09, 2020 2:29 am /etc/network/interfaces is the location for network config's
Ah looks good, looks like it got set to a static IP. I'll fix that and see what happens.
User avatar
Joulinar
Posts: 2024
Joined: Sat Nov 16, 2019 12:49 am

Re: Fixing after dietpi-config "dropping connections please wait" dietpi

Post by Joulinar »

yap looks like wrong network config if it switched to static. i guess you are using different subnet ;)
probably switching to dhcp will fix it.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
chucklesmcgee
Posts: 18
Joined: Tue Jun 02, 2020 7:19 pm

Re: Fixing after dietpi-config "dropping connections please wait" dietpi

Post by chucklesmcgee »

Ok I'm dumb. I have the files from the main partition on my Windows laptop, as well as a .img of that partition. What's the easiest way to edit that config file in ext4 and then get it on the pi that's running a much older backup?

FTP the files over to an attached hard drive on the RPi, edit the network file then dietpi-backup from that to restore the system?


{EDIT: Pulled out my old linux laptop and edited there, popped it in and it appears to be up and running!}
Post Reply