Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wfb-cli gs cannot be used #332

Open
mzhixian opened this issue Apr 18, 2024 · 12 comments
Open

wfb-cli gs cannot be used #332

mzhixian opened this issue Apr 18, 2024 · 12 comments

Comments

@mzhixian
Copy link

I deployed wfb-ng on tspi(RK3566) with kernel version 5.10.198. Enter wfb-cli gs and the following information is displayed:
210e3d29076c87f1be9356237bc82ee2
0f6dd16844c9f57300a9323cfbc929d5
Enter wfb_rx -K /etc/gs.key -c 127.0.0.1 -u 5600 -p 0 -i 7669206 wlxfca386b37542 and the following information is displayed:
a732a5484f82dfc641442eb81b4e74c6
This is dmesg:
86ad28f98bfc29d214dd86b6aca9bdc8
What should I do?

@svpcom
Copy link
Owner

svpcom commented Apr 18, 2024

sudo journalctl -xu wifibroadcast@gs > gs.log
sudo journalctl -xu wifibroadcast@drone > drone.log

@svpcom
Copy link
Owner

svpcom commented Apr 18, 2024

sudo ethtool -i wlxfca386b37542

@mzhixian
Copy link
Author

sudo ethtool -i wlxfca386b37542

image

@mzhixian
Copy link
Author

sudo journalctl -xu wifibroadcast@gs > gs.log sudo journalctl -xu wifibroadcast@drone > drone.log
gs.txt

@svpcom
Copy link
Owner

svpcom commented Apr 18, 2024

Apr 19 02:01:24 neons wfb-server[1685]: [common.abort_on_crash #info] Stopping reactor due to fatal error: [Errno 2] No such file or directory: b'/dev/net/tun'

Need to install tuntap driver (tun.ko)

@mzhixian
Copy link
Author

Apr 19 02:01:24 neons wfb-server[1685]: [common.abort_on_crash #info] Stopping reactor due to fatal error: [Errno 2] No such file or directory: b'/dev/net/tun'

Need to install tuntap driver (tun.ko)

It's working now.But PKG don't increase.This is gs.log:
gs.txt

@svpcom
Copy link
Owner

svpcom commented Apr 19, 2024

pr 19 21:03:07 neons wfb-server[1644]: [server.DbgProtocol.lineReceived #info] video rx: Unable to decrypt packet #0x233704
Apr 19 21:03:07 neons wfb-server[1644]: [server.DbgProtocol.lineReceived #info] video rx: Unable to decrypt packet #0x233705
Apr 19 21:03:07 neons wfb-server[1644]: [server.AntennaProtocol.lineReceived #info] New session detected [video rx]: FEC=VDM_RS K=8, N=12, epoch=0
Apr 19 21:03:11 neons wfb-server[1644]: [server.DbgProtocol.lineReceived #info] video rx: 178 packets lost
Apr 19 21:03:19 neons wfb-server[1644]: [server.DbgProtocol.lineReceived #info] video rx: Error: socket error!
Apr 19 21:03:19 neons wfb-server[1644]: [server.DbgProtocol.lineReceived #info] tunnel rx: Error: socket error!
Apr 19 21:03:19 neons wfb-server[1644]: [server.DbgProtocol.lineReceived #info] mavlink rx: Error: socket error!
Apr 19 21:03:19 neons wfb-server[1644]: [server.RXProtocol.processEnded #info] Stopped RX tunnel rx with code 1
Apr 19 21:03:20 neons wfb-server[1644]: [common.abort_on_crash #info] Stopping reactor due to fatal error: A process has ended with a probable error condition: process ended with exit code 1.

something bad with wifi card or there are: wpa_supplicant or dhclient which try to manage card. Check all steps from SetupHOWTO

@svpcom
Copy link
Owner

svpcom commented Apr 19, 2024

Check dmesg that card didn't disconnect during wfb-ng running

@mzhixian
Copy link
Author

Check dmesg that card didn't disconnect during wfb-ng running

I try all the SetupHOWTO,but the situation remains.I don't know what is the problem that makes my network card only work for a while.
wfb-cli
wfb-cli-t
dmesg.txt
Uploading gs.txt…
nmcli

@svpcom
Copy link
Owner

svpcom commented Apr 22, 2024

gs.txt is missing

@svpcom
Copy link
Owner

svpcom commented Apr 22, 2024

Also try to replace usb cable

@mzhixian
Copy link
Author

gs.txt is missing

gs.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants