I got the error about ufw on Debian10 BSP on RSB-3710 cannot work.
There is no problem with installing ufw. If you enable it after installation, an error will occur.
Could you please help to enable ufw on Debian with RSB-3710?
[Detail]
After getting ufw by apt, I tried to use it but it cannot be enabled by following steps.
root@linaro-alip:~# ufw reset Resetting all rules to installed defaults. This may disrupt existing ssh connections. Proceed with operation (y|n)? y Backing up âuser.rulesâ to â/etc/ufw/user.rules.20241108_052257â Backing up âbefore.rulesâ to â/etc/ufw/before.rules.20241108_052257â Backing up âafter.rulesâ to â/etc/ufw/after.rules.20241108_052257â Backing up âuser6.rulesâ to â/etc/ufw/user6.rules.20241108_052257â Backing up âbefore6.rulesâ to â/etc/ufw/before6.rules.20241108_052257â
Backing up âafter6.rulesâ to â/etc/ufw/after6.rules.20241108_052257â
Check the status. It is inactive.
root@linaro-alip:~# ufw status
Status: inactive
Enable it.
root@linaro-alip:~# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y| n)? y
ERROR: problem running ufw-init
modprobe: ERROR: âŚ/libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file â/lib/modules/4.4.194/modules.builtin.binâ
modprobe: FATAL: Module nf_conntrack_ftp not found in directory /lib/modules/4.4.194
modprobe: ERROR: âŚ/libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file â/lib/modules/4.4.194/modules.builtin.binâ
modprobe: FATAL: Module nf_nat_ftp not found in directory /lib/modules/4.4.194
modprobe: ERROR: âŚ/libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file â/lib/modules/4.4.194/modules.builtin.binâ
modprobe: FATAL: Module nf_conntrack_netbios_ns not found in directory /
lib/modules/4.4.194
iptables-restore v1.8.2 (legacy): Couldnât load match limit':No such file or directory Error occurred at line: 63 Try iptables-restore -hâ or âiptables-restore --helpâ for more information.
iptables-restore v1.8.2 (legacy): Couldnât load match limit':No such file or directory Error occurred at line: 8 Try iptables-restore -hâ or âiptables-restore --helpâ for more information.
Problem loading ipv6 (skipping)
Problem running â/etc/ufw/before.rulesâ
Problem running â/etc/ufw/user.rulesâ
Thank you for sharing information.
In my recongnition, the debian image is only provided as binary.
In this case, how to configure kernel?
You mean, does it need to rebuild in eMMC?
In this Build Debian 10.x session, I face the error on âmk-rootfs-buster.shâ in below command execution.
â$ sudo BUILD_IN_DOCKER=TRUE ./mk-debian.shâ
chroot: failed to run command â/bin/bashâ: Exec format error
Or it can click the link below to download the RSB-3710 Debian10 image. 2021-04-15 - Dropbox
The flash tool is including in the image. Copy and replace the image files with you built to the "RSB3710A2AIM20DIV251013_2021-04-15\rockdev\image" folder and follow the user guide to flash image.
To build driver for RSB-3710, I would like to make a environment with cross compile on host PC.
Like Yocto (âpopulate_sdk), how do I create a cross-compiling environment?
I thought that if I followed the customization steps by this , I would be able to use the linker settings etc., but when I did so, the Kernel Version of the RSB-3710 image was 6.5.0, and it couldnât reference the kernel source (4.4.194). (There are no kernel sources under /lib/modules, neither for 6.5.0 nor for 4.4.194.)
Anyway, I would like to create a cross-compiling environment.