Bookmark and Share

Author Topic: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)  (Read 2184 times)

0 Members and 1 Guest are viewing this topic.

Offline nomisrw

  • PcWinTech Member
  • *
  • Join Date: Aug 2010
  • Posts: 7
  • Karma: +0/-0
Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« on: August 28, 2010, 08:08:52 AM »
Hi there,

This looks like an excellent tool and very well supported. 

I'm trying to get it to list the ports that are forwarded on my D-Link DVA-G3810BNTL router.  When I do this I get the following error from Script 1:

Running Script From Database For Selected Router
-----------------------------------------------------------------------
Step 01. nav("")
(Successful) (http://admin:telus@192.168.1.254/)
Step 02. set_username("user_name")
(Successful)
Step 03. set_password_by_position("129")
(Successful)
Step 04. click_link("SendPassword()")
Looking For Link: SendPassword()
javascript:SendPassword()
Step 05. click_link("9170..")
Looking For Link: 9170..
(Failed To Find Link)
Step 06. click_link("9000..")
Looking For Link: 9000..
(Failed To Find Link)
Step 07. click_link("9010..")
Looking For Link: 9010..
(Failed To Find Link)
-----------------------------------------------------------------------

Thanks,
Simon

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 8,673
  • Location: USA
  • Karma: +288/-0
  • "Knowledge should be shared not hidden."
Re: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« Reply #1 on: August 28, 2010, 09:28:30 AM »
Can you post a screen shot of the program when it tries to update the database?

Me seeing where it is at will help a ton.

Also I am about to head off till monday, it is my anniversary this weekend for my wife and I, so I may not be able to get you fixed up till then.  :wink:

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com


Offline nomisrw

  • PcWinTech Member
  • *
  • Join Date: Aug 2010
  • Posts: 7
  • Karma: +0/-0
Re: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« Reply #2 on: August 28, 2010, 12:31:12 PM »
Here is the screen shot, let me know if you wanted something different.

Thanks,
Simon

[attachments over 25 days old deleted by admin]

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 8,673
  • Location: USA
  • Karma: +288/-0
  • "Knowledge should be shared not hidden."
Re: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« Reply #3 on: August 28, 2010, 12:54:47 PM »
Typing this from my phone lol

The script is failing the login.
I will fix that when I get back Monday.

Till then, on that screen go ahead and login.
Then close the window and hit update router again.
It should stay logged in and the rest of the script can finish.

Let me know ;-)

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 8,673
  • Location: USA
  • Karma: +288/-0
  • "Knowledge should be shared not hidden."
Re: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« Reply #4 on: August 30, 2010, 12:36:39 PM »
Back home now.

Any luck from my last post?

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline nomisrw

  • PcWinTech Member
  • *
  • Join Date: Aug 2010
  • Posts: 7
  • Karma: +0/-0
Re: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« Reply #5 on: August 30, 2010, 12:42:26 PM »
Hi Shane,

No luck.  I did as you suggested and logged into the router but after I did that and tried to get the list of ports it re-ran the script and failed with the original failure.

Simon

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 8,673
  • Location: USA
  • Karma: +288/-0
  • "Knowledge should be shared not hidden."
Re: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« Reply #6 on: August 30, 2010, 12:44:57 PM »
Does the script ever move past the login page?

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline nomisrw

  • PcWinTech Member
  • *
  • Join Date: Aug 2010
  • Posts: 7
  • Karma: +0/-0
Re: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« Reply #7 on: August 30, 2010, 12:48:09 PM »
No it doesn't, except when I manually login after the script has failed.

Simon

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 8,673
  • Location: USA
  • Karma: +288/-0
  • "Knowledge should be shared not hidden."
Re: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« Reply #8 on: August 30, 2010, 12:56:03 PM »
So after you login, and then close the window and have it try again it still shows the login.
pain in the butt LOL.

Ok the thing with your router is the password box. The password box has a different name every single time it comes up. So I made a set password by position command. It sets the password based on the spot it is in on the page.

For some reason, a firmware update perhaps, they changed that on me.

So what I will do is changed the script real fast with a new command I made, asking the user to login before it continues. (make sure you have v3.0.7 of my program)

Lets see how that does for us.

I will post back once I have the database updated  :wink:

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 8,673
  • Location: USA
  • Karma: +288/-0
  • "Knowledge should be shared not hidden."
Re: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« Reply #9 on: August 30, 2010, 01:00:43 PM »
Ok, update the database under the tools menu, or step 1 on the check list.

Lets see how this does for us  :wink:

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline nomisrw

  • PcWinTech Member
  • *
  • Join Date: Aug 2010
  • Posts: 7
  • Karma: +0/-0
Re: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« Reply #10 on: August 30, 2010, 01:12:14 PM »
I ran the update.  This time the first time I try to login I get a new window opening up saying I have to manually login, so I enter the user name and password in the appropriate window and then click OK.  I then click "Continue" on the new window that asked me to manually login.  The log window reports failures to find links:


Running Script From Database For Selected Router
-----------------------------------------------------------------------
Step 01. nav("")
(Successful) (http://admin:telus@192.168.1.254/)
Step 02. check_for_login("Password")
Step 03. click_link("9170..")
Looking For Link: 9170..
(Failed To Find Link)
Step 04. click_link("9000..")
Looking For Link: 9000..
(Failed To Find Link)
Step 05. click_link("9010..")
Looking For Link: 9010..
(Failed To Find Link)
-----------------------------------------------------------------------

Simon

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 8,673
  • Location: USA
  • Karma: +288/-0
  • "Knowledge should be shared not hidden."
Re: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« Reply #11 on: August 30, 2010, 01:14:47 PM »
Post a screen shot for me, I want to see what screen is showing after you log in.

I wonder if they updated the firmware and I need to rewrite the script  :wink:

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline nomisrw

  • PcWinTech Member
  • *
  • Join Date: Aug 2010
  • Posts: 7
  • Karma: +0/-0
Re: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« Reply #12 on: August 30, 2010, 01:17:18 PM »
Here is the screen shot

[attachments over 25 days old deleted by admin]

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 8,673
  • Location: USA
  • Karma: +288/-0
  • "Knowledge should be shared not hidden."
Re: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« Reply #13 on: August 30, 2010, 01:20:40 PM »
When you login in, do you wait for the page to finish loading before you click continue in my program?

If so I just need to update the script. You can email me, we will get on msn or yahoo and I can get the info I need from you :-)

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline nomisrw

  • PcWinTech Member
  • *
  • Join Date: Aug 2010
  • Posts: 7
  • Karma: +0/-0
Re: Script failure on D-Link DVA-G3810BNTL (Telus Firmware)
« Reply #14 on: August 30, 2010, 02:00:52 PM »
Everything is working now.  Thanks.

Simon


 

Related Topics

  Subject / Started by Replies Last post
11 Replies
4167 Views
Last post December 21, 2009, 11:38:32 PM
by Shane
9 Replies
1072 Views
Last post January 26, 2010, 06:49:01 AM
by Shane
32 Replies
5114 Views
Last post May 23, 2010, 09:33:26 AM
by Shane
11 Replies
1136 Views
Last post March 29, 2011, 01:03:38 PM
by Shane
47 Replies
1318 Views
Last post August 08, 2011, 09:39:12 PM
by Shane