Author Topic: Not getting login page for chillspot  (Read 1287 times)

Offline andyl9063

  • Jr. Member
  • **
  • Posts: 3
Not getting login page for chillspot
« on: April 01, 2010, 12:31:38 pm »
So I have a dsl modem. Then I have the linksys wrt54gl running v24sp2 build 13064.

I am trying to have two wireless ssid. One is private and one is public. The public one will be going to chillspot.

I have successfully setup two wireless ssid. They both work. However, I can not get the public one to go to to the chillspot login page. It receive a chillspot ip address fine. So I thought I had the mtu bug, I place that command in the admin tab and my private wireless ssid stop working. The public one works, but no login page. If I remove the commands, restart it, it will eventually work.  I don't think I have the mtu bug because when connecting to the public ssid with chillspot, I did not have trouble going to any website.


« Last Edit: April 01, 2010, 12:33:18 pm by andyl9063 »

Offline andyl9063

  • Jr. Member
  • **
  • Posts: 3
Re: Not getting login page for chillspot
« Reply #1 on: April 01, 2010, 04:19:19 pm »
this is what  i am getting when i am telnet wwdrt


DD-WRT v24-sp2 std (c) 2009 NewMedia-NET GmbH
Release: 10/10/09 (SVN revision: 13064)

DD-WRT login: root
Password:
==========================================================

 ____  ___    __        ______ _____         ____  _  _
 | _ \| _ \   \ \      / /  _ \_   _| __   _|___ \| || |
 || | || ||____\ \ /\ / /| |_) || |   \ \ / / __) | || |_
 ||_| ||_||_____\ V  V / |  _ < | |    \ V / / __/|__   _|
 |___/|___/      \_/\_/  |_| \_\|_|     \_/ |_____|  |_|

                       DD-WRT v24-sp2
                   http://www.dd-wrt.com

==========================================================


BusyBox v1.13.4 (2009-10-10 02:04:00 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@DD-WRT:~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1468 S    /sbin/init noinitrd
    2 root         0 SW   [keventd]
    3 root         0 RWN  [ksoftirqd_CPU0]
    4 root         0 SW   [kswapd]
    5 root         0 SW   [bdflush]
    6 root         0 SW   [kupdated]
   10 root         0 SW   [mtdblockd]
   14 root      1504 S    watchdog
  313 root      2672 S    httpd -p 80
 3266 root      1464 S    resetbutton
 3340 root      1176 S    telnetd
 3357 root       812 S    dnsmasq --conf-file=/tmp/dnsmasq.conf
 3412 root      1460 S    ttraff
 3785 root      1460 S    process_monitor
 4210 root       700 S    udhcpc -i vlan1 -p /var/run/udhcpc.pid -s /tmp/udhcpc
 6973 root      1460 S    wland
 7010 root       696 S    cron
27808 root      1368 S    nas -P /tmp/nas.wl0lan.pid -H 34954 -l br0 -i eth1 -A
28126 root      2484 S    chilli -c /tmp/chilli.conf -fd
28179 root      1196 S    -sh
28186 root      1180 R    ps
root@DD-WRT:~# kill 28126
root@DD-WRT:~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1468 S    /sbin/init noinitrd
    2 root         0 SW   [keventd]
    3 root         0 SWN  [ksoftirqd_CPU0]
    4 root         0 SW   [kswapd]
    5 root         0 SW   [bdflush]
    6 root         0 SW   [kupdated]
   10 root         0 SW   [mtdblockd]
   14 root      1504 S    watchdog
  313 root      2672 S    httpd -p 80
 3266 root      1464 S    resetbutton
 3340 root      1176 S    telnetd
 3357 root       812 S    dnsmasq --conf-file=/tmp/dnsmasq.conf
 3412 root      1460 S    ttraff
 3785 root      1460 S    process_monitor
 4210 root       700 S    udhcpc -i vlan1 -p /var/run/udhcpc.pid -s /tmp/udhcpc
 6973 root      1460 S    wland
 7010 root       696 S    cron
27808 root      1368 S    nas -P /tmp/nas.wl0lan.pid -H 34954 -l br0 -i eth1 -A
28179 root      1196 S    -sh
28201 root      1180 R    ps
root@DD-WRT:~# chilli -c /tmp/chilli.conf -fd
chillispot[28234]: ChilliSpot 1.1.0. Copyright 2002-2005 Mondru AB. Licensed und
er GPL. See http://www.chillispot.org for credits.
chillispot[28234]: redir.c: 642: 22 (Invalid argument) msgctl() failed
« Last Edit: April 01, 2010, 04:31:50 pm by andyl9063 »

Online WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1848
Re: Not getting login page for chillspot
« Reply #2 on: April 01, 2010, 04:50:50 pm »
I'm not sure multi ssid works well with the wrt54gl because of a broadcom hardware limitation.

Anyway, looking at the source, you might try to do a
rm /tmp/.chilli_id

and retry launching chillispot again in debug mode.

Code: [Select]
  FILE *fp=fopen("/tmp/.chilli_id","rb");
  if (fp!=NULL)
    {
    int msgid;
    int count = fread(&msgid,4,1,fp);
    if (count>0)
{
if (msgctl(msgid, IPC_RMID, NULL)) {
    sys_err(LOG_ERR, __FILE__, __LINE__, errno, "msgctl() failed");
}

}
    fclose(fp);
    }
Note that this doesn't look as a real failure error.

I think I remember that dd-wrt chillispot scripts need that chillispot is configured on the first virtual ssid, for a reason I don't know.
I think you should test chillispot without the multi ssid feature first.
« Last Edit: April 01, 2010, 04:54:41 pm by WorldSpot »

Offline andyl9063

  • Jr. Member
  • **
  • Posts: 3
Re: Not getting login page for chillspot
« Reply #3 on: April 01, 2010, 06:12:08 pm »
when you do the rm /tmp/.chilli_id:  should it return something.  I don't get anything but chillspot.org for credits........

Online WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1848
Re: Not getting login page for chillspot
« Reply #4 on: April 02, 2010, 11:05:57 am »
Have you tried to remove other SSIDs?