Fonera 2100 "Telnet for RedBoot not enabled" Solved

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
Vaako
Posts: 22
Joined: Thu Aug 11, 2011 7:01 pm

Fonera 2100 "Telnet for RedBoot not enabled" Solved

Post by Vaako »

After many online wiki's, how to's I got stuck with flashing the fon 2100.

Finaly I got luck that a member of DD-WRT called Orange explained step-by-step procedure, so all credits goes to him!!!!

This was working for me and my 3 fonera's 2100 are flashed with fon-flash:

I hope this is usefull for somebody els too!
Here is a step-by-step guide for you:

1st step: Setup your PC with IP 169.254.255.2, Netmask 255.255.0.0, Gateway&DNS 169.254.255.1 and connect via ethernet to the fon
2nd step: Boot the fon and access the admin interface at 169.254.255.1 (fon firmware 0.7.1r1 or below)
3rd step: Save the following as "sshenable.htm", open it with your webbrowser and hit submit

Code: Select all

<html>
<head> 
</head> 
<body> 
<center> 
<form method="post" action="http://169.254.255.1/cgi-bin/webif/connection.sh " enctype="multipart/form-data"> 
<input name="username" value="$(/etc/init.d/dropbear)" size="68" > 
<input type="submit" name="submit" value="Submit" onClick="{this.form.wifimode.value='";' + this.form.wifimode.value +';"'}" /> 
</form> 
</body> 
</html>


4th step: Use PuTTY to ssh in at 169.254.255.1 and execute

Code: Select all

mv /etc/init.d/dropbear /etc/init.d/S50dropbear 
5th step: Download these two files and HFS
http://fonera.info/camicia/openwrt-ar53 ... MICIA.lzma
http://fonera.info/camicia/out.hex
http://www.rejetto.com/hfs/download
6th step: Reboot the fon and ssh back in (ssh access is now permanent due to step 4)
7th step: Host openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma and out.hex with HFS locally
8th step: Execute these code tags while connected via ssh

Code: Select all

cd /tmp 
wget http://169.254.255.2/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 reboot just login again with PuTTY.

Code: Select all

cd /tmp 
wget http://169.254.255.2/out.hex 
mtd -e "RedBoot config" write out.hex "RedBoot config" 
reboot 
Don't interrupt the redboot patching!!! Otherwise you'll have a bricked device.

Now you can flash dd-wrt or openwrt or whatever with Fon Flash or better manually :)

HTH orange
This is the link of the original post:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=52166
Regards,
Vaako
2x fonera 2200 & 2201 Gargoyle 1.45 | 1x WZR-HP-G300HN Gargoyle 1.45

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Fonera 2100 "Telnet for RedBoot not enabled" Solved

Post by ispyisail »

Thanks for the report

Post Reply