LoginSignup
16
12

More than 5 years have passed since last update.

UbuntuでWiresharkをインストールする

Last updated at Posted at 2018-06-02

UbuntuでWiresharkをインストールする

環境は以下

  • Windows10 Enterprise

    • プロセッサ:Corei7 6600U @ 2.60GHz 2.81GHz
    • 実装メモリ(RAM):8.00GB
    • OS種:64bit
  • VMware(R) Workstation 12 Player

    • 12.5.7 build-5813279
  • Ubuntu 16.04.04

ブラウザからインストールする場合

Firefoxで検索してインストール

コマンドでインストールする場合

下記コマンドを実行

smatsuo@ubuntu:~$ sudo apt install wireshark

途中、一般ユーザでも使用しますか?と聞いてくるので「YES」を選択。

起動

左上の検索で「Wireshark」で検索して起動。
キャプチャ.JPG

キャプチャ.JPG

権限が無いと言われます。
(さっき設定したはずなのに)

キャプチャ.JPG

一般ユーザに権限追加

下記コマンドを実行して、一般ユーザをwiresharkグループに追加する必要があるみたいです。

smatsuo@ubuntu:~$ sudo usermod -a wireshark [user]

※smatsuo@ubuntu:~$ sudo usermod -G wireshark [user] 既存のグループを上書き

一度ログアウトして、再度一般ユーザでログインしなおします。
キャプチャ.JPG

任意のインターフェースが選択できるようになりました。

16
12
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
12