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:
- [Solved] GP tool Call Error: ERROR 000824: The tool is not licensed.
- [Solved] mongodb Backup Error: Failed: error getting collections for database `admin`: error running `listCollections`
- [Solved] Ubuntu 20.04 LTS Install k8s Error: The connection to the server localhost:8080 was refused
- [Solved] error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows,
- [Solved] Error in porting libzrtp: automake-1.14: command not found
- [Solved] RuntimeError: Error(s) in loading state_dict for FasterRCNN: Missing key(s) in state_dict:……
- [Solved] docker Commands Execute Error: Segmentation fault
- Maven package error: [WARNING] The POM for xxx is missing, no dependency inform
- Widgets are not available. Please install widgetsnbextension or ipywidgets 4.0
- Yarn install error: 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: ‘install‘
- Gitlab Reconfigure is Stuck ruby_block[wait for redis service socket] action run
- MAC: Failed building wheel for lxml [How to Solve]
- [Solved] Doris BrokerLoad Error: Scan bytes per broker scanner exceed limit: 3221225472
- Git Error: failed: The TLS connection was non-properly terminated
- How to Solve Error: libproxychains4.So error
- Rtabmap Run Error: PluginlibFactory: The plugin for class ‘octomap_rviz_plugin/ColorOccupancyGrid‘ failed t
- [Solved] Laravel reports an error when executing composer update
- [Solved] VUE Use Filters Error: [Vue warn]: Error in render: “TypeError: Cannot read property ‘toFixed’ of undefined”
- Postgres uuid_generate_v1() does not exist [How to Solve]
- Vue Package Error: npm ERR! missing script: build