You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I compiled the binary statically because the camera firmware doesn't have musl library.
When running the dufs mipsel binary from my x64 laptop with qemu-user-static, dufs successfully runs and bind to my laptop IP address. However when running dufs form my camera, it seems to be unable to figure it's IP address as shown in the above log. Using bind address (-b option) with Unix socket works:
If --bind is omitted, dufs will bind default addresses: 0.0.0.0 (IPv4), :: (IPv6).
Your mipsel device won't support IPv6, which is why the error occurred.
Mainstream devices all support IPv6. For the few devices that do not support IPv6, one must manually specify the bind address instead of using the default bind addresses.
Log
Environment:
Binary info:
It was compiled using Github action with:
RUSTFLAGS="-C target-feature=+crt-static" cross build --locked --release --target=mipsel-unknown-linux-musl --no-default-features
More info:
I compiled the binary statically because the camera firmware doesn't have musl library.
When running the dufs mipsel binary from my x64 laptop with
qemu-user-static
, dufs successfully runs and bind to my laptop IP address. However when running dufs form my camera, it seems to be unable to figure it's IP address as shown in the above log. Using bind address (-b
option) with Unix socket works:WyzeCamV3 /media/mmc # ./dufs.mipsel-unknown-linux-musl -b 0.0.0.0 --allow-all /media/mmc Listening on: http://127.0.0.1:5000/ http://192.168.10.21:5000/
Strace log:
I can still make it work but don't know if this bug(maybe) is known, it would be nice to make a bug report.
The text was updated successfully, but these errors were encountered: