@rubytech/taskmaster 1.0.72 → 1.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build-info.json +3 -3
- package/package.json +1 -1
- package/scripts/install.sh +9 -2
- package/taskmaster-docs/USER-GUIDE.md +54 -0
package/dist/build-info.json
CHANGED
package/package.json
CHANGED
package/scripts/install.sh
CHANGED
|
@@ -149,9 +149,16 @@ if [ "$(id -u)" = "0" ] && [ "$REAL_USER" != "root" ]; then
|
|
|
149
149
|
&& echo " hostname set to '${TM_HOSTNAME}'" \
|
|
150
150
|
|| echo " hostname set failed (continuing)"
|
|
151
151
|
|
|
152
|
-
# Ensure /etc/hosts resolves the new hostname (sudo warns otherwise)
|
|
152
|
+
# Ensure /etc/hosts resolves the new hostname (sudo warns otherwise).
|
|
153
|
+
# Raspberry Pi OS uses 127.0.1.1 for the hostname; other distros may use
|
|
154
|
+
# 127.0.0.1. We update an existing 127.0.1.1 line if present (replacing
|
|
155
|
+
# the old hostname like "raspberrypi"), otherwise append a new entry.
|
|
153
156
|
if ! grep -q "$TM_HOSTNAME" /etc/hosts 2>/dev/null; then
|
|
154
|
-
|
|
157
|
+
if grep -q "^127\.0\.1\.1" /etc/hosts 2>/dev/null; then
|
|
158
|
+
sed -i "s/^127\.0\.1\.1.*/127.0.1.1\t$TM_HOSTNAME/" /etc/hosts
|
|
159
|
+
else
|
|
160
|
+
echo "127.0.1.1 $TM_HOSTNAME" >> /etc/hosts
|
|
161
|
+
fi
|
|
155
162
|
fi
|
|
156
163
|
|
|
157
164
|
# Remove stale avahi service file from previous installs (conflicts with gateway Bonjour)
|
|
@@ -888,6 +888,16 @@ The gateway is the software that runs your assistant. If it's showing red:
|
|
|
888
888
|
- Try using the IP address: **http://192.168.x.x:18789** (contact Support for assistance)
|
|
889
889
|
- Wait 2 minutes after power-on for the device to start
|
|
890
890
|
|
|
891
|
+
### "sudo: unable to resolve host taskmaster" warning?
|
|
892
|
+
|
|
893
|
+
This harmless warning appears when the Pi's hostname isn't listed in `/etc/hosts`. Every `sudo` command still works — it's just a cosmetic message. To fix it, open a terminal on the Pi and run:
|
|
894
|
+
|
|
895
|
+
```
|
|
896
|
+
sudo sh -c 'echo "127.0.1.1 taskmaster" >> /etc/hosts'
|
|
897
|
+
```
|
|
898
|
+
|
|
899
|
+
Replace `taskmaster` with your actual hostname if you changed it (e.g., `taskmaster-19000` for a custom port). The warning disappears immediately.
|
|
900
|
+
|
|
891
901
|
---
|
|
892
902
|
|
|
893
903
|
## Multiple Accounts
|
|
@@ -1121,6 +1131,50 @@ You need the IP address to connect from another device on your network (e.g., SS
|
|
|
1121
1131
|
|
|
1122
1132
|
Once you have the IP, you can access the setup page at `http://<your-pi-ip>:18789/setup` or connect via SSH with `ssh admin@<your-pi-ip>`.
|
|
1123
1133
|
|
|
1134
|
+
### Enabling SSH on Your Pi
|
|
1135
|
+
|
|
1136
|
+
SSH lets you connect to your Pi from another computer on the same network — no monitor or keyboard needed. Raspberry Pi OS has SSH turned off by default. To enable it:
|
|
1137
|
+
|
|
1138
|
+
**Option 1: From the Pi desktop** (monitor + keyboard)
|
|
1139
|
+
|
|
1140
|
+
1. Click the **Raspberry Pi menu** (top-left corner of the desktop)
|
|
1141
|
+
2. Go to **Preferences** → **Raspberry Pi Configuration**
|
|
1142
|
+
3. Click the **Interfaces** tab
|
|
1143
|
+
4. Set **SSH** to **Enabled**
|
|
1144
|
+
5. Click **OK**
|
|
1145
|
+
|
|
1146
|
+
**Option 2: From the Pi terminal**
|
|
1147
|
+
|
|
1148
|
+
1. Open Terminal (taskbar or Ctrl+Alt+T)
|
|
1149
|
+
2. Run:
|
|
1150
|
+
```
|
|
1151
|
+
sudo systemctl enable --now ssh
|
|
1152
|
+
```
|
|
1153
|
+
|
|
1154
|
+
**Option 3: Before first boot** (headless setup — no monitor needed)
|
|
1155
|
+
|
|
1156
|
+
If you're setting up the Pi using Raspberry Pi Imager:
|
|
1157
|
+
|
|
1158
|
+
1. In Raspberry Pi Imager, click the **gear icon** (or press Ctrl+Shift+X) before writing the SD card
|
|
1159
|
+
2. Check **Enable SSH** and set a password
|
|
1160
|
+
3. Write the SD card and boot the Pi
|
|
1161
|
+
|
|
1162
|
+
Or, if the SD card is already written:
|
|
1163
|
+
|
|
1164
|
+
1. Insert the SD card into your computer
|
|
1165
|
+
2. Create an empty file called `ssh` (no extension) in the **boot** partition
|
|
1166
|
+
3. Eject the card and boot the Pi
|
|
1167
|
+
|
|
1168
|
+
**After enabling SSH**, connect from another computer:
|
|
1169
|
+
|
|
1170
|
+
```
|
|
1171
|
+
ssh admin@taskmaster.local
|
|
1172
|
+
```
|
|
1173
|
+
|
|
1174
|
+
Enter the password when prompted. The default password depends on how the Pi was set up — typically `taskmaster` for pre-installed devices, or whatever you chose during Raspberry Pi OS setup.
|
|
1175
|
+
|
|
1176
|
+
> **Security tip:** Change the default password after your first SSH login by running `passwd` on the Pi.
|
|
1177
|
+
|
|
1124
1178
|
---
|
|
1125
1179
|
|
|
1126
1180
|
## Public-Facing Messages (DM Policy)
|