Hi,
thanks a lot for your fork! - It is really a big thing to keep my WeTekPlay1 running! - Unfortunately I just got it to work with your workaround via ssh and .tar Update File to upgrade from 9.0.2. With toothpick and with libreelec-writer no success via SD-card neither with USB-Stick...
Anyway... now I need a wireguard-connection and brought it to work. - Unfortunately when connmanctl starts the tunnel it takes it automaticly as default gateway. - I just need one explizit address in my other homenetwork. It is an openATV-Receiver. So the problem is that it forces all traffic to that endpoint.
It seems that there is a big bug somewhere in the wireguard implementation. I noticed that a complete network is getting a correct route, but it is also not possible to change the default route by hand after wireguard-tunnel is started.
wetekplay:~ # ip route del default
wetekplay:~ # ip route
default dev wg0 scope link
10.1.1.0/24 dev wg0 scope link src 10.1.1.12
192.168.183.0/24 dev wlan0 scope link src 192.168.183.101
192.168.183.1 dev wlan0 scope link
255.255.255.255 via 192.168.183.1 dev wlan0
wetekplay:~ # ip route add default via 192.168.183.1
ip: RTNETLINK answers: File exists
wetekplay:~ # ip route del default dev wg0 scope link
wetekplay:~ # ip route
default dev wg0 scope link
10.1.1.0/24 dev wg0 scope link src 10.1.1.12
192.168.183.0/24 dev wlan0 scope link src 192.168.183.101
192.168.183.1 dev wlan0 scope link
255.255.255.255 via 192.168.183.1 dev wlan0
wetekplay:~ # connmanctl disconnect vpn_conni_dns64_de
Disconnected vpn_conni_dns64_de
wetekplay:~ # ip route
default via 192.168.183.1 dev wlan0
192.168.183.0/24 dev wlan0 scope link src 192.168.183.101
192.168.183.1 dev wlan0 scope link
255.255.255.255 via 192.168.183.1 dev wlan0
wetekplay:~ # systemctl stop wireguard
wetekplay:~ # nano /storage/.config/wireguard/wg0.config
wetekplay:~ # connmanctl connect vpn_cxxx_dns64_de
Connected vpn_cxxx_dns64_de
wetekplay:~ # ip route
default dev wg0 scope link
10.1.1.0/24 dev wg0 scope link src 10.1.1.12
192.168.183.0/24 dev wlan0 scope link src 192.168.183.101
192.168.183.1 dev wlan0 scope link
255.255.255.255 via 192.168.183.1 dev wlan0
wetekplay:~ # wg
interface: wg0
public key: xxx=
private key: (hidden)
listening port: 61096
peer: xxx=
preshared key: (hidden)
endpoint: (ip-fits-tested):61006
allowed ips: 10.1.1.0/24
latest handshake: 14 seconds ago
transfer: 92 B received, 6.96 KiB sent
persistent keepalive: every 25 seconds
wetekplay:~ # ping 10.1.1.3
PING 10.1.1.3 (10.1.1.3): 56 data bytes
^C
--- 10.1.1.3 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
wetekplay:~ # ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
ping: sendto: Required key not available
wetekplay:~ # connmanctl disconnect vpn_conni_dns64_de
Disconnected vpn_cxxx_dns64_de
wetekplay:~ # ping 10.1.1.3
Display More
Here is the config of the WeTekPlay1
[provider_wireguard]
Type = WireGuard
Name = WireGuard VPN Tunnel
Host = cxxx.dns64.de
WireGuard.Address = 10.1.1.12/24
WireGuard.ListenPort = 61096
WireGuard.PrivateKey = xxx=
WireGuard.PublicKey = xxx=
WireGuard.PresharedKey = xxx=
WireGuard.DNS = 1.1.1.1, 9.9.9.9
WireGuard.AllowedIPs = 10.1.1.0/24
WireGuard.EndpointPort = 61006
WireGuard.PersistentKeepalive = 25
WireGuard.Table = off
Display More
Here is the OpenATV-Side:
[Peer]
#Description = WeTekPlayIsa
PublicKey = xxx=
PresharedKey = xxx=
AllowedIPs = 10.1.1.12/32
Keys fit, you can see it because sometimes there is a short connection for a few bytes in tx and rx direction when you check it wit "wg".
With my smartphones I can connect to my OpenATV Box. It is an SF8008 and Kernel 4.4.35.
Also a tunnel from a fritzbox7490 works to that device, but unfortunately not the wetekplay. - There is a problem with the gateway. I added the last line because I read it should force wireguard to not change default route:
But it is the same behavior with or without the line. It always changes the default gw when wireguard tunnel is established.
Please doublecheck it or send me some advices. I used ChatGPT, Gemini and Ecosia AI. No real help and change...