When configuring thingino to connect to an existing wifi network, it accepts the config, but upon rebooting never connects. AP mode works for both the initial config network and when configured for AP mode.
It looks like this is because wpa_supplicant.conf and the /etc/network/interfaces.d/ file are written for wlan0 but the daemon is started with -i wlan1. Changing the service file to wlan0 makes everything work as expected.
wpa_supplicant.conf
# created on Mon Mar 9 05:44:57 2026
ctrl_interface=/run/wpa_supplicant
update_config=1
ap_scan=1
network={
ssid="IOTnet"
psk="redacted redacted redacted"
scan_ssid=1
bgscan="simple:30:-70:3600"
}
/etc/init.d/S38wpa_supplicant
#!/bin/sh
. /usr/share/common
IFACE=wlan1
WLAN_INT_FILE="/etc/network/interfaces.d/$IFACE"
CONFIG="/etc/$DAEMON_SHORT.conf"
PIDFILE="/run/$DAEMON_SHORT.$IFACE.pid"
DAEMON_ARGS="-i $IFACE -c $CONFIG -P $PIDFILE -B"
[...]
Boot log excerpt
Starting wireless interface ...
- Set GPIO 51 to 1
- Loading wq9001 module with parameters
[ 9.105906] wq_dbg_flag = 511
- Bring interface wlan0 down
- Set MAC address to 02:58:C4:28:46:86
Starting WPA Supplicant ...
- Found wlan1 interface
grep: /etc/network/interfaces.d/wlan1: No such file or directory
- wlan1 is enabled
- Starting in client mode
- Start wpa_supplicant
Successfully initialized wpa_supplicant
nl80211: Could not re-add multicast membership for vendor events: -2 (Interrupted system call)
Starting network ...
Ethernet GPIO does not need a toggle
run-parts /etc/network/if-pre-up.d
ip addr add 127.0.0.1/8 dev lo
ip link set lo up
run-parts /etc/network/if-up.d
DHCPv6 disabled on lo
run-parts /etc/network/if-pre-up.d
wlan0 uses dynamic IP address
ip addr add 10.0.65.181/24 broadcast 10.0.65.255 dev wlan0 label wlan0
ip link set wlan0 up
ip route add default via 10.0.65.1 dev wlan0
run-parts /etc/network/if-up.d
- DHCPv6 on wlan0
- Starting odhcp6c on wlan0
No WireGuard IP address configured
# ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 02:58:c4:28:46:86 brd ff:ff:ff:ff:ff:ff
3: wlan1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 02:00:11:22:3e:21 brd ff:ff:ff:ff:ff:ff
Hardware: TP-Link Tapo C110 v3.6
Software:
Thingino firmware built for tplink_tapo_c110_t23n_sc3336_wq9001
[stable+c6041d6, 2026-03-09 09:36:11 +0000]
un(?)related, I expected my wifi psk to be hashed in wpa_supplicant.conf but it doesn't seem to be...?
When configuring thingino to connect to an existing wifi network, it accepts the config, but upon rebooting never connects. AP mode works for both the initial config network and when configured for AP mode.
It looks like this is because wpa_supplicant.conf and the /etc/network/interfaces.d/ file are written for wlan0 but the daemon is started with
-i wlan1. Changing the service file to wlan0 makes everything work as expected.wpa_supplicant.conf
/etc/init.d/S38wpa_supplicant
Boot log excerpt
# ip lHardware: TP-Link Tapo C110 v3.6
Software:
un(?)related, I expected my wifi psk to be hashed in wpa_supplicant.conf but it doesn't seem to be...?