2020年8月30日日曜日

Wireshark インストール ubuntu

 

 

= パケットモニタリングツール インストール
[2020-08-29 17:06]
termshark インストールする
使い方がわからない。 ウィンドウがでない
以下のエラーがでる。 削除

root@moto-PC-VY25AAZ79:/home/moto# /snap/bin/termshark -i enp3s0
(The termshark UI will start when packets are detected...)
Cannot capture on device enp3s0: exit status 1 (exit code 1)
See https://termshark.io/no-root for more info.


Wireshark インストール

以下のパッケージには満たせない依存関係があります:
 wireshark-gtk : 依存: libnl-route-3-200 (>= 3.2.7) しかし、インストー
 ルされようとしていません

https://marmooo.blogspot.com/2018/11/dpkgapt-get.html
のサイトを参考に
libnl-route-3-200をバージョンを指定してインストール
他の満たせない依存関係のファイルもインストール

wireshark-gtk で起動

以下のエラーでる
no interface can be used for vapturing
in this systemwith the current
configuration
couldn't run /usr/bin/dumpcap in child
process

sudo gpasswd -a username wireshark を実行

root権限でwiresharkを実行すると変なエラーがでるので
ユーザー権限で実行
ok

これをやったあとnetのドライバーがなくなっていた。

ubuntuのドライバーはネット上にどこにもなく、ubuntu再インストールのはめに


ubuntu 再インストール後以下コマンドであっさりとできた。

sudo apt install wireshark


パーミッションでつかえないので以下コマンド実行して使用すること

sudo su - $moto





 

0 件のコメント:

コメントを投稿

About

参加ユーザー

連絡フォーム

名前

メール *

メッセージ *

ページ

Featured Posts