2016-05-14 - Can’t connect on lan interface

Header Data

From: Aymeric Fouchault <ay***t@gmail.com>
Message Hash: 7be981db49c7ff710256cac74c4b9ddfa6a4988af868d4cb53340bad1aba978f
Message ID: <f2d97849-5cc3-453d-87e3-1a3e6583cbbd@grasehotspot.org>
Reply To: N/A
UTC Datetime: 2016-05-14 09:08:41 UTC
Raw Date: Sat, 14 May 2016 09:08:41 -0700

Raw message

Hello,

I'm installing for the first time Grase on a Ubuntu server.
5 Lan Interface :
eth0 => default WAN (satellite connection)
eth1 => backup WAN (ADSL connection)
eth2 => private network
eth3 => public network (10.200.254.254/16)
eth4 => backup

I wan't use Grase on public network (eth3) to satellite connection (eth0)

When I connect a computer on eth3, I have a correct ip address via DHCP. I 
can ping router (10.200.254.254)
DNS is set by DHCP on 10.200.254.254, but DNS don't reply :(
If I browse http://10.200.254.254, I arrive on debian homepage

Can you help me ?

Thank you !

Aymeric.

# sh collect-support-info.sh
This script will collect information about your system that is useful for 
debugging the Grase Hotspot system. It will then give you the option of 
uploading the information to a pastebin for ease of sending the information 
to the mailing list
Some of the information gather may be sensative depending on your 
environment. It may contain private network IP's, MAC addresses etc. Please 
review the data before uploading it
Do you wish to continue?
Grase Support Information Script = 2016040401
== Grase Package versions ==
grase-conf-squid3:
  Installed: (none)
  Candidate: (none)
  Version table:
grase-conf-openvpn:
  Installed: 1.7.1
  Candidate: 1.7.1
  Version table:
 *** 1.7.1 0
        500 http://packages.grasehotspot.org/ purewhite/main amd64 Packages
        100 /var/lib/dpkg/status
grase-conf-freeradius:
  Installed: 1.9.4.16.g0d854c6
  Candidate: 1.9.4.16.g0d854c6
  Version table:
 *** 1.9.4.16.g0d854c6 0
        500 http://packages.grasehotspot.org/ purewhite/main amd64 Packages
        100 /var/lib/dpkg/status
grase-conf-squid3-3.1:
  Installed: (none)
  Candidate: 1.6.13.gc9496e0
  Version table:
     1.6.13.gc9496e0 0
        500 http://packages.grasehotspot.org/ purewhite/main amd64 Packages
grase-conf-squid3-3.3:
  Installed: 1.6.13.gc9496e0
  Candidate: 1.6.13.gc9496e0
  Version table:
 *** 1.6.13.gc9496e0 0
        500 http://packages.grasehotspot.org/ purewhite/main amd64 Packages
        100 /var/lib/dpkg/status
grase-www-portal:
  Installed: 3.8.0
  Candidate: 3.8.0
  Version table:
 *** 3.8.0 0
        500 http://packages.grasehotspot.org/ purewhite/main amd64 Packages
        100 /var/lib/dpkg/status
grase-repo:
  Installed: 1.6
  Candidate: 1.6
  Version table:
 *** 1.6 0
        500 http://packages.grasehotspot.org/ purewhite/main amd64 Packages
        100 /var/lib/dpkg/status
grase-conf-nginx:
  Installed: (none)
  Candidate: 1.1
  Version table:
     1.1 0
        500 http://packages.grasehotspot.org/ purewhite/main amd64 Packages
grase-remote-assist-user:
  Installed: (none)
  Candidate: 1.5
  Version table:
     1.5 0
        500 http://packages.grasehotspot.org/ purewhite/main amd64 Packages
grase-www-portal-ext-libs:
  Installed: 3.8.0
  Candidate: 3.8.0
  Version table:
 *** 3.8.0 0
        500 http://packages.grasehotspot.org/ purewhite/main amd64 Packages
        100 /var/lib/dpkg/status
grase-conf-apache2:
  Installed: 1.1.12.gabb2ede
  Candidate: 1.1.12.gabb2ede
  Version table:
 *** 1.1.12.gabb2ede 0
        500 http://packages.grasehotspot.org/ purewhite/main amd64 Packages
        100 /var/lib/dpkg/status
grase-conf-dnsmasq:
  Installed: 1.6
  Candidate: 1.6
  Version table:
 *** 1.6 0
        500 http://packages.grasehotspot.org/ purewhite/main amd64 Packages
        100 /var/lib/dpkg/status
coova-chilli:
  Installed: 1.3.0-20-gdd7aa89
  Candidate: 1.3.0-20-gdd7aa89
  Version table:
 *** 1.3.0-20-gdd7aa89 0
        500 http://packages.grasehotspot.org/ purewhite/main amd64 Packages
        100 /var/lib/dpkg/status
freeradius:
  Installed: 2.2.5+dfsg-0.2
  Candidate: 2.2.5+dfsg-0.2
  Version table:
 *** 2.2.5+dfsg-0.2 0
        500 http://ftp.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status
squid3:
  Installed: 3.4.8-6+deb8u2
  Candidate: 3.4.8-6+deb8u2
  Version table:
 *** 3.4.8-6+deb8u2 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
        500 http://ftp.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status
mysql-server:
  Installed: 5.5.49-0+deb8u1
  Candidate: 5.5.49-0+deb8u1
  Version table:
 *** 5.5.49-0+deb8u1 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     5.5.47-0+deb8u1 0
        500 http://ftp.debian.org/debian/ jessie/main amd64 Packages
mariadb-server:
  Installed: (none)
  Candidate: 10.0.23-0+deb8u1
  Version table:
     10.0.23-0+deb8u1 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
        500 http://ftp.debian.org/debian/ jessie/main amd64 Packages
== Grase Repository Details ==
deb http://packages.grasehotspot.org/ purewhite main
== Grase DNS Details ==
#### This file is auto generated                              ####
#### Please do not edit it.                                   ####
#### Changes can be made in the Grase Hotspot Admin interface ####
#chilli_lanip 10.200.254.254
#chilli_wanif eth0
#chilli_lanif eth3
#chilli_network 10.200.0.0
#chilli_netmask 255.255.0.0
address=/grasehotspot.lan/10.200.254.254
address=/logout/1.0.0.0
address=/logoff/1.0.0.0
no-resolv
strict-order
expand-hosts
domain=hotspot.lan
server=208.67.222.123
server=208.67.220.123
bogus-nxdomain=67.215.65.132
# last updated 1463237379== Chilli Radius local.conf (without macpasswd) ==
defidletimeout=600
nousergardendata
interval=600
== Squid extra grase.d config ==
-rw-r--r-- 1 root root 112 Nov  6  2015 /etc/squid3/grase.d/README.conf
# All files in this directory will be read by squid3 as
# configuration files, if their names end in .conf
#

== Linux Distro and version ==
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.4 (jessie)
Release:        8.4
Codename:       jessie
== Network Information ==
= Ifconfig =
eth0      Link encap:Ethernet  HWaddr 10:bf:48:87:32:6e
          inet addr:10.170.134.240  Bcast:255.255.255.255  Mask:255.252.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:31351 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19906 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:37734226 (35.9 MiB)  TX bytes:4065752 (3.8 MiB)
eth1      Link encap:Ethernet  HWaddr 68:05:ca:13:66:84
          inet addr:192.168.1.254  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:315 errors:0 dropped:0 overruns:0 frame:0
          TX packets:278 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:22824 (22.2 KiB)  TX bytes:22822 (22.2 KiB)
          Interrupt:19 Memory:f7b40000-f7b60000
eth2      Link encap:Ethernet  HWaddr 68:05:ca:12:4d:31
          inet addr:10.10.254.254  Bcast:10.10.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17069 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24558 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11350510 (10.8 MiB)  TX bytes:22310808 (21.2 MiB)
          Interrupt:18 Memory:f7940000-f7960000
eth3      Link encap:Ethernet  HWaddr 90:e2:ba:37:84:09
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1826 errors:0 dropped:0 overruns:0 frame:0
          TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:165828 (161.9 KiB)  TX bytes:7510 (7.3 KiB)
eth4      Link encap:Ethernet  HWaddr 90:e2:ba:37:7e:9c
          inet addr:10.100.254.254  Bcast:10.100.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:23034 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27313 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6549976 (6.2 MiB)  TX bytes:43168073 (41.1 MiB)
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:66 errors:0 dropped:0 overruns:0 frame:0
          TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12122 (11.8 KiB)  TX bytes:12122 (11.8 KiB)
tun0      Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:10.200.254.254  P-t-P:10.200.254.254  Mask:255.255.0.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:1022 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:69322 (67.6 KiB)  TX bytes:2354 (2.2 KiB)
tun1      Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:10.64.63.12  P-t-P:10.64.63.12  Mask:255.255.254.0
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
= /etc/network/interfaces =
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# Satellite
auto eth0
iface eth0 inet dhcp
# ADSL
auto eth1
iface eth1 inet static
  address 192.168.1.254
  netmask 255.255.255.0
# Privé
auto eth2
iface eth2 inet static
  address 10.10.254.254
  netmask 255.255.0.0
# Unused
auto eth3
iface eth3 inet manual
# Public
auto eth4
iface eth4 inet static
  address 10.100.254.254
  netmask 255.255.0.0
collect-support-info.sh: 36: collect-support-info.sh: nmcli: not found
= Network Manager =
== Network Manager settings ==
cat: /etc/NetworkManager/NetworkManager.conf: No such file or directory
ls: cannot access /etc/dnsmasq.d/network-manager: No such file or directory
cat: /etc/dnsmasq.d/network-manager: No such file or directory
= Hard disk information =
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       902G  1.3G  855G   1% /
udev             10M     0   10M   0% /dev
tmpfs           1.6G   11M  1.5G   1% /run
tmpfs           3.8G     0  3.8G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           3.8G     0  3.8G   0% /sys/fs/cgroup
= Status of services =
== CoovaChilli ==
● chilli.service - LSB: Chilli Captive Portal
   Loaded: loaded (/etc/init.d/chilli)
   Active: active (running) since Sat 2016-05-14 17:44:16 CEST; 10min ago
  Process: 1570 ExecStart=/etc/init.d/chilli start (code=exited, 
status=0/SUCCESS)
   CGroup: /system.slice/chilli.service
           └─1659 /usr/sbin/chilli -c /etc/chilli.conf
May 14 17:44:16 prunay-svr chilli[1570]: Starting chilli: chilli.
May 14 17:44:16 prunay-svr coova-chilli[1659]: CoovaChilli(ChilliSpot) 
1.3.0. Copyright 2002-2005 Mondru AB. Licensed under GPL. Copyright 
2006-2012 David Bird (Coova Technologies) <su***t@coova.com>. Licensed 
under GPL. See http://www.coova.org/ for details.
May 14 17:44:16 prunay-svr coova-chilli[1659]: tun.c: 605: TX queue length 
set to 100
May 14 17:44:16 prunay-svr coova-chilli[1660]: main-script.c: 94: Running 
/etc/chilli/up.sh (0/0)
May 14 17:44:16 prunay-svr coova-chilli[1659]: chilli.c: 5117: New DHCP 
request from MAC=14-58-D0-B7-D4-85
May 14 17:44:16 prunay-svr coova-chilli[1659]: chilli.c: 5005: Client 
MAC=14-58-D0-B7-D4-85 assigned IP 10.200.0.1
May 14 17:44:26 prunay-svr coova-chilli[1659]: chilli.c: 5117: New DHCP 
request from MAC=FA-16-54-5C-92-94
May 14 17:44:26 prunay-svr coova-chilli[1659]: chilli.c: 5005: Client 
MAC=FA-16-54-5C-92-94 assigned IP 10.200.0.2
● freeradius.service - LSB: Radius Daemon
   Loaded: loaded (/etc/init.d/freeradius)
   Active: active (running) since Sat 2016-05-14 17:44:16 CEST; 10min ago
  Process: 1178 ExecStart=/etc/init.d/freeradius start (code=exited, 
status=0/SUCCESS)
   CGroup: /system.slice/freeradius.service
           └─1564 /usr/sbin/freeradius
May 14 17:44:16 prunay-svr freeradius[1178]: Starting FreeRADIUS daemon: 
freeradius.
● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2)
   Active: active (running) since Sat 2016-05-14 17:44:13 CEST; 10min ago
  Process: 663 ExecStart=/etc/init.d/apache2 start (code=exited, 
status=0/SUCCESS)
   CGroup: /system.slice/apache2.service
           ├─1064 /usr/sbin/apache2 -k start
           ├─1119 /usr/sbin/apache2 -k start
           ├─1120 /usr/sbin/apache2 -k start
           ├─1121 /usr/sbin/apache2 -k start
           ├─1122 /usr/sbin/apache2 -k start
           ├─1123 /usr/sbin/apache2 -k start
           ├─1758 /usr/sbin/apache2 -k start
           └─1800 /usr/sbin/apache2 -k start
May 14 17:44:12 prunay-svr apache2[663]: Starting web server: 
apache2AH00558: apache2: Could not reliably determine the server's fully 
qualified domain name, using 127.0.1.1. Set the 'ServerName' directive 
globally to suppress this message
May 14 17:44:13 prunay-svr apache2[663]: .
● squid3.service - LSB: Squid HTTP Proxy version 3.x
   Loaded: loaded (/etc/init.d/squid3)
   Active: active (running) since Sat 2016-05-14 17:44:11 CEST; 10min ago
  Process: 665 ExecStart=/etc/init.d/squid3 start (code=exited, 
status=0/SUCCESS)
   CGroup: /system.slice/squid3.service
           ├─ 949 /usr/sbin/squid3 -YC -f /etc/squid3/squid.conf.grase
           ├─ 954 (squid-1) -YC -f /etc/squid3/squid.conf.grase
           └─1041 (logfile-daemon) /var/log/squid3/access.log
May 14 17:44:11 prunay-svr squid3[949]: Squid Parent: will start 1 kids
May 14 17:44:11 prunay-svr squid3[665]: Starting Squid HTTP Proxy 3.x: 
squid3.
May 14 17:44:11 prunay-svr squid3[949]: Squid Parent: (squid-1) process 954 
started
● mysql.service - LSB: Start and stop the mysql database server daemon
   Loaded: loaded (/etc/init.d/mysql)
   Active: active (running) since Sat 2016-05-14 17:44:14 CEST; 10min ago
  Process: 611 ExecStart=/etc/init.d/mysql start (code=exited, 
status=0/SUCCESS)
   CGroup: /system.slice/mysql.service
           ├─ 708 /bin/sh /usr/bin/mysqld_safe
           └─1106 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql 
--plugin-dir=/usr/lib/mysql/plugin --user=mysql 
--log-error=/var/log/mysql/error.log --pid-file=/var/run/mysqld/mysqld.pid 
--socket=/var/run/mysqld/mysqld.sock --port=3306
May 14 17:44:14 prunay-svr mysql[611]: Starting MySQL database server: 
mysqld . ..
May 14 17:44:14 prunay-svr mysql[611]: Checking for tables which need an 
upgrade, are corrupt or were
May 14 17:44:14 prunay-svr mysql[611]: not closed cleanly..
● network-manager.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
● network-manager.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
= User information =
root@prunay-svr
===============================================================================
Please review the information
If you happy to submit this to the pastebin for ease of sending the the 
mailing list, press Enter, otherwise press Ctrl+C now


Thread