Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


jmumby

141 posts

Master Geek


#79535 18-Mar-2011 17:53
Send private message

Is this just the way it is or what? I have a piece of hardware that only accepts 3 digit octets for an ip. Im using a server at home and whatever IP i get served to test it. Unfortunately ,my address is not the type required and when I put it in a browser it resolves to 122.49.106.xxx. The IP gods could probably explain this. 

Is this just how the net works? 

Create new topic
richms
29098 posts

Uber Geek
+1 received by user: 10207

Trusted
Lifetime subscriber

  #449721 18-Mar-2011 18:06
Send private message

I have seen this in the past with leading zeros making it get interpreted as something else in some string to integer libraries.

Shouldnt stop you putting it in correctly in the effected software tho, and just put it with the leading zero in the dodgey hardware.




Richard rich.ms



jmumby

141 posts

Master Geek


  #449727 18-Mar-2011 18:41
Send private message

The dodgy device just looks at files on a web server, with a static address.......with a 3 digit octet ip.

richms
29098 posts

Uber Geek
+1 received by user: 10207

Trusted
Lifetime subscriber

  #449732 18-Mar-2011 18:59
Send private message

I wonder if its something that the vhost config on the server is barfing on?

Is this one of those horrid cheap knockoffs of the GPRS GPS tracking devices that are all over ebay etc?




Richard rich.ms



jmumby

141 posts

Master Geek


  #449746 18-Mar-2011 20:06
Send private message

yeah, cheap n nasty chinatoy

richms
29098 posts

Uber Geek
+1 received by user: 10207

Trusted
Lifetime subscriber

  #449749 18-Mar-2011 20:15
Send private message

Might explain why I was never able to get anything other than the missed call and get a SMS of the location mode to work on the one I tried. kinda says it all about china with them knocking off their own products now...




Richard rich.ms

djaggar
78 posts

Master Geek
+1 received by user: 1

Lifetime subscriber

  #449751 18-Mar-2011 20:47
Send private message

Do I understand you problem to be it won't let you enter a 2 digital decimal octet, and the leading zero is causing the value interpreted as octal? So what happens if you enter 122.075.106.xxx ?

 
 
 

Shop on-line at New World now for your groceries (affiliate link).
jmumby

141 posts

Master Geek


  #449752 18-Mar-2011 20:52
Send private message

What ever it is that resolves the address can't find the server.

richms
29098 posts

Uber Geek
+1 received by user: 10207

Trusted
Lifetime subscriber

  #449753 18-Mar-2011 20:56
Send private message

I think the problem is that the OP just has a piece of untested back alley junk that has issues. The one we got seemed to have documentation for a totally different device because none of the codes worked, and the ones we were emailed were different and did "stuff" but never ended up working.




Richard rich.ms

jmumby

141 posts

Master Geek


  #449760 18-Mar-2011 21:53
Send private message

My bad, looks like my 'cheap n nasty' server wasn't up to scratch. "Cheap and nasty" china toy now working. 

richms
29098 posts

Uber Geek
+1 received by user: 10207

Trusted
Lifetime subscriber

  #449762 18-Mar-2011 22:00
Send private message

What server are you now using?




Richard rich.ms

jmumby

141 posts

Master Geek


  #449765 18-Mar-2011 22:11
Send private message

I was using a WD Worldbook which is a linux based NAS that I loaded a webserver on. Theory was there but I couldn't run logs to see what was happening. Brother is a FreeBSD guru and is running Apache on spare box. I fiddled with the settings till he saw some traffic.

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.