Category Archives: network

nmcli Network-Manager nmtool

nm-tool to display network-manager status nmcli con down id VPN_CONN_NAME nmcli con up id VPN_CONN_NAME nmcli con automation with nmcli To automatically connect “nmcli con up id VPN_CONN_NAME” in .profile (upon login) NetworkManager Restart network-manager: sudo service network-manager restart … Continue reading

Posted in network, ubuntu | Leave a comment

Packet crafting and sniffing with Python extensions

libpcap: sudo apt-get install libpcap-dev download and install pypcap, dpkt, dnet pypcap ‘s installation is tricky: download the pyrex and recompile the pcap.pyx file will work. Furthermore, use Makefile instead of seems fixed issues.

Posted in network, python | Leave a comment