fix: set AP hotspot password to fixed WPA2 PSK "12345678"
Open network was not viable as nmcli generates random password by default. Use a simple fixed password since the AP is only for short-lived provisioning. Made-with: Cursor
This commit is contained in:
@@ -1,7 +1,4 @@
|
|||||||
fix: dnsmasq path detection and WiFi rfkill persistence
|
fix: set AP hotspot password to fixed WPA2 PSK "12345678"
|
||||||
|
|
||||||
- dns-hijack.js: replace `which` with multi-path search (/usr/sbin etc.)
|
Open network was not viable as nmcli generates random password by default.
|
||||||
since dnsmasq is often not in normal user PATH
|
Use a simple fixed password since the AP is only for short-lived provisioning.
|
||||||
- install.sh: auto-enable NetworkManager for WiFi provisioning
|
|
||||||
- install.sh: unblock WiFi rfkill at install time
|
|
||||||
- install.sh: create clawd-rfkill.service for persistent boot-time unlock
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const log = require('./logger');
|
|||||||
|
|
||||||
const AP_SSID_PREFIX = 'ClawBox-';
|
const AP_SSID_PREFIX = 'ClawBox-';
|
||||||
const AP_IP = '10.42.0.1';
|
const AP_IP = '10.42.0.1';
|
||||||
const AP_PASSWORD = ''; // 开放网络,无密码(配网专用,生命周期短)
|
const AP_PASSWORD = '12345678';
|
||||||
const AP_IFACE = process.env.CLAWD_WIFI_IFACE || '';
|
const AP_IFACE = process.env.CLAWD_WIFI_IFACE || '';
|
||||||
const CON_NAME = 'clawd-hotspot';
|
const CON_NAME = 'clawd-hotspot';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user