Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc how to login to base system lacking #219

Closed
scop opened this issue Oct 15, 2018 · 13 comments
Closed

Doc how to login to base system lacking #219

scop opened this issue Oct 15, 2018 · 13 comments
Labels

Comments

@scop
Copy link
Member

scop commented Oct 15, 2018

https://github.com/home-assistant/hassos/blob/dev/Documentation/network.md#using-nmcli-to-set-a-static-ipv4-address

These instructions start with "Log into the HASSOS base system via a console". But that's not quite enough -- where does one connect the console to? ssh? Which port? My hassos doesn't seem to have anything but port 10010 open. Does one need to install the authorized_keys file as described in https://developers.home-assistant.io/docs/en/hassio_debugging.html#hassos-based-hassio ?

@TonyApuzzo
Copy link
Contributor

TonyApuzzo commented Jan 2, 2019

I think you have 2 options (I'm just a semi-clueless user, so take this with a grain of salt.)

  1. Use the authorized_keys as you described via external USB device
  2. Plug in an HDMI monitor and a USB keyboard and log in directly using the physical console.

I have not tried 2., but I use 1. all the time.

ETA: I have successfully done 2. now too using a Logitech K830 keyboard and an HDMI monitor.

@vincegre
Copy link

vincegre commented Feb 3, 2019

Succeeded to get access at host system with login command ? Login command on my system is doing absolutely nothing unhappy :(

@TonyApuzzo
Copy link
Contributor

If you are logging on to physical console via monitor/keyboard or serial console via TTY (depends on your base device as to what is available) you can just enter the username "root" and no password. It logs you into an extremely simple interface that runs the hassio cmd in a loop. If you then enter login at the hassio prompt then you can enter Linux shell commands to poke around.

Example from a serial console:

Welcome to HassOS
hassio login: root
  _    _                 _
 | |  | |               (_)
 | |__| | __ _ ___ ___   _  ___
 |  __  |/ _` / __/ __| | |/ _ \
 | |  | | (_| \__ \__ \_| | (_) |
 |_|  |_|\__,_|___/___(_)_|\___/

Welcome on Hass.io CLI for HassOS.

For more details use 'help' and 'exit' to close.
If you need access to host system use 'login'.

hassio > ha info
boot: true
custom: false
image: homeassistant/odroid-xu-homeassistant
last_version: 0.87.0b2
machine: odroid-xu
port: 8123
ssl: false
version: 0.86.4
wait_boot: 600
watchdog: true

hassio > login
# uptime
 18:27:46 up 11:13,  load average: 0.00, 0.04, 0.00

@stale
Copy link

stale bot commented Apr 16, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 16, 2019
@scop
Copy link
Member Author

scop commented Apr 22, 2019

I believe this is still not addressed.

@stale stale bot removed the wontfix label Apr 22, 2019
@stale
Copy link

stale bot commented Jun 21, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 21, 2019
@scop
Copy link
Member Author

scop commented Jun 22, 2019

Still not addressed.

@stale stale bot removed the wontfix label Jun 22, 2019
@AtticusG3
Copy link

still not documented

@DubhAd
Copy link
Contributor

DubhAd commented Jun 30, 2019

console means the physical console - you plug in a monitor and keyboard.

@TonyApuzzo
Copy link
Contributor

I am willing to make some documentation updates and request that the core team integrate them, but I don't really understand how to address the lack mentioned by @scop and @AtticusG3. There is documentation although it is quite terse.

Have you tried the suggestions in this thread and been able to login?

@vincegre
Copy link

I am willing to make some documentation updates and request that the core team integrate them, but I don't really understand how to address the lack mentioned by @scop and @AtticusG3. There is documentation although it is quite terse.

Very good idea as at time I had this problem there was none documentation or I was unable to find it :(

Have you tried the suggestions in this thread and been able to login?

You can imagine it's a long time I have reinstalled hass.io from scratch as I could never sort out the problem at that time !

@stale
Copy link

stale bot commented Sep 8, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Sep 8, 2019
@stale stale bot closed this as completed Sep 15, 2019
@sammcj
Copy link

sammcj commented Feb 26, 2024

I still don't think this has been addressed, it's not clear how to access the host OS on devices such as the home assistant green. This seems to be required to do basic things such as partitioning SD cards etc....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants