dead d-link g604t and pc tool

All about firmwares for routers. Support for RouterTech firmwares is here too.
joandemma
Newbie
Newbie
Posts: 5
Joined: Sat Jun 16, 2007 4:36 pm
Location: uk

dead d-link g604t and pc tool

Post by joandemma » Sat Jun 16, 2007 4:43 pm

Tried to update firmware and failed, so router seems dead cannot ping it. Using pc tool I can reach it as 192.168.100.2, user adam2 message comes up saying successfully logged in. But if I try to update firmware with downloaded kernel I get message "550 data socket not ready". Can anyone tell me my next step, have bought a Netgear router and it works great- just wanted to bring this one back from dead if I could. Cheers.
mstombs
RouterTech Team
RouterTech Team
Posts: 3753
Joined: Wed Jan 10, 2007 11:54 pm

Post by mstombs » Sat Jun 16, 2007 5:04 pm

Various users reporting upgrade failed just find the old version still there - but power or hardware failure during flash write could give your symptoms.

But as bootloader is intact I'm sure we can help you recover...

What firmware was running before and what firmware did you try to load?
joandemma
Newbie
Newbie
Posts: 5
Joined: Sat Jun 16, 2007 4:36 pm
Location: uk

Post by joandemma » Sat Jun 16, 2007 5:24 pm

Was running the original firmware that came with router, but am unsure which firmware I was trying to upgrade to- think it was from a non british site and it was a while ago. Flash seemed to stop halfway through process giving a not responding message in windows task manager.
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Post by thechief » Sat Jun 16, 2007 6:02 pm

You can view the router's environment variables with the pctool. What is the value of IPA (or my_ipaddress)?
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
joandemma
Newbie
Newbie
Posts: 5
Joined: Sat Jun 16, 2007 4:36 pm
Location: uk

Post by joandemma » Sat Jun 16, 2007 6:56 pm

ip address is 192.168.100.1. I had to edit prog and put this in to get router to register (as per last paragraph) viewtopic.php?t=335
joandemma
Newbie
Newbie
Posts: 5
Joined: Sat Jun 16, 2007 4:36 pm
Location: uk

Post by joandemma » Mon Jun 18, 2007 10:07 am

Chief, what is my next move to resurrect my router? :cry:
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Post by thechief » Mon Jun 18, 2007 3:30 pm

I would suggest obtaining the MTD values from someone who has RT v2.3 installed (can one of you guys please post here?),. Then set the correct MTDs via the pctool, and try again.
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
User avatar
studioeng
Experienced
Experienced
Posts: 454
Joined: Mon Oct 23, 2006 11:59 pm
Location: Dorset, England
Contact:

Post by studioeng » Mon Jun 18, 2007 3:54 pm

Here is the whole environment of my D-Link G604T running 2.3:

Code: Select all

memsize	0x01000000
flashsize	0x00400000
modetty0	38400,n,8,1,hw
modetty1	38400,n,8,1,hw
bootserport	tty0
cpufrequency	150000000
sysfrequency	125000000
bootloaderVersion	0.22.02
ProductID	AR7WRD
HWRevision	
SerialNumber	
my_ipaddress	192.168.1.1
maca	xx:xx:xx:xx:xx:xx
usb_vid	0x0
usb_pid	0x0
usb_rndis_mac	xx.xx.xx.xx.xx.xx
usb_board_mac	xx.xx.xx.xx.xx.xx
usb_man	N/A
usb_prod	N/A
usb_serial	1234567890
prompt	Adam2_AR7RD
firstfreeaddress	0x9401d328
req_fullrate_freq	125000000
mtd0	0x90094000,0x903f0000
mtd1	0x90010090,0x90094000
mtd2	0x90000000,0x90010000
mtd3	0x903f0000,0x90400000
autoload	1
mac_ap	xx:xx:xx:xx:xx:xx
mtd4	0x90010000,0x903f0000
vcc_encaps0	0.0
vcc_encaps1	0.0
vcc_encaps2	0.0
vcc_encaps3	0.0
vcc_encaps4	0.0
vcc_encaps5	0.0
vcc_encaps6	0.0
vcc_encaps7	0.0
modulation	0x1
usb_enable	no
I forget what it is called, but someone a while ago suggested a D-Link program which can update/repair/resurrect these routers, I personally used it and got this router back.
joandemma
Newbie
Newbie
Posts: 5
Joined: Sat Jun 16, 2007 4:36 pm
Location: uk

Post by joandemma » Tue Jun 19, 2007 8:25 am

I am still at a loss, how do I go about setting mtd values with pc tool. I assume they are the values mtd0-mtd4, listed above. :cry:
mstombs
RouterTech Team
RouterTech Team
Posts: 3753
Joined: Wed Jan 10, 2007 11:54 pm

Post by mstombs » Tue Jun 19, 2007 10:24 am

I have never needed to do it, but guess you can create script files for the mtd's if needed containing "setenv mtd0 x,y" etc, but the only reference on this site are commands to unsetenv, because usually the PC-TOOL sets them correctly for you - but you said in first post pc-tool didn't work for you..

D-Link do supply a Tiupgrade tool, which I guess is what studioeng used in the past. DarkWolf supplies a customized version of this for his version of the Routertech firmware for this router so should work...

For info on this tool see

http://www.expansys.nl/ft.aspx?i=110551 ... 1045&m=221

which links to the UK hosted file

ftp://ftp.dlink.co.uk/dsl_routers_modem ... rmware.pdf

and to the Aus firmware with tool available here

ftp://files.dlink.com.au/Products/DSL-G ... /Firmware/
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Post by thechief » Tue Jun 19, 2007 1:19 pm

joandemma wrote:I am still at a loss, how do I go about setting mtd values with pc tool. I assume they are the values mtd0-mtd4, listed above. :cry:
On the left side, highlight "Environement Space" [sic], make sure that "Binary" is checked, click on "upload", and you will see the dialog box in the attached screenshot. Highlight the variable you want to change, and click on "Edit", etc. etc.
Attachments
env-pctool.jpg
Setting environment variables with the pctool
(105.05 KiB) Downloaded 231 times
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
User avatar
Shotokan101
RouterTech Team
RouterTech Team
Posts: 4779
Joined: Thu Jan 26, 2006 3:17 pm
Location: Glasgow, Scotland

Post by Shotokan101 » Tue Jun 19, 2007 2:10 pm

Hi Chief - is it upload or download as it's apparently from the router's perspective ? :?:
Jim

.....I'm Sorry But I Can't Do That Dave.....
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Post by thechief » Tue Jun 19, 2007 9:50 pm

Well, it is the "Upload" button that you click on ...
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
User avatar
Shotokan101
RouterTech Team
RouterTech Team
Posts: 4779
Joined: Thu Jan 26, 2006 3:17 pm
Location: Glasgow, Scotland

Post by Shotokan101 » Wed Jun 20, 2007 12:08 am

thechief wrote:Well, it is the "Upload" button that you click on ...
Right - so that would save a copy of the router env. to the PC - as in upload from the router to the PC.... :D
Jim

.....I'm Sorry But I Can't Do That Dave.....
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Post by thechief » Wed Jun 20, 2007 7:06 am

Indeed it does. But that is also how you edit the env.
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
Post Reply