Set scan parameters failed: operation not allowed
The reason is that the function of hcitool tool is missing, and the lescan function needs to be supplemented
sudo apt-get install libcap2-bin
sudo setcap 'cap_net_raw,cap_net_admin+eip' `which hcitool`
getcap !$
Execute again at this time
hcitool -i hci1 lescan
It is found that it can be scanned normally
Read More:
- Docker Build Error: Failed to get D-Bus connection: Operation not permitted [Solved]
- Rsync Error: Operation not permitted [How to Solve]
- Yarn add package loading error: operation not permitted, unlink …
- [Solved] NPM Install Error: EPERM: operation not permitted, mkdir xxx
- json-server Error: EPERM: operation not permitted, mkdir ‘C:\Progra m Files\nodejs\node_
- Solution of Hibernate paging report only entering result set and not supporting requested operation
- Error: Comments are not permitted in JSON [How to Solve]
- Two implementation methods of spring boot scan mapper interface class
- [Solved] Doris BrokerLoad Error: Scan bytes per broker scanner exceed limit: 3221225472
- [Solved] DPDK Error: insmod: ERROR: could not insert module igb_uio.ko: Invalid parameters
- [Solved] Andriod Error: Cleartext HTTP traffic to xxx not permitted
- [Solved] Android Networking error: CLEARTEXT communication to www.xxxxx.xyz not permitted by network security policy
- [Solved] Camera Calibration Error: ErrorMessage: Image size does not match the measurement in camera parameters
- [Solved] Failed to find glog – Could not find glog include directory, set…
- [Solved] go cobra Error: required flag(s) “pkg-name” not set
- [Local Precompilation Error] do not set execute permissions for source files
- [Solved] HTTP Error 405.0-Method Not Allowed occurs in the Put operation of the REST service on IIS7.5
- Wildfly (JBoss) startup error: ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (“add”) failed
- [Solved] failed to set bridge addr: “cni0“ already has an IP address different from xxxx
- [Solved] Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Failed to generate Operation