Day: November 24, 2012

Installing Starcam H6837WI on Linux

I bought a H6837WI camera on dx.com, it is a h264 camera for less than U$80.00. There are other even less expensive cameras (about U$50.00) but they are MJPEG and has worst quality.

I just connected the Ethernet cable and copied the CD’s content to computer and try to install it using wine, but received an error message:

$ wine ipcamera.exe 
err:ole:CoGetClassObject class {d27cdb6e-ae6d-11cf-96b8-444553540000} not registered
err:ole:create_server class {d27cdb6e-ae6d-11cf-96b8-444553540000} not registered
err:ole:CoGetClassObject no class object {d27cdb6e-ae6d-11cf-96b8-444553540000} could be created for context 0x5

After searching on Internet I discovered this error is related to Flash Shockware plugin support (in fact the ipcamera.exe installation uses flash).
Then I used winetricks application to install Firefox and using this browser entered inside a site which requires flash, the Flash plugin was installed correctly, but after that I still getting same error.

Still researching and I read in some other place I need to register the Flash.ocx manually.

Then I download Flash.ocx from here:
http://www.ocxme.com/ocx/files/flash_ocx.html

$ regsvr32 Flash.ocx
fixme:advapi:SetNamedSecurityInfoW L"MACHINE\\Software\\Classes\\CLSID\\{D27CDB6E-AE6D-11CF-96B8-444553540000}" 4 4 (nil) (nil) 0x1351c4 (nil)
fixme:advapi:SetNamedSecurityInfoW L"MACHINE\\Software\\Classes\\CLSID
...
Failed to register DLL Flash.ocx

It is strange, even receiving this error message, now ipcamera.exe is working:

$ wine ipcamera.exe 
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 26/02/2012, dlt (d/m/y): 21/10/2012
fixme:win:DisableProcessWindowsGhosting : stub
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 26/02/2012, dlt (d/m/y): 21/10/2012
fixme:sfc:SfcIsFileProtected ((nil), L"C:\\Program Files\\IP Camera Super Client\\unins000.exe") stub
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\windows\\system32\\Socket.dll") not found
err:module:import_dll Library Socket.dll (which is needed by L"C:\\windows\\system32\\Video.ocx") not found
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\windows\\system32\\PlaySdk.dll") not found
err:module:import_dll Library PlaySdk.dll (which is needed by L"C:\\windows\\system32\\Video.ocx") not found
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\windows\\system32\\Socket.dll") not found
err:module:import_dll Library Socket.dll (which is needed by L"C:\\windows\\system32\\Video.ocx") not found
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\windows\\system32\\PlaySdk.dll") not found
err:module:import_dll Library PlaySdk.dll (which is needed by L"C:\\windows\\system32\\Video.ocx") not found
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\windows\\system32\\CamSearch.ocx") not found
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 26/02/2012, dlt (d/m/y): 21/10/2012
err:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4} not registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not registered
err:ole:CoGetClassObject no class object {00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
fixme:dwmapi:DwmSetWindowAttribute (0xa010c, 3, 0x33fa58, 4) stub
^Cfixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
fixme:console:CONSOLE_DefaultHandler Terminating process 37 on event 0

Very very strange, even with above error messages is possible to initialize and to install the IP Camera software.

Now I just need to enter on IP Camera Super Client:

$ cd ~
$ cd .wine/drive_c/Program\ Files/IP\ Camera\ Super\ Client/

And execute IP Camera Super Client to detect the camera

$ wine IPCamWizard.exe 
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 26/02/2012, dlt (d/m/y): 21/10/2012
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_DATA_RECEIVE_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_DATA_RECEIVE_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_DATA_RECEIVE_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_DATA_RECEIVE_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_DATA_RECEIVE_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_DATA_RECEIVE_TIMEOUT (5000): STUB

I clicked on Wizard button and the camera was detected correctly at IP 192.168.1.126.

In fact I just used this program to detect the camera’s IP, after that only open the browser at http://192.168.1.126:81 to visualize the camera.

Now you need to click on “Camera Configuration” button and enter at “Network Settings” -> “WiFi Settings” and click on “Scan” button and select you wifi access point and enter its password.

You don’t need to do this process to discover your camera IP.
Just look the IP written on tag stamp under your camera, easy!