# fuser 8080/tcp
Showing posts with label Networking. Show all posts
Showing posts with label Networking. Show all posts
Saturday, 11 January 2014
Monday, 16 September 2013
/etc/network/intefaces
iface eth1 inet static
address 192.168.2.9
netmask 255.255.255.0
gateway 192.168.2.1
dns-nameservers 192.168.2.1 8.8.8.8
==========================================================
auto eth1 iface eth1 inet dhcp wpa-ssid fooAP wpa-psk foopassword
==========================================================
auto eth1 iface eth1 inet dhcp wpa-ssid fooAP wpa-psk foopassword
Labels:
Linux,
Networking
Thursday, 20 December 2012
How to limit download/upload speed on localhost
$ sudo apt-get install wondershaper $ wondershaper eth1 max_download_speed max_upload_speed
Example: $ wondershaper eth1 256 32
Labels:
Networking
Wednesday, 28 November 2012
127.0.0.1 vs 0.0.0.0
127.0.0.1 will listen only on the localhost IP address
0.0.0.0 will listen on all available interfaces
Labels:
Networking
Thursday, 5 January 2012
Shell: show network (download/upload) speed of each program
$ sudo apt-get install nethogs $ sudo nethogs
Labels:
nethogs,
Networking
Friday, 4 November 2011
how to kill process on port 8080
find process id which uses port 8080 with one of the following:
lsof -w -n -i tcp:8080 fuser -n tcp 8080 netstat -anp|grep :8080[[:blank:]]and now kill it with
kill -9 processid
Labels:
Networking,
port
Friday, 29 April 2011
I cannot get an IP (dhclient fails) because my Ethernet cable is not 100Mbps and Full Duplex as Ubuntu anticipates
If you ethernet cable is 10Mbps and Full Duplex then inform Linux for this:
$ sudo mii-tool -F 10baseT-FD eth0 $ sudo dhclient eth0
Labels:
Linux,
Networking,
Troubleshooting
Subscribe to:
Posts (Atom)