Advertisement
metalx1000

9100a IP Camera Server Notes

Apr 29th, 2017
989
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.76 KB | None | 0 0
  1. Helpful sites:
  2. http://www.benlo.com/ip9100a/
  3. http://www.campworld.net/thewiki/pmwiki.php/HWHacking/Aviosys9100
  4.  
  5.  
  6. Get Image:
  7. http://192.168.1.3/Jpeg/CamImg.jpg
  8.  
  9. Stream Video:
  10. vlc http://192.168.1.3/GetData.cgi
  11.  
  12. Change Resolution:
  13. http://URL/ChangeResolution.cgi?ResType=3
  14.  
  15. Choose Input (0-3):
  16. http://192.168.1.3/SetChannel.cgi?Channel=0
  17.  
  18.  
  19. Others:
  20. GetStatus.cgi
  21. GetChannel.cgi
  22. GetCapability.cgi
  23.  
  24. Code to retrieve images
  25. --------------------------------
  26. #!/bin/sh
  27.  
  28. while [ 1 ];
  29. do
  30.  
  31.     x="$(date +"%m-%d-%y-%H")"
  32.     [ ! -d "$x" ]&& mkdir "$x"
  33.  
  34.     wget -q "http://192.168.1.180/Jpeg/CamImg.jpg" -O "$x/$(date +%s).jpg"
  35.     sleep 2
  36. done
  37. --------------------------------
  38.  
  39. Serial/UART
  40. ==================
  41. 32 bit ARM7TDMI-based CPU, 8MB of DRAM and 2MB of flash ROM
  42. ---------------------------------
  43. Pinout:
  44. Grnd ----------------
  45. Rx ----------------
  46. Tx ---------------
  47. 5v ---------------
  48. ##5v needs to be connected
  49.  
  50. ---------------screen command to connect --------------------
  51. screen /dev/ttyUSB0 115200
  52. Or
  53. screen /dev/ttyUSB0 115200,cs8,-parenb,-cstopb,-hupcl
  54.  
  55. ==============image files for FLASHING========
  56. #http://support.yoics.com/files/9100_repair/
  57. #TO FLASH filesystem
  58. #press ‘ESC’ while bootloader starts
  59. #press ‘h’ for help
  60. #you can delete a partition with this command,
  61. #but the ft command will do it anyway, so no need to
  62. del 6
  63.  
  64. #make sure the network cable is connected and:
  65. ft 6 romfs 0x7f0c0000 0x7f0c0000 -a
  66. #this will delete the partition and start an FTP server on the device
  67. #now connect from your desktop computer like so
  68. tftp 192.168.1.180 #use the ip address of the 9100a
  69.   tftp> binary
  70.   tftp> put romfs.img
  71.   Sent 1001472 bytes in 1.5 seconds
  72.   tftp> quit
  73.  
  74. #now back in serial terminal
  75. boot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement