Change/Upgrade firmware from MICRO w/o tftp,wget,scp

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
fusibal
DD-WRT Novice


Joined: 05 Feb 2007
Posts: 7

PostPosted: Mon Feb 05, 2007 19:52    Post subject: Change/Upgrade firmware from MICRO w/o tftp,wget,scp Reply with quote
What is a step by step procedure to change/upgrate firmware from MICRO without tfpt, wget, or scp? I can only "telnet" to the router?

I upgraded firmware from standard v22 to micro v23 on WRT54GS v2.0. The problem is that now I would like to use http admin. It seems that the micro version of dd-wrt does not have httpd, ftpd, or sshd (it's possible that I had ssh and tftp disabled before update to micro - dont remember). Micro doesn't even have "ls" to view the directory tree.
Sponsor
placebo
DD-WRT User


Joined: 15 Sep 2006
Posts: 200

PostPosted: Mon Feb 05, 2007 20:27    Post subject: Reply with quote
Something's wrong. I've installed dd-wrt micro before, and it had a web interface, ssh, and ls. I'm not sure why you think it doesn't.
fusibal
DD-WRT Novice


Joined: 05 Feb 2007
Posts: 7

PostPosted: Mon Feb 05, 2007 20:53    Post subject: Reply with quote
I think you're right. I rebooted and tried reaching it with http and it puts out:
Code:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
   <head>



And nothing else... it just stops. Right before I flashed with Micro, I had the newest linksys ( WRT54GS firmware 4.71.1 ).

The firmware loaded ok, but had trouble with all the dd-wrt configurations (http gui admin was working, but internet was not reached despite accurate WAN and LAN settings). Thus, I upgraded to Micro and the internet was working, but no http gui admin !![/url]


Last edited by fusibal on Mon Feb 05, 2007 22:15; edited 1 time in total
fusibal
DD-WRT Novice


Joined: 05 Feb 2007
Posts: 7

PostPosted: Mon Feb 05, 2007 21:07    Post subject: Reply with quote
By the way, since I have access to telnet, I would prefer using a simpler method than recovering from brick router as explained on wiki:
http://www.dd-wrt.com/wiki/index.php/Recover_from_a_Bad_Flash

If I cannot recover by telnet troubleshooting, I guess I have to use the managed mode... I would hate to do that because I am disabled and the router is mounted on the wall in the closet. I would need help to dismount it with help from a friend and hours of explaining, and remounting ... etc.
Tornado
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 2087
Location: Odessa, Ukraine

PostPosted: Mon Feb 05, 2007 21:50    Post subject: Reply with quote
Did you restore to defaults before flashing ? if not, that could be part of your problem, old NVRAM settings laying around. Have you tried resetting it to defaults ?, of course you would have to put all your setttings back in after it rebooted.

If you cant get to it thru the web interface you can telnet in and issue the command:

nvram erase

and then

reboot
also the tftp is in the CFE, but you only have a few seconds after the reboot to get in, but it does not erase NVRAM, this has to be done by resetting to facory or a NVRAM erase.

That is probably what you need to do...just be ready to put all your settings back in.

Hope that helps

_________________
Want JTAG support - Donate a router
or Donate with PayPal !

My preferred parallel jtag adapter:
TIAO Parallel adapter

Tjtag website - http://tjtag.com

Compiling DD-WRT on:
AMD Phenom II X6 1090T @ 3926.667 Mhz

Aptosid X64 - Debian SID X64
Ubuntu 10.10 X64 - Arch X64
fusibal
DD-WRT Novice


Joined: 05 Feb 2007
Posts: 7

PostPosted: Mon Feb 05, 2007 23:22    Post subject: Reply with quote
Thank you. I tried "nvram erase" then "reboot". The values of nvram does not seem to be reset. I've included a dump of "nvram show" attached. Some values are replaced with "[HIDEN FOR SECURITY]" for privacy purposes. It seems the firmware version from linksys made changes which isn't erased by nvram erase command.

The commands available to me are listed below (obtained by double TAB)

Code:

~ #
[                  free               listen             ps                 svqos
[[                 gpio               logger             radio_timer        svqos2
ash                grep               login              rc                 syslogd
awk                halt               logread            reboot             tc
brctl              hb_connect         lsmod              redial             telnetd
busybox            hb_disconnect      macupd             resetbutton        test
cat                head               misc               restart_dns        touch
check_ps           hostname           mkdir              restore            udhcpc
check_ses_led      hotplug            nas                rm                 udhcpd
chmod              httpd              nas4not            rmmod              upnp
cp                 ifconfig           nas4wds            route              uptime
cron               inadyn             ntpclient          sed                vconfig
ddns_success       init               ntpd               sendudp            watchdog
dhcp_release       insmod             nvram              setpasswd          wl
dhcpfwd            ip                 pidof              sh                 wland
dnsmasq            iptables           ping               site_survey        wlconf
dumpleases         iptables-restore   poweroff           sleep              wol
echo               ipupdated          pppd               sort               write
erase              kill               pppoecd            startservice       wrt-radauth
filter             killall            pptp               stats
filtersync         klogd              process_monitor    stopservice



Space available on router by "free" command
Code:

~ # free
              total         used         free       shared      buffers
  Mem:        30640         9132        21508            0         1012
 Swap:            0            0            0
Total:        30640         9132        21508
~ #



nvram_show.txt
 Description:
dump of "nvram show"

Download
 Filename:  nvram_show.txt
 Filesize:  27.05 KB
 Downloaded:  656 Time(s)

fusibal
DD-WRT Novice


Joined: 05 Feb 2007
Posts: 7

PostPosted: Tue Feb 06, 2007 0:34    Post subject: Reply with quote
Ok, just a quick note. I asked someone to reset the nvram by the "reset" button. That worked, and http admin gui came online at 192.168.1.1. THANK YOU AGAIN :)

One thing about busybox on micro though ... it really doesn't seem to have ls, wget, nor sshd. It only seems to have the httpd and telnetd. I'm not sure about mini and standard.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum