Goke based chipset cameras research
Default root password for Goke cameras is "cxlinux"
- Format SD Card using FAT32 file system
- Put this script named "my-custom_init.sh"
#!/bin/sh
net() {
sleep 40
killall udhcpc
ifconfig eth0 192.168.1.100 # camera ip address
ifconfig eth0 up
/bin/busybox telnetd -p 24 -l /bin/sh
route add default gw 192.168.1.1 # your network gateway
}
net &
Now insert the sd card to the camera boot it up, first time it just copies file, after second boot it will execute it. Now you can connect via telnet to port 24 to it, there will be no user/pass prompt.
mount -t nfs4 10.10.0.10:/backups /var/backups
curl "http://camera_ip:8001/playaudio?file=/tmp/VOICE/alarm.wav" # play sound
curl "http://camera_ip:8001/ircut?mode=night" # ir mode night
curl "http://camera_ip:8001/ircut?mode=day" # ir mode day
curl "http://camera_ip:8001/whitelight?mode=on" # turn on lights
curl "http://camera_ip:8001/whitelight?mode=off" # turn off lights
curl "http://camera_ip:8001/reloadcfg" # reload config
curl "http://camera_ip:8001/rstsys" # reboot
curl "http://camera_ip:8001/wexit" # exit p2pcam daemon