2013-02-08 - [GRASE-Hotspot] Update
Header Data
From: Paul van Oijen <Pa***n@abnamrocomfin.com>
Message Hash: b425477dab16feda618833b9d9e49b1db1c8677ba70206e71e2645b2ae3d6dc8
Message ID: <CDE0808EBF803548968A157E73EF1A5D16A4EEC426@nlvwdbacfexc01>
Reply To: N/A
UTC Datetime: 2013-02-08 05:39:14 UTC
Raw Date: Fri, 08 Feb 2013 13:39:14 +0100
Raw message
Unfortunately I am not being able to get Grace up after the update (3.7.7.6 Released)
Now after a restart of the machine I get:
coova-chilli: invalid numeric value: --ipup=/etc/chilli/up.sh
coova-chilli[13413]: options.c: 180: could not generate configuration (/var/run/chilli.13413.cfg.bin), sleeping one second
coova-chilli: invalid numeric value: --ipup=/etc/chilli/up.sh
coova-chilli[13413]: options.c: 180: could not generate configuration (/var/run/chilli.13413.cfg.bin), sleeping one second
coova-chilli: invalid numeric value: --ipup=/etc/chilli/up.sh
coova-chilli[13413]: options.c: 180: could not generate configuration (/var/run/chilli.13413.cfg.bin), sleeping one second
coova-chilli: invalid numeric value: --ipup=/etc/chilli/up.sh
coova-chilli[13413]: options.c: 180: could not generate configuration (/var/run/chilli.13413.cfg.bin), sleeping one second
coova-chilli: invalid numeric value: --ipup=/etc/chilli/up.sh
coova-chilli[13413]: options.c: 180: could not generate configuration (/var/run/chilli.13413.cfg.bin), sleeping one second
coova-chilli: invalid numeric value: --ipup=/etc/chilli/up.sh
coova-chilli[13413]: options.c: 180: could not generate configuration (/var/run/chilli.13413.cfg.bin), sleeping one second
opening another term there is no tun device that I used to have with 10.1.0.1
eth0 Link encap:Ethernet HWaddr 00:0a:cd:12:3b:a9
inet addr:192.168.1.67 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3023 errors:0 dropped:0 overruns:0 frame:0
TX packets:868 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:732120 (732.1 KB) TX bytes:95252 (95.2 KB)
Interrupt:16 Base address:0xdc00
eth1 Link encap:Ethernet HWaddr 00:18:8b:04:fe:34
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2674 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:431136 (431.1 KB) TX bytes:0 (0.0 B)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:808 (808.0 B) TX bytes:808 (808.0 B)
File: /etc/chilli/up.sh
#!/bin/sh
TUNTAP=$(basename $DEV)
UNDO_FILE=/var/run/chilli.$TUNTAP.sh
. /etc/chilli/functions
[ -e "$UNDO_FILE" ] && sh $UNDO_FILE 2>/dev/null
rm -f $UNDO_FILE 2>/dev/null
ipt() {
opt=$1; shift
echo "iptables -D $*" >> $UNDO_FILE
iptables $opt $*
}
ipt_in() {
ipt -I INPUT -i $TUNTAP $*
}
if [ -n "$TUNTAP" ]
then
# ifconfig $TUNTAP mtu $MTU
if [ "$KNAME" != "" ]
then
ipt -I FORWARD -i $DHCPIF -m coova --name $KNAME -j ACCEPT
ipt -I FORWARD -o $DHCPIF -m coova --name $KNAME --dest -j ACCEPT
ipt -I FORWARD -i $TUNTAP -j ACCEPT
ipt -I FORWARD -o $TUNTAP -j ACCEPT
[ -n "$DHCPLISTEN" ] && ifconfig $DHCPIF $DHCPLISTEN
else
if [ "$LAYER3" != "1" ]
then
[ -n "$UAMPORT" -a "$UAMPORT" != "0" ] && \
ipt_in -p tcp -m tcp --dport $UAMPORT --dst $ADDR -j ACCEPT
[ -n "$UAMUIPORT" -a "$UAMUIPORT" != "0" ] && \
ipt_in -p tcp -m tcp --dport $UAMUIPORT --dst $ADDR -j ACCEPT
[ -n "$HS_TCP_PORTS" ] && {
for port in $HS_TCP_PORTS; do
ipt_in -p tcp -m tcp --dport $port --dst $ADDR -j ACCEPT
done
}
ipt_in -p udp -d 255.255.255.255 --destination-port 67:68 -j ACCEPT
ipt_in -p udp -d $ADDR --destination-port 67:68 -j ACCEPT
ipt_in -p udp --dst $ADDR --dport 53 -j ACCEPT
ipt_in -p icmp --dst $ADDR -j ACCEPT
ipt -A INPUT -i $TUNTAP --dst $ADDR -j DROP
ipt -I INPUT -i $DHCPIF -j DROP
fi
ipt -I FORWARD -i $DHCPIF -j DROP
ipt -I FORWARD -o $DHCPIF -j DROP
ipt -I FORWARD -i $TUNTAP -j ACCEPT
ipt -I FORWARD -o $TUNTAP -j ACCEPT
# Help out conntrack to not get confused
# (stops masquerading from working)
#ipt -I PREROUTING -t raw -j NOTRACK -i $DHCPIF
#ipt -I OUTPUT -t raw -j NOTRACK -o $DHCPIF
# Help out MTU issues with PPPoE or Mesh
ipt -I FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
ipt -I FORWARD -t mangle -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
[ "$HS_LAN_ACCESS" != "on" -a "$HS_LAN_ACCESS" != "allow" ] && \
ipt -I FORWARD -i $TUNTAP \! -o $HS_WANIF -j DROP
[ "$HS_LOCAL_DNS" = "on" ] && \
ipt -I PREROUTING -t nat -i $TUNTAP -p udp --dport 53 -j DNAT --to-destination $ADDR
fi
fi
# site specific stuff optional
[ -e /etc/chilli/ipup.sh ] && . /etc/chilli/ipup.sh
But maybe that's because it loops with the Chilli error..
Who can help me?
This box has been happily running for more than a year without any issues.
Cheers...
http://www.abnamrocomfin.com/maildisclaimer
Thread
-
Return to February 2013
- Return to “Paul van Oijen <Pa***n@abnamrocomfin.com>”
- Return to “Tim White <ti***8@gmail.com>”
-
Return to “Tomas213 <to***3@gmail.com>”
- 2013-02-08 (Fri, 08 Feb 2013 13:39:14 +0100) - [GRASE-Hotspot] Update - Paul van Oijen <Pa***n@abnamrocomfin.com>
- 2013-02-08 (Fri, 08 Feb 2013 16:31:08 +0200) - Re: [GRASE-Hotspot] Update - Tomas213 <to***3@gmail.com>
- 2013-02-08 (Sat, 09 Feb 2013 15:48:02 +1000) - Re: [GRASE-Hotspot] Update - Tim White <ti***8@gmail.com>
- 2013-02-10 (Sun, 10 Feb 2013 19:59:16 +1000) - Re: [GRASE-Hotspot] Update - Tim White <ti***8@gmail.com>