Author Topic: Hotspot behind a router[SOLVED]  (Read 5578 times)

Offline kahorn03

  • Jr. Member
  • **
  • Posts: 14
Hotspot behind a router[SOLVED]
« on: September 09, 2006, 05:05:42 pm »
Hi, I'm trying to set up my WRT54GL as a hotspot with worldspot's service and dd-wrt v 21 SP1 firmware. The WRT54GL is positioned at end of the line behind a gateway which is cabled to a router in AP modus which is again cabled to the WRT54GL. The problem is that I don't have internett access at all past the wrt54gl. I have checked the cable going into the WAN/Internett port, and there is Internet connection into it.
I followed the guideline at: http://www.dd-wrt.com/wiki/index.php/Chillispot and put in the configuration info from worldspot.
Do anyone have any ideas?
Is it enough to follow the tutorial that i refer to exactly after resetting to factory defaults or do I have to do additional configuration?
To you worldspot guys; thanks for a great initiative!

Regards Kjell
« Last Edit: September 22, 2006, 09:25:58 pm by kahorn03 »

Offline WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1942
Re: Hotspot behind a router
« Reply #1 on: September 09, 2006, 07:31:46 pm »
Welcome to worldspot.net Kjell,

Did you set a static ip or automatic ip on your wan port?
If you have set a static ip, please check that it is inside your gateway subnet, and that the dns+mask+gateway address are correctly set.

Also when you check that your internet connection is working, you should get the ip address, mask, gateway and dns and apply the same to your DDWRT wan port.

You may also try to use dhcp on your wan port, but if you don't know which address is assigned, you won't be able to access the management interface (from the wan port)

I forgot, make sure that you lan ip subnet if not the same as your wan ip subnet.

Could you telnet/ssh to your router and return the output of the ifconfig command?

I've tried DDWRT v23sp1, maybe you should upgrade to it?

I will retry the DDWRT guideline from scratch soon.

Regards
« Last Edit: September 09, 2006, 07:43:06 pm by admin »

Offline kahorn03

  • Jr. Member
  • **
  • Posts: 14
Re: Hotspot behind a router
« Reply #2 on: September 10, 2006, 01:54:15 pm »
Hi.
Thanks for the tips!
I must have been pretty asinine yesterday, because even though you have written "IMPORTANT", I managed just to change the ip-address of the WAN port and LAN port on the WRT54GL. In other words they were still in the same subnet. I wasn't aware that this was vital so I learned something new at least! :)
However...I still haven't got any internett connection through the WRT54GL router.
I tried to telnet the router, but the password is always incorrect.
When typing in the login I can see the login name, but when I type the password nothing happens at all. There isn't even any asterisk symbols as I type...Is it supposed to be like this? (I haven't tried telnet before) The SSH, is disabled in the DD-WRT firmware and I cant seem to enable it.
As goes for the firmware...I already have installed the v23 SP1...again; I must have been pretty asinine yesterday. :)

I'm not very skiled at advanced networking, so that is part of the problem.
My IP-Settings are like this as for now:
Gateway: 192.168.62.1 (running DHCP)
Cnet router's LAN address forced as AP: 192.168.62.3 (gateway cable connected into the Cnet's switch)
WRT54GL Internett side: 192.168.62.9
WRT54GL Lan side:          192.168.63.1

I have turned off the DHCP-server in the WRT54GL, so it is just a DHCP-forwarder. I acquired this ip-address behind the WRT54GL's Lan side:

Connection specific dns-suffix: key.chillispot.org
IP-Address                             : 192.168.182.2
Network mask                        : 255.255.255.0
Standard gateway                  : 192.168.182.1

In the guide...Have I understood it right, when you can skip the logon to the WAN side and just disable the DHCP server from the Lan side if you have a static IP-address on your network card?

Also the guide mentions "WAN side" of the router, but on the  WRT54GL's box the WAN-port is marked "Internet".  I guess those who tries this will know anyway ;)

Also, I put in a static route in my gateway:
Network address   192.168.63.1
Subnet mask          255.255.255.0
Gateway                 192.168.62.9

However this doesn't appear to affect the IP-address i receive from the Lan side of the WRT54GL, so I recon there is no use for this route at all?     

Thank you very much for your help!
This is not even your problem at all.
However if your interested; I left the port 8080 open to the WRT54GL, so you should be able to access it using my WAN address which you have down to the right , and the same username and password as used for this site.

Regards
Kjell
« Last Edit: September 10, 2006, 01:58:50 pm by kahorn03 »

Offline guy4462

  • Jr. Member
  • **
  • Posts: 4
Re: Hotspot behind a router
« Reply #3 on: September 10, 2006, 03:31:40 pm »
Here the settings on a wrt54gs V1  running on DD-WRT v23 SP2
 and the WRT Wan port connected to the LAN port an existing router with Local IP address 192.168.1.1

Settings of the WRT54GS:
User=root
Password=admin

Setup/Basic Setup
Internet Setup
Internet Connection type
Connection Type = Static IP
Internet IP Address = 192.168.1.100  (note this is the same subnet than the existing router)
Subnet Mask = 255.255.255.0
Gateway = 192.168.1.1 (of the existing router)
Static DNS = Your provider's DNS...


Network Setup
Router IP
Local IP Address = 192.168.10.1 (Note this is on a different subnet than the existing router)
Subnet Mask = 255.255.255.0
Gateway = 192.168.10.1
Local DNS = 0.0.0.0 

Network Address Server Settings (DHCP)
DHCP Type =DHCP Server
DHCP Server = Disable

hope I got it all right and that this helps

Guy

Offline guy4462

  • Jr. Member
  • **
  • Posts: 4
Re: Hotspot behind a router
« Reply #4 on: September 10, 2006, 03:53:55 pm »
One more thing:

In the Chillispot settings page of the WRT:

Separate Wifi from the LAN Bridge = DISABLE

whem set to enable it does not work (at least for me)

DHCP Interface = LAN & WLAN

Good luck

Guy

Offline kahorn03

  • Jr. Member
  • **
  • Posts: 14
Re: Hotspot behind a router
« Reply #5 on: September 10, 2006, 04:11:51 pm »
Thank you for your effort!

I gave it a rough try, but it don't seem to work.
I'm really in a rush as I'm about to leave for college, so I'll look into it more thoroughly there.
Thanks!

Offline WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1942
Re: Hotspot behind a router
« Reply #6 on: September 10, 2006, 04:16:45 pm »
However...I still haven't got any internett connection through the WRT54GL router.
I tried to telnet the router, but the password is always incorrect.
When typing in the login I can see the login name, but when I type the password nothing happens at all. There isn't even any asterisk symbols as I type...Is it supposed to be like this? (I haven't tried telnet before) The SSH, is disabled in the DD-WRT firmware and I cant seem to enable it.
No asterisk is normal for telnet/ssh
I have set root as my account user name.
Could you try to login as root instead? or change your username to root.
Quote
I'm not very skiled at advanced networking, so that is part of the problem.
My IP-Settings are like this as for now:
Gateway: 192.168.62.1 (running DHCP)
Cnet router's LAN address forced as AP: 192.168.62.3 (gateway cable connected into the Cnet's switch)
WRT54GL Internett side: 192.168.62.9
WRT54GL Lan side:          192.168.63.1
This should be correct
Quote
I have turned off the DHCP-server in the WRT54GL, so it is just a DHCP-forwarder. I acquired this ip-address behind the WRT54GL's Lan side:
In my settings, I have DHCP-server choosed, but disable is checked.
Quote
Connection specific dns-suffix: key.chillispot.org
IP-Address                             : 192.168.182.2
Network mask                        : 255.255.255.0
Standard gateway                  : 192.168.182.1
It seems that it is a chillispot assigned ip address.
This means it is running.
Did you try to access a webpage through this interface?
Quote
In the guide...Have I understood it right, when you can skip the logon to the WAN side and just disable the DHCP server from the Lan side if you have a static IP-address on your network card?
DHCP is disable to avoid conflict with chillispot doing the job.
Your hotspot client should not be assigned a static ip.
Quote
Also the guide mentions "WAN side" of the router, but on the  WRT54GL's box the WAN-port is marked "Internet".  I guess those who tries this will know anyway ;)
yes "WAN" port means "internet" port  :)
Quote
Also, I put in a static route in my gateway:
Network address   192.168.63.1
Subnet mask          255.255.255.0
Gateway                 192.168.62.9
this gateway address seems wrong. wasn't it 192.168.62.1?
Quote
However this doesn't appear to affect the IP-address i receive from the Lan side of the WRT54GL, so I recon there is no use for this route at all?     
Nomal chillispot gave you this address
Quote
Thank you very much for your help!
This is not even your problem at all.
However if your interested; I left the port 8080 open to the WRT54GL, so you should be able to access it using my WAN address which you have down to the right , and the same username and password as used for this site.
Worldspot.net users problem are mine also.
I finally could connect to your router but did not find something wrong.
The telnet/ssh console would help better I think.

Regards

Offline kahorn03

  • Jr. Member
  • **
  • Posts: 14
Re: Hotspot behind a router
« Reply #7 on: September 10, 2006, 09:44:44 pm »
Thanks admin!

I got the telnet to access the router after I had changed the username and password to the standards.:)
I'm working on getting the ifconfig file out, but I have to learn how to use first.
Do you now what to type to open the file?

Quote
It seems that it is a chillispot assigned ip address.
This means it is running.
Did you try to access a webpage through this interface?
Yes, I got redirected to key.chillispot.org for some seconds and then It said that the page could not be opened. However after that first attempt, I couldn't see any redirection to the chillispot page. Still the urls would not open.

Quote
this gateway address seems wrong. wasn't it 192.168.62.1?
I think thats what the help menu in my fritzbox router said it should be, but of course I might/probably am wrong.:)

Regards

Offline WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1942
Re: Hotspot behind a router
« Reply #8 on: September 11, 2006, 08:01:49 am »
ifconfig is not a file.
it's a command that displays your configuration.
just copy the output to here.

Also try a ping google.com of course...

Offline kahorn03

  • Jr. Member
  • **
  • Posts: 14
Re: Hotspot behind a router
« Reply #9 on: September 11, 2006, 08:12:36 pm »
Ohhh... :-[

I'll be at campus till the weekend so I can't give you the output data from when it is on the network I've configured it for.
I tried to connect it to the router here at campus, but It's still the same problem. (Of course I forgot to copy the ifconfig output from when the router had internett access, and I dont got time to redo it right now. If it is necessary
I'll do it as fast as possible)

Here it goes anyway (without connection to the router :-[):

DD-WRT v23 SP1 std Date: 05/16/06 (c) 2006 NewMedia-NET GmbH

 login: root
Password:
---------------------------------------------------------------

                   DD-WRT build #23 SP1
              some code portions OpenWRT and EWRT
       additional thanks to Cesar Gonzales, Toxic,
      Elektik, MBChris, Nbd, TheIndividual, Pierre Belanger
      and all the wonderful supporters of this Project


                   http://www.dd-wrt.com

---------------------------------------------------------------


Now DD-WRT VeryBusyBox v1.01 (2006.05.16-18:12+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # ifconfig
br0       Link encap:Ethernet  HWaddr 00:18:39:C0:15:29
          inet addr:192.168.63.1  Bcast:192.168.63.255  Mask:255.255.255.0
          UP BROADCAST RUNNING PROMISC ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:360 errors:0 dropped:0 overruns:0 frame:0
          TX packets:311 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:24515 (23.9 KiB)  TX bytes:189110 (184.6 KiB)

eth0      Link encap:Ethernet  HWaddr 00:18:39:C0:15:29
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:368 errors:0 dropped:0 overruns:0 frame:0
          TX packets:503 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:33640 (32.8 KiB)  TX bytes:204748 (199.9 KiB)
          Interrupt:4

eth1      Link encap:Ethernet  HWaddr 00:18:39:C0:15:2B
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:3648
          TX packets:144 errors:166 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:11746 (11.4 KiB)
          Interrupt:2 Base address:0x5000

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

vlan0     Link encap:Ethernet  HWaddr 00:18:39:C0:15:29
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:368 errors:0 dropped:0 overruns:0 frame:0
          TX packets:415 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:27016 (26.3 KiB)  TX bytes:197010 (192.3 KiB)

vlan1     Link encap:Ethernet  HWaddr 00:18:39:C0:15:2A
          inet addr:192.168.62.9  Bcast:192.168.62.255  Mask:255.255.255.0
          UP BROADCAST RUNNING PROMISC ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:4352 (4.2 KiB)


As for the IP-address it is (also when connected to the router at campus):
Connection specific dns-suffix: key.chillispot.org
IP-Address                             : 192.168.182.2
Network mask                        : 255.255.255.0
Standard gateway                  : 192.168.182.1

The ping could not find the host google.com


Regards
Kjell



Offline WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1942
Re: Hotspot behind a router
« Reply #10 on: September 11, 2006, 10:39:50 pm »
Could you check your dns settings?
And try to ping an ip like: 72.14.207.99
or any external ip you know.

Is your internet gateway configured to restrict some ports?

Offline kahorn03

  • Jr. Member
  • **
  • Posts: 14
Re: Hotspot behind a router
« Reply #11 on: September 12, 2006, 09:33:02 pm »
Hi.
I could not connect to the ip you specified through the hotspot router, however after disconnecting it I could connect to the address with the same dns server applied to my wireless network card as I had applied in the router.

As goes for the gateway there is a firewall installed.
I can't access it here at campus, but I'll try to set it as DMZ as soon as I get home.

Offline WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1942
Re: Hotspot behind a router
« Reply #12 on: September 13, 2006, 08:57:40 am »
I forgot: can you ping your internet gateway?
If not, can you recheck that it is connected through the 'internet' port?
It is certainly a wrong connection or wrong ip settings.

Regards

Offline kahorn03

  • Jr. Member
  • **
  • Posts: 14
Re: Hotspot behind a router[SOLVED]
« Reply #13 on: September 22, 2006, 09:43:53 pm »
Hi.
I've been reading for an exam lately so I haven't had time to look into this until now.
I upgraded to the new dd-wrt v23sp2 and followed the new and very easy-to-follow tutorial.
I think the problem was that I used different SSIDs for my wireless router and the hotspot router.
It works all fine now! :D
Great job admin!!

Regards
Kjell

Offline WorldSpot

  • Administrator
  • Hero Member
  • *****
  • Posts: 1942
Re: Hotspot behind a router[SOLVED]
« Reply #14 on: September 22, 2006, 09:47:51 pm »
Glad to hear that!
Thanks for your feedback.