Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Two methods of updating Linksys router firmware Network
You don't need to use Linksys' Windows software to upgrade the flash firmware in your Linksys Router. Unix to the rescue! Here's how:
  1. Download the latest firmware from Linksys, and extract the code.bin file from the archive (usually a zip). Place the code.bin file on your desktop.

  2. Go into your router's configuration screen and remove the password.

  3. Open a terminal and type cd ~/desktop

  4. Run the tftp command with your routers IP number:
     % tftp 192.168.0.1
  5. At the TFTP prompt, type binary.

  6. Send down the new firmware by typing put code.bin and then hitting return. Voila! If there was a short delay while the code.bin was transferred, and no errors are reported, then you are almost done.

  7. Go back into your router's admin screen and restore your password. Bonus: If you don't know your password, it ships from the factory as admin or if you forgot it, you can do a hard reset (see your manual).
You can also, instead of using the tftp command, log into your router's web admin interface and goto the Update.htm page and use the Java upload applet. TFTP lets you rub the fuzzy UNIX underbelly of OS X, and really isn't that what it's all about? ;)
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[25,322 views]  

Two methods of updating Linksys router firmware | 15 comments | Create New Account
Click here to return to the 'Two methods of updating Linksys router firmware' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Cool
Authored by: imageworx on Dec 09, '02 09:41:17AM

I kills me that Linksys doesn't post this kind of stuff on their site. You would think it would get more customers, thus sales.
I wonder if this will work with SMC...Barricade?



[ Reply to This | # ]
Can I do this with my Efficient 5861
Authored by: apt on Dec 09, '02 09:56:28AM

I've been wanting to update my Efficient 5861 Kernel for ages now but as I dont have a PC and VCP won't work I cant update the firmware... I've read, and been told by Effient that I can use tftp to update it but the fear of doing something wrong has stopped me so far... My question is can I use this same method (adove) to install the new kernel on my Efficient 5861.

Regards

apt



[ Reply to This | # ]
SMC Barricade
Authored by: smv on Dec 09, '02 11:00:59AM

With the SMC barricade, all you have to do it is click on the toolbox link on the main setup page. There is a button that says Firmware Upgrade. Click that and select your update file (extracted from the zip). SMC says you have to perform a hard reset after a firmware upgrade so be prepared to restore all your settings after the upgrade.



[ Reply to This | # ]
Never works for me
Authored by: bluehz on Dec 09, '02 12:26:34PM

I have tried this tip several times with several versions of OS X and never have gotten a successful update. Only success I ever have is with MacTFTP software.



[ Reply to This | # ]
error mesage
Authored by: moshingkow on Dec 09, '02 06:39:43PM
every time I try this, it returns the error
Error code 2: Invalid Password !!
any ideas?

[ Reply to This | # ]
error mesage
Authored by: bluehz on Dec 09, '02 07:51:11PM

Exactly what I get - EVEN after deleting the password on the roter as explained.



[ Reply to This | # ]
error mesage
Authored by: ankh on Dec 09, '02 08:49:36PM

After you hold the Reset button down with a paperclip -- for maybe 30 seconds, until well after the red lights quit flashing -- then it should be reset to USER - _____ and PASSWORD - admin

Nothing goes in the user box; "admin" lower case goes in as the password.

I have no idea how to give a user-name for the first blank space though.



[ Reply to This | # ]
Can I do this with my Efficient 5861
Authored by: apt on Dec 11, '02 09:34:10AM

*Reposted Here*

I've been wanting to update my Efficient 5861 Kernel for ages now but as I dont have a PC and VCP won't work I cant update the firmware... I've read, and been told by Effient that I can use tftp to update it but the fear of doing something wrong has stopped me so far... My question is can I use this same method (adove) to install the new kernel on my Efficient 5861.

Regards

apt



[ Reply to This | # ]
about the ip adress ...
Authored by: pgrimard on Dec 14, '02 11:20:01PM

The ip adress of the linksys router is not 192.168.1.1 ?? And not xxx.xxx.0.1 ??

I using a linksys router and my ip adress for the administration is 192.168.1.1

Do you realy using 192.168.0.1 ???



[ Reply to This | # ]
have to remove password first
Authored by: qoo77 on Dec 27, '02 09:17:47AM
For those getting the "Error code 2: Invalid Password" message, try this: 1) Go to http://192.168.1.1/Passwd.htm and change your router's password to blank. 2) Trying 'putting' code.bin again 3) It pauses for a while then something like this will show "Sent 386048 bytes in 18.3 seconds " 4) Return to http://192.168.1.1/Passwd.htm and you can restore your router's password to your own. 5) Done! You can click on the 'Password' link to check that the firmware version is at the latest.

[ Reply to This | # ]
have to remove password first
Authored by: macubergeek on Dec 27, '02 03:02:39PM

word of advice
blank the password by clicking inside the first window at the end of the line of dots then blanking by using the delete button on your keyboard till all the dots are gone.
do the same in the second password box

be sure to hit apply at the bottom of the page

then do the tftp thing:
jamesk @ /Users/jamesk/Desktop/update@Xmac-->tftp 192.168.1.1
tftp> binary
tftp> put code.bin
Sent 453632 bytes in 24.2 seconds

One last caveat:
if you are using firewalling on your mac, be sure to flush the ruleset before you try this and then reinstall using brickhouse.
you can flush the rules by:
sudo ipfw flush
enter password



[ Reply to This | # ]
Two methods of updating Linksys router firmware
Authored by: scared on Feb 12, '04 08:11:25PM

i believe it's actually Upgrade.htm



[ Reply to This | # ]
Two methods of updating Linksys router firmware
Authored by: flakaddict on Jul 08, '04 10:39:48PM

The IP address for Linksys routers is 192.168.1.1, not 192.168.0.1. There's a typo at the top that will prevent this hint from working unless that's changed.



[ Reply to This | # ]
Two methods of updating Linksys router firmware
Authored by: neuralstatic on Aug 19, '04 03:25:15PM

i finally got past the password error on my old befsr41.

i reset it to factory defaults, cleared password then it worked with the tftp procedure. the web Upgrade.htm never worked for me at all.



[ Reply to This | # ]
Two methods of updating Linksys router firmware
Authored by: sjk on Aug 20, '04 01:20:03PM

I've used Safari to install the last couple BEFSR41 firmware updates (currently 1.46.00). Just give it enough time to finish uploading the .bin file to the router.



[ Reply to This | # ]