I''m moving to a new place and my new flatmate wants a router because he likes the cleaness of it all in a non geeky way which I can understand. This means it''s going to be hard for me to pursude him to let me run a computer as a router to act as bandwidth cop. But I don''t fancy trying to use ssh, VNC and games while he''s using WindowsUpdate or p2p. So I need an answer to avoid arguments. - Is there a plush hardware solution to the problem? As a backup I''ve been looking into bandwidth scripts for an easy and sure way to do the job. I''ve tried using htb.init and a smoothwall module to do it but neither seemed to work. Now, I could spend ages trying to get it working and so forth but when it comes to this I''m sharing with someone else so I need something that will work brilliantly and straight off. If I go for the computer option and I''m able to pull it off I might as well make it a fileserver and use it as a single computer to download stuff on (so bittorrent, eDonkey and so we have 1 computer left on and not 3. If so what approach would you take for this? Use my own setup but binary parts to be sure it will work including kernel, iptables and iproute? - or should I take a distro setup for this and add stuff to that instead? I need: - samba - as many p2p programs as possible - maybe other server software - something to download with, say wget What would be your approach to this? I want to find a solution that involves less steps to make mistakes on because I haven''t had it working properly yet. Here are some links to scripts and the like I found in order of interest: http://www.smidsrod.no/products/firewall/supershaper/ http://www.metamorpher.de/fairnat/ #complex but hopeful: http://www.digriz.org.uk/jdg-qos-script/#howitworks http://users.skynet.be/cbqinit/ http://www.chronox.de/tc+filter/limit.conn-0.2.bz2 http://www.freenet.org.nz/python/pyshaper/#screenshot #proxy based limiter: http://www.stewart.com.au/ip_relay/ #comphrehensive: http://bwm-tools.pr.linuxrulz.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Jason Boxman
2005-Jan-20 22:21 UTC
Re: Hardware solution? (or v.easy software fix instead)
On Thursday 20 January 2005 17:07, ajpearce wrote: <snip>> So I need an answer to avoid arguments. > > - Is there a plush hardware solution to the problem?You could always get one of those Linksys routers that runs Linux and configure Linux traffic control on it. <snip>> If I go for the computer option and I''m able to pull it off I might as > well make it a fileserver and use it as a single computer to download > stuff on (so bittorrent, eDonkey and so we have 1 computer left on and > not 3. If so what approach would you take for this? Use my own setup > but binary parts to be sure it will work including kernel, iptables > and iproute? - or should I take a distro setup for this and add stuff > to that instead? I need:L7-Filter hasn''t been picking up Kademilia so filtering eDonkey tends to be difficult. ipp2p might be better about this, but I haven''t tried it. I just filter based on IP for p2p since I only have a single box that does any p2p. <snip>> http://www.metamorpher.de/fairnat/fairnat ought to let you share bandwidth out between groups of machines, so you and your roommate ought to be able to split up the bandwidth. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
The linksys linux router sounds ideal. Has anyone setup bandwidth management on it before though? Sounds like a tall order? On Thu, 20 Jan 2005 17:21:00 -0500, Jason Boxman <jasonb@edseek.com> wrote:> On Thursday 20 January 2005 17:07, ajpearce wrote: > <snip> > > So I need an answer to avoid arguments. > > > > - Is there a plush hardware solution to the problem? > > You could always get one of those Linksys routers that runs Linux and > configure Linux traffic control on it. > > <snip> > > If I go for the computer option and I''m able to pull it off I might as > > well make it a fileserver and use it as a single computer to download > > stuff on (so bittorrent, eDonkey and so we have 1 computer left on and > > not 3. If so what approach would you take for this? Use my own setup > > but binary parts to be sure it will work including kernel, iptables > > and iproute? - or should I take a distro setup for this and add stuff > > to that instead? I need: > > L7-Filter hasn''t been picking up Kademilia so filtering eDonkey tends to be > difficult. ipp2p might be better about this, but I haven''t tried it. I just > filter based on IP for p2p since I only have a single box that does any p2p. > > <snip> > > http://www.metamorpher.de/fairnat/ > > fairnat ought to let you share bandwidth out between groups of machines, so > you and your roommate ought to be able to split up the bandwidth. > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Robert Kurjata
2005-Jan-21 09:02 UTC
Re[2]: Hardware solution? (or v.easy software fix instead)
Witaj ajpearce, W Twoim liście datowanym 21 stycznia 2005 (00:17:38) można przeczytać: Slightly OT but, For a Linksys wireless router (WRT54G) there are perfect solutions using wondershaper + iproute2 in an alternative firmwares. Also you can build your own firmware cause a build environment just works. Look at http://www.portless.net/menu/ewrt/ as a starting point, links at the end will drive you to the all important places. From my experience: kernel 2.4.20 + iproute2 + wonderhaper + ebtables + iptables + vconfig are just ready waiting for use.> The linksys linux router sounds ideal. Has anyone setup bandwidth > management on it before though? Sounds like a tall order?[snip]>> LARTC mailing list / LARTC@mailman.ds9a.nl >> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >> > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/-- Pozdrowienia, Robert Kurjata _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
ajpearce
2005-Jan-21 19:26 UTC
Re: Re[2]: Hardware solution? (or v.easy software fix instead)
I am considering this. But we will also be using a cable modem. I wondered if I could even get the cable modem to do CBQ as well with something like sigma! Just a thought though. On Fri, 21 Jan 2005 10:02:21 +0100, Robert Kurjata <rkurjata@ire.pw.edu.pl> wrote:> Witaj ajpearce, > > W Twoim liście datowanym 21 stycznia 2005 (00:17:38) można przeczytać: > > Slightly OT but, > > For a Linksys wireless router (WRT54G) there are perfect solutions > using wondershaper + iproute2 in an alternative firmwares. Also you > can build your own firmware cause a build environment just works. > > Look at http://www.portless.net/menu/ewrt/ as a starting point, links > at the end will drive you to the all important places. > > From my experience: kernel 2.4.20 + iproute2 + wonderhaper + ebtables + > iptables + vconfig are just ready waiting for use. > > > The linksys linux router sounds ideal. Has anyone setup bandwidth > > management on it before though? Sounds like a tall order? > > > [snip] > > >> LARTC mailing list / LARTC@mailman.ds9a.nl > >> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > >> > > _______________________________________________ > > LARTC mailing list / LARTC@mailman.ds9a.nl > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > > > -- > Pozdrowienia, > Robert Kurjata > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/