Hello everyone,
Its me again
The thing is that internet has been very slow lately (for me).
Since i use a superkaranba widget that shows network usage, I see that it's working (being used) at full speed.
My PC is the gateway throughout all computers on the LAN connect to internet. Is there a program to limit their bandwith, so I can atleast browse the internet normally? (It took more that 2 minutes loading to start this topic)
To enable internet sharing, I run this script everytime my PC reboots
Its me again
The thing is that internet has been very slow lately (for me).
Since i use a superkaranba widget that shows network usage, I see that it's working (being used) at full speed.
My PC is the gateway throughout all computers on the LAN connect to internet. Is there a program to limit their bandwith, so I can atleast browse the internet normally? (It took more that 2 minutes loading to start this topic)
To enable internet sharing, I run this script everytime my PC reboots
Code:
#! /bin/sh ## Must be run as super user (root) ifconfig eth0 192.168.0.99 iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE echo 1 > /proc/sys/net/ipv4/ip_forward apt-get install dnsmasq ipmasq /etc/init.d/dnsmasq restart dpkg-reconfigure ipmasq ifconfig eth0 192.168.0.99 iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE ##Add the line "net.ipv4.ip_forward = 1" to /etc/sysctl.conf echo 'Add the line "net.ipv4.ip_forward = 1" to /etc/sysctl.conf' gedit /etc/sysctl.conf # End.
Comment