Jasager: Step-By-Step Unlocking / Install guide

Posted on September 22nd, 2008 | by admin |

So I figured it would be best if I tried out the official release and seeing as how my old Fon has been through hell and back with all sorts of frankenstein experiments I figured why not just pop a new Fon and document the unlocking / install process. Note: This is a reblog from my post on the Jasager forum.

At the bottom of this guide I have included a link to download all of the files used as well as links to resources I used while installing.

If I borked something up or you know of an easier way to do this please post a comment. Also note I did this in Windows because it was easiest for me using Firefox, Putty, and WinSCP. Substitute tools for your OS.

Step 0: Unbox FON 2100. Make note of the serial number on the bottom and NO NOT UNDER ANY CIRCUMSTANCES PLUG HIM INTO THE INTERNET

Step 1: Give FON some power but not Ethernet yet. Open your wireless connection manager and connect to the MyPlace access point. The WPA key is the serial number on the bottom of FON.

1.png

Step 2: Browse to http://192.168.10.1/ and make sure FON is wearing firmware version 0.7.1 r1 or below. If not consult another thread on downgrading it.

2.png

Step 3: Click the Advanced link and login with username admin and password admin.

3.png

Step 4: Open sshenable.html (provided in download at the bottom of this post) and click Submit

4.png

Step 5: SSH on over to 192.168.10.1

5.png

Step 6: Login as root with password admin

6.png

Step 7: Rename dropbear to S50dropbear so that it comes up on boot

Quote:

mv /etc/init.d/dropbear /etc/init.d/S50dropbear

7.png

Step 8: Transfer over out.hex and openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma to /tmp/ using SCP (or wget them, or however you want to transfer ‘em)

8.png

Step 9: Patch the kernel, reboot, and eat some pineapple while it comes back up.

Quote:


mtd -e vmlinux.bin.l7 write openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma vmlinux.bin.l7
reboot

9.png

Step 10: Reconnect to MyPlace, SSH back in, patch the redboot config, reboot, eat some more pineapple.

Quote:


mtd -e “RedBoot config” write out.hex “RedBoot config”
reboot

10.png

Step 11: Flash FON’s firmware.

  • Fire up the Freifunk Ap51 EasyFlash GUI utility (Download for Windows or Linux).
  • Connect Ethernet between FON and your PC.
  • Unplug FON’s power.
  • In the GUI under Rootfs check Use external file and browse to openwrt-atheros-2.6-root.squashfs. Under Kernel check Use external file and browse to openwrt-atheros-2.6-vmlinux.lzma.
  • Select your Ethernet interface from the Interface drop-down.
  • Plug FON’s power back in then immediately click Go! in the GUI.
  • Spend the next 20 minutes enjoying some pineapple.

11.png

Step 12: Time for an easy step. Telnet to 192.168.1.1

Quote:

telnet 192.168.1.1

12.png

Step 13: Change the root password then enable wireless.

Quote:


passwd
pineapplesareyummy
pineapplesareyummy
uci set wireless.wifi0.disabled=0
uci commit wireless && wifi

13.png

Step 13.5: Transfer over the IPK files from the download below to /tmp/. Again SCP, wget, however you wanna move them bits.

Step 14: Install webif

Quote:


ipkg install haserl_0.8.0-2_mips.ipk
ipkg install webif_0.3-10_mips.ipk

14.png

Step 15: Browse to http://192.168.1.1/ login as root with password pineapplesareyummy (if you’ve been following along literally) and enjoy the beautiful new web interface. Take a moment to click through to the Graphs tab and appreciate the beauty that is the dynamically updating CPU meter. Ahhh

15.png

Step 16: Install Ruby

Quote:


ipkg install libruby_1.8.6-p36-1_mips.ipk
ipkg install ruby_1.8.6-p36-1_mips.ipk

16.png

Step 17: Install Jasager patched madwifi drivers

Quote:


ipkg install jasager-madwifi_1.ipk

17.png

Step 18: Install Jasager and reboot. I installed from the package which seems to have installed fine but not without warnings. The next step seems to have fixed the issue. Anyway you might want to install Jasager from the tarball, at least until Robin Wood aka Digininja gets another FON for testing and updates the package. (I’ll be delivering Robin some FONs at Toorcon)

Quote:


ipkg install jasager_1.2.ipk
reboot

18.png

Step 19: Copy (or move) the contents of /karma/www/ to /www/ (if you installed from package version 1.2). Also note I renamed the original index.html in /www/ to webif.html for easy access

Quote:


mv /www/index.html /www/webif.html
cp -R /karma/www/* /www/
reboot

19.png

Step 20: Login to Jasager and turn Karma on. And would you look at that, was someone trying to connect to their NETGEAR router? We might have to nmap 192.168.1.114 and see if we can help them.

20.png

Download all of the files used in this guide zipped from http://www.hak5.org/files/fon2100–unlock–jasager_1.2.zip

Sites I referenced:

http://www.digininja.org/jasager/ (of course)
http://wiki.hak5.org/wiki/Episode_3×07#Unlocking_OpenWRT_on_La_Fonera
http://wiki.openwrt.org/OpenWrtDocs/Hardware/Fon/Fonera
http://download.berlin.freifunk.net/fonera/
http://wiki.openwrt.org/OpenWrtDocs/KamikazeConfiguration
http://downloads.x-wrt.org/xwrt/kamikaze/7.09/atheros-2.6/packages/
http://wiki.x-wrt.org/index.php/Kamikaze_Installation
http://download.berlin.freifunk.net/sven-ola/area51/
http://downloads.openwrt.org/kamikaze/7.09/atheros-2.6/packages/
http://downloads.openwrt.org/kamikaze/packages/mips/