ludwig-v / wireless-carplay-dongle-reverse-engineering

CPlay2Air / Carlinkit Wireless Apple CarPlay Dongle reverse engineering
GNU General Public License v3.0
668 stars 100 forks source link

Locked out of SSH #50

Closed ghost closed 3 years ago

ghost commented 3 years ago

I have been working on a theme, no issues. Same repetitive process, only updating UI.TAR.GZ,nothing else.

Not even going into other directories.

All of a sudden when I connect the USB I am getting this in the log file on the USB.

SSH won't open now. After reboot, same thing? How could this happen?

mkdir: can't create directory '/usr/libexec': File exists ln: /usr/libexec/sftp-server: File exists ln: /usr/lib/libz.so: File exists mkdir: can't create directory '/root': File exists mkdir: can't create directory '/root/.ssh': File exists TRACE (242) 0.000000: enter buf_get_rsa_priv_key TRACE (242) 0.015373: enter buf_get_rsa_pub_key TRACE (242) 0.015665: leave buf_get_rsa_pub_key: success TRACE (242) 0.016036: leave buf_get_rsa_priv_key TRACE (242) 0.016096: leave loadhostkey TRACE (242) 0.017358: enter buf_get_dss_pub_key TRACE (TRACE (241) 0.021560: enter buf_get_dss_pub_key TRACE (241) 0.021874: leave buf_get_dss_pub_key: success TRACE (241) 0.021948: leave loadhostkey [241] Jan 02 00:00:49 Failed loading /etc/dropbear/dropbear_ecdsa_host_key TRACE (241) 0.022288: leave loadhostkey [241] Jan 02 00:00:49 Failed loading /etc/dropbear/dropbear_ed25519_host_key TRACE (241) 0.022427: leave loadhostkey TRACE (241) 0.022467: Disabling key type 2 TRACE (241) 0.022504: Disabling key type 3 TRACE (241) 0.022540: Disabling key type 4 TRACE (241) 0.022575: Disabling key type 5 TRACE (241) 0.022613: listensockets: 1 to try TRACE (241) 0.022649: listening on ':22' TRACE (241) 0.022699: enter dropbear_listeTRACE (242) 0.060028: leave dropbear_listen: success, 2 TRACE (241) 0.061995: bind(22) failed TRACE (241) 0.062168: bind(22) failed TRACE [242] Jan 02 00:00:49 Not backgrounding ailure, Address already in use [241] Jan 02 00:00:49 Failed listening on '22': Error listening: Address already in use [241] Jan 02 00:00:49 Early exit: No listening ports available. TRACE (241) 0.062602: enter session_cleanup TRACE (241) 0.062654: leave session_cleanup: !ses.init_done

ghost commented 3 years ago

I seemed to have resolved this by Upgrading the firmware from Feb to March and then reversing back to February, this is weird.

This may be something to look into?

Also, the red light now no longer turns off when I plug in the USB but I did regain SSH access...