Router Upgrade Checker (Class II routers only)

Utilities and tools for networking, routers, setup etc
Post Reply
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 » Thu Oct 30, 2008 1:25 pm

Neo wrote:
thechief wrote:But I am getting errors about the HTTP daemon seeming to have stopped. It can't run beyond 15%.
The RUC is able to restart the HTTP daemon and should ask if you wish to do this. The HTTP daemon might not be restarted if the RUC fails or is interrupted before it can complete and as of 1.3.1 it can restart it, if the RUC detects that it has stopped.
"Could not restart the http daemon - no valid daemon name on record". See your PM.
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
Neo
RouterTech Team
RouterTech Team
Posts: 3586
Joined: Thu Jan 26, 2006 1:09 pm
Contact:

Post by Neo » Thu Oct 30, 2008 3:00 pm

OK, that means you need to set the "Last http daemon" in the INI file to match the daemon on your router e.g. "thttpd".
RouterTech Team and Founding Member
Image
RouterTech Merchandise (UK)
No support via PM, please ask your questions on the forum!
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 » Thu Oct 30, 2008 4:06 pm

Ok, that works now. Thanks.
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.
Phant
Newbie
Newbie
Posts: 4
Joined: Fri Nov 14, 2008 8:04 pm
Location: Northern Germany

Post by Phant » Fri Nov 14, 2008 8:51 pm

Neo wrote:OK, that means you need to set the "Last http daemon" in the INI file to match the daemon on your router e.g. "thttpd".
Hi Neo!

I'm heading the same problem as thechief here. However, "thttpd" as entry in the ini file doesn't work. After confirming the dialog for restarting the http daemon RUC directly jumps to 100 % and then shows the dialog box that the http daemon has been restarted. The report shows "Previous HTTP daemon process number is invalid." in the last line.

How do I find out the right http daemon to be entered in the RUC ini file? I would guess via telnet, but where should I look?

Thanks for any hint.
Phant
User avatar
Neo
RouterTech Team
RouterTech Team
Posts: 3586
Joined: Thu Jan 26, 2006 1:09 pm
Contact:

Post by Neo » Fri Nov 14, 2008 9:01 pm

Hi Phant,

To find out the correct http daemon name, you will need to log in via telnet and then run the command:

Code: Select all

ps
You should see a list of the processes running on the router. The http daemon will have "httpd" as part of the name.

For example:

Code: Select all

1 root      1020 S    init 
    2 root         0 SW   [keventd]
    3 root         0 SWN  [ksoftirqd_CPU0]
    4 root         0 SW   [kswapd]
    5 root         0 SW   [bdflush]
    6 root         0 SW   [kupdated]
    7 root         0 SW   [mtdblockd]
   87 root      2156 S    /usr/bin/cm_pc 
   89 root      3456 S    /usr/bin/cm_logic -m /dev/ticfg -c /étc/config.xml 
  108 root       640 S    /sbin/dproxy -c /étc/resolv.conf -d 
  126 root      1020 S    init 
  213 root      2348 S    /usr/sbin/pppd plugin pppoa 0.38 user username@isp
  246 root       920 S    /sbin/msntp -r 2 -t 5 -p 30 -s time-a.nist.gov time-b
  247 root       684 S    /usr/sbin/udhcpd /var/tmp/udhcpd.conf 
  257 root      1028 S    crond -b 
 3304 root      1176 S    /usr/sbin/thttpd -d /usr/www -u root -p 80 -c /cgi-bi
 3314 root       628 S    /sbin/utelnetd 
 3315 root      1036 S    -sh 
 3318 root      1020 R    ps 
In this example, the http daemon name is "thttpd" taken from the

Code: Select all

3304 root      1176 S    /usr/sbin/thttpd -d /usr/www -u root -p 80 -c /cgi-bi
line.

If the http daemon isn't running on your router, you may need to reboot your router first.
RouterTech Team and Founding Member
Image
RouterTech Merchandise (UK)
No support via PM, please ask your questions on the forum!
myt2
Newbie
Newbie
Posts: 4
Joined: Mon Nov 17, 2008 2:15 pm

Post by myt2 » Mon Nov 17, 2008 2:34 pm

TheMaskSeeD wrote:i'm using windows xp sp3

when i run RUC i get following window

Run-time error '5':
Invalid procedure call or argument

anyone having same problem as me?
I have the same problem. What have I to do?
User avatar
Neo
RouterTech Team
RouterTech Team
Posts: 3586
Joined: Thu Jan 26, 2006 1:09 pm
Contact:

Post by Neo » Mon Nov 17, 2008 2:45 pm

Hi, have you gone through everything mentioned in the readme file?
RouterTech Team and Founding Member
Image
RouterTech Merchandise (UK)
No support via PM, please ask your questions on the forum!
myt2
Newbie
Newbie
Posts: 4
Joined: Mon Nov 17, 2008 2:15 pm

Post by myt2 » Mon Nov 17, 2008 3:37 pm

Neo wrote:Hi, have you gone through everything mentioned in the readme file?
Yes, everything. I also tried to give the program admin privileges and also to use the real hidden admin account in vista, but nothing :( ...
User avatar
Neo
RouterTech Team
RouterTech Team
Posts: 3586
Joined: Thu Jan 26, 2006 1:09 pm
Contact:

Post by Neo » Mon Nov 17, 2008 3:47 pm

Ah, you didn't mention you were running Vista. So, you have definitely run the vista-telnet-fix.bat file, rebooted and run the RUC in Windows XP compatibility mode? And you have all the dependency files (VB runtime and ws2_32.dll)?
RouterTech Team and Founding Member
Image
RouterTech Merchandise (UK)
No support via PM, please ask your questions on the forum!
myt2
Newbie
Newbie
Posts: 4
Joined: Mon Nov 17, 2008 2:15 pm

Post by myt2 » Mon Nov 17, 2008 4:29 pm

Neo wrote:Ah, you didn't mention you were running Vista. So, you have definitely run the vista-telnet-fix.bat file, rebooted and run the RUC in Windows XP compatibility mode? And you have all the dependency files (VB runtime and ws2_32.dll)?
Sorry, i forgot to mention it :oops: However, i've run the fix, I've rebooted and I also have run it in WinXP compatibility mode. And yes, I have installed all the files (the one mentioned in the ReadMe, from the microsoft website) and i've checked on the file "ws2_32.dll" in C:\windows\system32\drivers\ . But it doesn't work.
In every case thank you for your help, in fact I succesfully installed the new FW a few minutes ago without using this program. At my own risk, as it's usually said :P .
The "run-time error" remains, however :(

ps: sorry if there are some big language errors, but i'm not english 8)
Phant
Newbie
Newbie
Posts: 4
Joined: Fri Nov 14, 2008 8:04 pm
Location: Northern Germany

Post by Phant » Wed Nov 19, 2008 10:15 pm

Neo wrote:To find out the correct http daemon name, you will need to log in via telnet and then run the command:

Code: Select all

ps
Sorry for this late feedback.

My Sphairon AR860E1-B Modem/Router seems to have a shed environment. The ps command doesn't exist (at least not in the bin and sbin folder, and "ls -R" for a recursive listing of subdirectories doesn't work).

However, as an RouterTech novice I conclude that the manufacturer's firmware is a branch of the RouterTech firmware, since it has a web interface having many similarities with the RouterTech's. I've already read that the current RouterTech firmware 2.7 should work on my router, but I would feel more secure, if I could reproduce all the steps described in the firmware update procedures, including RUC.

How shall I proceed?
User avatar
Neo
RouterTech Team
RouterTech Team
Posts: 3586
Joined: Thu Jan 26, 2006 1:09 pm
Contact:

Post by Neo » Sun Nov 23, 2008 1:26 pm

Phant wrote:My Sphairon AR860E1-B Modem/Router seems to have a shed environment. The ps command doesn't exist (at least not in the bin and sbin folder, and "ls -R" for a recursive listing of subdirectories doesn't work).
The lack of a shell environment will make it impossible for the RUC to work with your current firmware.
Phant wrote:However, as an RouterTech novice I conclude that the manufacturer's firmware is a branch of the RouterTech firmware, since it has a web interface having many similarities with the RouterTech's. I've already read that the current RouterTech firmware 2.7 should work on my router, but I would feel more secure, if I could reproduce all the steps described in the firmware update procedures, including RUC.

How shall I proceed?
If you are able to run the Telnet commands in the script (from the first post here: viewtopic.php?t=1062&start=0 ) then that would be a good idea. If not then it's difficult to suggest a foolproof method of identifying the router's requirements. It looks like some people have had success with similar routers, e.g: viewtopic.php?p=26020&highlight=ar860e1#26020
RouterTech Team and Founding Member
Image
RouterTech Merchandise (UK)
No support via PM, please ask your questions on the forum!
Phant
Newbie
Newbie
Posts: 4
Joined: Fri Nov 14, 2008 8:04 pm
Location: Northern Germany

Post by Phant » Wed Nov 26, 2008 8:55 am

Neo wrote:If you are able to run the Telnet commands in the script (from the first post here: viewtopic.php?t=1062&start=0 ) then that would be a good idea.
Thanks, Neo!
The script ran just fine. In the meanwhile I've upgraded to RT firmware 2.8 and it works (beside some minor issues, but that's another story and OT in this thread).
myt2
Newbie
Newbie
Posts: 4
Joined: Mon Nov 17, 2008 2:15 pm

Post by myt2 » Sun Dec 07, 2008 8:16 pm

YEAHHHHH! Remember when I said i couldn't run the RUC because it gave a "runtime -5 error"? I found that, deleting the file "firmware.lst", the program works much well!
magsmanston
Novice
Novice
Posts: 12
Joined: Sat Mar 03, 2007 3:29 pm

Post by magsmanston » Sun Dec 07, 2008 8:40 pm

Hm.

I seem not to be able to download it at all. Are you sure the files are still OK?

I have tried downloading from different locations, using a diffferent browser and using different caches. Every time (and for all the files listed on the opening page of the thread) I get a CRC error from the .exe and a message that it's corrupted.
Post Reply