# Connection refused after reboot

**URL:** <https://dietpi.com/forum/t/connection-refused-after-reboot/2807>\
**Category:** Troubleshooting\
**Created:** [30 December 2018 16:55 UTC](https://dietpi.com/forum/t/connection-refused-after-reboot/2807 "2018-12-30T16:55:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![discmeister](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/a3d4f5/32.png) [@discmeister](https://dietpi.com/forum/u/discmeister)\
**Post date:** [30 December 2018 16:55 UTC](https://dietpi.com/forum/t/connection-refused-after-reboot/2807/1 "2018-12-30T16:55:49Z")

</div>

Hi all,

I’m using an oDroid HC1 and DietPi to downsize my home media server. I’ve successfully installed and booted up, and installed the likes of Samba and qBittorrrent. Then I’ve attached a USB hard disk containing my existing home media server files and started to copy them across to the HC1’s hard disk.

However, as soon as I do a sudo reboot on the machine, it refuses to allow me back in. I just get ‘Connection refused’ - and no amount of power-off resets on the HC1 seems to make any difference. It’s done this twice now.

This is almost certainly me instead of a problem with DietPi, but it seems a strange one. Has anyone any idea why the reboot would be causing such a problem? An issue with booting back up, perhaps, meaning that the OS never gets to the point where it can accept SSH logins?

Hope someone can help.

Kind regards,

Discy

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [4 January 2019 15:54 UTC](https://dietpi.com/forum/t/connection-refused-after-reboot/2807/2 "2019-01-04T15:54:24Z")

</div>

discmeister  
Thanks for your report and sorry for the late reply.

This is why I’m no fans of SBCs without HDMI port: Hard to access local console, if the system does not reach SSH connectivity.

To sort out which step might have caused an issue:

- I guess you went through system reboots before, when installing samba and qbittorrent?
- Did you try to do another reboot just before you start with attaching the HDD and copying the files?

How did you attach/mount the HDD? Via dietpi-drive\_manager or manually using “mount” command or adding it to fstab?  
If an fstab entry has no “nofail” option and the drive is detached, boot will fail, missing the drive.
