依序執行以下步驟:
sudo apt-get install wireshark
sudo groupadd wireshark
sudo usermod -a -G wireshark YOUR_USER_NAME
sudo chgrp wireshark /usr/bin/dumpcap
sudo chmod 750 /usr/bin/dumpcap
sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
sudo getcap /usr/bin/dumpcap
執行:
sudo wireshark
因為要capture ethernet,所以要root
然後linux底下沒有裝很多奇怪服務的話,wireshark會閒置是正常的,別被windows給慣壞了…XD
下面debug log就直接忽略吧…人有時候就是不能太鑽牛角尖
(意思是全部套件自己裝然後裝不起來拉XD)
—
//先 apt-get install g++ pentium-builder
yacc
bison
flex
gtk
—
./configure –prefix=/opt/gtk
make
make install
他說少了yacc(或bison)
apt-get install bison
然後少flex
apt-get install flex
然後少gtk(相依很多: glib -> pango -> gdk -> atk)
—
下載glib
./configure
少glib(以下相依)
—
少zlib
./configure
make
sudo make install
回glib
少libffi > 3.0 (先裝git 再clone…我錯了)
./configure
make
sudo make install
回glib
少gettext
./configure
make
sudo make install
回glib
./configure
make
sudo make install
好像失敗
猜少了xmllint
sudo apt-get install libxml2-utils
重build glib
./configure
make
sudo make install
—
接pango
失敗
接gdk
接atk
回wireshark
搶先發佈留言