Logging In
Using information gained from this post Rooting the Creality Halot One resin 3D printer, and some investigations of my own. I used this method to gain access via SSH to the Halot-One.
This can be done from either windows or linux, I did it via windows as the laptop was handy.
Prerequisite
Install the android-tools from Command-Line-Tools-Only if you do not already have the adb
command line tool.
Have a USB-A to USB-B cable, one end will fit the squarish host socket on the front of the Halot-One.
Login via adb.
-
Connect the Halot-One to your computer.
-
Wait for ADB device to become available.
$ adb devices TinaLinux
- Start ADB shell and login, the username is root and the password appears to be 66668888.
$ adb shell TinaLinux login: root TinaLinux login: root Password: BusyBox v1.27.2 () built-in shell (ash) _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! ---------------------------------------------- Tina Linux (Neptune, 238) ---------------------------------------------- root@TinaLinux:~#
- Change the password - make it something you can remember
root@TinaLinux:~# passwd Changing password for root New password: Bad password: too short Retype password: passwd: password for root changed by root root@TinaLinux:~#
- Enable ssh login with the root user.
Edit the file and change / add the following settings
root@TinaLinux:~# vi /etc/ssh/sshd_config
The reason for increasing MaxAuthRetries, is that for some reason I can not get public key authentication working and I have a number of ssh keys, which seems to cause "too many attempts" and you can not login.PermitRootLogin yes MaxAuthTries 20
- Find the IP address.
The ip address is the
root@TinaLinux:~# ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:56 errors:0 dropped:0 overruns:0 frame:0 TX packets:56 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:4196 (4.0 KiB) TX bytes:4196 (4.0 KiB) wlan0 Link encap:Ethernet HWaddr FC:EE:32:00:8F:98 inet addr:192.168.20.200 Bcast:192.168.20.255 Mask:255.255.255.0 inet6 addr: fe80::feee:32ff:fe00:8f98/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:833 errors:0 dropped:0 overruns:0 frame:0 TX packets:835 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:158487 (154.7 KiB) TX bytes:178620 (174.4 KiB)
inet addr:
inwlan0
. - Reboot to enable the change to sshd's configuration. Do not do this while printing.
root@TinaLinux:~# reboot
- Login via ssh.
You can find the printer's ip address via the display.
Success.
$ ssh root@ip-address ssh root@halot-one root@halot-one's password: BusyBox v1.27.2 () built-in shell (ash) _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! ---------------------------------------------- Tina Linux (Neptune, 238) ---------------------------------------------- root@TinaLinux:~#