Author Topic: no connection via wifi  (Read 6640 times)

Offline rcm

  • Jr. Member
  • **
  • Posts: 8
no connection via wifi
« on: October 30, 2006, 05:19:50 pm »
Hi, I followed the directions to set up chillspot but can get wifi to work. When I try to connect it gives me an ip but fails to connect to the internet. What should I do? Any help would be greatly appreciated 

Offline WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1942
Re: no connection via wifi
« Reply #1 on: October 30, 2006, 05:27:01 pm »
What is the ip you get?
Have you followed the troubleshooting post?
Could you please follow it and post the result here.
Thanks

Offline rcm

  • Jr. Member
  • **
  • Posts: 8
Re: no connection via wifi
« Reply #2 on: October 30, 2006, 05:38:21 pm »
Here are my results. The ip i get when i connect via wifi is 192.168.182.3


  PID  Uid     VmSize Stat Command
    1 root        380 S   /sbin/init noinitrd
    2 root            SW  [keventd]
    3 root            SWN [ksoftirqd_CPU0]
    4 root            SW  [kswapd]
    5 root            SW  [bdflush]
    6 root            SW  [kupdated]
   11 root            SW  [mtdblockd]
   14 root        256 S   /sbin/watchdog
   64 root        304 S   resetbutton
   94 root        312 S   /usr/sbin/telnetd
   97 root        904 S   httpd
  107 root        360 S   dnsmasq --conf-file /tmp/dnsmasq.conf
  110 root        296 S   /sbin/wland
  297 root       4856 S   /usr/sbin/chilli -c /tmp/chilli.conf
  316 root        340 S   process_monitor
  362 root        276 S   /usr/sbin/cron
  403 root        260 S   udhcpc -i vlan1 -p /var/run/udhcpc.pid -s /tmp/udhcpc
 1169 root       4820 S   /usr/sbin/chilli -c /tmp/chilli.conf
 1182 root       4820 S   /usr/sbin/chilli -c /tmp/chilli.conf
 1193 root       4820 S   /usr/sbin/chilli -c /tmp/chilli.conf
 1241 root       4820 S   /usr/sbin/chilli -c /tmp/chilli.conf
 1248 root        468 S   sh -c alias ping='ping -c 3'; eval "ps" > /tmp/ping.l
 1249 root        404 R   ps

Offline WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1942
Re: no connection via wifi
« Reply #3 on: October 30, 2006, 05:50:42 pm »
This ip is given by chillispot. This mean that your wifi is working.
Can your router connect to the internet? (step 2 of troubleshooting)
What about other steps?
Did you launch your chilli process in debug mode?

Offline rcm

  • Jr. Member
  • **
  • Posts: 8
Re: no connection via wifi
« Reply #4 on: October 30, 2006, 06:05:16 pm »
I can only access the internet on lan. On wifi it wont let me connect to anything including the router. Im not sure why cause before i activated chillspot everything was working like normal. The only setting I have changed have been those to clone my mac so that I can connect to the internet because I have comcast. How do you run debug?

Offline WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1942
Re: no connection via wifi
« Reply #5 on: October 30, 2006, 06:57:23 pm »
still in the troubleshooting section, what gives the ping google.com command in the telnet/ssh?
Are you sure that you connected your internet on the internet port?
I don't know if chillispot works with the clone command. Can anyone else confirm?

Please follow ALL steps of the troubleshooting section (and report for each...), I need more infos to help you.

Offline rcm

  • Jr. Member
  • **
  • Posts: 8
Re: no connection via wifi
« Reply #6 on: October 30, 2006, 10:30:13 pm »
Well from lan pinging google gets me:

PING google.com (72.14.207.99): 56 data bytes
64 bytes from 72.14.207.99: icmp_seq=0 ttl=234 time=57.5 ms
64 bytes from 72.14.207.99: icmp_seq=1 ttl=234 time=58.5 ms
64 bytes from 72.14.207.99: icmp_seq=2 ttl=234 time=58.7 ms
--- google.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 57.5/58.2/58.7 ms

Now from wlan i get server not found. Once i turn off chillispot, wifi is back up and works but once it is enabled I cant find server and have no connection. Any idea what could be causing this?

I tried doing the kill command but there are several  "/usr/sbin/chilli -c /tmp/chilli.conf" and they come right back after being killed. The  chilli -c /tmp/conf -fd command returns a "
chillispot: Error opening conf_iguration file '/tmp/conf'" every time.

  PID  Uid     VmSize Stat Command
    1 root        404 S   /sbin/init noinitrd
    2 root            SW  [keventd]
    3 root            SWN [ksoftirqd_CPU0]
    4 root            SW  [kswapd]
    5 root            SW  [bdflush]
    6 root            SW  [kupdated]
   11 root            SW  [mtdblockd]
   14 root        256 S   /sbin/watchdog
   97 root        832 S   httpd
 1919 root        304 S   resetbutton
 1949 root        364 S   /usr/sbin/telnetd
 1959 root        360 S   dnsmasq --conf-file /tmp/dnsmasq.conf
 1962 root        296 S   /sbin/wland
 2141 root       4852 S   /usr/sbin/chilli -c /tmp/chilli.conf
 2170 root        332 S   process_monitor
 2220 root        276 S   /usr/sbin/cron
 2262 root        268 S   udhcpc -i vlan1 -p /var/run/udhcpc.pid -s /tmp/udhcpc
 2316 root       4824 S   /usr/sbin/chilli -c /tmp/chilli.conf
 2455 root        468 S   sh -c alias ping='ping -c 3'; eval "ps" > /tmp/ping.l
 2456 root        404 R   ps
 2458 root        320 R   [chilli]

« Last Edit: October 30, 2006, 10:33:11 pm by rcm »

Offline WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1942
Re: no connection via wifi
« Reply #7 on: October 30, 2006, 10:43:16 pm »
Quote
Well from lan pinging google gets me:
Sorry if it was not clear. The ping should be done inside the router, not in your pc. This checks that your router dns is correct, and that it is correctly configured for the internet.
Quote
I tried doing the kill command but there are several  "/usr/sbin/chilli -c /tmp/chilli.conf" and they come right back after being killed. The  chilli -c /tmp/conf -fd command returns a "
chillispot: Error opening conf_iguration file '/tmp/conf'" every time.
It seems that dd-wrt monitor process and automatically restart them. try to kill the "process_monitor" process.
Then kill the chilli processes.
To start chillispot in debug mode, sorry again, this was a typo in the troubleshooting post.
Please try
chlili -fd -c /tmp/chilli.conf
***edit again: chilli has 2 l  :-[***
chilli -fd -c /tmp/chilli.conf

« Last Edit: October 30, 2006, 11:35:30 pm by WorldSpot »

Offline rcm

  • Jr. Member
  • **
  • Posts: 8
Re: no connection via wifi
« Reply #8 on: October 30, 2006, 11:30:50 pm »
This seems like its getting way too complicated, I dont even know what I am doing anymore.

Here is what I do know:
1. My wrt54gl is flashed with ddwrt v23 sp2.
2. Everything is factory default except the option to turn on mac cloning because I have comcast ISP
3. I am able to connect to the internet with lan & wlan no problems.
4. Once I enable Chillispot wlan DOES NOT work. I am assigned an chillispot ip but thats it. I am unable to connect to the router or internet via wifi. I get the same "server not found" screen every time while running chillispot.
5. Once i disable chillispot wifi works and I am able to connect to the internet and router without any problems.

I dont know how to use debug mode but after typing the command chlili -fd -c /tmp/chilli.conf I got
sh: eval: 1: chlili: not found

Please advise me on what to do next. I just want this thing to work.....

Offline WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1942
Re: no connection via wifi
« Reply #9 on: October 30, 2006, 11:41:25 pm »
Quote
I get the same "server not found" screen every time while running chillispot.
Wher do you have this mesage? in the web browser?
What is displayed in the address bar?
Seems like a dns problem but I'm not sure.
Could you check that you don't have a dns configured in your client pc?
Maybe you could enable the AnyDNS option in dd-wrt chillispot.

Could you please telnet/ssh to your router, and type ping google.com inside the router's shell and tell if it works.

Quote
I dont know how to use debug mode but after typing the command chlili -fd -c /tmp/chilli.conf I got
sh: eval: 1: chlili: not found
sorry again for the typo:
chilli -fd -c /tmp/chilli.conf

Offline rcm

  • Jr. Member
  • **
  • Posts: 8
Re: no connection via wifi
« Reply #10 on: October 31, 2006, 12:06:59 am »
I get the "server not found" when i try to access any page through the web browser. I can not access google or my router (192.168.1.1) once i turn on chillispot.

Everything is is factory default. I do not know how to configure the dns but if it could possibly fix my problem tell me how and make sure to mention which tab its under.

I can not telnet the router with chillispot activated. Again once chillispot is activated all it does it assign an ip and leaves the wifi device with no connection.

the debug mode return this
chillispot[6572]: ChilliSpot 1.0. Copyright 2002-2005 Mondru AB. Licensed under GPL. See http://www.chillispot.org for credits.
chillispot[6572]: redir.c: 658: UAM port already in use. Waiting for retry.
« Last Edit: October 31, 2006, 12:10:50 am by rcm »

Offline WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1942
Re: no connection via wifi
« Reply #11 on: October 31, 2006, 12:55:44 am »
Quote
I do not know how to configure the dns but if it could possibly fix my problem tell me how and make sure to mention which tab its under.
If you have a dhcp assigned ip, the dns should come with. That's why you don't get the dns setting.

Quote
I get the "server not found" when i try to access any page through the web browser
it looks like a dns problem. could you check your dns setting in your pc.

You still did not tell me if the ping google.com works in your router shell! How many times should I repeat?

Quote
chillispot[6572]: redir.c: 658: UAM port already in use. Waiting for retry.
This means that another chilli process is running
please kill them all before trying that. then retry to connect

Quote
Maybe you could enable the AnyDNS option in dd-wrt chillispot.
« Last Edit: October 31, 2006, 12:57:39 am by WorldSpot »

Offline rcm

  • Jr. Member
  • **
  • Posts: 8
Re: no connection via wifi
« Reply #12 on: October 31, 2006, 01:10:22 am »
You still did not tell me if the ping google.com works in your router shell! How many times should I repeat?
I can not connect to my router with chillispot enabled. How am i supposed to ping from inside router if i cant connect to it?

Do you have any ideas on how to fix the problem? I appreciate the help but this seems like its going no where.....

Offline WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1942
Re: no connection via wifi
« Reply #13 on: October 31, 2006, 08:26:35 am »
How did you make all the tests above?
You connect your pc on the lan, telnet the router with putty, and type ping google.com.
also type
ifconfig
cat /etc/resolv.conf
and try to run chillispot in debug mode adter killing the process.

There have been more than 200 hotspots which succesfully connected in the logs, yours should work too.
Do you have another router to put between your modem and your hotspot?

Offline rcm

  • Jr. Member
  • **
  • Posts: 8
Re: no connection via wifi
« Reply #14 on: November 01, 2006, 01:57:21 am »
Ok well here is whats new....

Here are my results connected via LAN


DD-WRT v23 SP2 std (c) 2006 NewMedia-NET GmbH
Release: 09/15/06 (SVN revision: 3932)

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

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

                       DD-WRT v23 SP2
                   http://www.dd-wrt.com

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


DD-WRT VeryBusyBox v1.2.1 (2006.09.15-18:06+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # ifconfig
br0       Link encap:Ethernet  HWaddr 00:13:10:74:CE:C9
          inet addr:80.60.40.1  Bcast:80.60.40.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:428 errors:0 dropped:0 overruns:0 frame:0
          TX packets:451 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:52678 (51.4 KiB)  TX bytes:253284 (247.3 KiB)

eth0      Link encap:Ethernet  HWaddr 00:13:10:74:CE:C9
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11873 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2929 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1971727 (1.8 MiB)  TX bytes:2139404 (2.0 MiB)
          Interrupt:5

eth1      Link encap:Ethernet  HWaddr 00:13:10:74:CE:CB
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:92 errors:0 dropped:0 overruns:0 frame:2914
          TX packets:280 errors:132 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12149 (11.8 KiB)  TX bytes:34281 (33.4 KiB)
          Interrupt:4 Base address:0x1000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING MULTICAST  MTU:16436  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:672 (672.0 B)  TX bytes:672 (672.0 B)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
-00
          inet addr:192.168.182.1  P-t-P:192.168.182.1  Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:35 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10
          RX bytes:3142 (3.0 KiB)  TX bytes:4878 (4.7 KiB)

vlan0     Link encap:Ethernet  HWaddr 00:13:10:74:CE:C9
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1450 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2286 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:163664 (159.8 KiB)  TX bytes:2024619 (1.9 MiB)

vlan1     Link encap:Ethernet  HWaddr 00:11:11:CB:CF:2E
          inet addr:71.57.157.102  Bcast:71.57.159.255  Mask:255.255.240.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10427 errors:0 dropped:0 overruns:0 frame:0
          TX packets:646 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1594549 (1.5 MiB)  TX bytes:101413 (99.0 KiB)

~ # cat /etc/resolv.conf
search hsd1.fl.comcast.net.
nameserver 80.60.40.1
~ # ping google.com
PING google.com (72.14.207.99): 56 data bytes
64 bytes from 72.14.207.99: icmp_seq=0 ttl=234 time=56.6 ms
64 bytes from 72.14.207.99: icmp_seq=1 ttl=234 time=56.3 ms
64 bytes from 72.14.207.99: icmp_seq=2 ttl=234 time=58.3 ms
64 bytes from 72.14.207.99: icmp_seq=3 ttl=234 time=57.8 ms
64 bytes from 72.14.207.99: icmp_seq=4 ttl=234 time=56.8 ms
64 bytes from 72.14.207.99: icmp_seq=5 ttl=234 time=56.3 ms
64 bytes from 72.14.207.99: icmp_seq=6 ttl=234 time=55.8 ms
64 bytes from 72.14.207.99: icmp_seq=7 ttl=234 time=58.7 ms
64 bytes from 72.14.207.99: icmp_seq=8 ttl=234 time=58.2 ms
64 bytes from 72.14.207.99: icmp_seq=9 ttl=234 time=58.2 ms
64 bytes from 72.14.207.99: icmp_seq=10 ttl=234 time=56.2 ms



I am having trouble with the debug mode. From what I understand I'm supposed to go to the command Shell in the router and type "ps". Then find the "process_monitor" and kill it, but afterward if i do "ps" the "process_monitor" is back. Let me know if Im doing anything wrong. Also can you please explain what the point of debug mode is? I know the general idea is to see whats happening but I dont know what to look for.

I do not have another router between me and the modem. It goes
internet -> modem -> wrt54gl with ddwrt -> computer

Let me know whats next :)