Got my Fonera today and didnt even wait a day to hack it. .7.0 r4 to ssh active to dd-wrt .24 0222 crash fix version. Works great except for one thing. Using it in Client Semi Repeater mode, it occassionally drops the connection if left idle for too long. Don't know if there is a setting for keepalive, but ping works. The problem though is that the busybox ping is well, too busy. Anyway I can permanently install iputils-ping to the router (I know that jssf is not turned on yet), or can it be considered for future versions?
Also of note, is that the Fonera/DD-WRT cannot ping/dns resolve its own hostname, nor does it send a dns-reply with its own ip when trying to resolve its hostname from a computer connect to it. Tried with ping and "host -a Hackera" (Hackera is the fonera's hostname, local is the domain name, neither work). Hostnames for the computers do give the correct dns-reply
I don't know what else to try. Both the Fonero and my laptop are in the same IP range, I'm using an ethernet cable to connect them. They can ping each other just fine. And I've tried both Pumpkin TFTP and SolarWinds, both work fine if I use them from the command line on the laptop but the Fonero won't seem to attempt the connection.
So I'm thinking I bricked it.
Pretty sure the SSH daemon was installed right on the router. I'm semi familiar with the unix environment, but i didn't really know how to edit the files correctly. I didn't know what editor that the router had. I ended up cat'ing it then editing it in notepad. I then pasted the edited lines into echo and appeneded it to a file and then used mv to overwrite. However I got to the
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
stage and i'm an idiot and I guess the router wasn't able to get the files from pumpkin. It said it tried but failed upon reboot. So now I'm not really sure what to do. I can no longer SSH in because the router no longer broadcasts a signal. I tried hooking it up to my computer using a crossover cable and tried to do the telnet 192.168.1.254 using port 9000 thing that didn't work. I don't know if the crossover cable is faulty or not but I can't check it or make a new one right now. I tried just using a normal ethernet cable and that didn't work either. Not really sure what to do now.
OH and the reset button doesn't even seem to work. I press it in and hold it and it never seems to reset.
So I'm thinking I bricked it.
Pretty sure the SSH daemon was installed right on the router. I'm semi familiar with the unix environment, but i didn't really know how to edit the files correctly. I didn't know what editor that the router had. I ended up cat'ing it then editing it in notepad. I then pasted the edited lines into echo and appeneded it to a file and then used mv to overwrite. However I got to the
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
stage and i'm an idiot and I guess the router wasn't able to get the files from pumpkin. It said it tried but failed upon reboot. So now I'm not really sure what to do. I can no longer SSH in because the router no longer broadcasts a signal. I tried hooking it up to my computer using a crossover cable and tried to do the telnet 192.168.1.254 using port 9000 thing that didn't work. I don't know if the crossover cable is faulty or not but I can't check it or make a new one right now. I tried just using a normal ethernet cable and that didn't work either. Not really sure what to do now.
OH and the reset button doesn't even seem to work. I press it in and hold it and it never seems to reset.
Sounds like the song and dance with your cut and paste must have worked because you had SSH access. I have found though despite what the hack instructions imply you lose the SSH hack if you reset the unit (which you did) and you have to run through the drill again to re-establish SSH (even though you seem to get a different reaction from the HTML).
Seems to me that the stock firmware should still be in the flash if you never got the new stuff copied over. Do the lan or wifi lights come on when you cold boot with it plugged into your PC or an active lan? If not then I'd say it's at least partially bricked and you need to go to the de-brick wiki.
Myself, I avoided pumpkin etc. (after failing to get things arraigned properly) and just let it pull the stuff off of the net (which is what the command line in the wiki shows). Of course I had another active router to plug both the Fonera and my PC into!
Good luck to you!
Joined: 20 Jun 2006 Posts: 65 Location: United Kingdom
Posted: Sat Feb 24, 2007 23:01 Post subject:
body-snatch-her wrote:
Do the lan or wifi lights come on when you cold boot with it plugged into your PC or an active lan? If not then I'd say it's at least partially bricked and you need to go to the de-brick wiki.
I have the exact same problem, I got to the exact same place and again, no more 'MyPlace'. When I cold boot with it connected to a router, the ethernet (Internet) does light up and flash.
But surely it's still somewhat bricked if it can't be accessed in any way?
My understanding is that the firmware doesn't get flashed until later in the process so you are booting stock firmware with perhaps hosed settings. When you reset the unit it apparently dumps at least part of the SSH hack so you'll need to restart at the beginning. I'll admit that I'm no expert here and I've only run through the process once so I can't specifically recount every step I went through but it did work with the firmware from a couple rev's back. Unless there is something wrong with the latest rev I'd say it's something wrong on your end but it should be recoverable! It took me some fumbling around but I eventually got there! Don't give up... it's worth the effort!
Also, don't expect to see "MYPLACE" once you start flashing... your working at the command level until the flash is complete!
Resetting the unit will not undo the ssh hack, so the hack was probably malperformed in the first place... but he if you don't even know vi you have no business there either...
Joined: 20 Jun 2006 Posts: 65 Location: United Kingdom
Posted: Sun Feb 25, 2007 2:11 Post subject:
No, I'm quite sure I didn't mess up the SSH hack with vi, thanks. I think you're frankly a little rude to say that people "have no business" doing things! (I wasn't sure on the vi initially, so I asked a friend.)
Yeh, we're not all 'NIX wizards here and there's no call for putting down Widows users who are at least trying to use it!
I have to question the statement about the SSH hack being permanant! Am I wrong that the system is copied from flash to DRAM at boot time? If this is the case then don't the edits get tossed unless there is a command to force them into flash? The last command in the SSH hack I see is a cp within a single tmp directory! Can we put whatever we want in flash with a cp? Perhaps someone wiser can enlighten me! Maybe there's a secret command not in the hack instructions?