46
Users / Re: Snapshot testing
« on: March 22, 2011, 01:43:13 pm »Quote
Great minds think alike :-)
........but so do idiots my wife tells me
Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Great minds think alike :-)
http://192.168.1.XXX/videostream.cgi?user=XXXXX&pwd=XXXXXX
Would work in the browser,snapshot.cgi?
NOT/snapshot.cgi?
cd /mnt
sudo mkdir XXXX
Whatever you want to call the directorysudo mount -t NTFS /dev/sdXY mnt/XXXX
/videostream.cgi?
TCP port is 80 which is the default of the camera and I've also checked the settings on the camera which show port 80conn_.Reconnect()
auth_s="user="+device_.devdata_[114]+"&pwd="+device_.devdata_[115];
fix_path=device_.devdata_[2]+auth_s;
fix_path='/'+fix_path if(fix_path[0]!='/'[0]);
s = "GET "+fix_path+" HTTP/1.0\r\n"
s+= "Accept: */*\r\n"
s+= "\r\n"
conn_.Send(s)
recv=""
while(true)
buff=conn_.Recv(16384, 5000)
if(buff.length() == 0)
break
end
recv = recv + buff
end
if (recv=~ /^HTTP[^\r\n]+200\sOK.+?\r\n\r\n(.+)$/m)
fileName="/tmp/ip_camera_img"+device_.devid_.to_s
imageFile=File.new(fileName+".jpg",'w')
imageFile.print $1
imageFile.close()
system("/usr/bin/convert "+fileName+".jpg "+fileName+".png");
size=File.stat(fileName+".png").size
imageFile=File.new(fileName+".png",'r')
img = imageFile.read(size);
imageFile.close()
data_set(img)
format_set('png')
end
Have you disabled the included network configuration application in PadOrbiter?No, The network configuration app came up and I hit cancel, then went to the terminal to setup the network. Is that all?
Have you 'restarted networking at boot' as is recommended in the 2nd post of the ubuntu thread you referenced?Yes, restarted, The webdt connects up, picks up an IP address 192.168.80.100 which is in the range for non-pluto stuff (mine is 100 to 150)
Do you have a core up and running with an Access Point on lmce's internal network?
Have you set the PadOrbiter for DHCP (on the core's internal network)?