illwill Posted February 16, 2009 Share Posted February 16, 2009 following http://wiki.hak5.org/wiki/Fon_Jasager_Install Firmware Version: 0.7.1 r1 Using this command: mtd -e vmlinux.bin.l7 write openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma vmlinux.bin.l7 worked fine, i rebooted it then logged in,and tried running mtd -e "RedBoot config" write out.hex "RedBoot config" root@OpenWrt:~# mtd -e "RedBoot config" write out.hex "RedBoot config" Couldn't open image file: out.hex! root@OpenWrt:~# ls dhcp.leases log resolv.conf spool hostapd.conf network-config run and when i tried to login with winscp i dont see the directories anymore, but i am able to login, any idea on what went wrong? Quote Link to comment Share on other sites More sharing options...
digininja Posted February 16, 2009 Share Posted February 16, 2009 The files are copied to a temporary directory that gets cleared down on a reboot, just copy them again and all should be ok. Quote Link to comment Share on other sites More sharing options...
illwill Posted February 16, 2009 Author Share Posted February 16, 2009 ok i got to the part where i need to flash it. I am connected using a switch I can't get an ip from dhcp through direct cable connect nevermind i was using http://wiki.hak5.org/wiki/Fon_Jasager_Install i read in another guide to connect a different way, the hak5 guide doesnt mention setting your ip manually trying to flash now, waiting for the "no packet,no packet,no packet" to stop i can ping the router but the flash program doesnt seem to find it Quote Link to comment Share on other sites More sharing options...
illwill Posted February 17, 2009 Author Share Posted February 17, 2009 got into redboot with telnet on port 9000 fired up tftp32 ran cmd * ip_address -l 192.168.1.254/24 -h [remote server address] * fis init * load -r -v -b %{FREEMEMLO} openwrt-atheros-2.6-root.jffs2-64k * fis create -f 0xA8030000 -l 0x006F0000 rootfs * load -r -v -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma * fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7 * reset still nada Quote Link to comment Share on other sites More sharing options...
digininja Posted February 17, 2009 Share Posted February 17, 2009 any output or messages from the commands? Quote Link to comment Share on other sites More sharing options...
illwill Posted February 17, 2009 Author Share Posted February 17, 2009 i was able to do it with this guide http://wiki.cuwin.net/index.php?title=Flas...#Lets_Get_To_It Quote Link to comment Share on other sites More sharing options...
digininja Posted February 17, 2009 Share Posted February 17, 2009 These are my steps, they work fine for me, I notice that my memory addresses are different to yours, that is probably affecting things. ------------ ip_address -h 192.168.1.22 load -r -b %{FREEMEMLO} openwrt-atheros-2.6-vmlinux.lzma fis init fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7 load -r -b %{FREEMEMLO} openwrt-atheros-2.6-root.squashfs Now do fis free and check you get this back 0xA80F0000 .. 0xA87E0000 If not then calculate the difference between the two and substitute that number in the line below fis create -l 0x6F0000 rootfs That is it, now reboot with reset The telnet interface should come up by default, the device is on 192.168.1.1 telnet 192.168.1.1 Quote Link to comment Share on other sites More sharing options...
illwill Posted February 18, 2009 Author Share Posted February 18, 2009 finished out that guide and i was able to get jasager up and running :) Quote Link to comment Share on other sites More sharing options...
digininja Posted February 18, 2009 Share Posted February 18, 2009 which guide did you use that had different numbers in? Quote Link to comment Share on other sites More sharing options...
B1u3 Posted February 26, 2009 Share Posted February 26, 2009 im actually having problems overwriting the vmlinux.bin.17 file it tells me it cant do it. actual error says cannot open mtd device: vmlinux.bin.17 can't open device for writing. any thoughts. im going to keep hacking at this and hope not to brick my router I just got to day Quote Link to comment Share on other sites More sharing options...
B1u3 Posted February 26, 2009 Share Posted February 26, 2009 never mind im a dolt I found my answer about 6 pages deep in past post Quote Link to comment Share on other sites More sharing options...
digininja Posted February 26, 2009 Share Posted February 26, 2009 im actually having problems overwriting the vmlinux.bin.17 file it tells me it cant do it. actual error says cannot open mtd device: vmlinux.bin.17 can't open device for writing. any thoughts. im going to keep hacking at this and hope not to brick my router I just got to day Let me guess, you put 17 rather than l1? Quote Link to comment Share on other sites More sharing options...
B1u3 Posted February 27, 2009 Share Posted February 27, 2009 yes yes I did. but hey all is working now. being on vista I had a few things I had to hack my way through and around. the flash loader program did not take the first time for over an hour. but I manualy set my interface ip then set every thing up. at which point I reset to dhcp and before windows could reset the interface I hit go and pluged in my FON flashing worked. so my new lil toy is sitting next to me as I look in to finding a sodering iron to put on my battery packs I have had from december and pop it in my pineapple. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.