Ten Step Guide to building a Hotspot in a

Document Sample
Ten Step Guide to building a Hotspot in a Powered By Docstoc
					Ten Step Guide to building a Hotspot in a Box!

1. Set your laptop to the static IP of 192.168.1.100 on the Ethernet port
       a. Plug into one of the LAN ports on the WRT-54G
2. Go to http://192.168.1.1
       a. Username admin, password: admin.
3. Upgrade the firmware
       a. Go to administration / upgrade. Upload the firmware and reset to factory
          defaults.
                i. Note: The firmware load will probably report failed. Wait until
                   you can get back to the management interface after the failure
                   message, then unplug the WRT and plug it back in to boot the new
                   firmware.
4. Log back in to the newly flashed WRT
       a. Under setup/basic setup:
                i. Turn dhcp off.
               ii. Change the time zone to mountain.
              iii. Save settings.
       b. Under the wireless tab:
                i. Change ssid to "InfoWest-Hotspot." Save settings
       c. Go to administration / management.
                i. Change the router password to ________.
               ii. Change Remote Management to "enable".
              iii. Turn "boot wait" on.
              iv. Set dhcpd to disable.
               v. Set sshd to on
              vi. Set JFFS2 to enable
             vii. Make sure syslogd is disabled
            viii. Hit "save settings"
              ix. When the screen comes back, hit “Reboot Router”
5. SSH into the box
       a. When the router is back up, SSH to 192.168.1.1
                i. log on with username "root" password "_____"
               ii. (Note - it takes a while before ssh is ready to accept connections
                   the first time - keys are being generated.)
       b. At the prompt, type "nvram set sys_enable_jffs2=1"
       c. type "nvram commit"
6. Go back to the web interface
       a. Under administration /management. (username = admin, password=____)
                i. Turn Chillispot ON
               ii. Set primary and secondary radius server to 204.17.177.178
              iii. Set DNS (in the Chillispot section) to 204.17.177.10
              iv. Set Redirect URL to https://204.17.177.135/cgi-
                   bin/hotspotlogin.cgi
               v. Set Shared key: apTH1s!
              vi. Set DHCP Interface: LAN+WLAN
              vii. Set UAM Secret: wowsecret
             viii. In the additional options:
uamhomepage http://209.33.216.135/WirelessAnywhere/loginchilli/

uamallowed
www.infowest.com,travel.southernutah.com,www.southernutah.com,www.sgcity.org,www.landrum-
brown.com,steamrollercopies.com,www.dtpxpress.com,ssl.infowest.com

dns2 204.17.177.20

radiuslisten ip.of.the.wrt


(No return after uamallowed, DON'T FORGET CARRIAGE RETURN at end)

                  ix. Change the Radius NAS ID to "iw.hotspot.locationname” where
                       locationname is in the form of "sgu-tacodelmar"
                           1. Example: iw.hotspot.sgu-tacodelmar
                               or iw.hotspot.cdc-tacodelmar
                   x. 17 - make sure syslogd is turned off.
                  xi. Turn off telnet
           b. Save settings
           c. Reboot router.
                   i. Note - this reboot may take a little longer as the jffs2 partition will
                       be built.
    7. SSH back into the box
           a. At the prompt, type: top
           b. Look for "chilli"
                   i. If chilli does not show up:
                           1. Try pinging www.yahoo.com
                                   a. Make sure DNS is working
                           2. Make sure we can ping infowest (204.17.177.1)
                           3. Enable Syslog (under Adminstration / Management)
                                   a. Reboot
                           4. Watch the /var/log/messages/ for any errors (grep chilli)
                                   a. Fix errors (most likely typos in the chilli config)
                           5. Be sure to disable syslog after everything is working
    8. Start a wireless connection with InfoWest-Hotspot
           a. Log in and make sure you can reach web sites
    9. Reboot the box (power cord)
           a. Wait about 2 minutes, then try to log on to the wireless access point again
                   i. You may have to disable and re-enable your wireless connection
                       on your laptop to re-associate and get a new IP.
    10. Success!