schollz/find3-cli-scanner

Remove requirement of running scanner with sudo (somehow)

開放

#14 建立於 2018年7月16日

 (2 則留言) (0 個反應) (0 位負責人)Go (56 個分叉)github user discovery
enhancementhelp wanted

倉庫指標

星標
 (151 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Expected Behavior

passive command should work without sudo:

nohup find3-cli-scanner -i wlan1 -device xxxxxxx -family yyyyyy-server http://192.168.1.111:8005 -scantime 10 -bluetooth -forever -passive -no-modify

however returns errors:

2018-07-16 18:25:56 [ERROR] utils.go RunCommand:40 exit status 1: btmgmt find
2018-07-16 18:25:56 [ERROR] utils.go RunCommand:40 exit status 1: service bluetooth restart

if I run the command with sudo, with latest tshark version I'd need to remove hardcoded root protection (recompile?)

Specifications

  • Version: 3.2
  • Platform: Linux raspberrypi 4.14.54+ #1126 Wed Jul 11 19:56:40 BST 2018 armv6l GNU/Linux
  • Subsystem:

貢獻者指南