OpenWrt Forum Archive

Topic: fon chillispot

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I all...i'm italia so sorry for my bad english

I'mt trying to configure chillispot to work as the fon's chillispot...i've just configured thinclient to comunicate with fon.com and it works but i have some trouble with chillispot

the problem is that the dhcp client can't go in internet (even fon.com)...it can only ping 192.168.182.1...stop
some info

chillispot.conf

radiusserver1 radius01.fon.com
radiusserver2 radius02.fon.com
radiussecret garrafon
radiusnasid 00-18-84-**-**-** (my mac addres that i can see in https://www.fon.com/it/userzone/myRouters)
macauth
dhcpif ath1
uamsecret garrafon
uamanydns
uamallowed [...all needed site...]

uamserver https://www.fon.com/login/gateway
net 192.168.182.0/24
dynip 192.168.182.0/24
dns1 208.67.222.222
dns2 208.67.220.220

chillispot log

root@fonera2openwrt:/# chilli -d -f -c /etc/chilli.conf
ChilliSpot version 1.1.0 started.
chillispot[811]: ChilliSpot 1.1.0. Copyright 2002-2005 Mondru AB. Licensed under GPL. See http://www.chillispot.org for credits.
Waiting for client request...
chillispot[811]: chilli.c: 3509: New DHCP request from MAC=00-15-F2-A0-**-**
New DHCP connection established
DHCP requested IP address
Received access request confirmation from radius server
Received access reject from radius server
cb_dhcp_data_ind. Packet received. DHCP authstate: 5
cb_dhcp_data_ind. Packet received. DHCP authstate: 5
cb_dhcp_data_ind. Packet received. DHCP authstate: 5
cb_tun_ind. Packet received: Forwarding to link layer
cb_dhcp_data_ind. Packet received. DHCP authstate: 5
cb_tun_ind. Packet received: Forwarding to link layer
cb_tun_ind. Packet received: Forwarding to link layer
cb_tun_ind. Packet received: Forwarding to link layer

ifconfig

root@fonera2openwrt:~# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:18:84:**:**:**
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:293 errors:0 dropped:5 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:46194 (45.1 KiB)

ath1      Link encap:Ethernet  HWaddr 06:18:84:**:**:**
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:265 errors:0 dropped:0 overruns:0 frame:0
          TX packets:131 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:25832 (25.2 KiB)  TX bytes:19562 (19.1 KiB)

br-lan    Link encap:Ethernet  HWaddr 00:18:84:**:**:**
          inet addr:192.168.1.12  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9000 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8149 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:856637 (836.5 KiB)  TX bytes:1342068 (1.2 MiB)

eth0      Link encap:Ethernet  HWaddr 00:18:84:**:**:**
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9005 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8150 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:982937 (959.8 KiB)  TX bytes:1343111 (1.2 MiB)
          Interrupt:4 Base address:0x1000

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:337 errors:0 dropped:0 overruns:0 frame:0
          TX packets:337 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:28103 (27.4 KiB)  TX bytes:28103 (27.4 KiB)

wifi0     Link encap:Ethernet  HWaddr 00:18:84:**:**:**
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:60691 errors:0 dropped:0 overruns:0 frame:56941
          TX packets:914 errors:61 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199
          RX bytes:8292282 (7.9 MiB)  TX bytes:132834 (129.7 KiB)
          Interrupt:3 Memory:b0000000-b00ffffc

root@fonera2openwrt:~#

iwconfig

ath0      IEEE 802.11g  ESSID:"asd"  Nickname:""
          Mode:Master  Frequency:2.412 GHz  Access Point: 00:18:84:**:**:**
          Bit Rate:0 kb/s   Tx-Power=18 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:0404-3B15-285A-4B09-D620-63C6-D52F-2542 [2]   Security mode:open
          Power Management:off
          Link Quality=0/70  Signal level=-93 dBm  Noise level=-93 dBm
          Rx invalid nwid:3  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ath1      IEEE 802.11g  ESSID:"FON_prova"  Nickname:""
          Mode:Master  Frequency:2.412 GHz  Access Point: 06:18:84:**:**:**
          Bit Rate:0 kb/s   Tx-Power=18 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-93 dBm  Noise level=-93 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@fonera2openwrt:~#

i try with same suggested iptables rule like this http://www.dd-wrt.com/wiki/index.php/FON_Hotspot but it didn't works
i think that the problem it isn't iptables now but it is "Received access reject from radius server"

can anyone help me?

mm sure?

ok...any wiki/tutorial about that?

Any update? I'm also interested in this subject!

and me too smile

me 3

how could i configure my openwrt to fon?

The discussion might have continued from here.