IPCC-B15N-W no video, any firmware?

atomic77

n3wb
Joined
Jan 13, 2018
Messages
6
Reaction score
1
Hi, I was playing with my ipcc-b15n-w camera. It's an old, cheap 720p wifi camera IPCC is the producer, but they don't respond.
I had some problems with NAS configuration, so I connected to it (by telnet) and just browsing files.... accidentally I started "start.sh" script instead of view it.
And now video stream doesn't work. I tried everything, VLCplayer, onvif tool, onvif device manager, and nothing.
Error 500 - internal server error.
Other ONVIF tests are working correctly, just no video.
The camera is not broken - images are working perfectly:
http://ip/cgi-bin/anv/images_cgi?channel=0&user=xxxx&pwd=xxxx - it shows correct jpeg image.

The second thing - in ocx control menu configuration of external storage (NAS, FTP etc) just disappeared. That's strange.

Does anyone have firmware or knows which one could be compatible?
Now I can even copy camera's partitions (mtd0-mtd3) so if anyone also made it and could send me I would appreciate it.
 

atomic77

n3wb
Joined
Jan 13, 2018
Messages
6
Reaction score
1
It's:
Hardware version: 4.0.30.74FE
Server version: 4.0.30.74FE
OCX: 2.16.2.24

I know it an old camera, but good enought for me. Now I just use it with home assistant - reloading images every few seconds :) The bad thing - images are over 1MB each (and the quality is more like 100KB)
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,945
Reaction score
6,784
Location
Scotland
Odd that executing start.sh would break the camera.
Did you check the contents?
I used to have some IPCC and Amovision and Vanxse 720p cameras - all since sold on eBay - they shared the same hardware, though the Vanxse had quite different firmware. They were OK in their time.

A bit of a long shot - and of course somewhat of a risk - but maybe the 3500 firmware at this link would match : F Series - Online disk
I don't know how well the update process would validate the firmware - probably not very well.
 

atomic77

n3wb
Joined
Jan 13, 2018
Messages
6
Reaction score
1
Thank you, I will read about those cameras and this file. I know it's very risky to upload firmware from another model, but I don't have much to loose.
I know it's strange that start.sh did it, but I'm sure everything was ok before.
 

atomic77

n3wb
Joined
Jan 13, 2018
Messages
6
Reaction score
1
https://ipcamtalk.com/members/alastairstevenson.1907/
I just received a response from manufacturer one more time (last time without any answer). I was very surprised this time! I asked for firmware for IPCC-b15n-w, and they send me:
UPG_ipc3580ar-w7-M20-hi3518e-20160601_035851.ov
- unfortunately it says "incorrect firmware" and I just found your old thread here about "ov" files.
So... I'm giving up. This camera is still good if I only use it for taking photos, which should be sufficient for my home use (simple home automation, door bell).
Below I'm sending start.sh content (I'm still sure it was the fault) but with no hope:)

Code:
mount -t tmpfs /dev/shm/ /tmp

mount -t jffs2 /dev/mtdblock3 /jb_config/jb_rootfs
if [ $? -ne 0 ];then
echo "mount mtdblock3 faild"
umount /jb_config/jb_rootfs
flash_eraseall -j /dev/mtd3                       
mount -t jffs2 /dev/mtdblock3 /jb_config/jb_rootfs
echo remount mtdblock3 state $?
fi
#if [ ! -e /tmp/lib ]; then
mkdir /tmp/lib
#fi
SensorType=ar0130
if [ -f /jb_config/jb_rootfs/sensor.conf ];then
    . /jb_config/jb_rootfs/sensor.conf
    SensorType=$sensortype
fi

echo "----Sensor Type:" ${SensorType} " ----"

rm -f /tmp/lib/lib3518sensor.so
rm -f /usr/lib/lib3518sensor.so
case $SensorType in                                                   
    imx122)
        ln -s /usr/lib/libsns_imx122.so /tmp/lib/lib3518sensor.so
        ;;
    imx138)
        ln -s /usr/lib/libsns_imx138.so /tmp/lib/lib3518sensor.so
        ;;
    imx104)
        ln -s /usr/lib/libsns_imx104.so /tmp/lib/lib3518sensor.so
        ;;
    imx236)
        ln -s /usr/lib/libsns_imx236.so /tmp/lib/lib3518sensor.so
        ;;
    ar0130)                                                 
        ln -s /usr/lib/libsns_ar0130_960p.so /tmp/lib/lib3518sensor.so
        ;;
    ov9732)                                                       
        ln -s /usr/lib/libsns_ov9732.so /tmp/lib/lib3518sensor.so
        ;;
    ov9712)                                                       
        ln -s /usr/lib/libsns_ov9712.so /tmp/lib/lib3518sensor.so
        ;;
    ovb9712)                                                       
        ln -s /usr/lib/libsns_ov9712b.so /tmp/lib/lib3518sensor.so
        ;;
    gc1004)
        ln -s /usr/lib/libsns_gc1004.so /tmp/lib/lib3518sensor.so
        ;;
    ar0330)
        ln -s /usr/lib/libsns_ar0330_1080p.so /tmp/lib/lib3518sensor.so
        ;;
    ar0230)
        ln -s /usr/lib/libsns_ar0230.so /tmp/lib/lib3518sensor.so
        ;;
    soih22)
        ln -s /usr/lib/libsns_soih22.so /tmp/lib/lib3518sensor.so
        ;;
    *)                                                           
    echo "xxxx Invalid sensor type $SNS_A xxxx"
    SensorType=ar0130
    ln -s /usr/lib/libsns_ar0130_960p.so /tmp/lib/lib3518sensor.so
    ;;
esac

mkdir -p /mnt/nas0
mkdir -p /mnt/nas1

ifconfig lo 127.0.0.1
if [ -f /usr/netview/komod.tar.lzma ]; then
    cp /usr/netview/komod.tar.lzma /tmp
    cd /tmp
    unlzma komod.tar.lzma
    echo "Extrac komod..."
    tar -xf komod.tar
    rm -f komod.tar
fi
if [ -f /usr/netview/wifi.tar.lzma ]; then
    cp /usr/netview/wifi.tar.lzma /tmp/komod
    cd /tmp/komod
    unlzma wifi.tar.lzma
    echo "Extrac wifi..."
    tar -xf wifi.tar
    rm -f wifi.tar
fi

cd /komod
./setgpio.sh                         
./setsensor.sh
MEM_SIZE=`cut -d ' ' -f 1 /proc/cmdline |cut -d '=' -f 2`
MEM_SIZE=${MEM_SIZE%M}
if [ $MEM_SIZE -lt 50 ]; then
    ./load_e -i ${SensorType}
else                   
    ./load -i ${SensorType}
fi

insmod /komod/extdrv/dms_authen0104.ko
insmod /komod/extdrv/wdt.ko default_margin=60 nowayout=1 nodeamon=0

if [ -f /usr/netview/komod.tar.lzma ]; then
    rm -f /tmp/komod/*.ko /tmp/komod/*.sh /tmp/komod/load*
    mv /tmp/komod/extdrv/ssp_gpio.ko /tmp/komod/extdrv/ssp_gpio.ko.bak
    cp /tmp/komod/extdrv/ssp_sony.ko /tmp/komod/ -f
    rm -rf /tmp/komod/extdrv/*.ko
    mv /tmp/komod/extdrv/ssp_gpio.ko.bak /tmp/komod/extdrv/ssp_gpio.ko
    rm -f /tmp/komod/wifi/*
fi

diskcheck Hi
if [ -f /usr/bin/CheckDisk ]; then
CheckDisk
fi

cd /usr/netview
if [ -f /usr/netview/web.tgz ];then
tar zxf web.tgz -C /tmp
rm -f web
ln -s /tmp/web /usr/netview/web
chmod 666 /tmp/web -R
else
chmod 666 /usr/netview/web -R
fi

rm -f /usr/netview/web/res/logo.png
if [ -f /jb_config/jb_rootfs/logo.png ];then
    ln -s /jb_config/jb_rootfs/logo.png /usr/netview/web/res/logo.png
else
    ln -s /usr/netview/web/res/logo_original.png /usr/netview/web/res/logo.png
fi

cd /usr/netview/app

. ./start.sh

if [ -f /usr/netview/app/bin/WCDaemon ];then
sleep 20
/usr/netview/app/bin/WCDaemon &
fi

cd /usr/netview/app/bin
#./ittb_control -n -s ${SensorType}&
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,945
Reaction score
6,784
Location
Scotland
they send me:
UPG_ipc3580ar-w7-M20-hi3518e-20160601_035851.ov
That's similar to the contents of 3500.zip at that suneyes link, maybe an earlier model : UPG_ipc3520a-w7-M20-hi3518e-20160615_153253.ov
And if you did feel inclined to experiment one more time, attached is an older UPG_ipc3580ar-w7-M20-hi3518e-20150728_013643 from an IPCC camera that I used to have.
Out of curiosity - cat start.sh and paste the content here?
Nothing stands out from a quick scan through.
 

Attachments

Heisenberg

n3wb
Joined
Dec 13, 2018
Messages
1
Reaction score
0
Location
Argentina
I just received a response from manufacturer one more time (last time without any answer). I was very surprised this time! I asked for firmware for IPCC-b15n-w, and they send me:
UPG_ipc3580ar-w7-M20-hi3518e-20160601_035851.ov
- unfortunately it says "incorrect firmware" and I just found your old thread here about "ov" files.
So... I'm giving up. This camera is still good if I only use it for taking photos, which should be sufficient for my home use (simple home automation, door bell).
Below I'm sending start.sh content (I'm still sure it was the fault) but with no hope:)

Code:
mount -t tmpfs /dev/shm/ /tmp

mount -t jffs2 /dev/mtdblock3 /jb_config/jb_rootfs
if [ $? -ne 0 ];then
echo "mount mtdblock3 faild"
umount /jb_config/jb_rootfs
flash_eraseall -j /dev/mtd3                      
mount -t jffs2 /dev/mtdblock3 /jb_config/jb_rootfs
echo remount mtdblock3 state $?
fi
#if [ ! -e /tmp/lib ]; then
mkdir /tmp/lib
#fi
SensorType=ar0130
if [ -f /jb_config/jb_rootfs/sensor.conf ];then
    . /jb_config/jb_rootfs/sensor.conf
    SensorType=$sensortype
fi

echo "----Sensor Type:" ${SensorType} " ----"

rm -f /tmp/lib/lib3518sensor.so
rm -f /usr/lib/lib3518sensor.so
case $SensorType in                                                  
    imx122)
        ln -s /usr/lib/libsns_imx122.so /tmp/lib/lib3518sensor.so
        ;;
    imx138)
        ln -s /usr/lib/libsns_imx138.so /tmp/lib/lib3518sensor.so
        ;;
    imx104)
        ln -s /usr/lib/libsns_imx104.so /tmp/lib/lib3518sensor.so
        ;;
    imx236)
        ln -s /usr/lib/libsns_imx236.so /tmp/lib/lib3518sensor.so
        ;;
    ar0130)                                                
        ln -s /usr/lib/libsns_ar0130_960p.so /tmp/lib/lib3518sensor.so
        ;;
    ov9732)                                                      
        ln -s /usr/lib/libsns_ov9732.so /tmp/lib/lib3518sensor.so
        ;;
    ov9712)                                                      
        ln -s /usr/lib/libsns_ov9712.so /tmp/lib/lib3518sensor.so
        ;;
    ovb9712)                                                      
        ln -s /usr/lib/libsns_ov9712b.so /tmp/lib/lib3518sensor.so
        ;;
    gc1004)
        ln -s /usr/lib/libsns_gc1004.so /tmp/lib/lib3518sensor.so
        ;;
    ar0330)
        ln -s /usr/lib/libsns_ar0330_1080p.so /tmp/lib/lib3518sensor.so
        ;;
    ar0230)
        ln -s /usr/lib/libsns_ar0230.so /tmp/lib/lib3518sensor.so
        ;;
    soih22)
        ln -s /usr/lib/libsns_soih22.so /tmp/lib/lib3518sensor.so
        ;;
    *)                                                          
    echo "xxxx Invalid sensor type $SNS_A xxxx"
    SensorType=ar0130
    ln -s /usr/lib/libsns_ar0130_960p.so /tmp/lib/lib3518sensor.so
    ;;
esac

mkdir -p /mnt/nas0
mkdir -p /mnt/nas1

ifconfig lo 127.0.0.1
if [ -f /usr/netview/komod.tar.lzma ]; then
    cp /usr/netview/komod.tar.lzma /tmp
    cd /tmp
    unlzma komod.tar.lzma
    echo "Extrac komod..."
    tar -xf komod.tar
    rm -f komod.tar
fi
if [ -f /usr/netview/wifi.tar.lzma ]; then
    cp /usr/netview/wifi.tar.lzma /tmp/komod
    cd /tmp/komod
    unlzma wifi.tar.lzma
    echo "Extrac wifi..."
    tar -xf wifi.tar
    rm -f wifi.tar
fi

cd /komod
./setgpio.sh                        
./setsensor.sh
MEM_SIZE=`cut -d ' ' -f 1 /proc/cmdline |cut -d '=' -f 2`
MEM_SIZE=${MEM_SIZE%M}
if [ $MEM_SIZE -lt 50 ]; then
    ./load_e -i ${SensorType}
else                  
    ./load -i ${SensorType}
fi

insmod /komod/extdrv/dms_authen0104.ko
insmod /komod/extdrv/wdt.ko default_margin=60 nowayout=1 nodeamon=0

if [ -f /usr/netview/komod.tar.lzma ]; then
    rm -f /tmp/komod/*.ko /tmp/komod/*.sh /tmp/komod/load*
    mv /tmp/komod/extdrv/ssp_gpio.ko /tmp/komod/extdrv/ssp_gpio.ko.bak
    cp /tmp/komod/extdrv/ssp_sony.ko /tmp/komod/ -f
    rm -rf /tmp/komod/extdrv/*.ko
    mv /tmp/komod/extdrv/ssp_gpio.ko.bak /tmp/komod/extdrv/ssp_gpio.ko
    rm -f /tmp/komod/wifi/*
fi

diskcheck Hi
if [ -f /usr/bin/CheckDisk ]; then
CheckDisk
fi

cd /usr/netview
if [ -f /usr/netview/web.tgz ];then
tar zxf web.tgz -C /tmp
rm -f web
ln -s /tmp/web /usr/netview/web
chmod 666 /tmp/web -R
else
chmod 666 /usr/netview/web -R
fi

rm -f /usr/netview/web/res/logo.png
if [ -f /jb_config/jb_rootfs/logo.png ];then
    ln -s /jb_config/jb_rootfs/logo.png /usr/netview/web/res/logo.png
else
    ln -s /usr/netview/web/res/logo_original.png /usr/netview/web/res/logo.png
fi

cd /usr/netview/app

. ./start.sh

if [ -f /usr/netview/app/bin/WCDaemon ];then
sleep 20
/usr/netview/app/bin/WCDaemon &
fi

cd /usr/netview/app/bin
#./ittb_control -n -s ${SensorType}&

Can you please upload that file?
 
Top