Update: I receive many emails from people who are trying to update their DSL-2640T with Routertech firmware after looking at this thread or this post. I must update here that the Routertech team has declared this router as “incompatible” with their wireless PSP firmware. If you’re still going to update to this firmware, either know what you’re doing and ask reasonable questions, or you’re on your own.
WARNING: Always check the firmware you need to download using RUC first (linked below).
Before you start, I must say that updating a router’s firmware is not for the faint hearted and I take no responsibility if anything goes wrong with your router. This is pretty much a n00b friendly tutorial, so you should be okay, if you follow everything as written in the RouterTech’s help docs and in this tutorial. Now over to the tutorial:
Please download the following tools and confirm the settings following afterward.
1- Download RUC (Router Update Checker, available here)
2- Download WEB (Wireless Environment Builder, available here).
3- Download your router’s latest official firmware (you should have a copy, in case this goes kaput).
Now whatever you do, don’t blame me. Next open up RUC and enter your router login info, defaults are:
ip: 192.168.1.1 web user: admin web pass: admin telenet user: root telnet pass: admin no of ethernet ports: 4 router description: dlink g624T
check all boxes at the bottom (they are there for a reason).
* You can edit the routers.txt and make an entry for DSL-2640T as follows too:
DSL-2640T 4
Once RUC gives you a report, it should be similar to the following:
Router Upgrade Check 1.2.9 19/09/2008 09:49:15 Router IP: 192.168.1.1 CLI is needed Description: Dlink G624T Board type: AR7VW Product ID: AR7WRD Bootloader: psbl RAM 16.0 MB Flash (ROM) 4.0 MB ADAM2: No No default env: No Linux version: 2.4.17_mvl21-malta-mips_fp_le Firmware build: Firmware version: V3.02B01T01.ME-A.20080125 Firmware stamp: 20080125143616 CPU: MIPS 4KEc V4.8 DSP: 6.00.04.00 Annex: A /proc/wlan: Yes /usr/sbin/wlan: Yes TIAP: Yes TNETW: Yes Wireless: Yes WIFI chip: TNETW1350A WIFI chip conf: Yes Ports: 4 Marvell (or Marvell like): No NSP: V3.02B01T01.ME-A.20080125 Manufacturers: D-link Corporation RNDIS: Telogy Networks Inc
Now, the things to make sure in the above log are:
Product ID or Board type: AR7WRD Bootloader: psbl RAM 16.0 MB Flash (ROM) 4.0 MB WIFI chip: TNETW1350A Marvell (or Marvell like): No
The above settings will qualify you for a RouterTech firmware upgrade. The reason to run RUC was to backup all your settings and configurations at one place. If you have not backed-up your settings, do it now. No one will be responsible, if you do this carelessly and brick your router.
Download RouterTech firmware from http://routertech.org/forum.php. You must register on the forum to download the firmware. For DSL2640T, you’ll need the RoHS 4-port PSP firmware. It should be named something as follows:
routertech-rohs-ar7wrd-pspboot-firmware-xxxxxxx.zip
extract it to some directory and open up the upgrade.html file and DO WHAT IT SAYS.
1- back-up all your settings
a- /proc/ticfg/env
b- /proc/interrupts
c- /etc/led.conf
d- config.bin (using your router’s “save config to hard disk” option in the web panel)
2- reset your router to factory default settings. reboot.
3- once the router comes back online, save all settings and reboot again.
4- open up the update firmware panel in the router’s web panel; Tools->Firmware and browse to where you extracted the above zip file and select:
routertech_ar7wrd_1350a_pspboot_firmware_xxxxxxx_xxx
Now click on Apply and pray to God that all goes well. Leave the router alone for about
8-10 MINUTES…
After ten minutes, telnet into your router again and see if it lets you log in using:
telnet 192.168.1.1
Log in using user:Admin and pass:Admin.
If the router let you log in, go to your Router’s web panel and into the System panel. Click on Restore Factory Settings and Reboot. Once the router comes online. Telnet back into your router:
type
cat /proc/ticfg/env
and take a look at the variables and back them up.
Next perform the following steps:
setenv led_conf led.2640t && /sbin/reboot
once again, when the router comes back online. Telnet again into the router and type:
setenv vlynq_polarity low
Reboot the router once again and you should have a working DSL-2640T running with everything on a custom routertech firmware. You can issue all the commands above in a single go but I say, do not mess with your router, unless you are confident of your actions.
For the people, who do not have their WLAN working, after the upgrade or even so before the upgrade, please follow the steps below:
A common issue for many people on a router exists, where the AP stays off and only comes online by using
"echo NVS_TFTP_LOAD 0 > /proc/ticfg/env"
However, this can create issues on the environment side and the solution itself is temporary too. The actual issue is a corrupted WLAN EEPROM, which needs to be fixed:
- Extract WEB (Wireless Environment Builder) somewhere in a directory and open it up.
- Fill up the information it asks for.
- If you do not have a TWNET ID, go to your router’s system logs. They can be found in Status->SystemLog. Browse them and find the line where it says:
"Failed to get DIE ID from wlan driver. Cannot validate EEPROM Image" .... .... "Setting bootloader env NVS_TFTP_LOAD to 1"
- Look for a string similar to this:
"Retrieving EEPROM image file nvs_5e015cf4a901151d.bin from TFTP Server" "ERROR: TFTP of file : nvs_5e015cf4a901151d.bin failed"
- there, the string next to “nvs_” is your TWNETID i.e.5e015cf4a901151d. It should be different for you.
- copy it in WEB and click on “get router details” or “build environment”. It should work and after a while, it will ask you that it can send the script directly to the router. Do so, and let the router reboot after that. You’re done, once the Router comes back online, go check your environment now and you’re good to go.
I hope this will help many people. You might wanna head over to RouterTech for more help and if you run into any issues. Those guys are a great help and they have some fantastic stuff there.
Regards,
M.H.A.Q.S.
Related posts:







im not able to find routertech-rohs-ar7wrd-pspboot-firmware-xxxxxxx.zip this firmware from routertech offical forum.
The series naming has changed a bit. You should always use RUC (Router Upgrade Checker) to see what RouterTech firmware suits you. But for DSL-2640T, the latest firmware name is:
routertech_ar7wrd_1350a_pspboot_firmware_20090415_149
i think i have bricked my router (dsl-2640t), i have update a wrong firmware in my router..(routertech_ar7wrd_adam2_firmware_20090415_355)
what must i do?
even “pctools” and “routerrepairtool” doesn’t work, and i can’t go in my router’s telnet.. i think i have done a bad job.
DSL-2640T is a PSP based Router and ADAM2 firmwares will not work. Anyway, don’t worry, it is not bricked. You can still recover it. I’d give you details on that here but I’d suggest you head over to Routertech.org and look into their forums about recovering a bricked Router. Those guys are the best. You can follow the thread below:
http://www.routertech.org/viewtopic.php?t=335
Hi<
thanx for sharing ur info.
When i request 192.186.1.1 the router dose not respond
it give me a plank page withe only one word writen on it (GIF89a)
i do not know what is the Problem i can not access to the router panel!!
hope to found anser her
thanx
Glad to be of help.
There may be several reasons. It may be the browser too. Try pinging the Router IP i.e. 192.168.1.1 or telnet into the Router using the command “telnet 192.168.1.1″ and see if the Router responds. If not then you did something wrong during the upgrade process. But you can try resetting the Router to Factory defaults. There is a switch behind the Router for that purpose. Take a pencil and press the switch for about 10 seconds until the Router Reboots. Once the Router settles after the reboot, try all the tests again. If the Router is still not responsive, you might need to re flash it or repair it. You can use Neo’s Router Repair tool for that purpose. Go to http://www.routertech.org/viewtopic.php?t=2395. I assume you are using DSL2640T. You can ask the guys at RouterTech for help as well.
Hope that helps.
@omn143: What may help is requesting 192.168.1.1 instead of 192.186.1.1.
Hi there, thank for ur simple instruction on how to update the firmware of dsl-2640t to RT firmware. So, for me the new firmware work fine and my dsl-2640t has the latest RT firmware. Well can u help me on how to using Bridge, repeater and crud function in RT firmware. Maybe some simple explaination on how thing needed to done to make it work nicely.
Thankz…
You can create a new connection and select bridge from the connection type menu. Then go to LAN Configuration and put the new connection into group 1. Save it and it will work in bridge mode. Of course, you need to remember two things:
1- You can only have on connection in your Router.
2- You will need to create a PPPOE connection in your Operating system to dial through the bridge.
You can always visit routertech.org and ask anything on their forums. You’ll get great help there.
hey Mohamed
i’ve upgraded my Dlink 2640T successfully,but i stumbled upon couple of problems.
- after upgrading i’ve tried to telnet the router ,but i was able to write the username only,but unable to enter password(it only shows blank no matter what key u stroke,im using Win7).
-i got familiar with the new fw,but may i ask smthing,is RT fw is for certian locations in the world or is it like universal ,because i’ve entered my ADSL details and matched the old config.,but still was unable to connect to the internet (meanwhile its connected to the DSLAM,but there is no WAN IP)
-does this fw make the Router get even hotter than it is?
Thanks alot for your complete tolerance.
Here’s what can help you:
- The username and password for a default installation of RouterTech is “Admin”. Notice the capital A? Also, when you telnet into the router, you need to enter the username as “root” and the password as “Admin”. The telnet session will not show you typing your password. Just type “Admin” and press Enter. It will log you in.
- If your Router cannot establish a PPPOE session and obtain a WAN IP. You may be a victim of a rare PPPOE issue in DSL-2640T with some ISPs. From what I’ve experienced, it’s a hardware issue and you may not be able to get around it. You can of course visit the routertech.org forums and ask them for help.
- The router should not get hot. If it is getting hot then “stand” in a vertical fashion. It may be the temperature of the room or the position of the router that is not helping the ventilation of heat.
hello,
I bricked my router (D-link dsl 2640T), the RUC is not work at first time i got this message “router is not responding”.
But if i use RRT or Pctool i can update the router but after it doesn’t work.
what can i do.
help me!!!!
Hey,
Don’t worry, your Router isn’t trashed. If RouterTech isn’t working for you, you can switch back to your Router’s original firmware. Once your switch back, try the flash once again using the correct firmware. RUC doesn’t work at times because it might blocked by something. Try the whole process once again and if you need detailed help, you can always visit the routertech.org’s forum.
Hey Mohamed
This question may be off topic but is RouterTech Firmware linux based? once installed on my 2640T, can I create & run my custom compiled application every time the router starts? I want to create a SPI firewall to do a very specific task to all masqueraded packets.
Thanks,
Johl
The Routertech firmware uses BusyBox, which is an embedded version of linux. You may be able to write an application if you know embedded linux programming. You also might wanna head over to routertech forums and search on the internet, because somebody may already have done what you are trying to accomplish.
Hello Friends.
I enjoyed your post, but unfortunately not succeeded with wireless on my 2640T …
I did all the procedures described in his fine blog, but I had the same success …
After giving a read on the forum TouterTech RouterTech_ROHS_3.7.1B put the firmware and thankfully everything went well.
For those who want to upgrade your modem / router 2640T (at your own risk) 100% funcinal, no telnet, no codes, follow the link routertech-rohs-ar7wrd-pspboot-firmware-20080723.zip – [3.31 MiB] http:/ / http://www.routertech.org/download/file.php?id=1132
Even more.
________________________________________________________________
Brazilian
Ola Amigo.
Gostei muito de seu post, mas infelizmente não obtive sucesso com wireless no meu 2640T após a sua sugestão…
fiz todos os procedimentos descritos em seu belo blog, mas não tive sucesso mesmo…
Após dando uma lida no forum TouterTech coloquei o firmware RouterTech_ROHS_3.7.1B e felizmente deu tudo certo.
Para quem quizer atualizar o modem/router 2640T (por sua conta e risco) 100% funcinal, sem telnet, sem códigos, segue o link routertech-rohs-ar7wrd-pspboot-firmware-20080723.zip – [3.31 MiB] http://www.routertech.org/download/file.php?id=1132
Até mais.
Hello,
You must be the first one to have have an Annex B 2640T. This may be because of your region. I haven’t heard of one before this. Anyhow, I’m glad it worked for you. For others, please refer to the router upgrade utility before flashing firmware on your router. Also, always notice the specs of your router (written on the backside) before doing anything.