79 lines
4.6 KiB
Markdown
79 lines
4.6 KiB
Markdown
# Tailscale For Adventurer5M
|
||
<a href="https://"><img src="https://img.shields.io/badge/License-GPL3.0-orange" alt="License - Apache"></a> <a href="./"><img src="https://img.shields.io/badge/Version_-1.0.0-green" alt="Version - 1.0.0"></a> <img src="https://img.shields.io/badge/maintained-yes-green" alt="maintained - yes"> <a title="Go to contributions doc"><img src="https://img.shields.io/badge/contributions-welcome-blue" alt="contributions - welcome"></a>
|
||
<br>
|
||
Hi, so you must be just as crazy as I am. You found this after all. This is a guide on how to install tailscale on your Adventurer 5M (unsure if it will work on the AD5M Pro).
|
||
|
||
## Manual Install
|
||
<details><summary>Installation Steps:</summary>
|
||
|
||
1. Go to the releases tab and get the latest release, its a .zip file don't **download the repository archives**.
|
||
|
||
2. Load the zip file onto an empty usb of really any size that will fix it formatted to FAT32 unzip the file so that it is in the root of the usb should look like this:
|
||

|
||
|
||
3. You need to edit the ssh public key! You can open it with notepad/vim/nano and its located in `klipper_mod/root/.ssh/authorized_keys` I have my own key set but you can generate one at [https://showdns.net/ssh-key-generator](https://showdns.net/ssh-key-generator) Or via powershell/bash if you know how to
|
||
|
||
4. After you have done that delete the original .zip file and you can then eject your usb and put it in the usb slot of your Flashforge AD5M located near the display. Then just Simply Reboot your printer wait for the install you should see this:
|
||

|
||
|
||
5. When it changes to this:
|
||

|
||
and chimes you can take out the usb and restart the printer
|
||
|
||
6. Now you need to connect your device to wifi, if you know how to do this skip to step 9.
|
||
|
||
7. First navigate to more
|
||
Then to wifi and find your network and sign in 
|
||
|
||
8. Grab the wlan ip, its 192.168.0.110 for me keep it for later
|
||

|
||
|
||
9. Get an ssh client such as putty, kitty or termius. I will be using termius as it is by far the easiest and most user friendly
|
||
|
||
10. Grab that ssh private key you made earlier
|
||

|
||
|
||
11. In termius go to keychain and press new key name it whatever and paste that private key into the private key section then when you do that go back to the hosts tab 
|
||
|
||
12. Make a new host set the ip you saved from the printer earlier into the ip/hostname area set the username to root and select the key you just created as authorization. Then press connect.
|
||

|
||
|
||
13. Now you are now connected to ssh
|
||

|
||
|
||
14. There is only a few commands we need to do
|
||
```bash
|
||
chmod +x /etc/init.d/S99tailscale
|
||
/etc/init.d/S99tailscale start
|
||
tailscale up
|
||
```
|
||
and there you go you are all set after you login with the link it gives you 
|
||
|
||
15. You should see the device in your tailscale now! You can do `tailscale ip` to see your printer's ip.
|
||

|
||
</details>
|
||
|
||
## Feature Overview
|
||
|
||
- [Klipper](https://www.klipper3d.org/) 0.13 ‒ improved configuration and default macros
|
||
- [Moonraker](https://github.com/Arksine/moonraker) on port 7125
|
||
- [Mainsail](https://docs.mainsail.xyz/) on port 4000
|
||
- [Fluidd](https://docs.fluidd.xyz/) on port 4001
|
||
- [KlipperScreen](https://klipperscreen.readthedocs.io/en/latest/) ‒ separate build variant
|
||
- [Guppyscreen](https://github.com/ballaswag/guppyscreen) ‒ separate preview build variant
|
||
- Camera streaming via [ustreamer](https://github.com/pikvm/ustreamer) on port 8080
|
||
- [Moonraker-timelapse](https://github.com/mainsail-crew/moonraker-timelapse) support
|
||
- Network access: Ethernet LAN and WiFi via [iwd](https://iwd.wiki.kernel.org/)
|
||
- Customized Linux environment based on [Buildroot](https://buildroot.org/)
|
||
- SSH root access. Login: `root`, Password: `klipper`
|
||
- [Audio](https://pypi.org/project/ff-adm5-audio/) via buzzer (can play simple Midis)
|
||
- [LCD backlight](https://pypi.org/project/ff-ad5m-backlight/) control
|
||
- Automatic USB flash drive mounting
|
||
- Automatic MCU firmware update for updated klipper
|
||
- "Dual boot" with stock Flashforge software
|
||
|
||
## Optional Features
|
||
|
||
You can use other features of tailscale by using the tailscale flags for example:
|
||
- SSH `tailscale set --ssh`
|
||
- Subnets [Look here](https://tailscale.com/docs/features/subnet-routers) |