LaFonera Software Chilispot

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 09:12, 15 July 2007 (edit)
GldSho (Talk | contribs)
m
← Previous diff
Revision as of 14:25, 17 July 2007 (edit) (undo)
Rresch (Talk | contribs)
(removed SPAM)
Next diff →
Line 1: Line 1:
-[http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=200 nexium online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=214 cingular ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2910 free polyphonic ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2891 buy diethylpropion] [http://students.hsc.unt.edu/housing/item.cfm?type=2885 cheap tenuate] [http://news.engin.brown.edu/forums/thread-view.asp?tid=159 cialis online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30366 free jazz ringtones] [http://wc1.worldcrossing.com/WebX/.1de609fa free online pharmacy] [http://wc1.worldcrossing.com/WebX/.1de60a22 cheap phentermine] [http://news.engin.brown.edu/forums/thread-view.asp?tid=208 free motorola ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1357 levitra online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=195 mono ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=199 cheap zyban] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=363 samsung ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2901 mp3 ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30235 cheap soma] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=136 cheap ultram] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=72 ambien online] [http://students.hsc.unt.edu/housing/item.cfm?type=2862 vicodin online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30258 vicodin online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=182 free funny ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2890 zanaflex online] [http://wc1.worldcrossing.com/WebX/.1de609dc buy albuterol] [http://wc1.worldcrossing.com/WebX/.1de60a20 cheap nexium] [http://students.hsc.unt.edu/housing/item.cfm?type=2875 propecia online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=165 but ambien] [http://wc1.worldcrossing.com/WebX/.1de609f8 free nokia ringtones] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=350 alprazolam online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=139 cheap viagra] [http://students.hsc.unt.edu/housing/item.cfm?type=2874 cheap ultracet] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=91 cheap hoodia] [http://news.engin.brown.edu/forums/thread-view.asp?tid=175 cyclobenzaprine online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=201 free free ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=153 cheap phentermine] [http://students.hsc.unt.edu/housing/item.cfm?type=2848 cheap soma] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30337 real ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=94 free jazz ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a0a online vicodin] [http://students.hsc.unt.edu/housing/item.cfm?type=2896 buy zyban] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=178 free ericsson ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a01 sagem ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1346 diazepam online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=222 sharp ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a1d cingular ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30230 cheap adipex] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=138 free verizon ringtones] [http://wc1.worldcrossing.com/WebX/.1de609fe free qwest ringtones] [http://wc1.worldcrossing.com/WebX/.1de609e4 cheap clonazepam] [http://wc1.worldcrossing.com/WebX/.1de60a31 buy zanaflex] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=106 mtv ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a1a mtv ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a15 kyocera ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=218 free sony ericsson ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=132 cheap tenuate] [http://students.hsc.unt.edu/housing/item.cfm?type=2904 free real ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=137 valium online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=168 cheap paxil] [http://library.cshl.edu/wp/vb/member.php?u=1367 cheap didrex] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30295 cheap sildenafil] [http://wc1.worldcrossing.com/WebX/.1de609f7 nextel ringtones] [http://wc1.worldcrossing.com/WebX/.1de609f3 free midi ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1348 cheap ativan] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=337 xanax] [http://wc1.worldcrossing.com/WebX/.1de609e6 cyclobenzaprine online] [http://library.cshl.edu/wp/vb/member.php?u=1360 lorazepam online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=162 free alltel ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=176 didrex online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=204 mp3 ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2911 cingular ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a07 tracfone ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30241 xanax online] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=356 free tracfone ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=111 cheap norco] [http://wc1.worldcrossing.com/WebX/.1de60a13 cheap fioricet] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=191 cheap lorazepam] [http://library.cshl.edu/wp/vb/member.php?u=1369 free free ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2858 viagra online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=224 free wwe ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2852 buy xanax] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30307 zoloft online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30331 free free ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a27 but sildenafil] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=145 cheap xenical] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30339 free samsung ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30294 prozac online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=176 buy ultracet] [http://library.cshl.edu/wp/vb/member.php?u=1352 buy norco] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=189 cheap lipitor] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=362 motorola ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=224 free sagem ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=101 meridia online] [http://wc1.worldcrossing.com/WebX/.1de609ee hydrocodone] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30244 cheap diazepam] [http://wc1.worldcrossing.com/WebX/.1de609e0 cheap ativan] [http://students.hsc.unt.edu/housing/item.cfm?type=2861 norco online] [http://students.hsc.unt.edu/housing/item.cfm?type=2877 cheap prozac] [http://news.engin.brown.edu/forums/thread-view.asp?tid=216 free sonyericsson ringtones] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=360 free qwest ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=190 cheap lisinopril] [http://wc1.worldcrossing.com/WebX/.1de60a10 cheap didrex] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=228 cheap ultram] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=76 cialis] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30259 alprazolam online] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=359 free nextel ringtones] [http://wc1.worldcrossing.com/WebX/.1de609e5 free cool ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2888 cheap lortab] [http://library.cshl.edu/wp/vb/member.php?u=1373 nextel ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=216 cheap zyban] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=206 cheap pharmacy online] [http://library.cshl.edu/wp/vb/member.php?u=1344 xanax online] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=344 ativan] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30345 free sprint ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30248 cheap ativan] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=131 free sprint ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2871 wellbutrin online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=146 buy zanaflex] [http://news.engin.brown.edu/forums/thread-view.asp?tid=154 carisoprodol online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30280 cheap propecia] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=118 prozac online] [http://library.cshl.edu/wp/vb/member.php?u=1341 cheap valium] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=144 xanax online] [http://students.hsc.unt.edu/housing/item.cfm?type=2905 motorola ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=112 but ortho] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=223 cheap wellbutrin] [http://news.engin.brown.edu/forums/thread-view.asp?tid=169 cheap levitra] [http://news.engin.brown.edu/forums/thread-view.asp?tid=156 fioricet] [http://library.cshl.edu/wp/vb/member.php?u=1377 free samsung ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30312 ortho online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30356 free cool ringtones] [http://wc1.worldcrossing.com/WebX/.1de609f0 lorazepam online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=187 celexa online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30230 tramadol online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=211 free polyphonic ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=214 cheap zanaflex] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=110 free nokia ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=189 ortho online] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=237 free samsung ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=151 soma online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=99 cheap lorazepam] [http://students.hsc.unt.edu/housing/item.cfm?type=2912 sagem ringtones] [http://students.hsc.unt.edu/housing/item.cfm?type=2907 sprint ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a17 lipitor online] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30334 free mp3 ringtones] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=234 sprint ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=141 buy vigrx] [http://wc1.worldcrossing.com/WebX/.1de60a23 polyphonic ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a1f cheap lisinopril] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=197 mp3 ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1349 cheap viagra] [http://library.cshl.edu/wp/vb/member.php?u=1382 free cingular ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30310 cheap tenuate] [http://students.hsc.unt.edu/housing/item.cfm?type=2922 kyocera ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=206 qwest ringtones] [http://wc1.worldcrossing.com/WebX/.1de609f9 order norco] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=351 clonazepam online] [http://students.hsc.unt.edu/housing/item.cfm?type=2878 sildenafil online] [http://students.hsc.unt.edu/housing/item.cfm?type=2902 free nextel ringtones] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=357 funny ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1347 but cialis] [http://library.cshl.edu/wp/vb/member.php?u=1365 ultracet online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=210 free sprint ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=158 diazepam online] [http://wc1.worldcrossing.com/WebX/.1de609ea free ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a25 free samsung ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=88 free free ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1358 hydrocodone online] [http://library.cshl.edu/wp/vb/member.php?u=1339 cheap tramadol] [http://students.hsc.unt.edu/housing/item.cfm?type=2868 cheap ambien] [http://news.engin.brown.edu/forums/thread-view.asp?tid=228 mtv ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=104 motorola ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=89 free funny ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=211 music ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=80 cool ringtones] [http://library.cshl.edu/wp/vb/member.php?u=1388 fioricet online] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=361 free real ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=172 lorazepam online] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=333 cheap soma] [http://news.engin.brown.edu/forums/thread-view.asp?tid=182 cheap clomid] [http://library.cshl.edu/wp/vb/member.php?u=1355 cheap clonazepam] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=205 cheap paxil] [http://news.engin.brown.edu/forums/thread-view.asp?tid=184 lisinopril online] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=124 samsung ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a04 free sonyericsson ringtones] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=115 phentermine online] [http://library.cshl.edu/wp/vb/member.php?u=1387 free alltel ringtones] [http://wc1.worldcrossing.com/WebX/.1de60a05 sprint ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=167 cheap clonazepam] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30283 buy didrex] [http://news.engin.brown.edu/forums/thread-view.asp?tid=157 cheap ultram] [http://itcweb.ecsu.edu/portal/forums.asp?ForumId=13&TopicId=230 free verizon ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30309 celexa online] [http://www.psfc.mit.edu/~jinseok/bbse/view.php?id=presentations&no=348 but norco] [http://wc1.worldcrossing.com/WebX/.1de60a11 diethylpropion online] [http://news.engin.brown.edu/forums/thread-view.asp?tid=188 cheap tenuate] [http://news.engin.brown.edu/forums/thread-view.asp?tid=212 verizon ringtones] [http://www.e.kth.se/cgi-bin/esekt/discussion?command=read&discussionid=4&id=30308 cheap lipitor] [http://www.ees.ufl.edu/alumni/forums.asp?ForumId=5&TopicId=82 buy diazepam] [http://library.cshl.edu/wp/vb/member.php?u=1380 verizon ringtones] [http://news.engin.brown.edu/forums/thread-view.asp?tid=163 cheap adipex] [http://students.hsc.unt.edu/housing/item.cfm?type=2859 cheap meridia] [[Category:LaFonera]]+[[Category:LaFonera]]
[[Category:LaFonera_(en)]] [[Category:LaFonera_(en)]]
[[Category:LaFonera_Software]] [[Category:LaFonera_Software]]
Line 86: Line 86:
-Thats enough "point+Thats enough "point & click" for now, now the exciting parts.
 + 
 +6. You should have Klever PumpKIN and the firmware files from the "Preparation" section, points 4 & 5 respectively.
 + 
 +:a) Create a folder on your desktop, call it TFTPROOT, move both root.fs and vmlinuz.bin.l7 in to this folder.
 + 
 +:b) Load up PumpKIN, click on "Options", in the "TFTP filesystem root (download path)" browse to the TFTPROOT directory created in the previous step and click "OK"
 + 
 +7. Configure RedBoot for local IP address and TFTP server in telnet, so in putty you would issue the following command:
 + 
 + ip_address -l 192.168.1.254/24 -h 192.168.1.166
 + 
 +8. Run the following commands below in putty. (IMPORTANT: The "fis create" commands below will take a while, do not disconnect while waiting.)
 + 
 + fis init
 + load -r -v -b 0x80041000 root.fs
 + fis create -b 0x80041000 -f 0xA8030000 -l 0x002C0000 -e 0x00000000 rootfs
 + load -r -v -b 0x80041000 vmlinux.bin.l7
 + fis create -r 0x80041000 -e 0x80041000 -l 0x000E0000 vmlinux.bin.l7
 + fis create -f 0xA83D0000 -l 0x00010000 -n nvram
 + 
 +Each "fis create" commands take up to 10 minutes or so to complete, so be patient before typing the next command! Also with each "load" command, PumpKIN will inform you that the LaFonera is trying to access a file, you must "Grant" access. There will be no output in the terminal window after the programming starts until the programming cycle has been completed. This is normal, don't panic.
 + 
 +Once the last fis command has finished, you will be at the Redboot prompt again. Run this command in putty to reboot.
 + 
 + reset
 + 
 +9. Go make a cup of tea or whatever refreshments you prepared for yourself.
 + 
 +Your LaFonera should have been flashed and would have rebooted successfully, by default it will DHCP an external IP address, start an open wireless network called "DD-WRT" and have management at http://192.168.1.1(on port 80). The default username is "root" and the default password is "admin".
 + 
 + 
 +== Configuring ddwrt for Wifi-CPA ==
 + 
 +Connect to the "DD-WRT" wireless signal and browse to the web management at the address given above.
 + 
 +Now go to the "Setup" tab, then click on "Basic Setup", on the "WAN Connection Type" choose "Static IP", now enter an IP and subnet mask within the range of your network, also dont forget to enter your ISP's dns IP(s).
 + 
 + 
 +=== Setup/Basic Setup ===
 + 
 + 
 +[[Image:LaFonera_Software_Chillispot_-_05_ddwrt_wansetup.jpg]]
 + 
 + 
 +My own looks like this, for your reference
 + 
 +The DNS IP I have used are from [http://www.opendns.org www.opendns.org] , you can use these, if later on in this tutorial, you find that your hotspot just "hangs" when trying to make a transaction with paypal you know where the problem lies!..................optionally set a "Router Name" and "Hostname".
 + 
 +Next scroll down and you get to the section "Network Address Server Settings (DHCP)" and untick "DHCP-Authoritative".
 + 
 + 
 +[[Image:LaFonera_Software_Chillispot_-_06_ddwrt_networksetup.jpg]]
 + 
 + 
 +Also set up your "Time Zone", "DST" and time "Server IP". then scroll down and click on "Save Settings".
 + 
 + 
 +=== Wireless ===
 + 
 +Next click on the "Wireless" tab and set your "Regulatory Domain" from the drop down list, set your prefered "TX Power" (Max is 18, also depending on which country you select for regulatory domain, it may set the max to 16), scroll down and choose a suitable name for your "Wireless Network Name (SSID) and finally choose a "Wireless Channel" from the drop down list (it is recommended to choose one of three channels, the ones I specify here dont "overlap" and dont cause signal weakness because other AP's in the vicinity, if you live in a remote area, then this does not apply to you, so one of these 3 are fine, channels 1,6, or 11.
 + 
 +Click "Save Settings".
 + 
 + 
 +[[Image:LaFonera_Software_Chillispot_-_07_wlan_channels.gif]]
 + 
 + 
 +For your reference! The 4 thin blue vertical lines represent where channels overlap.
 + 
 + 
 +=== Services ===
 + 
 +Click on the "Services" tab and you should be within another "Services" tab already, you will notice that under "DHCP Server", "Use JFFS for client lease DB" is not mounted, dont worry we will set this up in a few more steps, for now the only thing you change in that particular section is "Used Domain" and set it to "LAN & WLAN", next scroll down to "Secure Shell" and select "Enable", select enable for "Sysem Log and select disable for "Telnet".
 + 
 + 
 +=== Security ===
 + 
 +Click on the "Security" tab and disable "SPI Firewall" then click save settings, click on the next tab named "VPN" and disable "IPSec Passthrough", "PPTP Passthrough" and L2TP Passthrough", then click "Save Settings".
 + 
 + 
 +=== Administration ===
 + 
 +Next we'll click on "Administration" and then "Managment" and then set a suitable "Router Username" and a "Router Password", scroll down and tick the following "HTTPS" on the "Web Access" section, "Use HTTPS" on the "Remote Access" section, "Enable JFFS" and "Clean JFFS" on "JFFS Support" and change the values in "UDP Timeout (in seconds)" to "3600".
 + 
 +Finally, click "Save Settings" and then "Reboot"!
 + 
 + 
 +== Installing & configuring Chillispot ==
 + 
 +a) Now log in to the LaFonera through shell with the username/password you set earlier and type in the following commands:-
 + 
 + cd /tmp
 + ipkg install http://ipkg.hotsplots.de/kamikaze/7.06/atheros-2.6/packages/chillispot_1.1.0-3_mips.ipk
 + 
 +<font color=red>(ILL REMIND YOU, DO NOT ENABLE CHILLISPOT WITHIN THE DDWRT WEB INTERFACE, IT WILL CRASH YOUR AP AND YOU WILL HAVE TO REFLASH TO GET IT UP AND RUNNING AGAIN!)</font>
 + 
 +b) Configure /jffs/etc/chillispot.conf to your own settings, when you get to the section for "dhcpif" use br0
 + 
 + vi /jffs/etc/chilli.conf
 + 
 +Here is a working example of my own chillispot I use with Wifi-CPA
 + 
 + radiusserver1 radius.wifi-cpa.com
 + radiusserver2 radius.wifi-cpa.com
 + radiussecret wificpa
 + dhcpif br0
 + uamserver http://hotspot.wifi-cpa.com/login/
 + dns1 208.67.222.222
 + uamsecret wificpa
 + uamallowed www.paypal.com,www.paypalobjects.com,paypal.112.2o7.net
 + net 192.168.182.0/24
 + radiusnasid PUT YOUR OWN ID HERE (This can be found in your Wifi-CPA profile for the hotspot you're using)
 + uamallowed netweather.accuweather.com,vortex.accuweather.com,wwwa.accuweather.com,www.accuweather.com
 + uamallowed netwx.accuweather.com,maps.google.com,72.14.207.0/24,64.233.167.0/24,12.120.5.14,12.120.37.104
 + 
 +c) Go back to the ddwrt web administration at http://192.168.1.1 and then click on the "Administration" tab and then "Commands" tab.
 + 
 +Paste the following command in to the "Commands" box
 + 
 + /jffs/usr/sbin/chilli -c /jffs/etc/chilli.conf 2>&1 | logger
 + 
 +Then hit "Save Startup" and reboot your LaFonera.
 + 
 +== Testing ==
 + 
 +You have now completed this tutorial, once the LaFonera has rebooted, test it by connecting with your laptop/desktop to the wireless signal DD-WRT or whatever you have set it to be, you should get the IP address in the range of 192.168.182.xx, if you get the IP 192.168.1.xx, then you have messed up somewhere along the way, double check everything outlined on this tutorial.
 + 
 +[[Image:LaFonera_Software_Chillispot_-_08_ddwrt_testing.jpg]]
 + 
 +I must say, I had 6 clients connected at the time of this screenshot and the AP was very very stable!!!
 + 
 + 
 +== The original Idea ==
 +came from http://volubilus.info/
 + 
 + 
 + 
 + 
 +----
 + 
 +this page was made by [[User:wildblue|wildblue!]]

Revision as of 14:25, 17 July 2007

You are here: DD-WRT wiki mainpage / LaFonera / Software / Chilispot


Contents

Summary

This howto will enable you to convert the LaFonera into an access point to use with wifi-cpa.com or any other AAA service that makes use of Chillispot, but its key focus shall be on Wifi-CPA, whilst the ddwrt firmware for the LaFonera is still under development and is working great for the most part, the Chillispot portal software crashes due to an unknown (to me anyhow) bug (?memory leaks) at the time of writing (18 June 2007). I would also like to mention that I am in no way affiliated/bribed/blackmailed by FON Wireless LTD, Wifi-CPA, DD-WRT, Chillispot or any political party.


Preparation

You'll need the following for this tutorial:

  1. A LaFonera! 21xx models as the 22xx use a different memory allocation!
  2. SSH client: Putty .
  3. A FON kernel and root.fs hacked to write on the MTD partition with RedBoot, the 2 files that are needed are here and here (only download if you plan to setup a http/ftp server locally, which is outside the scope of this howto).
  4. A recent kernel and root.fs build of ddwrt for atheros WiSOC based hardware, I used root.fs and vmlinux.bin.l7 ((06/10/07) std (SVN revision 7213).
  5. Klever PumpKIN TFTP server/client from here .
  6. A functioning Chillispot mips package from here .
  7. An account with www.wifi-cpa.com and you will also need the unique code that is generated once you've created a hotspot which will have the format XXX-XXXX.
  8. This is not really necessary but worth having,
    • patience,
    • no one bugging you during any part of this guide,
    • a hammer in case of point (b),
    • a swiss bank account,
    • some refreshments.


Flashing

1. Start with a stock LaFonera, with the original firmware (7.x). If you're unsure of your version, with the power on, hold down the reset button on the bottom of the unit for up to 30 seconds. This should reset it to the original firmware.

2. Enable the built-in SSH server on the LaFonera :-)


Image:LaFonera_Software_Chillispot_-_01_fonfirmware_routerstatus.gif


Log into the web administration page for your LaFonera, go to the advanced tab, then internet connection, change the mode from DHCP to static IP from the dropdown option, set an IP and netmask within your modem/routers range, set the gateway to your modem/router IP and change the name server (DNS) of your La Fonera to 88.198.165.155.


Image:LaFonera_Software_Chillispot_-_02_fonfirmware_internetconnectionsettings.jpg


Hit submit and reboot your LaFonera (unplug power and back in again). Now you should be able to connect via SSH. This should work with other firmwares, too. Please change the name server according to your ISP or network setup after the reboot.

3. Connect via SSH to the LaFonera, and execute the following commands:

cd /tmp
wget http://fonera.info/camicia/openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma
mtd -e vmlinux.bin.l7 write openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma vmlinux.bin.l7
reboot

After the "reboot" command, the LaFonera will reboot and you'll lose the connection.

Don't be misled by the name of the file. This is actually a FON kernel hacked to write on the MTD partition with RedBoot. After this step the LaFonera should be able to restart without any problems. In case you are not able to connect to the Internet from the LaFonera, you can download the files locally, install an FTP or HTTP server on your PC and wget the files from the PC by entering the local server IP.

4. Again connect via SSH to the LaFonera, and execute the following commands. (Note: Your LaFonera will not boot past RedBoot anymore after this step.)

cd /tmp
wget http://fonera.info/camicia/out.hex
mtd -e "RedBoot config" write out.hex "RedBoot config"
reboot

5. Your LaFonera should not be able to completely boot, because the FIS directory will be erased. However, you should be able to connect to the RedBoot prompt. To connect to RedBoot you need to:

a) Configure your PC so you have an address like 192.168.1.166, netmask 255.255.255.0, gateway and DNS can be left blank.
b) Connect your PC and the LaFonera through a crossover ethernet cable or a switch and 2 normal cables (note: you can connect to LaFonera with either a normal cat5 ethernet cable, or with a crossover cable, as La Fonera's NIC is auto-sensing).

Load up putty and set the address and port to the following: 192.168.1.254 9000


Image:LaFonera_Software_Chillispot_-_03_putty_configuration.jpg


c) Disconnect and reconnect the power to your LaFonera. Then click open on putty. You have the first 8 secs to access to RedBoot via a plain Telnet connection. (I would avoid using the built in windows telnet client as it seems to give me no joy, just an ascii character.)

If everything goes well you should have a "RedBoot>" prompt in telnet.


Image:LaFonera_Software_Chillispot_-_04_putty_shell.jpg


Thats enough "point & click" for now, now the exciting parts.

6. You should have Klever PumpKIN and the firmware files from the "Preparation" section, points 4 & 5 respectively.

a) Create a folder on your desktop, call it TFTPROOT, move both root.fs and vmlinuz.bin.l7 in to this folder.
b) Load up PumpKIN, click on "Options", in the "TFTP filesystem root (download path)" browse to the TFTPROOT directory created in the previous step and click "OK"

7. Configure RedBoot for local IP address and TFTP server in telnet, so in putty you would issue the following command:

ip_address -l 192.168.1.254/24 -h 192.168.1.166

8. Run the following commands below in putty. (IMPORTANT: The "fis create" commands below will take a while, do not disconnect while waiting.)

fis init
load -r -v -b 0x80041000 root.fs
fis create -b 0x80041000 -f 0xA8030000 -l 0x002C0000 -e 0x00000000 rootfs
load -r -v -b 0x80041000 vmlinux.bin.l7
fis create -r 0x80041000 -e 0x80041000 -l 0x000E0000 vmlinux.bin.l7
fis create -f 0xA83D0000 -l 0x00010000 -n nvram

Each "fis create" commands take up to 10 minutes or so to complete, so be patient before typing the next command! Also with each "load" command, PumpKIN will inform you that the LaFonera is trying to access a file, you must "Grant" access. There will be no output in the terminal window after the programming starts until the programming cycle has been completed. This is normal, don't panic.

Once the last fis command has finished, you will be at the Redboot prompt again. Run this command in putty to reboot.

reset

9. Go make a cup of tea or whatever refreshments you prepared for yourself.

Your LaFonera should have been flashed and would have rebooted successfully, by default it will DHCP an external IP address, start an open wireless network called "DD-WRT" and have management at http://192.168.1.1(on port 80). The default username is "root" and the default password is "admin".


Configuring ddwrt for Wifi-CPA

Connect to the "DD-WRT" wireless signal and browse to the web management at the address given above.

Now go to the "Setup" tab, then click on "Basic Setup", on the "WAN Connection Type" choose "Static IP", now enter an IP and subnet mask within the range of your network, also dont forget to enter your ISP's dns IP(s).


Setup/Basic Setup

Image:LaFonera_Software_Chillispot_-_05_ddwrt_wansetup.jpg


My own looks like this, for your reference

The DNS IP I have used are from www.opendns.org , you can use these, if later on in this tutorial, you find that your hotspot just "hangs" when trying to make a transaction with paypal you know where the problem lies!..................optionally set a "Router Name" and "Hostname".

Next scroll down and you get to the section "Network Address Server Settings (DHCP)" and untick "DHCP-Authoritative".


Image:LaFonera_Software_Chillispot_-_06_ddwrt_networksetup.jpg


Also set up your "Time Zone", "DST" and time "Server IP". then scroll down and click on "Save Settings".


Wireless

Next click on the "Wireless" tab and set your "Regulatory Domain" from the drop down list, set your prefered "TX Power" (Max is 18, also depending on which country you select for regulatory domain, it may set the max to 16), scroll down and choose a suitable name for your "Wireless Network Name (SSID) and finally choose a "Wireless Channel" from the drop down list (it is recommended to choose one of three channels, the ones I specify here dont "overlap" and dont cause signal weakness because other AP's in the vicinity, if you live in a remote area, then this does not apply to you, so one of these 3 are fine, channels 1,6, or 11.

Click "Save Settings".


Image:LaFonera_Software_Chillispot_-_07_wlan_channels.gif


For your reference! The 4 thin blue vertical lines represent where channels overlap.


Services

Click on the "Services" tab and you should be within another "Services" tab already, you will notice that under "DHCP Server", "Use JFFS for client lease DB" is not mounted, dont worry we will set this up in a few more steps, for now the only thing you change in that particular section is "Used Domain" and set it to "LAN & WLAN", next scroll down to "Secure Shell" and select "Enable", select enable for "Sysem Log and select disable for "Telnet".


Security

Click on the "Security" tab and disable "SPI Firewall" then click save settings, click on the next tab named "VPN" and disable "IPSec Passthrough", "PPTP Passthrough" and L2TP Passthrough", then click "Save Settings".


Administration

Next we'll click on "Administration" and then "Managment" and then set a suitable "Router Username" and a "Router Password", scroll down and tick the following "HTTPS" on the "Web Access" section, "Use HTTPS" on the "Remote Access" section, "Enable JFFS" and "Clean JFFS" on "JFFS Support" and change the values in "UDP Timeout (in seconds)" to "3600".

Finally, click "Save Settings" and then "Reboot"!


Installing & configuring Chillispot

a) Now log in to the LaFonera through shell with the username/password you set earlier and type in the following commands:-

cd /tmp
ipkg install http://ipkg.hotsplots.de/kamikaze/7.06/atheros-2.6/packages/chillispot_1.1.0-3_mips.ipk

(ILL REMIND YOU, DO NOT ENABLE CHILLISPOT WITHIN THE DDWRT WEB INTERFACE, IT WILL CRASH YOUR AP AND YOU WILL HAVE TO REFLASH TO GET IT UP AND RUNNING AGAIN!)

b) Configure /jffs/etc/chillispot.conf to your own settings, when you get to the section for "dhcpif" use br0

vi /jffs/etc/chilli.conf 

Here is a working example of my own chillispot I use with Wifi-CPA

radiusserver1 radius.wifi-cpa.com
radiusserver2 radius.wifi-cpa.com
radiussecret wificpa
dhcpif br0
uamserver http://hotspot.wifi-cpa.com/login/
dns1 208.67.222.222
uamsecret wificpa
uamallowed www.paypal.com,www.paypalobjects.com,paypal.112.2o7.net
net 192.168.182.0/24
radiusnasid PUT YOUR OWN ID HERE (This can be found in your Wifi-CPA profile for the hotspot you're using)
uamallowed netweather.accuweather.com,vortex.accuweather.com,wwwa.accuweather.com,www.accuweather.com
uamallowed netwx.accuweather.com,maps.google.com,72.14.207.0/24,64.233.167.0/24,12.120.5.14,12.120.37.104

c) Go back to the ddwrt web administration at http://192.168.1.1 and then click on the "Administration" tab and then "Commands" tab.

Paste the following command in to the "Commands" box

/jffs/usr/sbin/chilli -c /jffs/etc/chilli.conf 2>&1 | logger

Then hit "Save Startup" and reboot your LaFonera.

Testing

You have now completed this tutorial, once the LaFonera has rebooted, test it by connecting with your laptop/desktop to the wireless signal DD-WRT or whatever you have set it to be, you should get the IP address in the range of 192.168.182.xx, if you get the IP 192.168.1.xx, then you have messed up somewhere along the way, double check everything outlined on this tutorial.

Image:LaFonera_Software_Chillispot_-_08_ddwrt_testing.jpg

I must say, I had 6 clients connected at the time of this screenshot and the AP was very very stable!!!


The original Idea

came from http://volubilus.info/




this page was made by wildblue!