Hello I’m just trying to update IP, for a Domain name, from a Q2686 using Dyndns.org. This requires a GET with username password. I have coded as follows:
Have you coded an update client on any other platform?
I would suggest that you do it first on a more “conventional” platform - so that you can get something that works without having to worry about all the extra complexities of GPRS and Open-AT.
Once you have the basic process working, then you can move on to overcoming the peculiarities of GPRS and Open-AT!
You are not checking the return value from wip_write…
DynDNS Web Developers section says:
“All clients must send a well-formed user agent that includes company name, model number, and software build revision. An example would be: Mellenium Inc. - Router 25001 - 1.1”
Oh yes, so it is - that’s what happens when you jump-in on someone else’s thread!
So my advice to you would be as it was to the Original Poster: try this first on some other, more “conventional”, platform; when you have that working, you can then move on to sorting-out the peculiarities of WIP…
Now, may be I’m muddling the terminology, or may be I’m not explaining as well as I desire, I don’t know. I’m not english…
Now, I try to explain what I’m trying to do, and may be you can told me what I’m doing wrong or what I don’t understand so much about “HTTP protocol” and “HTML files”.
For update the IP in DynDNS I know that I need to make a GET HTTP protocol, but all I get is “badagent” response.
Then I search for a HTML file that told me what I’m sending when I use the WIP commands.
For this reason I connect to web page “http://whatsmyuseragent.com/” that told me whats my User-agent information. If I connect with my PC local browser, I can see a User-Agent html header, but if I connect from the wavecom modem, I don’t see any User-Agent html header. I need to get the HTML file from “http://whatsmyuseragent.com/” to see if I am sending any User-Agent information.
Furthermore, I’m using ethereal from my PC to see the information sending to DynDNS and “http://whatsmyuseragent.com/” but I can’t see with ethereal the information about modem connection, then, I can’t compare where is the problem…
I check with other online web and I can see what happens.
The cme error doesn’t show enough information, and the command shows me the next information:
Then I supossed that username and password was optional, but it is NOT OPTIONAL if you want to send header lists. This is my problem, I was not sending username and password…
Now I set an username and password and all works fine…
For the WIP command may be is not optional, If I connect to a webpage that not requires username and password (“http://whatsmyuseragent.com/”) without username and password, it doesn’t get the User-Agent.