Posts

Showing posts with the label network

nethogs - Monitoring per application bandwidth usage on ubuntu

nethogs allows you to see which application is consuming your network bandwidth. It has conventional interface like top command so lot of details about each process is displayed in tabular format. nethogs is available in ubuntu universe so no need of adding extra repo lines. Install nethogs sudo apt-get -y install nethogs Usage sudo nethogs <network interface name for eg: eth1>

nethogs - Watch Network Traffic by Process

Image
nethogs allows you to watch network traffic on the system grouped by process. It tracks both upload and download speeds. Has support for ethernet, PPP and supports both IPv4 and IPv6. Install nethogs Use following command to install nethogs sudo apt-get -y install nethogs

Bleeding Edge Chromium on Ubuntu

Chromium is the Linux port of official Google chrome browser for windows. Right now chromium is unstable and only useful for scratching your curiosity itch. Install chromium Add following sources to /etc/apt/sources.list file. For jaunty deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main For intrepid deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu intrepid main deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu intrepid main For hardy deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu hardy main Now execute following commands to install chromium. sudo apt-get -y update && sudo apt-get -y --force-yes install chromium-browser

Disable IPv6

If you are facing router problems or any other issues with ubuntu. First try to disable IPv6 support built into Ubuntu as majority of the current home hardware doesn't support IPv6 at the moment. Open the file /etc/modprobe.d/aliases and change the following line net-pf-10 ipv6 to net-pf-10 ipv6 off Reboot the system and check if you are still facing the issue.

Easy network traffic shaping on your ubuntu system

Traffic shaping on Linux system used to require knowledge of lot of things like iptables, qdiscs & networking protocols. Things have changed and now there are couple of tools which handle all of this complexity without requiring much knowledge. And one of them is wondershaper . First install wondershaper by issuing following command. sudo apt-get -y install wondershaper Use following command template to make it work right away. sudo wondershaper <interface name> <down speed> <up speed> Where interface name is your network interface name like eth0 or eth1 or wifi0 and down speed , up speed are self explanatory and specified in kilo bits per second. So sample command will look like sudo wondershaper eth0 512 512 To disable wondershaper from controlling particular interface use following command. sudo wondershaper clear <interface name> To make these changes permanent add following lines to /etc/network/interfaces under relevant interface section. ...