EliasKotlyar / Xiaomi-Dafang-Hacks

4.19k stars 1k forks source link

wont connect to Wi-Fi "https://dafang/" with DD-WRT router #1867

Open wp-coin opened 1 year ago

wp-coin commented 1 year ago

flashed with the latest download from GitHub

Description

The camera won't connect to the wifi.

What did you do to debug the issue

My router is using DD-WRT v3.0. I don't know if the camera supports this.

These are the router settings:

Screenshot 2023-07-25 153632

Please add snippets from the logfiles in:

==================================================
Starting the Dafang Hacks Custom Application Layer
==================================================
Loaded common functions
Created etc directory on sdcard
Bind mounted /system/sdcard/bin/busybox to /bin/busybox
Bind mounted /system/sdcard/root to /root
Bind mounted /system/sdcard/etc to /etc
Created cron periodic directories
01/01/70 07:00:04 Starting wifi
01/01/70 07:00:05 Starting station mode
01/01/70 07:00:05 Stopping access point mode
01/01/70 07:00:05 Stopping ap_scanner
01/01/70 07:00:05 Killing pid  (/var/run/ap_scanner.pid)
01/01/70 07:00:05 Waiting pid  (/var/run/ap_scanner.pid)
01/01/70 07:00:05 Removing pidfile /var/run/ap_scanner.pid
01/01/70 07:00:05 Stopping udhcpd
01/01/70 07:00:05 Killing pid  (/var/run/udhcpd.pid)
01/01/70 07:00:05 Waiting pid  (/var/run/udhcpd.pid)
01/01/70 07:00:05 Removing pidfile /var/run/udhcpd.pid
01/01/70 07:00:05 Stopping hostapd
01/01/70 07:00:05 Killing pid  (/var/run/hostapd.pid)
01/01/70 07:00:05 Waiting pid  (/var/run/hostapd.pid)
01/01/70 07:00:05 Removing pidfile /var/run/hostapd.pid
01/01/70 07:00:05 Resetting interface
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

01/01/70 07:00:05 Starting wpa_supplicant
wpa_supplicant v2.5
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/system/sdcard/config/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/system/sdcard/config/wpa_supplicant.conf' -> '/system/sdcard/config/wpa_supplicant.conf'
Reading configuration file '/system/sdcard/config/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='0'
ap_scan=1
Priority group 2
   id=0 ssid='Benzo'
nl80211: Could not add multicast membership for vendor events: -2 (No such file or directory)
rfkill: Cannot open RFKILL control device
nl80211: RFKILL status not available
Could not read interface wlan0 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211: Remove monitor interface: refcount=0
netlink: Operstate: ifindex=0 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
Could not read interface wlan0 flags: No such device
nl80211: Set mode ifindex 0 iftype 2 (STATION)
nl80211: Failed to set interface 0 to mode 2: -19 (No such device)
wlan0: Failed to initialize driver interface
Failed to add interface wlan0
wlan0: Cancelling scan request
wlan0: Cancelling authentication timeout
01/01/70 07:00:07 Starting wpa_action watchdog
01/01/70 07:00:07 Starting wpa_cli
01/01/70 07:00:07 Starting udhcpc
Initialized gpios
Determined image sensor model as 
Startup finished!

Contents of dmesg after startup:
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.14 (root@ubuntu) (gcc version 4.7.2 (Ingenic r2.3.3 2016.12) ) #21 PREEMPT Thu Oct 19 11:38:16 CST 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 RESET ERROR PC:F9D018C2
[    0.000000] CPU0 revision is: 00d00101 (Ingenic Xburst)
[    0.000000] FPU revision is: 00b70000
[    0.000000] cgu_get_rate, parent = 712704000, rate = 0, m = 0, n = 0, reg val = 0x000020ff
[    0.000000] CCLK:712MHz L2CLK:356Mhz H0CLK:200MHz H2CLK:200Mhz PCLK:100Mhz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 0051b000 @ 00010000 (usable)
[    0.000000]  memory: 00035000 @ 0052b000 (usable after init)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 028b9000 @ 00000000 (usable)
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x028b8fff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x028b8fff]
[    0.000000] On node 0 totalpages: 10425
[    0.000000] free_area_init_node: node 0, pgdat 805285f0, node_mem_map 81000000
[    0.000000]   Normal zone: 82 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 10425 pages, LIFO batch:1
[    0.000000] Primary instruction cache 32kB, 8-way, VIPT, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 8-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] pls check processor_id[0x00d00101],sc_jz not support!
[    0.000000] MIPS secondary cache 128kB, 8-way, linesize 32 bytes.
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 10343
[    0.000000] Kernel command line: console=ttyS1,115200n8 mem=41700K@0x0 ispmem=8M@0x28B9000 rmem=15644K@0x30B9000 init=/linuxrc rootfstype=squashfs root=/dev/mtdblock2 rw mtdparts=jz_sfc:256k(boot),2048k(kernel),3392k(root),640k(driver),4736k(appfs),2048k(backupk),640k(backupd),2048k(backupa),256k(config),256k(para),-(flag)
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 35192k/41700k available (3951k kernel code, 6508k reserved, 1276k data, 212k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:418
[    0.000000] clockevents_config_and_register success.
[    0.000028] Calibrating delay loop... 709.42 BogoMIPS (lpj=3547136)
[    0.057699] pid_max: default: 32768 minimum: 301
[    0.062744] Mount-cache hash table entries: 512
[    0.067959] Initializing cgroup subsys debug
[    0.072224] Initializing cgroup subsys freezer
[    0.079777] regulator-dummy: no parameters
[    0.084054] NET: Registered protocol family 16
[    0.109160] bio: create slab <bio-0> at 0
[    0.116034] jz-dma jz-dma: JZ SoC DMA initialized
[    0.121302] SCSI subsystem initialized
[    0.125382] usbcore: registered new interface driver usbfs
[    0.130925] usbcore: registered new interface driver hub
[    0.136426] usbcore: registered new device driver usb
[    0.141730] i2c-gpio i2c-gpio.1: using pins 57 (SDA) and 58 (SCL)
[    0.148022]  (null): set:249  hold:250 dev=100000000 h=500 l=500
[    0.154153] media: Linux media interface: v0.10
[    0.158754] Linux video capture interface: v2.00
[    0.165942] Switching to clocksource jz_clocksource
[    0.171612] jz-dwc2 jz-dwc2: cgu clk gate get error
[    0.176620] cfg80211: Calling CRDA to update world regulatory domain
[    0.183082] jz-dwc2 jz-dwc2: regulator vbus get error
[    0.188141] DWC IN OTG MODE
[    0.341055] sft id =========================off
[    0.345676] dwc2 dwc2: Keep PHY ON
[    0.349048] dwc2 dwc2: Using Buffer DMA mode
[    0.552748] dwc2 dwc2: Core Release: 3.00a
[    0.556864] dwc2 dwc2: DesignWare USB2.0 High-Speed Host Controller
[    0.563224] dwc2 dwc2: new USB bus registered, assigned bus number 1
[    0.570764] hub 1-0:1.0: USB hub found
[    0.574583] hub 1-0:1.0: 1 port detected
[    0.578650] dwc2 dwc2: DWC2 Host Initialized
[    0.583224] NET: Registered protocol family 2
[    0.588284] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.595271] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.601672] TCP: Hash tables configured (established 512 bind 512)
[    0.607980] TCP: reno registered
[    0.611215] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.617116] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.623814] NET: Registered protocol family 1
[    0.628546] RPC: Registered named UNIX socket transport module.
[    0.634570] RPC: Registered udp transport module.
[    0.639262] RPC: Registered tcp transport module.
[    0.644049] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.651180] freq_udelay_jiffys[0].max_num = 10
[    0.655610] cpufreq  udelay  loops_per_jiffy 
[    0.660040] dwc2 dwc2: ID PIN CHANGED!
[    0.663900] init DWC as A_HOST
[    0.666946] 12000     59724   59724  
[    0.670184] 24000     119448  119448 
[    0.673762] 60000     298620  298620 
[    0.677132] 120000    597241  597241 
[    0.680663] 200000    995402  995402 
[    0.684319] 300000    1493103     1493103    
[    0.687953] 600000    2986206     2986206    
[    0.691688] 792000    3941793     3941793    
[    0.695369] 1008000   5016827     5016827    
[    0.699165] 1200000   5972413     5972413    
[    0.709611] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.716727] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.723425] msgmni has been set to 68
[    0.728737] io scheduler noop registered
[    0.732810] io scheduler cfq registered (default)
[    0.739593] jz-uart.1: ttyS1 at MMIO 0x10031000 (irq = 58) is a uart1
[    0.748251] console [ttyS1] enabled, bootconsole disabled
[    0.764437] brd: module loaded
[    0.770093] loop: module loaded
[    0.774427] zram: Created 2 device(s) ...
[    0.778657] logger: created 256K log 'log_main'
[    0.784159] jz SADC driver registeres over!
[    0.789629] jz TCU driver register completed
[    0.794807] the id code = c84018, the flash name is GD25Q127C
[    0.800732] JZ SFC Controller for SFC channel 0 driver register
[    0.806944] 11 cmdlinepart partitions found on MTD device jz_sfc
[    0.813152] Creating 11 MTD partitions on "jz_sfc":
[    0.818181] 0x000000000000-0x000000040000 : "boot"
[    0.823806] 0x000000040000-0x000000240000 : "kernel"
[    0.829541] 0x000000240000-0x000000590000 : "root"
[    0.835182] 0x000000590000-0x000000630000 : "driver"
[    0.840995] 0x000000630000-0x000000ad0000 : "appfs"
[    0.846689] 0x000000ad0000-0x000000cd0000 : "backupk"
[    0.852614] 0x000000cd0000-0x000000d70000 : "backupd"
[    0.858467] 0x000000d70000-0x000000f70000 : "backupa"
[    0.864403] 0x000000f70000-0x000000fb0000 : "config"
[    0.870211] 0x000000fb0000-0x000000ff0000 : "para"
[    0.875901] 0x000000ff0000-0x000001000000 : "flag"
[    0.881542] SPI NOR MTD LOAD OK
[    0.884861] tun: Universal TUN/TAP device driver, 1.6
[    0.890063] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.896632] usbcore: registered new interface driver zd1201
[    0.902465] usbcore: registered new interface driver r8152
[    0.908208] usbcore: registered new interface driver usb-storage
[    0.914581] usbcore: registered new interface driver usbserial
[    0.920631] usbcore: registered new interface driver usbserial_generic
[    0.927432] usbserial: USB Serial support registered for generic
[    0.933682] usbcore: registered new interface driver ch341
[    0.939365] usbserial: USB Serial support registered for ch341-uart
[    0.945879] usbcore: registered new interface driver cp210x
[    0.951681] usbserial: USB Serial support registered for cp210x
[    0.957829] usbcore: registered new interface driver pl2303
[    0.963629] usbserial: USB Serial support registered for pl2303
[    1.469634] i8042: i8042 controller selftest timeout
[    1.475366] jzmmc_v1.2 jzmmc_v1.2.0: vmmc regulator missing
[    1.490878] jzmmc_v1.2 jzmmc_v1.2.0: card inserted, state=0
[    1.520883] jzmmc_v1.2 jzmmc_v1.2.0: register success!
[    1.526254] jzmmc_v1.2 jzmmc_v1.2.1: vmmc regulator missing
[    1.570989] jzmmc_v1.2 jzmmc_v1.2.1: register success!
[    1.576457] hidraw: raw HID events driver (C) Jiri Kosina
[    1.583448] usbcore: registered new interface driver usbhid
[    1.589190] usbhid: USB HID core driver
[    1.593492] TCP: cubic registered
[    1.596912] NET: Registered protocol family 17
[    1.602740] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    1.609880] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.623079] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.630784] Freeing unused kernel memory: 212K (8052b000 - 80560000)
[    1.773562] dwc2 dwc2:  ++OTG Interrupt: A-Device Timeout Change++
[    2.570027] wait stable.[246][cgu_msc0]
[    2.574133] mmc0: new high speed SDHC card at address 0007
[    2.583253] mmcblk0: mmc0:0007 SD16G 14.4 GiB 
[    2.590766]  mmcblk0: p1
[    3.008658] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    4.284308] Unable to find swap-space signature
[    4.872421] RTL871X: module init start
[    4.876294] RTL871X: rtl8189es v4.3.18.3_20185.20161116_pmpinclu_mac_monitor_minMem_EDCA542B_pbyr
[    4.885574] RTL871X: build time: Oct 19 2017 11:54:52
[    4.890797] wlan power on
[    4.911344] RTL871X: module init ret=0
[    4.956826] mmc1: card claims to support voltages below the defined range. These will be ignored.
[    4.995017] mmc1: new SDIO card at address 0001
[   37.214192] request spk en gpio 63 ok!
[   37.214211] jz_codec_register: probe() successful!
[   37.221720] cgu_set_rate, parent = 712704000, rate = 2048000, n = 348, reg val = 0x0000215c
[   37.221744] cgu_enable,cgu_i2s reg val = 0x2000215c
[   37.571355] dma dma0chan24: Channel 24 have been requested.(phy id 7,type 0x06 desc a0eb2000)
[   37.580647] dma dma0chan25: Channel 25 have been requested.(phy id 6,type 0x06 desc a0f17000)
[   38.643020] motor_probe743
[   38.664030] name : i2c-gpio1 nr : 1
[   38.667630] name : i2c0 nr : 0
[   38.733784] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   38.740900] i2c i2c-0: --I2C txabrt:
[   38.744586] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   38.751160] error: sensor_read,172 ret = -5
[   38.755468]  sensor_read: addr=0xa value = 0x0
[   38.760042] err sensor read addr = 0xa, value = 0x0
[   38.825076] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   38.832181] i2c i2c-0: --I2C txabrt:
[   38.835866] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   38.842437] error: sensor_read,172 ret = -5
[   38.846744]  sensor_read: addr=0x300a value = 0x0
[   38.851603] err sensor read addr = 0x300a, value = 0x0
[   38.916882] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   38.923984] i2c i2c-0: --I2C txabrt:
[   38.927671] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   38.934241] error: sensor_read,172 ret = -5
[   38.938545]  sensor_read: addr=0x300b value = 0x0
[   38.943404] err sensor read addr = 0x300b, value = 0x0
[   39.008679] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   39.015783] i2c i2c-0: --I2C txabrt:
[   39.019469] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   39.026039] error: sensor_read,172 ret = -5
[   39.030345]  sensor_read: addr=0xa value = 0x0
[   39.034934] err sensor read addr = 0xa, value = 0x0
[   39.099942] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   39.107042] i2c i2c-0: --I2C txabrt:
[   39.110727] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   39.117297] error: sensor_read,172 ret = -5
[   39.121617]  sensor_read: addr=0x580b value = 0x0
[   39.126459] err sensor read addr = 0x580b, value = 0x0
[   39.191747] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   39.198875] i2c i2c-0: --I2C txabrt:
[   39.202585] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   39.209141] error: sensor_read,172 ret = -5
[   39.213463]  sensor_read: addr=0x580b value = 0x0
[   39.218305] err sensor read addr = 0x580b, value = 0x0
[   39.283603] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   39.290691] i2c i2c-0: --I2C txabrt:
[   39.294394] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   39.300965] error: sensor_read,172 ret = -5
[   39.305271]  sensor_read: addr=0x3107 value = 0x0
[   39.310112] err sensor read addr = 0x3107, value = 0x0
[   39.375402] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   39.382505] i2c i2c-0: --I2C txabrt:
[   39.386191] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   39.392761] error: sensor_read,172 ret = -5
[   39.397068]  sensor_read: addr=0x3107 value = 0x0
[   39.401924] err sensor read addr = 0x3107, value = 0x0
[   39.467197] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   39.474299] i2c i2c-0: --I2C txabrt:
[   39.477987] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   39.484558] error: sensor_read,172 ret = -5
[   39.488865]  sensor_read: addr=0x3000 value = 0x0
[   39.493723] err sensor read addr = 0x3000, value = 0x0
[   39.558999] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   39.566100] i2c i2c-0: --I2C txabrt:
[   39.569785] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   39.576355] error: sensor_read,172 ret = -5
[   39.580659]  sensor_read: addr=0xa value = 0x0
[   39.585248] err sensor read addr = 0xa, value = 0x0
[   39.650256] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   39.657426] i2c i2c-0: --I2C txabrt:
[   39.661139] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   39.667698] error: sensor_read,172 ret = -5
[   39.672021]  sensor_read: addr=0xf0 value = 0x0
[   39.676686] err sensor read addr = 0xf0, value = 0x0
[   39.741799] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   39.748885] i2c i2c-0: --I2C txabrt:
[   39.752588] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   39.759142] error: sensor_read,172 ret = -5
[   39.763464]  sensor_read: addr=0xf0 value = 0x0
[   39.768126] err sensor read addr = 0xf0, value = 0x0
[   39.833241] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   39.840328] i2c i2c-0: --I2C txabrt:
[   39.844031] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   39.850586] error: sensor_read,172 ret = -5
[   39.854906]  sensor_read: addr=0xf0 value = 0x0
[   39.859569] err sensor read addr = 0xf0, value = 0x0
[   39.924678] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   39.931782] i2c i2c-0: --I2C txabrt:
[   39.935469] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   39.942039] error: sensor_read,172 ret = -5
[   39.946345]  sensor_read: addr=0xfc value = 0x0
[   39.951024] err sensor read addr = 0xfc, value = 0x0
[   40.016122] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   40.023223] i2c i2c-0: --I2C txabrt:
[   40.026910] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   40.033480] error: sensor_read,172 ret = -5
[   40.037788]  sensor_read: addr=0x3004 value = 0x0
[   40.042645] err sensor read addr = 0x3004, value = 0x0
[   40.107961] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   40.115065] i2c i2c-0: --I2C txabrt:
[   40.118750] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   40.125321] error: sensor_read,172 ret = -5
[   40.129627]  sensor_read: addr=0x300a value = 0x0
[   40.134485] err sensor read addr = 0x300a, value = 0x0
[   40.199772] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   40.206874] i2c i2c-0: --I2C txabrt:
[   40.210562] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   40.217132] error: sensor_read,172 ret = -5
[   40.221454]  sensor_read: addr=0x31f3 value = 0x0
[   40.226298] err sensor read addr = 0x31f3, value = 0x0
[   40.291707] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   40.298797] i2c i2c-0: --I2C txabrt:
[   40.302501] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   40.309059] error: sensor_read,172 ret = -5
[   40.313382]  sensor_read: addr=0x3107 value = 0x0
[   40.318225] err sensor read addr = 0x3107, value = 0x0
[   40.383523] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   40.390611] i2c i2c-0: --I2C txabrt:
[   40.394315] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   40.400885] error: sensor_read,172 ret = -5
[   40.405193]  sensor_read: addr=0x4 value = 0x0
[   40.409765] err sensor read addr = 0x4, value = 0x0
[   40.474787] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   40.481891] i2c i2c-0: --I2C txabrt:
[   40.485578] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   40.492147] error: sensor_read,172 ret = -5
[   40.496452]  sensor_read: addr=0xa value = 0x0
[   40.501039] err sensor read addr = 0xa, value = 0x0
[   40.566045] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   40.573147] i2c i2c-0: --I2C txabrt:
[   40.576834] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   40.583403] error: sensor_read,172 ret = -5
[   40.587711]  sensor_read: addr=0x0 value = 0x0
[   40.592297] err sensor read addr = 0x0, value = 0x0
[   40.657364] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   40.664473] i2c i2c-0: --I2C txabrt:
[   40.668162] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   40.674733] error: sensor_read,172 ret = -5
[   40.679040]  sensor_read: addr=0x300a value = 0x0
[   40.683899] err sensor read addr = 0x300a, value = 0x0
[   40.749432]  sensor_read: addr=0xa value = 0xf
[   40.754437]  sensor_read: addr=0xb value = 0x23
[   40.819105] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   40.826208] i2c i2c-0: --I2C txabrt:
[   40.829893] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   40.836463] error: sensor_read,172 ret = -5
[   40.840771]  sensor_read: addr=0x31f3 value = 0x0
[   40.845629] err sensor read addr = 0x31f3, value = 0x0
[   40.910925] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
[   40.918011] i2c i2c-0: --I2C txabrt:
[   40.921716] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
[   40.928271] error: sensor_read,172 ret = -5
[   40.932591]  sensor_read: addr=0x3008 value = 0x0
[   40.937435] err sensor read addr = 0x3008, value = 0x0
[   40.942744] info: failed sensor find
[   41.104559] register all isp device successfully!
[   41.115032] @@@@ tx-isp-probe ok @@@@@
cat: can't open '/var/run/wpa_action.pid': No such file or directory
/system/sdcard/scripts/wifi.sh: wait: line 54: Illegal number: 
cat: can't open '/var/run/wpa_cli.pid': No such file or directory
/system/sdcard/scripts/wifi.sh: wait: line 54: Illegal number: 
cat: can't open '/var/run/udhcpc.wlan0.pid': No such file or directory
/system/sdcard/scripts/wifi.sh: wait: line 54: Illegal number: 
cat: can't open '/var/run/wpa_supplicant.pid': No such file or directory
/system/sdcard/scripts/wifi.sh: wait: line 54: Illegal number: 
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCSIFADDR: No such device
ifconfig: SIOCGIFFLAGS: No such device
jmtatsch commented 1 year ago

looks like the image sensor is not detected properly, maybe a newer camera? definitely not an issue with your router.

wp-coin commented 1 year ago

I have the S1 camera from 2018, the camera seems to be working when I plugin it in, but I don't see the camera in my router's Local Area Network (LAN)

and the page does not work https://dafang/

wp-coin commented 1 year ago

So I basically Downloaded the wrong CFW-Binary [Xiaomi DaFang] instead of [Xiaomi XiaoFang T20]