Не получается установить соединение с роутером через Ethernet


#1

Не могу установить после чего именно, отвалилось соединение с роутером через провод. Разными патч-кордами пробую подключить, не работает, при этом другие устройства коннектятся, всё Ок.
На порту контроллера светодиоды оранжевый с зелёным медленно синхронно моргают.
Что это может быть, как проверить?


#2

Добрый день, давайте попробуем посмотреть логи. Покажите, пожалуйста, вывод dmesg и ifconfig


#3

#4

Добрый! Что мне нужно сделать? выполнить какую-то команду, отправить вам файл?


#5

Пожалуйста:

    Linux wirenboard-ARVNLP2W 4.9.22-wb2 #2 Mon Feb 5 08:59:17 UTC 2018 armv5tejl

    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Fri Mar 30 08:30:34 2018 from 192.168.42.59
    root@wirenboard-ARVNLP2W:~# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.22-wb2 (root@wbdevenv) (gcc version 4.9.2 ( 4.9.2-10) ) #2 Mon Feb 5 08:59:17 UTC 2018
    [    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
    [    0.000000] CPU: VIVT data cache, VIVT instruction cache
    [    0.000000] OF: fdt:Machine model: Wiren Board rev. 5.8 (i.MX28)
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] On node 0 totalpages: 32768
    [    0.000000] free_area_init_node: node 0, pgdat c0690324, node_mem_map c7efb000
    [    0.000000]   Normal zone: 256 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
    [    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 on.  Total pages: 32512
    [    0.000000] Kernel command line: console=ttyAMA0,115200 ro rootwait fixrtc root=/dev/mmcblk0p2 rootfstype=ext4 video=
    [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.000000] Memory: 122756K/131072K available (4496K kernel code, 202K rwdata, 1660K rodata, 172K init, 282K bss, 8316K reserved, 0K cma-reserved)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc046c5a0   (4498 kB)
    [    0.000000]       .init : 0xc0633000 - 0xc065e000   ( 172 kB)
    [    0.000000]       .data : 0xc065e000 - 0xc06909a0   ( 203 kB)
    [    0.000000]        .bss : 0xc06909a0 - 0xc06d7280   ( 283 kB)
    [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] clocksource: mxs_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000021] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000659] Console: colour dummy device 80x30
    [    0.000722] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
    [    0.080288] pid_max: default: 32768 minimum: 301
    [    0.080555] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.080600] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.081956] CPU: Testing write buffer coherency: ok
    [    0.082781] Setting up static identity map for 0x40008400 - 0x40008458
    [    0.086452] devtmpfs: initialized
    [    0.115391] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.115453] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.115710] pinctrl core: initialized pinctrl subsystem
    [    0.118277] NET: Registered protocol family 16
    [    0.119607] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.189691] Serial: AMBA PL011 UART driver
    [    0.190536] 80074000.serial: ttyAMA0 at MMIO 0x80074000 (irq = 234, base_baud = 0) is a PL011 rev2
    [    0.452156] console [ttyAMA0] enabled
    [    0.478907] mxs-dma 80004000.dma-apbh: initialized
    [    0.489138] mxs-dma 80024000.dma-apbx: initialized
    [    0.498851] usbcore: registered new interface driver usbfs
    [    0.504684] usbcore: registered new interface driver hub
    [    0.510259] usbcore: registered new device driver usb
    [    0.516911] i2c-gpio i2c_rtc_wb59@0: using pins 85 (SDA) and 90 (SCL)
    [    0.525139] Linux video capture interface: v2.00
    [    0.530093] pps_core: LinuxPPS API ver. 1 registered
    [    0.535081] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.544377] PTP clock support registered
    [    0.549191] Advanced Linux Sound Architecture Driver Initialized.
    [    0.557602] clocksource: Switched to clocksource mxs_timer
    [    0.599974] NET: Registered protocol family 2
    [    0.605877] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.613025] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.619502] TCP: Hash tables configured (established 1024 bind 1024)
    [    0.626053] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.632022] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.638742] NET: Registered protocol family 1
    [    0.644065] RPC: Registered named UNIX socket transport module.
    [    0.650130] RPC: Registered udp transport module.
    [    0.654859] RPC: Registered tcp transport module.
    [    0.659646] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.666609] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.676081] workingset: timestamp_bits=30 max_order=15 bucket_order=0
    [    0.728119] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.735553] io scheduler noop registered (default)
    [    0.744238] 8006a000.serial: ttyAPP0 at MMIO 0x8006a000 (irq = 229, base_baud = 1500000) is a 8006a000.serial
    [    0.755237] mxs-auart 8006a000.serial: Found APPUART 3.1.0
    [    0.761561] 8006c000.serial: ttyAPP1 at MMIO 0x8006c000 (irq = 230, base_baud = 1500000) is a 8006c000.serial
    [    0.772573] mxs-auart 8006c000.serial: Found APPUART 3.1.0
    [    0.779039] 8006e000.serial: ttyAPP2 at MMIO 0x8006e000 (irq = 231, base_baud = 1500000) is a 8006e000.serial
    [    0.790050] mxs-auart 8006e000.serial: Found APPUART 3.1.0
    [    0.796263] 80070000.serial: ttyAPP3 at MMIO 0x80070000 (irq = 232, base_baud = 1500000) is a 80070000.serial
    [    0.807254] mxs-auart 80070000.serial: Found APPUART 3.1.0
    [    0.813601] 80072000.serial: ttyAPP4 at MMIO 0x80072000 (irq = 233, base_baud = 1500000) is a 80072000.serial
    [    0.824605] mxs-auart 80072000.serial: Found APPUART 3.1.0
    [    0.850920] loop: module loaded
    [    0.856632] libphy: Fixed MDIO Bus: probed
    [    0.862699] 800f0000.ethernet supply phy not found, using dummy regulator
    [    0.988990] libphy: fec_enet_mii_bus: probed
    [    0.998444] PPP generic driver version 2.4.2
    [    1.003358] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.010443] usbcore: registered new interface driver usbserial
    [    1.016441] usbcore: registered new interface driver usbserial_generic
    [    1.023239] usbserial: USB Serial support registered for generic
    [    1.030062] mousedev: PS/2 mouse device common for all mice
    [    1.907662] rtc-pcf8563 1-0051: pcf8563_write_block_data: err=-6 addr=0e, data=03
    [    1.915182] rtc-pcf8563 1-0051: pcf8563_probe: write error
    [    1.920835] rtc-pcf8563: probe of 1-0051 failed with error -5
    [    1.930850] stmp3xxx-rtc 80056000.rtc: rtc core: registered 80056000.rtc as rtc0
    [    1.939053] i2c /dev entries driver
    [    1.945122] stmp3xxx_rtc_wdt stmp3xxx_rtc_wdt: initialized watchdog with heartbeat 19s
    [    1.955602] 80010000.ssp supply vmmc not found, using dummy regulator
    [    2.017725] mxs-mmc 80010000.ssp: initialized
    [    2.024206] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.036287] usbcore: registered new interface driver usbhid
    [    2.042013] usbhid: USB HID core driver
    [    2.063003] NET: Registered protocol family 10
    [    2.070270] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.078894] NET: Registered protocol family 17
    [    2.083575] Key type dns_resolver registered
    [    2.090646] registered taskstats version 1
    [    2.100939] stmp3xxx-rtc 80056000.rtc: setting system clock to 2018-03-30 07:52:25 UTC (1522396345)
    [    2.110096] of_cfs_init
    [    2.113785] of_cfs_init: OK
    [    2.117754] usb0_vbus: disabling
    [    2.121021] usb1_vbus: disabling
    [    2.124261] ALSA device list:
    [    2.127233]   No soundcards found.
    [    2.131107] uart-pl011 80074000.serial: no DMA platform data
    [    2.136964] Waiting for root device /dev/mmcblk0p2...
    [    2.630605] mmc0: new high speed MMC card at address 0001
    [    2.637486] mmcblk0: mmc0:0001 SEM04G 3.69 GiB 
    [    2.642876] mmcblk0boot0: mmc0:0001 SEM04G partition 1 1.00 MiB
    [    2.649627] mmcblk0boot1: mmc0:0001 SEM04G partition 2 1.00 MiB
    [    2.656241] mmcblk0rpmb: mmc0:0001 SEM04G partition 3 128 KiB
    [    2.667321]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
    [    2.677658] random: fast init done
    [    2.740672] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
    [    2.748117] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
    [    2.830024] EXT4-fs (mmcblk0p2): recovery complete
    [    2.837157] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.845495] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    2.861979] devtmpfs: mounted
    [    2.865828] Freeing unused kernel memory: 172K (c0633000 - c065e000)
    [    2.872299] This architecture does not have kernel memory protection.
    [    4.889322] udevd[182]: starting version 175
    [    6.533996] mxs-dcp 80028000.dcp: Failed to register sha1 hash!
    [    6.587390] CAN device driver interface
    [    6.598481] mxs-dcp: probe of 80028000.dcp failed with error -22
    [    6.642915] 80034000.can supply xceiver not found, using dummy regulator
    [    6.720285] flexcan 80034000.can: device registered (reg_base=c8910000, irq=209)
    [    6.731928] mxs-spdif-dai 80054000.spdif: MXS SPDIF Audio Transmitter
    [    8.296338] ci_hdrc ci_hdrc.0: EHCI Host Controller
    [    8.347810] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
    [    8.448389] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
    [    8.510474] lirc_dev: IR Remote Control driver registered, major 245
    [    8.517818] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    8.524655] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    8.531997] usb usb1: Product: EHCI Host Controller
    [    8.536903] usb usb1: Manufacturer: Linux 4.9.22-wb2 ehci_hcd
    [    8.542746] usb usb1: SerialNumber: ci_hdrc.0
    [    8.610764] mxs-spdif sound-spdif: snd-soc-dummy-dai <-> 80054000.spdif mapping ok
    [    8.625746] Driver for 1-wire Dallas network protocol.
    [    8.790100] lirc_pwm: module is from the staging directory, the quality is unknown, you have been warned.
    [    9.127858] lirc_pwm lirc-rfm69: GPIO receiver on pin 37
    [    9.203001] lirc_pwm lirc-rfm69: lirc_dev: driver lirc-rfm69 registered at minor = 0
    [    9.251962] hub 1-0:1.0: USB hub found
    [    9.348116] hub 1-0:1.0: 1 port detected
    [    9.382313] lirc_pwm lirc-rfm69: probed
    [    9.508236] ci_hdrc ci_hdrc.1: EHCI Host Controller
    [    9.513246] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
    [    9.678800] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
    [    9.728535] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    9.735372] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    9.742746] usb usb2: Product: EHCI Host Controller
    [    9.747738] usb usb2: Manufacturer: Linux 4.9.22-wb2 ehci_hcd
    [    9.753516] usb usb2: SerialNumber: ci_hdrc.1
    [   10.116995] hub 2-0:1.0: USB hub found
    [   10.181937] hub 2-0:1.0: 1 port detected
    [   10.577812] usb 2-1: new high-speed USB device number 2 using ci_hdrc
    [   10.800242] usb 2-1: New USB device found, idVendor=0bda, idProduct=b720
    [   10.807052] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [   10.814356] usb 2-1: Product: 802.11n WLAN Adapter
    [   10.819238] usb 2-1: Manufacturer: Realtek
    [   10.823362] usb 2-1: SerialNumber: 00e04c000001
    [   11.641090] Bluetooth: Core ver 2.22
    [   11.644929] NET: Registered protocol family 31
    [   11.649518] Bluetooth: HCI device and connection manager initialized
    [   11.687826] Bluetooth: HCI socket layer initialized
    [   11.692773] Bluetooth: L2CAP socket layer initialized
    [   11.728088] Bluetooth: SCO socket layer initialized
    [   11.869373] usbcore: registered new interface driver btusb
    [   11.875189] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
    [   11.884015] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
    [   11.893484] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
    [   11.902810] Bluetooth: hci0: Failed to load rtl_bt/rtl8723b_config.bin
    [   11.909427] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
    [   11.915796] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_fw.bin failed with error -2
    [   11.924713] Bluetooth: hci0: Failed to load rtl_bt/rtl8723b_fw.bin
    [   13.091376] 8723bu: module is from the staging directory, the quality is unknown, you have been warned.
    [   13.170560] RTL871X: module init start
    [   13.174357] RTL871X: rtl8723bu v4.3.6.11_12942.20141204_BTCOEX20140507-4E40
    [   13.181452] RTL871X: rtl8723bu BT-Coex version = BTCOEX20140507-4E40
    [   13.606006] RTL871X: rtw_ndev_init(wlan0)
    [   13.617136] RTL871X: rtw_ndev_init(wlan1)
    [   13.631844] usbcore: registered new interface driver rtl8723bu
    [   13.637842] RTL871X: module init ret=0
    [   20.264074] Adding 262140k swap on /dev/mmcblk0p5.  Priority:-1 extents:1 across:262140k SS
    [   20.531076] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   21.092023] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
    [   33.200550] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: errors=remount-ro
    [   39.032814] EXT4-fs (mmcblk0p3): VFS: Can't find ext4 filesystem
    [   39.040839] EXT4-fs (mmcblk0p3): VFS: Can't find ext4 filesystem
    [   39.048792] EXT4-fs (mmcblk0p3): VFS: Can't find ext4 filesystem
    [   45.258069] SMSC LAN8710/LAN8720 800f0000.etherne:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=800f0000.etherne:00, irq=-1)
    [   45.271411] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   46.209691] RTL871X: RTW_ADAPTIVITY_EN_
    [   46.213399] AUTO, chplan:0x20, Regulation:3,3
    [   46.217903] RTL871X: RTW_ADAPTIVITY_MODE_
    [   46.221757] NORMAL
    [   46.967868] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   49.001196] RTL871X: nolinked power save enter
    [   56.427803] random: crng init done
    [   61.942726] 800f4000.ethernet supply phy not found, using dummy regulator
    [   63.168483] SMSC LAN8710/LAN8720 800f0000.etherne:01: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=800f0000.etherne:01, irq=-1)
    [   63.216330] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   74.688526] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [   74.693973] Bluetooth: BNEP filters: protocol multicast
    [   74.710572] Bluetooth: RFCOMM TTY layer initialized
    [   74.739438] Bluetooth: RFCOMM socket layer initialized
    [   74.744667] Bluetooth: RFCOMM ver 1.11
    [   74.750760] Bluetooth: BNEP socket layer initialized
    [   74.847942] Bluetooth: hci0: rtl: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723
    [   74.856604] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_config.bin
    [   74.918166] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
    [   74.927428] Bluetooth: hci0: Failed to load rtl_bt/rtl8723b_config.bin
    [   74.934096] Bluetooth: hci0: rtl: loading rtl_bt/rtl8723b_fw.bin
    [   75.027935] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_fw.bin failed with error -2
    [   75.036778] Bluetooth: hci0: Failed to load rtl_bt/rtl8723b_fw.bin
    [   77.052256] RTL871X: RTW_ADAPTIVITY_EN_
    [   77.055965] AUTO, chplan:0x20, Regulation:3,3
    [   77.060481] RTL871X: RTW_ADAPTIVITY_MODE_
    [   77.064336] NORMAL
    [   77.866802] RTL871X: nolinked power save leave
    [   78.388889] RTL871X: assoc success
    [   78.392488] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 2213.718422] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2213.726806] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 2215.799949] fec 800f0000.ethernet eth0: Link is Down
    [ 2216.838332] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2223.078124] fec 800f0000.ethernet eth0: Link is Down
    [ 2226.198337] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2230.358097] fec 800f0000.ethernet eth0: Link is Down
    [ 2233.478339] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2239.718766] fec 800f0000.ethernet eth0: Link is Down
    [ 2242.838760] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2249.078309] fec 800f0000.ethernet eth0: Link is Down
    [ 2250.118441] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2256.358437] fec 800f0000.ethernet eth0: Link is Down
    [ 2259.480745] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2265.718189] fec 800f0000.ethernet eth0: Link is Down
    [ 2266.758373] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2272.998268] fec 800f0000.ethernet eth0: Link is Down
    [ 2276.119332] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2282.358116] fec 800f0000.ethernet eth0: Link is Down
    [ 2283.398448] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2289.638134] fec 800f0000.ethernet eth0: Link is Down
    [ 2292.758403] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2298.998168] fec 800f0000.ethernet eth0: Link is Down
    [ 2302.118413] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2306.278178] fec 800f0000.ethernet eth0: Link is Down
    [ 2309.401587] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2315.638150] fec 800f0000.ethernet eth0: Link is Down
    [ 2318.758483] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2322.918121] fec 800f0000.ethernet eth0: Link is Down
    [ 2326.038679] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2332.278115] fec 800f0000.ethernet eth0: Link is Down
    [ 2335.398330] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2339.558085] fec 800f0000.ethernet eth0: Link is Down
    [ 2342.530130] RTL871X: ap recv disassoc reason code(8) sta:8c:29:37:ef:d8:2a
    [ 2342.678392] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2348.918139] fec 800f0000.ethernet eth0: Link is Down
    [ 2352.038394] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2356.198324] fec 800f0000.ethernet eth0: Link is Down
    [ 2359.318462] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2365.558112] fec 800f0000.ethernet eth0: Link is Down
    [ 2368.678354] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2372.838152] fec 800f0000.ethernet eth0: Link is Down
    [ 2375.958402] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2382.198179] fec 800f0000.ethernet eth0: Link is Down
    [ 2385.318361] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2389.478145] fec 800f0000.ethernet eth0: Link is Down
    [ 2392.598401] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2398.838221] fec 800f0000.ethernet eth0: Link is Down
    [ 2401.958483] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2408.198141] fec 800f0000.ethernet eth0: Link is Down
    [ 2409.238429] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2415.478127] fec 800f0000.ethernet eth0: Link is Down
    [ 2418.598424] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2424.838093] fec 800f0000.ethernet eth0: Link is Down
    [ 2425.878447] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2432.118357] fec 800f0000.ethernet eth0: Link is Down
    [ 2435.238444] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2441.478177] fec 800f0000.ethernet eth0: Link is Down
    [ 2442.521497] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2448.758039] fec 800f0000.ethernet eth0: Link is Down
    [ 2451.878822] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2458.118154] fec 800f0000.ethernet eth0: Link is Down
    [ 2461.238307] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2465.398363] fec 800f0000.ethernet eth0: Link is Down
    [ 2468.518405] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2474.758157] fec 800f0000.ethernet eth0: Link is Down
    [ 2477.878399] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2482.038104] fec 800f0000.ethernet eth0: Link is Down
    [ 2485.158615] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2491.398035] fec 800f0000.ethernet eth0: Link is Down
    [ 2494.518337] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2498.678061] fec 800f0000.ethernet eth0: Link is Down
    [ 2501.798435] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2508.038148] fec 800f0000.ethernet eth0: Link is Down
    [ 2511.158694] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2515.319769] fec 800f0000.ethernet eth0: Link is Down
    [ 2518.438409] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 2524.678149] fec 800f0000.ethernet eth0: Link is Down
    [ 2527.798425] fec 800f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    root@wirenboard-ARVNLP2W:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:86:40:20:48:00  
              inet6 addr: fe80::286:40ff:fe20:4800/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:99 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:27513 (26.8 KiB)

    eth1      Link encap:Ethernet  HWaddr 00:86:39:20:48:00  
              UP BROADCAST MULTICAST  MTU:1500  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:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:155226 errors:0 dropped:0 overruns:0 frame:0
              TX packets:155226 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1 
              RX bytes:10904984 (10.3 MiB)  TX bytes:10904984 (10.3 MiB)

    wlan0     Link encap:Ethernet  HWaddr a0:2c:36:df:ee:db  
              inet addr:192.168.42.1  Bcast:192.168.42.255  Mask:255.255.255.0
              inet6 addr: fe80::a22c:36ff:fedf:eedb/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:7387 errors:0 dropped:6 overruns:0 frame:0
              TX packets:7063 errors:0 dropped:13 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:615854 (601.4 KiB)  TX bytes:1044873 (1020.3 KiB)

#6

Достаточно известная проблема: если DHCP-сервер упал, то Wiren Board не пытается получить IP-адрес заново. Знаем, в очереди на починку. Обойти можно watchdog-ом или какой-нибудь логикой в правилах.


#7

Ок, Евгений, что сделать, чтобы сейчас просто подключиться по проводу? Как вручную возобновить?


#8
 ifdown eth0 ; ifup eth0

#9

https://contactless.ru/wiki/index.php/Wi-Fi#.D0.90.D0.B2.D1.82.D0.BE.D0.BC.D0.B0.D1.82.D0.B8.D1.87.D0.B5.D1.81.D0.BA.D0.BE.D0.B5_.D0.BF.D0.B5.D1.80.D0.B5.D0.BF.D0.BE.D0.B4.D0.BA.D0.BB.D1.8E.D1.87.D0.B5.D0.BD.D0.B8.D0.B5_.D0.BF.D1.80.D0.B8_.D0.BF.D1.80.D0.BE.D0.B1.D0.BB.D0.B5.D0.BC.D0.B0.D1.85_.D1.81_.D1.81.D0.BE.D0.B5.D0.B4.D0.B8.D0.BD.D0.B5.D0.BD.D0.B8.D0.B5.D0.BC

Есть вот такой скрипт, который автоматически пингует заданный сервер через заданный интерфейс, и в случае неудачи кладёт и сразу поднимает интерфейс. Я его использую для решения той же проблемы, но для Wi-Fi


#10

Рез-т команды без подключения к роутеру по проводу:

root@wirenboard-ARVNLP2W:~# ifdown eth0 ; ifup eth0
ifdown: interface eth0 not configured
udhcpc: option -h NAME is deprecated, use -x hostname:NAME
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
/etc/udhcpc/default.script: Lease failed: 
No lease, failing
Failed to bring up eth0.

Повторяю с подключенным проводом:

root@wirenboard-ARVNLP2W:~# root@wirenboard-ARVNLP2W:~# ifdown eth0 ; ifup eth0
-bash: root@wirenboard-ARVNLP2W:~#: command not found
ifup: interface eth0 already configured
root@wirenboard-ARVNLP2W:~# ifdown: interface eth0 not configured
-bash: ifdown:: command not found
root@wirenboard-ARVNLP2W:~# udhcpc: option -h NAME is deprecated, use -x hostname:NAME
-bash: udhcpc:: command not found
root@wirenboard-ARVNLP2W:~# udhcpc (v1.20.2) started
-bash: syntax error near unexpected token `v1.20.2'
root@wirenboard-ARVNLP2W:~# Sending discover...
-bash: Sending: command not found
root@wirenboard-ARVNLP2W:~# Sending discover...
-bash: Sending: command not found
root@wirenboard-ARVNLP2W:~# Sending discover...
-bash: Sending: command not found
root@wirenboard-ARVNLP2W:~# /etc/udhcpc/default.script: Lease failed: 
-bash: /etc/udhcpc/default.script:: No such file or directory
root@wirenboard-ARVNLP2W:~# No lease, failing
-bash: No: command not found
root@wirenboard-ARVNLP2W:~# Failed to bring up eth0.ifdown eth0 ; ifup eth0
-bash: Failed: command not found
udhcpc: option -h NAME is deprecated, use -x hostname:NAME
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
Received SIGTERM
Terminated

Но в виджете Network Ethernet IP не появился и результат ifconfig

root@wirenboard-ARVNLP2W:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:86:40:20:48:00  
          inet6 addr: fe80::286:40ff:fe20:4800/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:15136 (14.7 KiB)

eth1      Link encap:Ethernet  HWaddr 00:86:39:20:48:00  
          UP BROADCAST MULTICAST  MTU:1500  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:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:74891 errors:0 dropped:0 overruns:0 frame:0
          TX packets:74891 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:5306100 (5.0 MiB)  TX bytes:5306100 (5.0 MiB)

wlan0     Link encap:Ethernet  HWaddr a0:2c:36:df:ee:db  
          inet addr:192.168.42.1  Bcast:192.168.42.255  Mask:255.255.255.0
          inet6 addr: fe80::a22c:36ff:fedf:eedb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6175 errors:0 dropped:9 overruns:0 frame:0
          TX packets:5760 errors:0 dropped:15 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:571114 (557.7 KiB)  TX bytes:757462 (739.7 KiB)

Пробуем ещё раз:

root@wirenboard-ARVNLP2W:~# ifdown eth0 ; ifup eth0
cat: /run/udhcpc.eth0.pid: No such file or directory
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
cat: /run/udhcpc.eth0.pid: No such file or directory
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
udhcpc: option -h NAME is deprecated, use -x hostname:NAME
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
/etc/udhcpc/default.script: Lease failed: 
No lease, failing
Failed to bring up eth0.

Выполняю команды по-отдельности:

root@wirenboard-ARVNLP2W:~# ifdown eth0
cat: /run/udhcpc.eth0.pid: No such file or directory
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
cat: /run/udhcpc.eth0.pid: No such file or directory
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
root@wirenboard-ARVNLP2W:~# ifup eth0
udhcpc: option -h NAME is deprecated, use -x hostname:NAME
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
/etc/udhcpc/default.script: Lease failed: 
No lease, failing
Failed to bring up eth0.

Ничего не помогло. Что-то не так выполняю? Что ещё посоветуете?


#11

Спасибо, Павел, принял к сведению. Что ещё и Wi-Fi может отваливаться? стоит добавить на всякий случай?
Раз в минуту такая проверка не слишком часто? это не сильно повесит контроллер вместе с правилами?


#12

Тут проблема не в “отпадании”, а в том, что после отключения и подключения обратно (что происходит автоматически), контроллер по какой-то причине (с чем мы разбираемся) не получает IP-адрес по DHCP (кстати, как решение проблемы можете перейти на фиксированный IP). Причём такая ситуация воспроизводится только на части сочетаний “контроллер + роутер”.
Раз в минуту - это нормально, грузить вообще не будет.


#13

Ок, добавлю после того, как разберусь с подключением через Ethernet


#14

Я продолжил стучаться командами, в один из разов у меня получился вот такой результат:

root@wirenboard-ARVNLP2W:~# ifdown eth0                                    
cat: /run/udhcpc.eth0.pid: No such file or directory
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
cat: /run/udhcpc.eth0.pid: No such file or directory
/bin/sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
root@wirenboard-ARVNLP2W:~# ifup eth0
ifup: interface eth0 already configured
root@wirenboard-ARVNLP2W:~# ifup eth0
udhcpc: option -h NAME is deprecated, use -x hostname:NAME
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
Received SIGTERM
Terminated

Но, соединения через ethernet по-прежнему не наблюдаю.


#15

Попробуйте при поднятом eth0 (то есть до ifdown eth0) выполнить udhcpc -i eth0, покажите вывод.
Самый быстрый и надёжный способ всё исправить - перейти на статический IP.
Прямо сейчас мы тестируем ещё один вариант исправить ситуацию, как только будут результаты - расскажем.


#16
root@wirenboard-ARVNLP2W:~# ifup eth0
ifup: interface eth0 already configured
root@wirenboard-ARVNLP2W:~# udhcpc -i eth0
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
/etc/udhcpc/default.script: Lease failed: 
Sending discover...
Sending discover...
Sending discover...
/etc/udhcpc/default.script: Lease failed: 
Sending discover...
Sending discover...
Sending discover...
/etc/udhcpc/default.script: Lease failed: 
Sending discover...
Sending discover...
Sending discover...
/etc/udhcpc/default.script: Lease failed: 
Sending discover...
Sending discover...
Sending discover...
/etc/udhcpc/default.script: Lease failed: 
Sending discover...
Sending discover...
Sending discover...
/etc/udhcpc/default.script: Lease failed: 
Sending discover...
Sending discover...
Sending discover...
/etc/udhcpc/default.script: Lease failed: 
Sending discover...
Sending discover...
Sending discover...
/etc/udhcpc/default.script: Lease failed: 
Sending discover...
Sending discover...
Sending discover...
/etc/udhcpc/default.script: Lease failed: 
Sending discover...
Sending discover...
Sending discover...
/etc/udhcpc/default.script: Lease failed: 

и так до бесконечности.

По поводу статического IP, на объекте контроллер будет работать в составе именно такой конфигурации оборудования. Поэтому, чтобы избежать ножа в спину, хочется разобраться с этой проблемой именно в таком наборе.


#17

Возможно, мы с Евгением подумали про другую проблему. Верно ли я понимаю, что:

  1. Подключение-отключение кабеля от контроллера.
  2. Перезагрузка контроллера.

не решают проблему?


#18

Верно.


#19

Тогда это не та проблема, которую мы имели в виду. Пожалуйста, выполните две проверки и напишите их результаты:

  1. К тому же роутеру в тот же порт тем же кабелем подключите другое устройство, получающее адрес по DHCP, и проверьте доступ в интернет с него.
  2. Тем же кабелем подключите Wiren Board к другому роутеру, раздающему адреса по DHCP, и проверьте доступ в интернет на Wiren Board.

#20

Павел, добрый день! Прошу прощения за долгий ответ, очень не просто было воспроизвести этот квест)

  1. Доступ есть.
  2. Доступа нет.

Могу выложить выводы команд ifdown eth0, ifup eth0, udhcpc -i eth0.