Losing WiFi Connectivity from DC / Skylark 4.4

every now and then my DC drops off the network… others have reported this also… Much of the discussion has been around low signal strength etc, however in my case the AP is 10 feet away…

so i dig instead of just rebooting… these entries are many in the logs…

Oct 26 21:35:05 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 26 21:35:41 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 26 21:52:38 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 26 21:52:40 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 26 21:56:00 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 26 22:15:12 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 26 22:17:25 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 26 22:27:52 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 26 23:01:50 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 26 23:07:59 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 27 00:28:18 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 27 00:34:43 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 27 01:48:02 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 27 02:02:52 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 27 02:38:21 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 27 04:04:58 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 27 05:17:46 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 27 06:10:23 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 27 06:10:24 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 27 06:34:09 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 27 06:38:58 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address
Oct 27 06:38:59 outernet daemon.warn dnsmasq-dhcp[409]: DHCP packet received on wlan0 which has no address

Research on that returns some discussion on that point… but this seems to work for now…
https://forum.openwrt.org/viewtopic.php?id=40857

UPDATE:

Some Logs:

[Skylark][[email protected]:/etc]$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.10.6 ([email protected]) (gcc version 6.1.0 (Buildroot 2016.02-git) ) #1 SMP 2017-01-1
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: Outernet A13-Dreamcatcher
[ 0.000000] cma: Reserved 64 MiB at 0x5c000000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] free_area_init_node: node 0, pgdat c0b38e80, node_mem_map dbbd9000
[ 0.000000] Normal zone: 1024 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 131072 pages, LIFO batch:31
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] percpu: Embedded 14 pages/cpu @dbbb7000 s25792 r8192 d23360 u57344
[ 0.000000] pcpu-alloc: s25792 r8192 d23360 u57344 alloc=14*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: consoleblank=0 earlyprintk console=ttyS0,115200 coherent_pool=4M BOARD=dc
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 443100K/524288K available (6144K kernel code, 300K rwdata, 1620K rodata, 2048K init, 288K )
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB)
[ 0.000000] .init : 0xc0900000 - 0xc0b00000 (2048 kB)
[ 0.000000] .data : 0xc0b00000 - 0xc0b4b1c8 ( 301 kB)
[ 0.000000] .bss : 0xc0b4d000 - 0xc0b950e4 ( 289 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000021] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000045] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000221] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns
[ 0.000505] Console: colour dummy device 80x30
[ 0.000536] Calibrating delay loop… 1001.88 BogoMIPS (lpj=5009408)
[ 0.090095] pid_max: default: 32768 minimum: 301
[ 0.090204] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090213] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090922] CPU: Testing write buffer coherency: ok
[ 0.091249] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.091551] Setting up static identity map for 0x40100000 - 0x40100058
[ 0.095069] smp: Bringing up secondary CPUs …
[ 0.095087] smp: Brought up 1 node, 1 CPU
[ 0.095095] SMP: Total of 1 processors activated (1001.88 BogoMIPS).
[ 0.095102] CPU: All CPU(s) started in SVC mode.
[ 0.095558] devtmpfs: initialized
[ 0.101656] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.101939] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.101966] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.105771] pinctrl core: initialized pinctrl subsystem
[ 0.106918] NET: Registered protocol family 16
[ 0.113587] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.114705] cpuidle: using governor menu
[ 0.114835] No ATAGs?
[ 0.114841] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.115190] Serial: AMBA PL011 UART driver
[ 0.127289] reg-fixed-voltage usb0-vbus: could not find pctldev for node /[email protected]/[email protected]/usb0_ve
[ 0.127337] reg-fixed-voltage usb1-vbus: could not find pctldev for node /[email protected]/[email protected]/usb1_ve
[ 0.128521] SCSI subsystem initialized
[ 0.128817] usbcore: registered new interface driver usbfs
[ 0.128879] usbcore: registered new interface driver hub
[ 0.128950] usbcore: registered new device driver usb
[ 0.129292] pps_core: LinuxPPS API ver. 1 registered
[ 0.129300] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 0.129327] PTP clock support registered
[ 0.129470] EDAC MC: Ver: 3.0.0
[ 0.130291] Advanced Linux Sound Architecture Driver Initialized.
[ 0.131448] clocksource: Switched to clocksource timer
[ 0.140945] NET: Registered protocol family 2
[ 0.141621] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.141664] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.141723] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.141791] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.141812] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.141935] NET: Registered protocol family 1
[ 0.704127] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.710856] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.711622] fuse init (API version 7.26)
[ 0.716333] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.716348] io scheduler noop registered
[ 0.716355] io scheduler deadline registered
[ 0.716541] io scheduler cfq registered (default)
[ 0.716976] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /[email protected]/[email protected]/usb0_id_e
[ 0.719608] sun5i-a13-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.784568] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.786696] console [ttyS0] disabled
[ 0.806804] 1c28400.serial: ttyS0 at MMIO 0x1c28400 (irq = 27, base_baud = 1500000) is a U6_16550A
[ 1.350864] console [ttyS0] enabled
[ 1.355062] STMicroelectronics ASC driver initialized
[ 1.366879] loop: module loaded
[ 1.370033] cloop: Initializing cloop v4.3
[ 1.379643] cloop: loaded (max 8 devices)
[ 1.385893] libphy: Fixed MDIO Bus: probed
[ 1.391015] CAN device driver interface
[ 1.395868] usbcore: registered new interface driver asix
[ 1.401325] usbcore: registered new interface driver ax88179_178a
[ 1.407494] usbcore: registered new interface driver cdc_ether
[ 1.413400] usbcore: registered new interface driver smsc75xx
[ 1.419200] usbcore: registered new interface driver smsc95xx
[ 1.424999] usbcore: registered new interface driver net1080
[ 1.430691] usbcore: registered new interface driver rndis_host
[ 1.436662] usbcore: registered new interface driver cdc_subset
[ 1.442630] usbcore: registered new interface driver zaurus
[ 1.448259] usbcore: registered new interface driver cdc_ncm
[ 1.454391] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.460930] ehci-platform: EHCI generic platform driver
[ 1.466449] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 1.472679] ohci-platform: OHCI generic platform driver
[ 1.478340] usbcore: registered new interface driver usb-storage
[ 1.485656] mousedev: PS/2 mouse device common for all mice
[ 1.492429] i2c /dev entries driver
[ 1.497197] axp20x-i2c 0-0034: AXP20x variant AXP209 found
[ 1.512799] random: fast init done
[ 1.521165] input: axp20x-pek as /devices/platform/[email protected]/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/inpu0
[ 1.531803] axp20x-regulator axp20x-regulator: regulators node not found
[ 1.542288] axp20x-i2c 0-0034: AXP20X driver loaded
[ 1.548881] Driver for 1-wire Dallas network protocol.
[ 1.555185] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.564793] sdhci: Secure Digital Host Controller Interface driver
[ 1.570972] sdhci: Copyright© Pierre Ossman
[ 1.575386] Synopsys Designware Multimedia Card Interface Driver
[ 1.583539] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[ 1.641676] sunxi-mmc 1c0f000.mmc: base:0xe09cf000 irq:19
[ 1.648103] sunxi-mmc 1c11000.mmc: Got CD GPIO
[ 1.701694] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.711480] sunxi-mmc 1c11000.mmc: base:0xe09d1000 irq:20
[ 1.717089] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.725048] mmc0: new high speed SDHC card at address aaaa
[ 1.731003] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.737303] usbcore: registered new interface driver usbhid
[ 1.742900] usbhid: USB HID core driver
[ 1.748812] mmcblk0: mmc0:aaaa ADLCD 29.7 GiB
[ 1.757235] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 1.764623] mmcblk0: p1 p2 p3 p4
[ 1.769647] ip_tables: © 2000-2006 Netfilter Core Team
[ 1.775709] NET: Registered protocol family 10
[ 1.782149] Segment Routing with IPv6
[ 1.785877] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.792593] NET: Registered protocol family 17
[ 1.797049] can: controller area network core (rev 20120528 abi 9)
[ 1.803494] NET: Registered protocol family 29
[ 1.807938] can: raw protocol (rev 20120528)
[ 1.812227] can: broadcast manager protocol (rev 20161123 t)
[ 1.817884] can: netlink gateway (rev 20130117) max_hops=1
[ 1.823706] Key type dns_resolver registered
[ 1.828114] ThumbEE CPU extension supported.
[ 1.832434] Registering SWP/SWPB emulation handler
[ 1.847013] ehci-platform 1c14000.usb: EHCI Host Controller
[ 1.852742] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[ 1.861080] ehci-platform 1c14000.usb: irq 22, io mem 0x01c14000
[ 1.891494] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[ 1.898742] hub 1-0:1.0: USB hub found
[ 1.902639] hub 1-0:1.0: 1 port detected
[ 1.907492] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[ 1.914213] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 2
[ 1.922376] ohci-platform 1c14400.usb: irq 23, io mem 0x01c14400
[ 1.996493] hub 2-0:1.0: USB hub found
[ 2.000306] hub 2-0:1.0: 1 port detected
[ 2.005334] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 2.013161] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 2.018915] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 2.027855] hub 3-0:1.0: USB hub found
[ 2.031743] hub 3-0:1.0: 1 port detected
[ 2.036822] hctosys: unable to open rtc device (rtc0)
[ 2.042296] vcc3v0: disabling
[ 2.045273] vcc5v0: disabling
[ 2.048250] usb0-vbus: disabling
[ 2.051531] ALSA device list:
[ 2.054498] #0: sun4i-codec
[ 2.062812] Freeing unused kernel memory: 2048K
[ 2.253477] cloop: file skylark-dc-1706222246.ksop version 2, 1969 blocks of 65536 bytes, header first.
[ 2.267522] cloop: skylark-dc-1706222246.ksop: 1969 blocks, 65536 bytes/block, largest block is 65562 bytes.
[ 2.292767] ISO 9660 Extensions: RRIP_1991A
[ 2.301810] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 2.507687] hub 1-1:1.0: USB hub found
[ 2.513105] hub 1-1:1.0: 4 ports detected
[ 2.831513] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
[ 3.101523] usb 1-1.2: new high-speed USB device number 4 using ehci-platform
[ 3.641880] Adding 251324k swap on /dev/mmcblk0p2. Priority:-1 extents:1 across:251324k SS
[ 6.158292] using random self ethernet address
[ 6.162915] using random host ethernet address
[ 6.186244] usb0: HOST MAC 92:47:eb:24:a3:31
[ 6.190679] usb0: MAC be:2b:ad:6b:12:aa
[ 6.194698] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[ 6.202212] g_cdc gadget: g_cdc ready
[ 9.985364] random: crng init done
[ 19.917674] udevd[264]: starting version 3.1.5
[ 20.784065] [drm] Initialized
[ 21.538535] 8192cu: loading out-of-tree module taints kernel.
[ 21.796815] usbcore: registered new interface driver rtl8192cu
[ 21.834049] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 21.840712] [drm] No driver support for vblank timestamp query.
[ 21.847176] sun4i-drm display-engine: bound 1e60000.display-backend (ops cleanup_module [sun4i_backend])
[ 21.856748] sun4i-drm display-engine: Failed to initialize drm fb helper.
[ 21.863551] sun4i-drm display-engine: Couldn’t create our framebuffer
[ 21.870066] sun4i-drm display-engine: master bind failed: -22
[ 21.875851] sun4i-drm: probe of display-engine failed with error -22
[ 22.478273] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 23.197415] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 39.120292] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 39.522570] rtw_tkip_decrypt(wlan0) gkey installed. no_gkey_bc_cnt:1, no_gkey_mc_cnt:0
[494785.094451] g_cdc gadget: high-speed config #1: CDC Composite (ECM + ACM)
[494789.522793] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[497280.495840] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[497282.834370] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[498488.125125] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[498504.900880] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

[Skylark][[email protected]:/etc]$ lsusb (NOTE i looked up the usb ids to add the descriptions)
Bus 003 Device 001: ID 1d6b:0002 Linux Root Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Root Hub
Bus 001 Device 003: ID 0bda:2832 RTL2832U DVB-T
Bus 001 Device 002: ID 0424:2514 USB 2.0 Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 Root Hub
Bus 001 Device 004: ID 0bda:8176 RTL8188CUS 802.11N WLAN Adapter

[Skylark][[email protected]:/etc]$ lsmod
Module Size Used by Tainted: G
cfg80211 205853 0
sun4i_drm 6853 0
sun4i_tcon 10361 1 sun4i_drm
sun4i_backend 5907 1 sun4i_drm
drm_kms_helper 89295 3 sun4i_drm,sun4i_tcon,sun4i_backend
8192cu 478789 0
syscopyarea 2542 1 drm_kms_helper
sysfillrect 2874 1 drm_kms_helper
sysimgblt 1711 1 drm_kms_helper
fb_sys_fops 1162 1 drm_kms_helper
drm 224795 4 sun4i_drm,sun4i_tcon,sun4i_backend,drm_kms_helper
usb_f_acm 4972 1
u_serial 8528 3 usb_f_acm
usb_f_ecm 6728 1
g_cdc 2294 0
u_ether 8271 2 usb_f_ecm,g_cdc
libcomposite 32675 3 usb_f_acm,usb_f_ecm,g_cdc

[Skylark][[email protected]:/etc]$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%662224/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:13216 errors:0 dropped:0 overruns:0 frame:0
TX packets:13216 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:885472 (864.7 KiB) TX bytes:885472 (864.7 KiB)

usb0 Link encap:Ethernet HWaddr BE:2B:AD:6B:12:AA
inet addr:10.10.10.10 Bcast:10.10.10.255 Mask:255.255.255.0
inet6 addr: fe80::bc2b:adff:fe6b:12aa%662224/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:314 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32005 (31.2 KiB) TX bytes:3212 (3.1 KiB)

wlan0 Link encap:Ethernet HWaddr E8:4E:06:4B:A8:3C
inet6 addr: fe80::ea4e:6ff:fe4b:a83c%662224/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2304745 errors:0 dropped:248020 overruns:0 frame:0
TX packets:289 errors:0 dropped:1 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:798977908 (761.9 MiB) TX bytes:34029 (33.2 KiB)

[Skylark][[email protected]:/etc]$ sudo ifconfig wlan0 down
Password:

[Skylark][[email protected]:/etc]$ sudo ifconfig wlan0 up

[Skylark][[email protected]:/etc]$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%662224/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:13216 errors:0 dropped:0 overruns:0 frame:0
TX packets:13216 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:885472 (864.7 KiB) TX bytes:885472 (864.7 KiB)

usb0 Link encap:Ethernet HWaddr BE:2B:AD:6B:12:AA
inet addr:10.10.10.10 Bcast:10.10.10.255 Mask:255.255.255.0
inet6 addr: fe80::bc2b:adff:fe6b:12aa%662224/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:316 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32077 (31.3 KiB) TX bytes:3212 (3.1 KiB)

wlan0 Link encap:Ethernet HWaddr E8:4E:06:4B:A8:3C
inet6 addr: fe80::ea4e:6ff:fe4b:a83c%662224/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:248030 overruns:0 frame:0
TX packets:7 errors:0 dropped:1 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:799016986 (762.0 MiB) TX bytes:34909 (34.0 KiB)

[Skylark][[email protected]:/etc]$ tail /var/log/messages
Oct 27 13:48:52 outernet user.notice root: Discovered /mnt/downloads/opaks/4110-messages-2017-10-27_13_50.txt.tbz2.
Oct 27 13:48:53 outernet user.info ondd[441]: [carousel] completed: opaks/4110-messages-2017-10-27_13_50.txt.tbz2
Oct 27 13:50:11 outernet authpriv.notice sudo: outernet : TTY=ttyGS0 ; PWD=/etc ; USER=root ; COMMAND=/sbin/ifconfn
Oct 27 13:50:11 outernet daemon.info avahi-daemon[383]: Withdrawing address record for fe80::ea4e:6ff:fe4b:a83c on.
Oct 27 13:50:11 outernet daemon.info avahi-daemon[383]: Registering new address record for fe80::ea4e:6ff:fe4b:a83.
Oct 27 13:50:11 outernet daemon.info avahi-daemon[383]: Withdrawing address record for fe80::ea4e:6ff:fe4b:a83c on.
Oct 27 13:50:18 outernet authpriv.notice sudo: outernet : TTY=ttyGS0 ; PWD=/etc ; USER=root ; COMMAND=/sbin/ifconfp
Oct 27 13:50:18 outernet user.info kernel: [497280.495840] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Oct 27 13:50:20 outernet user.info kernel: [497282.834370] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Oct 27 13:50:21 outernet daemon.info avahi-daemon[383]: Registering new address record for fe80::ea4e:6ff:fe4b:a83.

[Skylark][[email protected]:/run/wpa_supplicant]$ sudo rm -rf ./wlan0

[Skylark][[email protected]:/run/wpa_supplicant]$ ls -la
total 0
drwxr-x— 2 root root 40 Oct 27 14:30 .
drwxr-xr-x 8 root root 440 Oct 27 14:09 …

[Skylark][[email protected]:/run/wpa_supplicant]$ sudo ifdown wlan0 && sudo ifup
wlan0
ifdown: interface wlan0 not configured
Successfully initialized wpa_supplicant
ioctl[SIOCSIWAP]: Operation not permitted
udhcpc (v1.24.1) started
Sending discover…
Sending discover…
Sending discover…
No lease, failing
Failed to bring up wlan0.

at this point i brought up a wireshark… did a capture, there were no dhcp requests seen. To rule out switching preventing my laptop from seeing the requests, i turned off another device on the network while capturing and i DID see its DHCP requests…

I captured on the laptop wifi connection and the USB network connection to the DC to see if they were coming there… nothing…

sooo… still looking…

I concur - - I have had this problem before and added a WiFi repeater with a unique name to support my DC. It is 10 feet away too. It works well, but every once and awhile - - my DC disconnects. After I reboot my DC, I have discovered 2 things. I have see either:

1 - Data keeps downloading during periods when I loose WiFi connectivity, or
2 - No data downloads during those periods.

That’s why when I leave home, I put my DC’s power cube on an AC timer to recycle it every 12 hours so it automatically reboots.

Many folks on the Forum think this approach is bizzare - - but it does work :laughing:

Ken

Just a point of clarification - - it is not WiFi connectivity I am loosing, but rather my Dreamcatcher is loosing its assigned IP address. I can see it connected as a client to my WiFi repeater, but with no assigned IP address.

I have done 2 things to my main router 1) I extended the lease times of IP addresses across the board, and 2) I forced a manual assignment of the Dreamcatcher’ IP address.

I will see if this makes a difference. Ken

those are both very good tests to see where the issue is…

regarding your reboots, to clarify a few things for people not Linux savvy, i want to make the following points…

Since its a read only system i’m not that panicked about a hard reboot by cutting the power but on an OS that isnt read only, its asking for trouble, and double that on an SD Card based OS… A Cron job to force shutdown -r is the preferred way to go.

Chris

Latest Update

Zoltan @zoltan suggested that I place the 2 DIP switches on the Dreamcatcher Board in the up position. This done, my Dreamcatcher still only stays connected to my WiFi for 1 to 2 days. It is now completely loosing WiFi connectivity. Before with 2 DIP switches down, I cycled between loosing the IP address (but staying connected to the WiFi) and completely loosing WiFi connectivity.

Zoltan suggested if I still had a problem, to redo the micro SD card image after a complete SD card wipe with Rufus-2,17. So that’s what I shall next try. Ken

Latest Update on the Bench

I am still having problems with the DC/Skylark losing connectivity and needing to be rebooted. I have taken the DC out of its travel case to observe the lights and have this to report which makes me think I have a defective DC. I have re written the Syklark 4.4 image several times onto different micro SD cards all with the same results.

When working, the DC light pattern is as follows:

Below the OS SD Card: blue light is solid on, Green light (next to blue light) flickers - - further down Red light flickers, Green light is solid on.

On the USB Power side: Green and Red lights are solid on - - Wifi green blinking.

When DC fails (meaning I cannot connect to it via Wifi and DC does not report into the Outernet Status)

Below the OS SD Card: blue light is solid on, Green light (next to blue light) is OFF - - further down Red light is solid on and Green light is solid on.

On the USB Power side: Green and Red lights are solid on - - Wifi green is OFF

This is not a loss of Wifi connectivity problem, because loss of Wifi signal has no effect on the light pattern, and when the Wifi connection is restored, the DC reconnects to my router. Ken