Misson. Just thought I would let you know, I got a machine with a static IP from my university and I have my script running on the server. I have my GPRS device configured the send the data to my IP and port.. and it works perfectly! :biggrin:
Thanks for the help.
There is a barcode on the inside: 353686000049640 and absolutely nothing else :happysad:
NAT I think and no shell access!
If I was going to pay for hosting, what do you think I would need on the hosting package to be able to run a simple script (similar to above)? Would it work if I paid for a...
I'm on my university network so I don't have a static IP and I'm behind a proxy. The device only works with IPs. It has no name and VERY limited documentation: GPS asset tracker
I thought that might be the case! Just trying to keep costs down.
Thanks for the help, again.
The problem here is that I can't put a client on the GPRS device. It just sends the data to whatever IP/port that it is told to. It might send data once every minute for five minutes and then stop.
I need a script that monitors the port, and when the device sends...
I am trying to develop a script that runs on my server that receives and processes data uploaded from a GPRS device. The GPRS device allows me to set the IP address and port number.
First of all, I just want the script to acknowledge that the GPRS device has connected to it.
At the moment, on...
Thanks descalzo
I have the Addhandler thing done, and the script is in cgi-bin.
0755, also done. and 0777. still no good.
Anybody else have any thoughts? I will try again tomorrow, just incase the python server is down or whatnot.
I have tried both shebang lines separately:
#!/usr/bin/python
#!/usr/bin/env python
with the following script:
print "Content-type: text/plain\n\n"
def hi():
print "hello"
hi()
Both times I get a 500 error. When I setup a cron to email me the output, I get an error saying...