2014-08-11 - Re: My setup

Header Data

From: Eliot Ness <sc***7@googlemail.com>
Message Hash: 93df398c4615a2272bcca637b0642371786d995698d1e04a697b66d1b94b5387
Message ID: <fb366b15-0be1-492a-9b97-206e8c187b2a@grasehotspot.org>
Reply To: <28d95e20-f8f4-430c-86f9-7c578efd3731@grasehotspot.org>
UTC Datetime: 2014-08-11 04:33:40 UTC
Raw Date: Mon, 11 Aug 2014 04:33:40 -0700

Raw message



On Sunday, August 10, 2014 2:13:05 PM UTC+3, Eliot Ness wrote:
>
> I was looking a long time for something like this, and i test a lot of 
> projects...
> But this one is awesome!
> My setup is based on mini itx pc with 1 nic internal on board, and 1 nic 
> usb wifi.
> Usb wifi connected to ap based on hardly mod openwrt
>
> Till now and short tests, working great, using same layer as tim default 
> and dhcp on machine.
> Squid mods need it but not necessary, depends on user 
> On free time i will test other layers too - and i will see how can i help 
> on translation (GREEK)
>
> +1 tim .... Congratulations
> I will donate your project soon
>
==================================================================================
I see also a typical error on squid setup.
In my case i also install webmin and a lot of addons with stress free theme.

Squid not caching at default setup so, need this:
In /etc/squid3/squid.conf uncomment 
cache_dir ufs /var/spool/squid3 100 16 256

100 is the cache that squid use, change to what you need and restart

Another problem is that not everything on the web has cache friendly expire 
tags, and the refresh patterns by default are somewhat conservative.
Adding this line to /etc/squid3/squid.conf can help. 

refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 3600       90%     43200

This will force squid to cache all the images listed above for at least and 
hour, and up to half a day. 

More info about squid at https://help.ubuntu.com/community/Squid

Before any change keep squid.conf as a backup, just in case

Thread