That's the thing, I tried that. But it won't work. This is what I get:
> systemctl restart home-assistant
Failed to connect to bus: No such file or directory
Search found 6 matches
- Sun Nov 01, 2020 9:10 pm
- Forum: Troubleshooting
- Topic: Home assistant 404 error
- Replies: 10
- Views: 2435
- Sun Nov 01, 2020 4:05 pm
- Forum: Troubleshooting
- Topic: Home assistant 404 error
- Replies: 10
- Views: 2435
Re: Home assistant 404 error
Hello, I have a similar problem with Home-Assistant on Dietpi. It is running, yet no web interface is available. Netstat tells me nothing is listening on port 8123, which I believe is the port on which it should be listening. I see home assistant running in htop. I have installed using the dietpi in...
- Tue Feb 12, 2019 8:36 pm
- Forum: Troubleshooting
- Topic: How to block SSH root login?
- Replies: 3
- Views: 982
Re: How to block SSH root login?
The setting is not in the file at all. I have therefore added it to the bottom of the file, with the CamelCase notation. Indeed, the error shows only lower case which is not how I entered it. I edited /etc/ssh/ssh_config with nano.
Do you mean me to include the content of the full file here?
Do you mean me to include the content of the full file here?
- Mon Feb 11, 2019 9:56 pm
- Forum: General Discussion
- Topic: Thanks guys!
- Replies: 0
- Views: 1557
Thanks guys!
I just want to express my gratitude to Daniel, MichaIng, K-Plan and other contributors for creating and making available this great and helpful distro for Raspberry Pi -- DIETPI ! After having wrestled with Raspbian for almost two years, having suffered three SD corruptions and being forced to two f...
- Mon Feb 11, 2019 9:44 pm
- Forum: Troubleshooting
- Topic: How to block SSH root login?
- Replies: 3
- Views: 982
How to block SSH root login?
I would like to block root login, i.e. only allow login via ssh cert and dietpi user. The dietpi user then has to su to root to become root. In /etc/ssh/ssh_config I entered: PermitRootLogin no When trying to login I get the following error: Bad configuration option: permitrootlogin Luckily I kept m...
- Sun Feb 10, 2019 2:58 pm
- Forum: General Discussion
- Topic: Automate dietpi-backup
- Replies: 26
- Views: 12057
Re: Automate dietpi-backup
Thanks for the script. However, when I run it as published here, I end up with a 'dietpi-backup-' directory, i.e. a dietpi backup without a number. If you're a Linux scripting beginner like me, this could cause some headaches. I solved it by isolating the new backup number calculation on a seperate ...