Apparently, changing the hostname via the Onion Console > Settings > General Settings works, even if changing it via command line does not. Solved!
Best posts made by Andy Forceno
Latest posts made by Andy Forceno
RE: Can't change hostname [Solved]
Can't change hostname [Solved]
I can set the hostname with
uci set system.@system.hostname=your-host-nameand
uci show system.@system.hostnamewill display the correct hostname, but I still have to access Omega2 from old-hostname.local. This is after executing
uci commit, restarting avahi, and rebooting for good measure. The prompt on the command line also still displays the old hostname. I confirmed that Omega2 is rebooting by watching it via serial terminal. I just reflashed my Omega2 today with the latest firmware, so it's a fresh install. Any idea what's going on here?
Setup Wizard Loop
The setup wizard on my my Omega2+ is stuck in a loop. Each time I run through the wizard, it says it's installing the console, but it never installs. If I refresh the page, it takes me back to the beginning of the wizard. This began after I did a factory reset using the reset button. If it helps, here is the relevant portion of /etc/config/onion:
config console 'console'
option editor '0'
option terminal '1'
option webcam '0'
option nodered '0'
option setup '1'
option install '1'
RE: How to configure Dropbear for key-based auth only?
I had not seen that. Thank you, that is just what I was looking for!
How to configure Dropbear for key-based auth only?
I would like to disable Dropbear's password authentication so that it uses key-based authentication only. This is how I configure all of my Linux hosts (normally though sshd). I have already manually exchanged keys between Omega2 and the other hosts. I'm not sure how to configure Dropbear appropriately, though. It seem the '-s' (disable password auth) and '-g' (disable password logins for root_ arguments are what I want, I'm just not sure how to correctly edit /etc/init.d/dropbear to make the necessary changes. Thanks!