Jump to content

error after overwriting vmlinux.bin.l7


Recommended Posts

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...