Installing Wireshark on Ubuntu 12.04 LTS
来源:互联网 发布:斑马梦龙网络计划2016 编辑:程序博客网 时间:2024/05/21 10:46
Installing Wireshark on Ubuntu 12.04 LTS
Installing wireshark on Ubuntu 12.04 LTD and limiting packet capture to one group, in this case the group wireshark. I’m sure you can use these instructions for other debian based distributions.
Although you’ll have to take it as read that I’ve only tested it on Ubuntu, feel free to let me know if it doesn’t and I’ll amend the instructions to suit.
First, we install Wireshark from the terminal.
Installing Wireshark
sudo
apt-get
install
wireshark
If you run wireshark as a non root user at this stage (see image above), you will get the message “No interface can be used for capturing in this system with the current configuration.”. The following steps will rectify this.
Create the wireshark group.
sudo
groupadd wireshark
Add your username to the wireshark group
sudo
usermod
-a -G wireshark YOUR_USER_NAME
Change the group ownership of file dumpcap to wireshark
sudo
chgrp
wireshark
/usr/bin/dumpcap
Change the mode of the file dumpcap to allow execution by the group wireshark
sudo
chmod
750
/usr/bin/dumpcap
Grant capabilities with setcap
sudo
setcap cap_net_raw,cap_net_admin=eip
/usr/bin/dumpcap
Verify the change
sudo
getcap
/usr/bin/dumpcap
At this point, you will need to log out, then back into Unity (Thanks for Jorge for pointing this out).
You should now be able to run Wireshark as a non-root user, just as long as that user is part on the wireshark group, everything should just work.
- Installing Wireshark on Ubuntu 12.04 LTS
- Installing Wireshark on Ubuntu 12.04 LTS
- Installing C++11 on Ubuntu 12.04 LTS
- Installing OpenStack on Ubuntu 12.04 LTS in 10 Minutes
- Installing Oracle 11g On Ubuntu 8.04 LTS
- Installing Oracle 11g on Ubuntu 8.04 LTS (Hardy Heron)
- Installing openjdk-7-jdk on Ubuntu 16.04 LTS
- Installing Metasploit Framework on Ubuntu 16.04 LTS and Debian 7
- Installing webrtc2sip on Ubuntu 12.04
- Installing OrangeHRM On Ubuntu 12.04
- Installing webrtc2sip on Ubuntu 12.04
- 在Ubuntu 12.04 LTS上安装wireshark
- Installing Java 7 Update 25 on 12.04 LTS?
- Installing OpenCV 2.4.1 in Ubuntu 12.04 LTS
- Installing OpenCV 2.4.1 in Ubuntu 12.04 LTS
- Installing OpenCV 2.4.1 in Ubuntu 12.04 LTS
- Installing OpenCV 2.4.1 in Ubuntu 12.04 LTS
- Installing OpenCV 2.4.1 in Ubuntu 12.04 LTS
- Android中visibility属性VISIBLE、INVISIBLE、GONE的区别
- jtag
- JDBC连结中Class.forName()详解
- BZOJ 1170 [Balkan2007]Cipher Hash
- Volley的使用笔记
- Installing Wireshark on Ubuntu 12.04 LTS
- android versionCode versionName的获取
- Nutch1.9安装
- A tricky way to create a lookup field in Visualforce page
- nginx编译和配置
- C程序中对时间的处理——time库函数详解以及系统时间结构体类型
- 联系方式!
- iOS 后台
- 如果是JS文件限制了你的页面加载速度,不用再担心了