2012-07-13 - Re: [GRASE-Hotspot] R: Grase hotspot session-timeout

Header Data

From: bb gate <ma***e@gmail.com>
Message Hash: 67257274ff421248dcde33159ca5b4b6429f7ff27f5560ec559dc4c88d0b50db
Message ID: <CAFaSQocq0xmakHMx=Zh9oifrYh4AXV3G+aYP81frfjRwEeWAGg@mail.gmail.com>
Reply To: <30712003.448841340273952845.JavaMail.defaultUser@defaultHost>
UTC Datetime: 2012-07-13 04:13:41 UTC
Raw Date: Fri, 13 Jul 2012 18:13:41 +0700

Raw message

Dear all,

I also have the same problem. I installed the dev.packages on top a Ubuntu
server. During the OS install my wan interface was eth1 and it was dhcp.
After I finished installing the grase dev packages, my LAN laptop couldn't
get to the grase server because it didn't hand out any ip adress. I then
edited the udev file in /etc/udev/70.persistent.net.rules to change from
eth0 to eth1 and eth1 to eth0. I think that grase 'seemed' to like the wan
if to be eth0. Next, I edited /etc/network/interfaces and changed eth1 to
eth0. After reboot, grase server did hand out the ip address alright.

Logging to the admin interface was fine. The problem started when I logged
into the captive portal as a client and got disconnected every 5 minutes.
Grase server syslog showed that coovachilli restarted itself every five
minutes. Looks like an overactive crond.

Anyway, I don't have the test grase machine with me at the moment but I
will send the syslog later and is there anything else that will help before
I do a clean install of Ubuntu server OS and then grase again.

BB

On Thu, Jun 21, 2012 at 5:19 PM, lu***e@inwind.it <lu***e@inwind.it> wrote:

> hi
>
>
> thanks for your reply
>
>
> i installed the ubuntu desktop version. but sessions drop always.
>
> i attach my syslog. (today syslog is syslog file, without .1
>
> there are a lot of lines with
>
> /usr/share/grase/scripts/update_grase_networksettings.sh
>
>
> the problem can be that i've configured my wan IP address static in
> etc/network/interfaces?
>
>
>
>
>
> ----Messaggio originale----
> Da: lu***e@inwind.it
> Data: 21/06/2012 9.29
> A: <gr***t@lists.sourceforge.net>
> Ogg: Grase hotspot session-timeout
>
> hi
>
>
> i've the same problem of session timeout of  "libert link"
>
>
> in my syslog ' found this error message (see below).
>
>
> can you help me? session drop after few minutes sometimes also after few
> seconds.
>
>
> Thanks
>
>
> Jun 21 09:16:06 bsagrase coova-chilli[1621]: chilli.c: 5857: Successful
> UAM login from username=prova IP=10.1.0.2
> Jun 21 09:16:08 bsagrase ovpn-grase[705]: TLS Error: TLS key negotiation
> failed to occur within 60 seconds (check your network connectivity)
> Jun 21 09:16:08 bsagrase ovpn-grase[705]: TLS Error: TLS handshake failed
> Jun 21 09:16:08 bsagrase ovpn-grase[705]: TCP/UDP: Closing socket
> Jun 21 09:16:08 bsagrase ovpn-grase[705]: SIGUSR1[soft,tls-error]
> received, process restarting
> Jun 21 09:16:10 bsagrase ovpn-grase[705]: NOTE: the current
> --script-security setting may allow this configuration to call user-defined
> scripts
> Jun 21 09:16:10 bsagrase ovpn-grase[705]: Re-using SSL/TLS context
> Jun 21 09:16:10 bsagrase ovpn-grase[705]: LZO compression initialized
> Jun 21 09:16:10 bsagrase ovpn-grase[705]: Control Channel MTU parms [
> L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
> Jun 21 09:16:10 bsagrase ovpn-grase[705]: Data Channel MTU parms [ L:1542
> D:1400 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
> Jun 21 09:16:10 bsagrase ovpn-grase[705]: Local Options hash (VER=V4):
> '41690919'
> Jun 21 09:16:10 bsagrase ovpn-grase[705]: Expected Remote Options hash
> (VER=V4): '530fdded'
> Jun 21 09:16:10 bsagrase ovpn-grase[705]: UDPv4 link local: [undef]
> Jun 21 09:16:10 bsagrase ovpn-grase[705]: UDPv4 link remote: [AF_INET]
> 106.187.50.242:1194
> Jun 21 09:17:01 bsagrase CRON[1715]: (root) CMD (   cd / && run-parts
> --report /etc/cron.hourly)
> Jun 21 09:17:10 bsagrase ovpn-grase[705]: TLS Error: TLS key negotiation
> failed to occur within 60 seconds (check your network connectivity)
> Jun 21 09:17:10 bsagrase ovpn-grase[705]: TLS Error: TLS handshake failed
> Jun 21 09:17:10 bsagrase ovpn-grase[705]: TCP/UDP: Closing socket
> Jun 21 09:17:10 bsagrase ovpn-grase[705]: SIGUSR1[soft,tls-error]
> received, process restarting
> Jun 21 09:17:12 bsagrase ovpn-grase[705]: NOTE: the current
> --script-security setting may allow this configuration to call user-defined
> scripts
> Jun 21 09:17:12 bsagrase ovpn-grase[705]: Re-using SSL/TLS context
> Jun 21 09:17:12 bsagrase ovpn-grase[705]: LZO compression initialized
> Jun 21 09:17:12 bsagrase ovpn-grase[705]: Control Channel MTU parms [
> L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
> Jun 21 09:17:12 bsagrase ovpn-grase[705]: Data Channel MTU parms [ L:1542
> D:1400 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
> Jun 21 09:17:12 bsagrase ovpn-grase[705]: Local Options hash (VER=V4):
> '41690919'
> Jun 21 09:17:12 bsagrase ovpn-grase[705]: Expected Remote Options hash
> (VER=V4): '530fdded'
> Jun 21 09:17:12 bsagrase ovpn-grase[705]: UDPv4 link local: [undef]
> Jun 21 09:17:12 bsagrase ovpn-grase[705]: UDPv4 link remote: [AF_INET]
> 106.187.50.242:443
> Jun 21 09:18:12 bsagrase ovpn-grase[705]: TLS Error: TLS key negotiation
> failed to occur within 60 seconds (check your network connectivity)
> Jun 21 09:18:12 bsagrase ovpn-grase[705]: TLS Error: TLS handshake failed
> Jun 21 09:18:12 bsagrase ovpn-grase[705]: TCP/UDP: Closing socket
> Jun 21 09:18:12 bsagrase ovpn-grase[705]: SIGUSR1[soft,tls-error]
> received, process restarting
> Jun 21 09:18:14 bsagrase ovpn-grase[705]: NOTE: the current
> --script-security setting may allow this configuration to call user-defined
> scripts
> Jun 21 09:18:14 bsagrase ovpn-grase[705]: Re-using SSL/TLS context
> Jun 21 09:18:14 bsagrase ovpn-grase[705]: LZO compression initialized
> Jun 21 09:18:14 bsagrase ovpn-grase[705]: Control Channel MTU parms [
> L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
> Jun 21 09:18:14 bsagrase ovpn-grase[705]: Data Channel MTU parms [ L:1542
> D:1400 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
> Jun 21 09:18:14 bsagrase ovpn-grase[705]: Local Options hash (VER=V4):
> '41690919'
> Jun 21 09:18:14 bsagrase ovpn-grase[705]: Expected Remote Options hash
> (VER=V4): '530fdded'
> Jun 21 09:18:14 bsagrase ovpn-grase[705]: UDPv4 link local: [undef]
> Jun 21 09:18:14 bsagrase ovpn-grase[705]: UDPv4 link remote: [AF_INET]
> 106.187.50.242:1194
> Jun 21 09:19:14 bsagrase ovpn-grase[705]: TLS Error: TLS key negotiation
> failed to occur within 60 seconds (check your network connectivity)
> Jun 21 09:19:14 bsagrase ovpn-grase[705]: TLS Error: TLS handshake failed
> Jun 21 09:19:14 bsagrase ovpn-grase[705]: TCP/UDP: Closing socket
> Jun 21 09:19:14 bsagrase ovpn-grase[705]: SIGUSR1[soft,tls-error]
> received, process restarting
> Jun 21 09:19:16 bsagrase ovpn-grase[705]: NOTE: the current
> --script-security setting may allow this configuration to call user-defined
> scripts
> Jun 21 09:19:16 bsagrase ovpn-grase[705]: Re-using SSL/TLS context
> Jun 21 09:19:16 bsagrase ovpn-grase[705]: LZO compression initialized
> Jun 21 09:19:16 bsagrase ovpn-grase[705]: Control Channel MTU parms [
> L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
> Jun 21 09:19:16 bsagrase ovpn-grase[705]: Data Channel MTU parms [ L:1542
> D:1400 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
> Jun 21 09:19:16 bsagrase ovpn-grase[705]: Local Options hash (VER=V4):
> '41690919'
> Jun 21 09:19:16 bsagrase ovpn-grase[705]: Expected Remote Options hash
> (VER=V4): '530fdded'
> Jun 21 09:19:16 bsagrase ovpn-grase[705]: UDPv4 link local: [undef]
> Jun 21 09:19:16 bsagrase ovpn-grase[705]: UDPv4 link remote: [AF_INET]
> 106.187.50.242:443
> Jun 21 09:20:01 bsagrase CRON[1773]: (root) CMD (
> /usr/share/grase/scripts/update_grase_networksettings.sh)
> Jun 21 09:20:01 bsagrase crontab[1806]: (root) LIST (root)
> Jun 21 09:20:01 bsagrase crontab[1808]: (root) REPLACE (root)
> Jun 21 09:20:01 bsagrase coova-chilli[1621]: chilli.c: 7535: CoovaChilli
> shutting down
> Jun 21 09:20:01 bsagrase dnsmasq[1626]: exiting on receipt of SIGTERM
> Jun 21 09:20:01 bsagrase coova-chilli[1810]: main-script.c: 93: Running
> /etc/chilli/down.sh (0/0)
> Jun 21 09:20:02 bsagrase kernel: [  867.064352] device eth1 left
> promiscuous mode
> Jun 21 09:20:04 bsagrase chilli_opt: garden.c: 530: 11 (Resource
> temporarily unavailable) Invalid uamallowed domain or address:
> www.coova.org!
> Jun 21 09:20:04 bsagrase chilli_opt: garden.c: 530: 11 (Resource
> temporarily unavailable) Invalid uamallowed domain or address:
> purewhite.id.au!
> Jun 21 09:20:04 bsagrase chilli_opt: garden.c: 530: 11 (Resource
> temporarily unavailable) Invalid uamallowed domain or address:
> hotspot.purewhite.id.au!
> Jun 21 09:20:04 bsagrase chilli_opt: garden.c: 530: 11 (Resource
> temporarily unavailable) Invalid uamallowed domain or address:
> grasehotspot.org!
> Jun 21 09:20:04 bsagrase dnsmasq[1957]: started, version 2.57 cachesize 150
> Jun 21 09:20:04 bsagrase dnsmasq[1957]: compile time options: IPv6
> GNU-getopt DBus I18N DHCP TFTP IDN
> Jun 21 09:20:04 bsagrase CRON[1772]: (CRON) info (No MTA installed,
> discarding output)
> Jun 21 09:20:04 bsagrase dnsmasq[1957]: using nameserver 208.67.220.123#53
> Jun 21 09:20:04 bsagrase dnsmasq[1957]: using nameserver 208.67.222.123#53
> Jun 21 09:20:04 bsagrase dnsmasq[1957]: read /etc/hosts - 7 addresses
> Jun 21 09:20:04 bsagrase coova-chilli[1952]: CoovaChilli(ChilliSpot)
> 1.2.9. Copyright 2002-2005 Mondru AB. Licensed under GPL. Copyright
> 2006-2011 Coova Technologies, LLC <su***t@coova.com>. Licensed under
> GPL. See http://www.coova.org/ for details.
> Jun 21 09:20:04 bsagrase coova-chilli[1952]: tun.c: 604: TX queue length
> set to 100
> Jun 21 09:20:04 bsagrase kernel: [  869.229255] device eth1 entered
> promiscuous mode
> Jun 21 09:20:04 bsagrase coova-chilli[1961]: main-script.c: 93: Running
> /etc/chilli/up.sh (0/0)
> Jun 21 09:20:05 bsagrase coova-chilli[1952]: chilli.c: 5101: New DHCP
> request from MAC=00-1D-72-C2-25-59
> Jun 21 09:20:05 bsagrase coova-chilli[1952]: chilli.c: 4989: Client
> MAC=00-1D-72-C2-25-59 assigned IP 10.1.0.2
> Jun 21 09:20:16 bsagrase ovpn-grase[705]: TLS Error: TLS key negotiation
> failed to occur within 60 seconds (check your network connectivity)
> Jun 21 09:20:16 bsagrase ovpn-grase[705]: TLS Error: TLS handshake failed
> Jun 21 09:20:16 bsagrase ovpn-grase[705]: TCP/UDP: Closing socket
> Jun 21 09:20:16 bsagrase ovpn-grase[705]: SIGUSR1[soft,tls-error]
> received, process restarting
> Jun 21 09:20:18 bsagrase ovpn-grase[705]: NOTE: the current
> --script-security setting may allow this configuration to call user-defined
> scripts
> Jun 21 09:20:18 bsagrase ovpn-grase[705]: Re-using SSL/TLS context
> Jun 21 09:20:18 bsagrase ovpn-grase[705]: LZO compression initialized
> Jun 21 09:20:18 bsagrase ovpn-grase[705]: Control Channel MTU parms [
> L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
> Jun 21 09:20:18 bsagrase ovpn-grase[705]: Data Channel MTU parms [ L:1542
> D:1400 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
> Jun 21 09:20:18 bsagrase ovpn-grase[705]: Local Options hash (VER=V4):
> '41690919'
> Jun 21 09:20:18 bsagrase ovpn-grase[705]: Expected Remote Options hash
> (VER=V4): '530fdded'
> Jun 21 09:20:18 bsagrase ovpn-grase[705]: UDPv4 link local: [undef]
> Jun 21 09:20:18 bsagrase ovpn-grase[705]: UDPv4 link remote: [AF_INET]
> 106.187.50.242:1194
> Jun 21 09:21:01 bsagrase cron[604]: (root) RELOAD (crontabs/root)
> Jun 21 09:21:18 bsagrase ovpn-grase[705]: TLS Error: TLS key negotiation
> failed to occur within 60 seconds (check your network connectivity)
> Jun 21 09:21:18 bsagrase ovpn-grase[705]: TLS Error: TLS handshake failed
> Jun 21 09:21:18 bsagrase ovpn-grase[705]: TCP/UDP: Closing socket
> Jun 21 09:21:18 bsagrase ovpn-grase[705]: SIGUSR1[soft,tls-error]
> received, process restarting
> Jun 21 09:21:20 bsagrase ovpn-grase[705]: NOTE: the current
> --script-security setting may allow this configuration to call user-defined
> scripts
> Jun 21 09:21:20 bsagrase ovpn-grase[705]: Re-using SSL/TLS context
> Jun 21 09:21:20 bsagrase ovpn-grase[705]: LZO compression initialized
> Jun 21 09:21:20 bsagrase ovpn-grase[705]: Control Channel MTU parms [
> L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
> Jun 21 09:21:20 bsagrase ovpn-grase[705]: Data Channel MTU parms [ L:1542
> D:1400 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
> Jun 21 09:21:20 bsagrase ovpn-grase[705]: Local Options hash (VER=V4):
> '41690919'
> Jun 21 09:21:20 bsagrase ovpn-grase[705]: Expected Remote Options hash
> (VER=V4): '530fdded'
> Jun 21 09:21:20 bsagrase ovpn-grase[705]: UDPv4 link local: [undef]
> Jun 21 09:21:20 bsagrase ovpn-grase[705]: UDPv4 link remote: [AF_INET]
> 106.187.50.242:443
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Grase-hotspot mailing list
> Gr***t@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/grase-hotspot
>
>

Thread