2013-04-04 - Re: [GRASE-Hotspot] Intermittent Request Timed Out

Header Data

From: vicki kumar <om***a@gmail.com>
Message Hash: 542ba0796bc817c608cfa6308bdf6ee0f94bd4962cbf5135b4c8b1a37e709f73
Message ID: <CAA1C2kx_eGGf9wLfs-7U9ROOYrD=KZOB=oC=eJsiQ7akhWnE=A@mail.gmail.com>
Reply To: <CAA1C2kx=-V+68-3OWcXd0s-80jaMO_=88jsFRfP-wGoDixMhww@mail.gmail.com>
UTC Datetime: 2013-04-04 03:13:44 UTC
Raw Date: Thu, 04 Apr 2013 15:43:44 +0530

Raw message

>
> edit /etc/chilli/ipup.sh
>
> > and change the following line
>
> > ipt -I PREROUTING -t nat -i $TUNTAP -p tcp -s $NET/$MASK -d ! $ADDR
>
> > --dport 80 -j REDIRECT --to 3128
>
> > to
>
> > ipt -I PREROUTING -t nat -i $TUNTAP -p tcp -s $NET/$MASK ! -d $ADDR
>
> > --dport 80 -j REDIRECT --to 3128
>
> >
>
> > The key for those who can't see the difference is the exclamation mark
>
> > after the -d, is now before the -d.
>
>
When I make changes as given above I am not at all able to visit any
website but I am able to ping almost every website and when I revert the
changes, I am able to access internet with sporadic "Request Timed Out".

Here is what the grase radmin shows on the home page:

User Management InterfaceStatusDevice InformationModel NameGRASEHost Name
graseHTTP ServerApache/2.2.22 (Ubuntu) via apache2handlerSystem Up-Time0
days, 0 hours, 1 minutesCurrent Server TimeThu, 04 Apr 2013 15:32:39
+0530Hardware
VersionGenuine Intel(R) CPU 2140 @ 1.60GHz @1600.000MHzSoftware Version
3.7.7.6Home URLGRASE (Purewhite) <http://grasehotspot.org/>LANIP Address
10.1.0.1Subnet Mask255.255.255.0MAC AddressNetwork Interfacetun1WANIP
Address10.40.108.39Subnet Mask255.255.254.0Gateway10.40.108.1DNS 1127.0.0.1DNS
2MAC Address00:0C:29:4B:C2:0CNetwork Interfaceeth0


Why is it showing DNS 1 as 127.0.0.1 though I have put DNS provided by my
ISP in Network Settings?

Any help will be appreciated.

Thanks.


On Wed, Apr 3, 2013 at 6:15 PM, vicki kumar <om***a@gmail.com>wrote:

> Hi,
>
> The Grase seems to be set up nicely. However, I am getting occasional
> "Request Timed Out" when I ping any website. Sometimes as much as 20%
> packets are lost although the internet connection works fine without any
> interruption in absence of Grase. What can the issue be related to?
>
> Also, I noticed that no usage logs are being created when I see this in
> "Monitor Sessions" in radmin portal nor can I see them in
> /var/log/squid3/access.log. Does it mean that squid is not set up properly
> although I can see this service running in "top" command?
>
> Thanks.
>

Thread