In terms of testing, I recommend myself for the future.
PS.
Is it possible to implement wireguard in VU + Solo2 ?
R.
oskardto hasn't added any friends yet.
6 June 2022 - 12:25
6 June 2022 - 10:28
@WanWizard you are great :-)
After replace:
root@sad4kse-45:/tmp# diff Network.py.org Network.py.new --- Network.py.org +++ Network.py.new @@ -65,8 +65,8 @@ def getAddrInet(self, iface, callback): data = {'up': False, 'dhcp': False, 'preup': False, 'predown': False} try: - if os.path.exists('/sys/class/net/%s/carrier' % iface): - data['up'] = open('/sys/class/net/%s/carrier' % iface).read().strip() == '1' + if os.path.exists('/sys/class/net/%s/operstate' % iface): + data['up'] = open('/sys/class/net/%s/operstate' % iface).read().strip() == 'up' if data['up']: self.configuredInterfaces.append(iface) nit = ni.ifaddresses(iface)
Work fine, super :-)
Thank you very much for your help.
6 June 2022 - 09:43
Hi WanWizard:
root@sad4kse-45:~# ifconfig wg0 wg0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.10.10.45 P-t-P:10.10.10.45 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MTU:1420 Metric:1 RX packets:4568 errors:0 dropped:0 overruns:0 frame:0 TX packets:8978 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:625040 (610.3 KiB) TX bytes:3638740 (3.4 MiB) root@sad4kse-45:~# ip addr show wg0 6: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue link/[65534] inet 10.10.10.45/32 scope global wg0 valid_lft forever preferred_lft forever root@sad4kse-45:~# grep -r "" /sys/class/net/wg0 /sys/class/net/wg0/mtu:1420 /sys/class/net/wg0/type:65534 /sys/class/net/wg0/netdev_group:0 /sys/class/net/wg0/flags:0x91 /sys/class/net/wg0/power/control:auto /sys/class/net/wg0/power/runtime_active_time:0 /sys/class/net/wg0/power/runtime_status:unsupported /sys/class/net/wg0/power/runtime_suspended_time:0 /sys/class/net/wg0/dormant:0 /sys/class/net/wg0/name_assign_type:3 /sys/class/net/wg0/addr_assign_type:0 /sys/class/net/wg0/dev_id:0x0 /sys/class/net/wg0/gro_flush_timeout:0 /sys/class/net/wg0/iflink:6 /sys/class/net/wg0/addr_len:0 /sys/class/net/wg0/address: /sys/class/net/wg0/operstate:unknown /sys/class/net/wg0/carrier_changes:0 /sys/class/net/wg0/broadcast: /sys/class/net/wg0/queues/rx-0/rps_flow_cnt:0 /sys/class/net/wg0/queues/rx-0/rps_cpus:0 /sys/class/net/wg0/queues/tx-0/xps_cpus:0 /sys/class/net/wg0/queues/tx-0/tx_maxrate:0 /sys/class/net/wg0/queues/tx-0/tx_timeout:0 /sys/class/net/wg0/queues/tx-0/byte_queue_limits/limit:0 /sys/class/net/wg0/queues/tx-0/byte_queue_limits/limit_max:1879048192 /sys/class/net/wg0/queues/tx-0/byte_queue_limits/limit_min:0 /sys/class/net/wg0/queues/tx-0/byte_queue_limits/hold_time:1000 /sys/class/net/wg0/queues/tx-0/byte_queue_limits/inflight:0 /sys/class/net/wg0/tx_queue_len:0 /sys/class/net/wg0/uevent:DEVTYPE=wireguard /sys/class/net/wg0/uevent:INTERFACE=wg0 /sys/class/net/wg0/uevent:IFINDEX=6 /sys/class/net/wg0/statistics/rx_fifo_errors:0 /sys/class/net/wg0/statistics/collisions:0 /sys/class/net/wg0/statistics/rx_errors:0 /sys/class/net/wg0/statistics/rx_compressed:0 /sys/class/net/wg0/statistics/rx_dropped:0 /sys/class/net/wg0/statistics/tx_packets:9136 /sys/class/net/wg0/statistics/tx_errors:0 /sys/class/net/wg0/statistics/rx_missed_errors:0 /sys/class/net/wg0/statistics/rx_over_errors:0 /sys/class/net/wg0/statistics/tx_carrier_errors:0 /sys/class/net/wg0/statistics/tx_heartbeat_errors:0 /sys/class/net/wg0/statistics/rx_crc_errors:0 /sys/class/net/wg0/statistics/multicast:0 /sys/class/net/wg0/statistics/tx_fifo_errors:0 /sys/class/net/wg0/statistics/tx_aborted_errors:0 /sys/class/net/wg0/statistics/rx_bytes:676748 /sys/class/net/wg0/statistics/tx_compressed:0 /sys/class/net/wg0/statistics/tx_dropped:0 /sys/class/net/wg0/statistics/rx_packets:4818 /sys/class/net/wg0/statistics/tx_bytes:3686256 /sys/class/net/wg0/statistics/tx_window_errors:0 /sys/class/net/wg0/statistics/rx_frame_errors:0 /sys/class/net/wg0/statistics/rx_length_errors:0 /sys/class/net/wg0/dev_port:0 /sys/class/net/wg0/ifindex:6 /sys/class/net/wg0/link_mode:0 /sys/class/net/wg0/carrier:1
I will answer the next post in a moment
5 June 2022 - 22:41
I would also like to mention that there was no such problem on version 8.1.
dmesg says nothing.
51.999637] Bluetooth: Core ver 2.20 [ 52.003293] NET: Registered protocol family 31 [ 52.007769] Bluetooth: HCI device and connection manager initialized [ 52.008139] usb 5-1.1: new high-speed USB device number 5 using ehci-brcm [ 52.020959] Bluetooth: HCI socket layer initialized [ 52.025858] Bluetooth: L2CAP socket layer initialized [ 52.030948] Bluetooth: SCO socket layer initialized [ 52.102478] [ 52.102478] Dongle Host Driver, version 1.363.110.16 (r620666) [ 52.102478] Compiled from [ 52.112949] Register interface [wlan3] MAC: 00:90:4c:11:22:33 [ 52.112949] [ 52.544189] dsa f0b00000.ethernet_switch eth0: Link is Down [ 54.580225] dsa f0b00000.ethernet_switch eth0: Link is Up - 1Gbps/Full - flow control off [ 54.588452] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 57.004657] wireguard: WireGuard 1.0.20210424 loaded. See www.wireguard.com for information. [ 57.013130] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 57.490271] [VID]: VIDEO_SET_STREAMTYPE 1 [ 57.494467] [VID]: VIDEO_SELECT_SOURCE 1 0 [ 57.498776] [VID]: VIDEO_PLAY 1 5 0 [ 57.507594] [VID]: VIDEO_CONTINUE 1 1 [ 57.511460] [VID]: VIDEO_CLEAR_BUFFER 1 1 0 [ 57.672797] [VID]: VIDEO_STOP 0 1 [ 57.677124] [VID]: VIDEO_SELECT_SOURCE 0 0 [ 79.960893] [AUD]: AUDIO_SET_MUTE 0 [ 79.964791] [AUD]: AUDIO_SET_MIXER -758497648 [ 79.969266] [AUD]: AUDIO_SET_MIXER : amixl 0, amixr 0 [ 79.974335] [AUD]: AUDIO_SET_MIXER : next left volume 0, right volume 0 [ 79.980981] [AUD]: AUDIO_SET_MIXER : next left volume -70, right volume -70
From the console side, everything seems to be working fine. And on the screen a small circle :-(
5 June 2022 - 22:32