리눅스

[wireshark] there are no interfaces on which a capture can be done

code cat 2014. 9. 2. 16:20


리눅스에서 wireshark를 실행하여 캡쳐하려 하면 다음과 같은 에러를 볼 수 있다.

"there are no interfaces on which a capture can be done"

그럴 땐, 터미널을 띄워서 다음과 같이 입력해 주자.

setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/sbin/dumpcap"

이제 wireshark를 끄고 다시 실행해 보면 캡쳐 할 때 위와 같은 메세지가 안 뜰 것이다.