Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera refuses to work if Internet access is blocked #2

Open
jabss opened this issue Dec 30, 2019 · 0 comments
Open

Camera refuses to work if Internet access is blocked #2

jabss opened this issue Dec 30, 2019 · 0 comments

Comments

@jabss
Copy link

jabss commented Dec 30, 2019

Hi,

I have the same camera with the same firmware version and every time I block the internet access of it, the camera doesn't boot properly.
I block the internet access in the ISP router, based on the camera's MAC address. I'm using the ethernet connection as I don't like cameras on WIFI.
When troubleshooting it I found the binary that I suspect that is related to this and it is the /patch/bin/startup one. As it is a binary, I can't edit and remove what I don't need, right?

Any suggestion?

Thanks,
Joao

startup 0 0
no key detect
vStarNpc:
# setenv:/usr/bin:/usr/sbin:/bin:/sbin:/patch/bin
/rom/erobotremotecontrolsetting.ini does not exist!!
Language=:
  0    1    5
default Language=0:
insmod: can't insert '/npc/patch/sc1135.ko': File exists
Certificate: rom file ok, eeprom ok
info:  RTC has been used before, no need to init it
<1>Sun Jan  1 01:01:01 2010
<3>Fri Jan  1 01:01:01 2010
vVarInit
vVarInit  fgDefenseEn = 0
>>vVarInit11
>>vVarInit22
>>vVarInit33 dwSetWiFiTimer=300
Have no whitelist!!!
P2PModuleInit
init P2P Module
|p2p1.cloudlinks.cn|p2p4.cloud-links.net|p2p2.cloudlinks.cn|p2p3.cloud-links.net|p2p5.cloud-links.net|p2p6.cloud-links.net|p2p7.cloudlinks.cn|p2p8.cloud-links.net|p2p9.cloud-links.net|p2p10.cloud-links.net
cEmailAddr[0] is 0xffcEmailAddr:
vGetUserData !
Enter fgMyReadAppIDFromCard:
dwMyBundingAppID[0] = 0
dwMyBundingAppID[1] = 0
dwMyBundingAppID[2] = 0
dwMyBundingAppID[3] = 0
dwMyBundingAppID[4] = 0
**********dwMy3CID = 7499454  R1=0x5dcfe4f R2=0xc279d439****************
*************vNetMg_Init******************



Onvif init!!!


vRtspServderThreadStar star!
Disk init
******dev type:10
bind:Address already in use
vDiskProc begin
**pCurrSetting->bNetSel** = 0,fgIPAuto = 1,bIPByte3 = 123,fgVersionFlag = 0
GOKE ADI: R(8724) LIBC(uClibc) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) Sat Jun 25 04:57:54 CST 2016
gk_osd_init fgCmosDirNormal
gk_osd_init fgCmosDirNormal
gk_osd_init fgCmosDirNormal
gk_osd_init fgCmosDirNormal
gk_osd_init fgCmosDirNormal
gk_osd_init fgCmosDirNormal
gk_osd_init fgCmosDirNormal
gk_osd_init fgCmosDirNormal
gk_osd_init fgCmosDirNormal
gk_osd_init fgCmosDirNormal
gk_osd_init fgCmosDirNormal
gk_osd_init fgCmosDirNormal
gk_osd_init fgCmosDirNormal
gk_osd_init fgCmosDirNormal
gk_osd_init fgCmosDirNormal
gk_video_init:283
Image library version (gcc version 4.6.1 (crosstool-NG 1.18.0) (uClibc)) v1.1.2 #svn r9021 Wed Jul 13 15:44:41 CST 2016
gk_video_open:373
>>dwCmosReverseSupport22222222222222
>>viParams.mirrorMode.mirrorPattern=3
now timezoom = 19
viWidth=1280, viHeight=960
gk_check_encode_streams_params:1208
resolution order of streams : 0, 1, 3, 2,
gk_video_set_h264_param:758,channelID=0,streamID=0
res width=1280,height=960
gk_video_set_venc_param 11
gk_video_set_h264_param:758,channelID=1,streamID=1
res width=1280,height=960
gk_video_set_venc_param 11
gk_video_set_h264_param:758,channelID=2,streamID=2
res width=320,height=240
gk_video_set_venc_param 11
MCU controls motor
3CID=7499454, CustomerID=85,  SubType=10
dwPassword = 20160404
=======================================
[GK]DE-MBLK 4x4 basing on 1/16 orig pic version: v2.1.0
=======================================

=====  Now AT24CXX used 255 Bytes=====
do not have such file!
ready to main loop!!!
fgEth0Support = 1,fgRa0Support = 1
>>>CheckMacHwaddr MacAddr = 4c:b0: 8:c2:d2:52
>>>CheckMacHwaddr MacAddr = 4c:b0: 8:c2:d2:52
>>>vEth0Init MacAddr = 4c:b0: 8:c2:d2:52
Support eth0!
Init SSID=Free-AP0 , EncType=0, Password=

Init SSID=Free-AP1 , EncType=0, Password=

Init SSID=Free-AP2 , EncType=0, Password=

Init SSID=Free-AP3 , EncType=0, Password=

Init SSID=Free-AP0 , EncType=0, Password=

wifi init
ctrl_iface exists and seems to be in use - cannot override it
Delete '/etc/Wireless/wlan0' manually if it is not used anymore
Failed to initialize control interface '/etc/Wireless'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.

udhcpc (v1.21.0) started
Sending discover...
udhcpc (v1.21.0) started
sleep over!dwNowNetSel = 0
vNetDelSel:  fgBeforeEth0Link()  Failed!
Sending discover...
Sending discover...
fgEth0Sta = 1
vNetSelChange Select=0
>>vNewNetMgProc dwNetCommand=1
>>vNewNetSelDoChange11
Sending discover...
Entering released state
Entering released state
Performing a DHCP renew
Sending discover...
Performing a DHCP renew
Sending discover...
Sending discover...
Sending select for 192.168.1.14...
Lease of 192.168.1.14 obtained, lease time 43200
deleting routers
route: SIOCDELRT: No such process
adding dns 192.168.1.1
fgUpdateLocalDnsFile:nameserver  192.168.1.1
dwGetKey() = 147,dwUIState = 0
Play: /npc/sound/WifiLink_en/OnLine_en.amr
create adec chn6 success
fgAOEnable=0; fgEn=1
Info: vAOControl,fgAIEnable=0
++++++++++++++create+++++++++++++++
vAOControl enable
dwSpeakVol = 185
open audio file fail
fgAOEnable=1; fgEn=0
-----------------destory---------------
vAOControl disable 0
Destroy adec chn6 success
vCheckPlaySoundEnd
dwGetKey() = 240,dwUIState = 0
vOnvifStartProc:Eth link!!!
[onvif_server.c][292][00:00:05][Onvif_Probe] start

Onvif_DeviceMng[Line:383]


[onvif_server.c][302][00:00:05][Onvif_Probe] ServerSoap.version = 2
Socket connection successful: master socket = 15
Sending discover...
Play: /npc/sound/WifiLink_en/WaitLink_en.amr
create adec chn6 success
fgAOEnable=0; fgEn=1
Info: vAOControl,fgAIEnable=0
++++++++++++++create+++++++++++++++
vAOControl enable
dwSpeakVol = 185
vSoundPlayProc  enter
[ERROR] gadi_audio_ao_send_frame failed,errno=-2015
ao send frame err:0xffffffff
vSoundPlayProc  exit**
fgAOEnable=1; fgEn=0
-----------------destory---------------
vAOControl disable 0
Destroy adec chn6 success
vCheckPlaySoundEnd
dwGetKey() = 240,dwUIState = 0
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
>>upg HTTP_UPG_STATE_CHECK_WHITELIST
Sending discover...
Sending discover...
No lease, forking to background

Version:
Linux goke 3.4.43-gk #56 PREEMPT Fri Sep 29 00:24:56 PDT 2006 armv6l GNU/Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant