26

Odp: extroot i E3372 HiLink [CC]

Czyli widzi od razu kartę.

uci show fstab pokaż. I jeszcze jedno - jakiego obrazu używasz?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

27

Odp: extroot i E3372 HiLink [CC]

obraz:

openwrt-15.05-ar71xx-generic-tl-mr3420-v2-squashfs-factory.bin

instalowane przez

 sysupgrage -n x.bin

fstab:

root@OpenWrt:/mnt# uci show fstab
fstab.@global[0]=global
fstab.@global[0].anon_swap='0'
fstab.@global[0].anon_mount='0'
fstab.@global[0].auto_swap='1'
fstab.@global[0].auto_mount='1'
fstab.@global[0].delay_root='15'
fstab.@global[0].check_fs='0'
fstab.@mount[0]=mount
fstab.@mount[0].device='/dev/sda1'
fstab.@mount[0].target='/overlay'
fstab.@mount[0].enabled='1'

dmesg:

root@OpenWrt:/mnt# dmesg
[    0.000000] Linux version 3.18.23 (cezary@eko.one.pl) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46943) ) #7 Fri Nov 27 20:39:57 CET 2015
[    0.000000] MyLoader: sysp=e72c40a6, boardp=3050a00a, parts=15d661ab
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9341 rev 1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 8038a2b0, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, 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 on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-MR3420-v2  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28260K/32768K available (2649K kernel code, 134K rwdata, 552K rodata, 240K init, 194K bss, 4508K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is TP-LINK TL-MR3420 v2
[    0.560000] Switched to clocksource MIPS
[    0.560000] NET: Registered protocol family 2
[    0.570000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.580000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.580000] TCP: reno registered
[    0.590000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] NET: Registered protocol family 1
[    0.600000] PCI: CLS 0 bytes, default 32
[    0.600000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.630000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.640000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.650000] msgmni has been set to 55
[    0.650000] io scheduler noop registered
[    0.660000] io scheduler deadline registered (default)
[    0.660000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.670000] console [ttyS0] disabled
[    0.700000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.700000] console [ttyS0] enabled
[    0.710000] bootconsole [early0] disabled
[    0.720000] m25p80 spi0.0: found s25sl032p, expected m25p80
[    0.730000] m25p80 spi0.0: s25sl032p (4096 Kbytes)
[    0.740000] 5 tp-link partitions found on MTD device spi0.0
[    0.740000] Creating 5 MTD partitions on "spi0.0":
[    0.750000] 0x000000000000-0x000000020000 : "u-boot"
[    0.750000] 0x000000020000-0x000000145c18 : "kernel"
[    0.760000] 0x000000145c18-0x0000003f0000 : "rootfs"
[    0.770000] mtd: device 2 (rootfs) set to be root filesystem
[    0.770000] 1 squashfs-split partitions found on MTD device rootfs
[    0.780000] 0x000000390000-0x0000003f0000 : "rootfs_data"
[    0.790000] 0x0000003f0000-0x000000400000 : "art"
[    0.790000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.820000] libphy: ag71xx_mdio: probed
[    1.410000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
[    1.420000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.010000] ag71xx-mdio.1: Found an AR934X built-in switch
[    2.050000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.060000] TCP: cubic registered
[    2.060000] NET: Registered protocol family 17
[    2.070000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.080000] Bridge firewalling registered
[    2.080000] 8021q: 802.1Q VLAN Support v1.8
[    2.090000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    2.100000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.110000] Freeing unused kernel memory: 240K (803a4000 - 803e0000)
[    3.180000] init: Console is alive
[    3.180000] init: - watchdog -
[    4.850000] usbcore: registered new interface driver usbfs
[    4.850000] usbcore: registered new interface driver hub
[    4.860000] usbcore: registered new device driver usb
[    4.910000] SCSI subsystem initialized
[    4.920000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.930000] ehci-platform: EHCI generic platform driver
[    4.930000] ehci-platform ehci-platform: EHCI Host Controller
[    4.940000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.950000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    4.980000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    4.980000] hub 1-0:1.0: USB hub found
[    4.990000] hub 1-0:1.0: 1 port detected
[    4.990000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.000000] ohci-platform: OHCI generic platform driver
[    5.010000] usbcore: registered new interface driver usb-storage
[    5.230000] init: - preinit -
[    5.870000] random: procd urandom read with 9 bits of entropy available
[    7.950000] eth1: link up (1000Mbps/Full duplex)
[    9.090000] mount_root: loading kmods from internal overlay
[    9.350000] jffs2: notice: (391) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    9.370000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[    9.380000] block: extroot: device not present, retrying in 15 seconds
[   11.210000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   11.420000] usb-storage 1-1:1.0: USB Mass Storage device detected
[   11.430000] scsi host0: usb-storage 1-1:1.0
[   12.430000] scsi 0:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[   12.440000] scsi 0:0:0:1: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
[   12.460000] sd 0:0:0:1: [sda] Attached SCSI removable disk
[   24.390000] sd 0:0:0:1: [sda] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)
[   24.400000] sd 0:0:0:1: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   24.420000]  sda: sda1
[   24.430000] block: extroot: cannot find device sda1
[   24.470000] jffs2: notice: (388) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   24.490000] mount_root: loading kmods from internal overlay
[   54.630000] mount_root: switching to jffs2 overlay
[   54.670000] eth1: link down
[   54.690000] procd: - early -
[   54.690000] procd: - watchdog -
[   55.500000] procd: - ubus -
[   56.510000] procd: - init -
[   56.760000] random: nonblocking pool is initialized
[   58.450000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   58.460000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   58.470000] nf_conntrack version 0.5.0 (445 buckets, 1780 max)
[   58.520000] xt_time: kernel timezone is -0000
[   58.530000] usbcore: registered new interface driver cdc_ether
[   58.570000] cfg80211: Calling CRDA to update world regulatory domain
[   58.570000] cfg80211: World regulatory domain updated:
[   58.580000] cfg80211:  DFS Master region: unset
[   58.580000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   58.590000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   58.600000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   58.610000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   58.620000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   58.630000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   58.640000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   58.650000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   58.650000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   58.670000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   58.760000] PPP generic driver version 2.4.2
[   58.770000] NET: Registered protocol family 24
[   58.830000] ath: EEPROM regdomain: 0x0
[   58.830000] ath: EEPROM indicates default country code should be used
[   58.830000] ath: doing EEPROM country->regdmn map search
[   58.830000] ath: country maps to regdmn code: 0x3a
[   58.830000] ath: Country alpha2 being used: US
[   58.830000] ath: Regpair used: 0x3a
[   58.850000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   58.850000] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb8100000, irq=47
[   58.860000] cfg80211: Calling CRDA for country: US
[   58.860000] cfg80211: Regulatory domain changed to country: US
[   58.870000] cfg80211:  DFS Master region: FCC
[   58.870000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   58.880000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   58.890000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
[   58.900000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
[   58.910000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   58.920000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   63.560000] sd 0:0:0:1: [sda] Synchronizing SCSI cache
[   63.590000] usb 1-1: USB disconnect, device number 2
[   64.480000] usb 1-1: new high-speed USB device number 3 using ehci-platform
[   64.840000] cdc_ether 1-1:1.0 eth2: register 'cdc_ether' at usb-ehci-platform-1, CDC Ethernet Device, 0c:5b:8f:27:9a:64
[   64.860000] usb-storage 1-1:1.2: USB Mass Storage device detected
[   64.870000] scsi host1: usb-storage 1-1:1.2
[   65.870000] scsi 1:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
[   65.880000] sd 1:0:0:0: [sda] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)
[   65.900000] sd 1:0:0:0: [sda] Write Protect is off
[   65.900000] sd 1:0:0:0: [sda] Mode Sense: 0f 00 00 00
[   65.900000] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   65.930000]  sda: sda1
[   65.960000] sd 1:0:0:0: [sda] Attached SCSI removable disk
[   66.880000] device eth1 entered promiscuous mode
[   66.910000] cdc_ether 1-1:1.0 eth2: kevent 12 may have been dropped
[   67.720000] cfg80211: Calling CRDA for country: PL
[   67.750000] cfg80211: Regulatory domain changed to country: PL
[   67.760000] cfg80211:  DFS Master region: ETSI
[   67.760000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   67.770000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   67.780000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   67.790000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   67.800000] cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
[   67.810000] cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   68.520000] eth1: link up (1000Mbps/Full duplex)
[   68.520000] br-lan: port 1(eth1) entered forwarding state
[   68.530000] br-lan: port 1(eth1) entered forwarding state
[   70.530000] br-lan: port 1(eth1) entered forwarding state
[   72.400000] wlan0: authenticate with f8:8e:85:a5:a1:f4
[   72.420000] wlan0: send auth to f8:8e:85:a5:a1:f4 (try 1/3)
[   72.430000] wlan0: authenticated
[   72.440000] wlan0: associate with f8:8e:85:a5:a1:f4 (try 1/3)
[   72.520000] wlan0: RX AssocResp from f8:8e:85:a5:a1:f4 (capab=0x411 status=0 aid=1)
[   72.530000] wlan0: associated
[  659.940000] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
[  659.950000] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
[  659.980000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

28

Odp: extroot i E3372 HiLink [CC]

Ostatni pomysł - wróć do uuid zamiast device, a skrypt zrób taki:

#!/bin/sh
/tmp/overlay/sbin/usbmode -s -c /tmp/overlay/etc/usb-mode.json
sleep 20
exec /sbin/block_/block $*

Zrestartuj i pokaż dmesg/logread.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

29

Odp: extroot i E3372 HiLink [CC]

zrobiłem, długo się odpalał...

root@OpenWrt:/# dmesg
[    0.000000] Linux version 3.18.23 (cezary@eko.one.pl) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46943) ) #7 Fri Nov 27 20:39:57 CET 2015
[    0.000000] MyLoader: sysp=e72c40a6, boardp=3050a00a, parts=15d661ab
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] SoC: Atheros AR9341 rev 1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 8038a2b0, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, 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 on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-MR3420-v2  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28260K/32768K available (2649K kernel code, 134K rwdata, 552K rodata, 240K init, 194K bss, 4508K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:535.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Calibrating delay loop... 266.64 BogoMIPS (lpj=1333248)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.100000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is TP-LINK TL-MR3420 v2
[    0.560000] Switched to clocksource MIPS
[    0.560000] NET: Registered protocol family 2
[    0.570000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.580000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.580000] TCP: reno registered
[    0.590000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] NET: Registered protocol family 1
[    0.600000] PCI: CLS 0 bytes, default 32
[    0.600000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.630000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.640000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.650000] msgmni has been set to 55
[    0.650000] io scheduler noop registered
[    0.660000] io scheduler deadline registered (default)
[    0.660000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.670000] console [ttyS0] disabled
[    0.690000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.700000] console [ttyS0] enabled
[    0.710000] bootconsole [early0] disabled
[    0.720000] m25p80 spi0.0: found s25sl032p, expected m25p80
[    0.730000] m25p80 spi0.0: s25sl032p (4096 Kbytes)
[    0.740000] 5 tp-link partitions found on MTD device spi0.0
[    0.740000] Creating 5 MTD partitions on "spi0.0":
[    0.750000] 0x000000000000-0x000000020000 : "u-boot"
[    0.750000] 0x000000020000-0x000000145c18 : "kernel"
[    0.760000] 0x000000145c18-0x0000003f0000 : "rootfs"
[    0.760000] mtd: device 2 (rootfs) set to be root filesystem
[    0.770000] 1 squashfs-split partitions found on MTD device rootfs
[    0.780000] 0x000000390000-0x0000003f0000 : "rootfs_data"
[    0.790000] 0x0000003f0000-0x000000400000 : "art"
[    0.790000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.810000] libphy: ag71xx_mdio: probed
[    1.410000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd042, driver=Generic PHY]
[    1.420000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    2.010000] ag71xx-mdio.1: Found an AR934X built-in switch
[    2.050000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.060000] TCP: cubic registered
[    2.060000] NET: Registered protocol family 17
[    2.070000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.080000] Bridge firewalling registered
[    2.080000] 8021q: 802.1Q VLAN Support v1.8
[    2.090000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    2.100000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.110000] Freeing unused kernel memory: 240K (803a4000 - 803e0000)
[    3.180000] init: Console is alive
[    3.180000] init: - watchdog -
[    4.850000] usbcore: registered new interface driver usbfs
[    4.850000] usbcore: registered new interface driver hub
[    4.860000] usbcore: registered new device driver usb
[    4.910000] SCSI subsystem initialized
[    4.920000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.930000] ehci-platform: EHCI generic platform driver
[    4.930000] ehci-platform ehci-platform: EHCI Host Controller
[    4.940000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.950000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    4.980000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    4.980000] hub 1-0:1.0: USB hub found
[    4.990000] hub 1-0:1.0: 1 port detected
[    4.990000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.000000] ohci-platform: OHCI generic platform driver
[    5.010000] usbcore: registered new interface driver usb-storage
[    5.230000] init: - preinit -
[    5.870000] random: procd urandom read with 9 bits of entropy available
[    7.450000] eth1: link up (1000Mbps/Full duplex)
[    9.090000] mount_root: loading kmods from internal overlay
[    9.350000] jffs2: notice: (391) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    9.370000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[    9.380000] block: extroot: device not present, retrying in 5 seconds
[   11.170000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   11.370000] usb-storage 1-1:1.0: USB Mass Storage device detected
[   11.370000] scsi host0: usb-storage 1-1:1.0
[   12.380000] scsi 0:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[   12.390000] scsi 0:0:0:1: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
[   12.410000] sd 0:0:0:1: [sda] Attached SCSI removable disk
[   14.390000] sd 0:0:0:1: [sda] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)
[   14.400000] sd 0:0:0:1: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   14.420000]  sda: sda1
[   14.430000] block: extroot: cannot find device with UUID 00649b4c-bb6f-4043-98b3-396480d1c553
[   14.480000] jffs2: notice: (388) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   14.500000] mount_root: loading kmods from internal overlay
[   34.580000] mount_root: switching to jffs2 overlay
[   34.620000] eth1: link down
[   34.630000] procd: - early -
[   34.640000] procd: - watchdog -
[   35.450000] procd: - ubus -
[   36.460000] procd: - init -
[   37.330000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   37.340000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   37.350000] nf_conntrack version 0.5.0 (445 buckets, 1780 max)
[   37.400000] xt_time: kernel timezone is -0000
[   37.410000] usbcore: registered new interface driver cdc_ether
[   37.450000] cfg80211: Calling CRDA to update world regulatory domain
[   37.450000] cfg80211: World regulatory domain updated:
[   37.460000] cfg80211:  DFS Master region: unset
[   37.460000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   37.470000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   37.480000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   37.490000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   37.500000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   37.510000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   37.520000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   37.520000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   37.530000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   37.540000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   37.600000] PPP generic driver version 2.4.2
[   37.610000] NET: Registered protocol family 24
[   37.670000] ath: EEPROM regdomain: 0x0
[   37.670000] ath: EEPROM indicates default country code should be used
[   37.670000] ath: doing EEPROM country->regdmn map search
[   37.670000] ath: country maps to regdmn code: 0x3a
[   37.670000] ath: Country alpha2 being used: US
[   37.670000] ath: Regpair used: 0x3a
[   37.680000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   37.690000] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb8100000, irq=47
[   37.700000] cfg80211: Calling CRDA for country: US
[   37.700000] cfg80211: Regulatory domain changed to country: US
[   37.710000] cfg80211:  DFS Master region: FCC
[   37.710000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   37.720000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   37.730000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
[   37.740000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
[   37.750000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   37.760000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   42.170000] sd 0:0:0:1: [sda] Synchronizing SCSI cache
[   42.200000] usb 1-1: USB disconnect, device number 2
[   42.830000] usb 1-1: new high-speed USB device number 3 using ehci-platform
[   43.160000] cdc_ether 1-1:1.0 eth2: register 'cdc_ether' at usb-ehci-platform-1, CDC Ethernet Device, 0c:5b:8f:27:9a:64
[   43.180000] usb-storage 1-1:1.2: USB Mass Storage device detected
[   43.190000] scsi host1: usb-storage 1-1:1.2
[   43.550000] device eth1 entered promiscuous mode
[   43.570000] cdc_ether 1-1:1.0 eth2: kevent 12 may have been dropped
[   44.200000] scsi 1:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
[   44.230000] sd 1:0:0:0: [sda] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)
[   44.240000] sd 1:0:0:0: [sda] Write Protect is off
[   44.240000] sd 1:0:0:0: [sda] Mode Sense: 0f 00 00 00
[   44.240000] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   44.260000]  sda: sda1
[   44.280000] sd 1:0:0:0: [sda] Attached SCSI removable disk
[   44.500000] cfg80211: Calling CRDA for country: PL
[   44.500000] cfg80211: Regulatory domain changed to country: PL
[   44.510000] cfg80211:  DFS Master region: ETSI
[   44.510000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   44.520000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   44.530000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   44.540000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   44.550000] cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
[   44.560000] cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   45.200000] eth1: link up (1000Mbps/Full duplex)
[   45.200000] br-lan: port 1(eth1) entered forwarding state
[   45.210000] br-lan: port 1(eth1) entered forwarding state
[   47.210000] br-lan: port 1(eth1) entered forwarding state
[   47.340000] wlan0: authenticate with f8:8e:85:a5:a1:f4
[   47.360000] wlan0: send auth to f8:8e:85:a5:a1:f4 (try 1/3)
[   47.370000] wlan0: authenticated
[   47.380000] wlan0: associate with f8:8e:85:a5:a1:f4 (try 1/3)
[   47.380000] wlan0: RX AssocResp from f8:8e:85:a5:a1:f4 (capab=0x411 status=0 aid=1)
[   47.390000] wlan0: associated
[   50.720000] random: nonblocking pool is initialized
root@OpenWrt:/#

logread

root@OpenWrt:/# logread
Tue Jan  5 22:49:58 2016 kern.info kernel: [    4.940000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
Tue Jan  5 22:49:58 2016 kern.info kernel: [    4.950000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
Tue Jan  5 22:49:58 2016 kern.info kernel: [    4.980000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
Tue Jan  5 22:49:58 2016 kern.info kernel: [    4.980000] hub 1-0:1.0: USB hub found
Tue Jan  5 22:49:58 2016 kern.info kernel: [    4.990000] hub 1-0:1.0: 1 port detected
Tue Jan  5 22:49:58 2016 kern.info kernel: [    4.990000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Tue Jan  5 22:49:58 2016 kern.info kernel: [    5.000000] ohci-platform: OHCI generic platform driver
Tue Jan  5 22:49:58 2016 kern.info kernel: [    5.010000] usbcore: registered new interface driver usb-storage
Tue Jan  5 22:49:58 2016 user.info kernel: [    5.230000] init: - preinit -
Tue Jan  5 22:49:58 2016 kern.notice kernel: [    5.870000] random: procd urandom read with 9 bits of entropy available
Tue Jan  5 22:49:58 2016 kern.info kernel: [    7.450000] eth1: link up (1000Mbps/Full duplex)
Tue Jan  5 22:49:58 2016 user.info kernel: [    9.090000] mount_root: loading kmods from internal overlay
Tue Jan  5 22:49:58 2016 kern.notice kernel: [    9.350000] jffs2: notice: (391) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Tue Jan  5 22:49:58 2016 user.info kernel: [    9.370000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
Tue Jan  5 22:49:58 2016 user.info kernel: [    9.380000] block: extroot: device not present, retrying in 5 seconds
Tue Jan  5 22:49:58 2016 kern.info kernel: [   11.170000] usb 1-1: new high-speed USB device number 2 using ehci-platform
Tue Jan  5 22:49:58 2016 kern.info kernel: [   11.370000] usb-storage 1-1:1.0: USB Mass Storage device detected
Tue Jan  5 22:49:58 2016 kern.info kernel: [   11.370000] scsi host0: usb-storage 1-1:1.0
Tue Jan  5 22:49:58 2016 kern.notice kernel: [   12.380000] scsi 0:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Tue Jan  5 22:49:58 2016 kern.notice kernel: [   12.390000] scsi 0:0:0:1: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
Tue Jan  5 22:49:58 2016 kern.notice kernel: [   12.410000] sd 0:0:0:1: [sda] Attached SCSI removable disk
Tue Jan  5 22:49:58 2016 kern.notice kernel: [   14.390000] sd 0:0:0:1: [sda] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)
Tue Jan  5 22:49:58 2016 kern.notice kernel: [   14.400000] sd 0:0:0:1: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Tue Jan  5 22:49:58 2016 kern.info kernel: [   14.420000]  sda: sda1
Tue Jan  5 22:49:58 2016 user.err kernel: [   14.430000] block: extroot: cannot find device with UUID 00649b4c-bb6f-4043-98b3-396480d1c553
Tue Jan  5 22:49:58 2016 kern.notice kernel: [   14.480000] jffs2: notice: (388) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Tue Jan  5 22:49:58 2016 user.info kernel: [   14.500000] mount_root: loading kmods from internal overlay
Tue Jan  5 22:49:58 2016 user.info kernel: [   34.580000] mount_root: switching to jffs2 overlay
Tue Jan  5 22:49:58 2016 kern.info kernel: [   34.620000] eth1: link down
Tue Jan  5 22:49:58 2016 user.info kernel: [   34.630000] procd: - early -
Tue Jan  5 22:49:58 2016 user.info kernel: [   34.640000] procd: - watchdog -
Tue Jan  5 22:49:58 2016 user.info kernel: [   35.450000] procd: - ubus -
Tue Jan  5 22:49:58 2016 user.info kernel: [   36.460000] procd: - init -
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.330000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.340000] Backport generated by backports.git backports-20150129-0-gdd4a670
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.350000] nf_conntrack version 0.5.0 (445 buckets, 1780 max)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.400000] xt_time: kernel timezone is -0000
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.410000] usbcore: registered new interface driver cdc_ether
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.450000] cfg80211: Calling CRDA to update world regulatory domain
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.450000] cfg80211: World regulatory domain updated:
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.460000] cfg80211:  DFS Master region: unset
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.460000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.470000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.480000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.490000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.500000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.510000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.520000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.520000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.530000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.540000] ip_tables: (C) 2000-2006 Netfilter Core Team
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.600000] PPP generic driver version 2.4.2
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.610000] NET: Registered protocol family 24
Tue Jan  5 22:49:58 2016 kern.debug kernel: [   37.670000] ath: EEPROM regdomain: 0x0
Tue Jan  5 22:49:58 2016 kern.debug kernel: [   37.670000] ath: EEPROM indicates default country code should be used
Tue Jan  5 22:49:58 2016 kern.debug kernel: [   37.670000] ath: doing EEPROM country->regdmn map search
Tue Jan  5 22:49:58 2016 kern.debug kernel: [   37.670000] ath: country maps to regdmn code: 0x3a
Tue Jan  5 22:49:58 2016 kern.debug kernel: [   37.670000] ath: Country alpha2 being used: US
Tue Jan  5 22:49:58 2016 kern.debug kernel: [   37.670000] ath: Regpair used: 0x3a
Tue Jan  5 22:49:58 2016 kern.debug kernel: [   37.680000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.690000] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb8100000, irq=47
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.700000] cfg80211: Calling CRDA for country: US
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.700000] cfg80211: Regulatory domain changed to country: US
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.710000] cfg80211:  DFS Master region: FCC
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.710000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.720000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.730000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.740000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.750000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
Tue Jan  5 22:49:58 2016 kern.info kernel: [   37.760000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
Tue Jan  5 22:50:00 2016 user.emerg syslog: this file has been obseleted. please call "/sbin/block mount" directly
Tue Jan  5 22:50:00 2016 user.emerg syslog: /sbin/block: line 2: /tmp/overlay/sbin/usbmode: not found
Tue Jan  5 22:50:00 2016 kern.notice kernel: [   42.170000] sd 0:0:0:1: [sda] Synchronizing SCSI cache
Tue Jan  5 22:50:01 2016 kern.info kernel: [   42.200000] usb 1-1: USB disconnect, device number 2
Tue Jan  5 22:50:01 2016 kern.info kernel: [   42.830000] usb 1-1: new high-speed USB device number 3 using ehci-platform
Tue Jan  5 22:50:01 2016 kern.info kernel: [   43.160000] cdc_ether 1-1:1.0 eth2: register 'cdc_ether' at usb-ehci-platform-1, CDC Ethernet Device, 0c:5b:8f:27:9a:64
Tue Jan  5 22:50:02 2016 kern.info kernel: [   43.180000] usb-storage 1-1:1.2: USB Mass Storage device detected
Tue Jan  5 22:50:02 2016 kern.info kernel: [   43.190000] scsi host1: usb-storage 1-1:1.2
Tue Jan  5 22:50:02 2016 daemon.notice netifd: Interface 'lan' is enabled
Tue Jan  5 22:50:02 2016 daemon.notice netifd: Interface 'lan' is setting up now
Tue Jan  5 22:50:02 2016 daemon.notice netifd: Interface 'lan' is now up
Tue Jan  5 22:50:02 2016 daemon.notice netifd: Interface 'loopback' is enabled
Tue Jan  5 22:50:02 2016 daemon.notice netifd: Interface 'loopback' is setting up now
Tue Jan  5 22:50:02 2016 daemon.notice netifd: Interface 'loopback' is now up
Tue Jan  5 22:50:02 2016 daemon.notice netifd: Interface 'wan' is enabled
Tue Jan  5 22:50:02 2016 daemon.notice netifd: Interface 'wan6' is enabled
Tue Jan  5 22:50:02 2016 daemon.notice netifd: Network device 'lo' link is up
Tue Jan  5 22:50:02 2016 daemon.notice netifd: Interface 'loopback' has link connectivity
Tue Jan  5 22:50:02 2016 daemon.notice netifd: Network device 'eth2' link is up
Tue Jan  5 22:50:02 2016 daemon.notice netifd: Interface 'wan' has link connectivity
Tue Jan  5 22:50:02 2016 daemon.notice netifd: Interface 'wan' is setting up now
Tue Jan  5 22:50:02 2016 kern.info kernel: [   43.550000] device eth1 entered promiscuous mode
Tue Jan  5 22:50:02 2016 kern.err kernel: [   43.570000] cdc_ether 1-1:1.0 eth2: kevent 12 may have been dropped
Tue Jan  5 22:50:02 2016 daemon.notice netifd: wan (916): udhcpc (v1.23.2) started
Tue Jan  5 22:50:02 2016 daemon.notice netifd: wan (916): Sending discover...
Tue Jan  5 22:50:03 2016 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Tue Jan  5 22:50:03 2016 kern.notice kernel: [   44.200000] scsi 1:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
Tue Jan  5 22:50:03 2016 kern.notice kernel: [   44.230000] sd 1:0:0:0: [sda] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)
Tue Jan  5 22:50:03 2016 kern.notice kernel: [   44.240000] sd 1:0:0:0: [sda] Write Protect is off
Tue Jan  5 22:50:03 2016 kern.debug kernel: [   44.240000] sd 1:0:0:0: [sda] Mode Sense: 0f 00 00 00
Tue Jan  5 22:50:03 2016 kern.notice kernel: [   44.240000] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Tue Jan  5 22:50:03 2016 kern.info kernel: [   44.260000]  sda: sda1
Tue Jan  5 22:50:03 2016 kern.notice kernel: [   44.280000] sd 1:0:0:0: [sda] Attached SCSI removable disk
Tue Jan  5 22:50:03 2016 kern.info kernel: [   44.500000] cfg80211: Calling CRDA for country: PL
Tue Jan  5 22:50:03 2016 kern.info kernel: [   44.500000] cfg80211: Regulatory domain changed to country: PL
Tue Jan  5 22:50:03 2016 kern.info kernel: [   44.510000] cfg80211:  DFS Master region: ETSI
Tue Jan  5 22:50:03 2016 kern.info kernel: [   44.510000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Tue Jan  5 22:50:03 2016 kern.info kernel: [   44.520000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Tue Jan  5 22:50:03 2016 kern.info kernel: [   44.530000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Tue Jan  5 22:50:03 2016 kern.info kernel: [   44.540000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Tue Jan  5 22:50:03 2016 kern.info kernel: [   44.550000] cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
Tue Jan  5 22:50:03 2016 kern.info kernel: [   44.560000] cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
Tue Jan  5 22:50:03 2016 daemon.notice netifd: Network device 'eth2' link is down
Tue Jan  5 22:50:03 2016 daemon.notice netifd: Interface 'wan' has link connectivity loss
Tue Jan  5 22:50:03 2016 daemon.notice netifd: wan (916): Received SIGTERM
Tue Jan  5 22:50:04 2016 kern.info kernel: [   45.200000] eth1: link up (1000Mbps/Full duplex)
Tue Jan  5 22:50:04 2016 kern.info kernel: [   45.200000] br-lan: port 1(eth1) entered forwarding state
Tue Jan  5 22:50:04 2016 kern.info kernel: [   45.210000] br-lan: port 1(eth1) entered forwarding state
Tue Jan  5 22:50:04 2016 daemon.notice netifd: Network device 'eth1' link is up
Tue Jan  5 22:50:04 2016 daemon.notice netifd: Bridge 'br-lan' link is up
Tue Jan  5 22:50:04 2016 daemon.notice netifd: Interface 'lan' has link connectivity
Tue Jan  5 22:50:04 2016 daemon.notice netifd: radio0 (898): Successfully initialized wpa_supplicant
Tue Jan  5 22:50:06 2016 kern.info kernel: [   47.210000] br-lan: port 1(eth1) entered forwarding state
Tue Jan  5 22:50:06 2016 kern.info kernel: [   47.340000] wlan0: authenticate with f8:8e:85:a5:a1:f4
Tue Jan  5 22:50:06 2016 kern.info kernel: [   47.360000] wlan0: send auth to f8:8e:85:a5:a1:f4 (try 1/3)
Tue Jan  5 22:50:06 2016 kern.info kernel: [   47.370000] wlan0: authenticated
Tue Jan  5 22:50:06 2016 kern.info kernel: [   47.380000] wlan0: associate with f8:8e:85:a5:a1:f4 (try 1/3)
Tue Jan  5 22:50:06 2016 kern.info kernel: [   47.380000] wlan0: RX AssocResp from f8:8e:85:a5:a1:f4 (capab=0x411 status=0 aid=1)
Tue Jan  5 22:50:06 2016 kern.info kernel: [   47.390000] wlan0: associated
Tue Jan  5 22:50:06 2016 daemon.notice netifd: Network device 'eth2' link is up
Tue Jan  5 22:50:06 2016 daemon.notice netifd: Interface 'wan' has link connectivity
Tue Jan  5 22:50:06 2016 daemon.notice netifd: Interface 'wan' is setting up now
Tue Jan  5 22:50:06 2016 daemon.info dnsmasq[1089]: started, version 2.73 cachesize 150
Tue Jan  5 22:50:06 2016 daemon.info dnsmasq[1089]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Tue Jan  5 22:50:06 2016 daemon.info dnsmasq[1089]: DNS service limited to local subnets
Tue Jan  5 22:50:06 2016 daemon.info dnsmasq-dhcp[1089]: DHCP, IP range 192.168.2.100 -- 192.168.2.249, lease time 12h
Tue Jan  5 22:50:06 2016 daemon.info dnsmasq[1089]: using local addresses only for domain lan
Tue Jan  5 22:50:06 2016 daemon.warn dnsmasq[1089]: no servers found in /tmp/resolv.conf.auto, will retry
Tue Jan  5 22:50:06 2016 daemon.info dnsmasq[1089]: read /etc/hosts - 1 addresses
Tue Jan  5 22:50:06 2016 daemon.info dnsmasq[1089]: read /tmp/hosts/dhcp - 1 addresses
Tue Jan  5 22:50:06 2016 daemon.info dnsmasq-dhcp[1089]: read /etc/ethers - 0 addresses
Tue Jan  5 22:50:06 2016 daemon.notice netifd: wan (1109): udhcpc (v1.23.2) started
Tue Jan  5 22:50:06 2016 daemon.notice netifd: wan (1109): Sending discover...
Tue Jan  5 22:50:06 2016 daemon.notice netifd: wan (1109): Sending select for 192.168.8.100...
Tue Jan  5 22:50:06 2016 daemon.notice netifd: wan (1109): Lease of 192.168.8.100 obtained, lease time 86400
Tue Jan  5 22:50:07 2016 daemon.notice netifd: Interface 'wan' is now up
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1089]: reading /tmp/resolv.conf.auto
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1089]: using local addresses only for domain lan
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1089]: using nameserver 192.168.8.1#53
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1089]: using nameserver 192.168.8.1#53
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1089]: exiting on receipt of SIGTERM
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1163]: started, version 2.73 cachesize 150
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1163]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1163]: DNS service limited to local subnets
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq-dhcp[1163]: DHCP, IP range 192.168.2.100 -- 192.168.2.249, lease time 12h
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1163]: using local addresses only for domain lan
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1163]: reading /tmp/resolv.conf.auto
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1163]: using local addresses only for domain lan
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1163]: using nameserver 192.168.8.1#53
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1163]: using nameserver 192.168.8.1#53
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1163]: read /etc/hosts - 1 addresses
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq[1163]: read /tmp/hosts/dhcp - 1 addresses
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq-dhcp[1163]: read /etc/ethers - 0 addresses
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq-dhcp[1163]: DHCPREQUEST(br-lan) 192.168.2.102 a0:d3:c1:6f:6e:a8
Tue Jan  5 22:50:07 2016 daemon.info dnsmasq-dhcp[1163]: DHCPACK(br-lan) 192.168.2.102 a0:d3:c1:6f:6e:a8 SRHP
Tue Jan  5 22:50:07 2016 daemon.warn dnsmasq[1163]: possible DNS-rebind attack detected: mtalk.google.com
Tue Jan  5 22:50:07 2016 daemon.warn dnsmasq[1163]: possible DNS-rebind attack detected: win8.ipv6.microsoft.com
Tue Jan  5 22:50:07 2016 daemon.warn dnsmasq[1163]: possible DNS-rebind attack detected: orsp.f-secure.com
Tue Jan  5 22:50:07 2016 daemon.warn dnsmasq[1163]: possible DNS-rebind attack detected: [url=http://www.google.com]www.google.com[/url]
Tue Jan  5 22:50:08 2016 user.notice firewall: Reloading firewall due to ifup of wan (eth2)
Tue Jan  5 22:50:09 2016 kern.notice kernel: [   50.720000] random: nonblocking pool is initialized
Tue Jan  5 22:50:20 2016 daemon.err block: /dev/mtdblock3 is already mounted
Tue Jan  5 22:50:21 2016 cron.info crond[1250]: crond (busybox 1.23.2) started, log level 5
Tue Jan  5 22:50:21 2016 authpriv.info dropbear[1264]: Not backgrounding
Tue Jan  5 22:50:22 2016 user.emerg syslog: setting up led WAN
Tue Jan  5 22:50:22 2016 user.emerg syslog: setting up led LAN1
Tue Jan  5 22:50:22 2016 user.emerg syslog: setting up led LAN2
Tue Jan  5 22:50:22 2016 user.emerg syslog: setting up led LAN3
Tue Jan  5 22:50:22 2016 user.emerg syslog: setting up led LAN4
Tue Jan  5 22:50:22 2016 user.emerg syslog: setting up led WLAN
Tue Jan  5 22:50:22 2016 user.emerg syslog: setting up led USB
Tue Jan  5 22:50:22 2016 daemon.info procd: - init complete -

i znowu błędy

[   14.430000] block: extroot: cannot find device with UUID 00649b4c-bb6f-4043-98b3-396480d1c553

30

Odp: extroot i E3372 HiLink [CC]

Pokaż mi jeszcze wynik:

cat /sbin/block
ls -al /sbin/bl*

Masz całkiem inną kolejność, tak jak by block ten prawdziwy uruchamiał się wcześniej od tego skryptu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

31

Odp: extroot i E3372 HiLink [CC]

Walka trwa wink

root@OpenWrt:/# cat /sbin/block
#!/bin/sh
/tmp/overlay/sbin/usbmode -s -c /tmp/overlay/etc/usb-mode.json
sleep 20
exec /sbin/block_/block $*
root@OpenWrt:/# ls -al /sbin/bl*
-rwxr-xr-x    1 root     root           109 Jan  5 22:50 /sbin/block

/sbin/block_:
drwxr-xr-x    2 root     root             0 Jan  5 20:28 .
drwxr-xr-x    1 root     root             0 Jan  5 20:28 ..
-rwxr-xr-x    1 root     root         19416 Nov 27 20:37 block

32

Odp: extroot i E3372 HiLink [CC]

Z jakiegoś powodu normalny block wywołuje ci się wcześniej. A nie powinien tego robić.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

33

Odp: extroot i E3372 HiLink [CC]

zatem coś z tym da się zrobić?

jeśli nie - dajmy sobie spokój. Kupię nowy router. Szkoda Twojego i mojego czasu

34

Odp: extroot i E3372 HiLink [CC]

Na razie nie wiem dlaczego nie chce to u ciebie ruszyć.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

35

Odp: extroot i E3372 HiLink [CC]

Niestety u mnie extroot nie działa poprawnie - sprawę sobie odpuściłem.

Dziękuję za dotychczasową pomoc.

36

Odp: extroot i E3372 HiLink [CC]

Witam, mam ten sam problem. Pobadałem trochę temat, i wydaje mi się, iż zaproponowane rozwiązanie nie będzie działać, ze względu na wywołanie komendy block ze squashfs. Zaproponowana metoda jest zapisywana na JFFS2, i zanim zostanie wywołana ta zmieniona już poszło montowanie dysków i jest po ptakach.

37

Odp: extroot i E3372 HiLink [CC]

A u mnie działa. I wielokrotnie to na forum pokazałem.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

38

Odp: extroot i E3372 HiLink [CC]

Na LEDE 17.01-SNAPSHOT + E3372 HiLink + Swap też działa big_smile.

root@LEDE:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.5M      2.5M         0 100% /rom
tmpfs                    29.4M    424.0K     29.0M   1% /tmp
/dev/sda1                 1.7G    390.1M      1.2G  24% /overlay
overlayfs:/overlay        1.7G    390.1M      1.2G  24% /
tmpfs                   512.0K         0    512.0K   0% /dev

root@LEDE:~# free
             total       used       free     shared    buffers     cached
Mem:         60272      46836      13436        424       5844      23948
-/+ buffers/cache:      17044      43228
Swap:       131068          0     131068

root@LEDE:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/sda1 on /overlay type ext4 (rw,relatime,data=ordered)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
TP-Link TL-WDR4300 Mod, CPU 700MHz, Flash 16 MB, Gargoyle 1.5.11.4, extroot + dysk zewnętrzny Samsung (S2), kamerka MS LifeCam HD-5000
TP-Link TL-WR1043ND Mod, RAM 64 MB, chłodzenie pasywne, Gargoyle 1.5.10.14, extroot, kamerka Logitech HD Webcam C270

39

Odp: extroot i E3372 HiLink [CC]

Witam, czy da radę zrobić  extroot  na urządzeniu E3372 HiLink i np MR3420v2 z flash 4M firmware LEDE   na karcie z systemem plików f2fs

TL-MR3420 V2  LEDE 17.01-SNAPSHOT E3372h mod hilink / SpeedStream 4100
Pozdrawiam Andrzej

40

Odp: extroot i E3372 HiLink [CC]

Jak umiesz to zrobić... Lepiej zrób na oddzielnym pendrive.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

41

Odp: extroot i E3372 HiLink [CC]

ansu napisał/a:

Witam, czy da radę zrobić  extroot  na urządzeniu E3372 HiLink i np MR3420v2 z flash 4M firmware LEDE   na karcie z systemem plików f2fs

Tu masz opis krok po kroku, tyle że dla systemu plików ext4 http://eko.one.pl/forum/viewtopic.php?p … 12#p156312

Dodam od siebie że po kilku dniach testowania w/w rozwiązania napotkałem problem. Mianowicie wszystko działa do momentu jak nie odłączę fizycznie prądu od routera TP-Link TL-WR1043ND. Co ciekawe reboot można zrobić i działa. Ale poweroff i odłączenie prądu a następnie podłączenie prądu i już nie działa. Router z wpiętym E3372 HiLink nie podniesie się. Udało mi się naprawić tą sytuację i znowu działało, lecz po kolejnym teście odłączenia prądu, awaria powtórzyła się. Kiedyś "podobny" problem po odłączeniu zasilania miałem z ZyXEL NBG6716 gdzie przyczyna była w /etc/config/fstab gdzie anon_mount było ustawione na 1. Po zmianie na 0 było dobrze. Ostatecznie odpuściłem to rozwiązanie.

TP-Link TL-WDR4300 Mod, CPU 700MHz, Flash 16 MB, Gargoyle 1.5.11.4, extroot + dysk zewnętrzny Samsung (S2), kamerka MS LifeCam HD-5000
TP-Link TL-WR1043ND Mod, RAM 64 MB, chłodzenie pasywne, Gargoyle 1.5.10.14, extroot, kamerka Logitech HD Webcam C270

42 (edytowany przez ansu 2017-11-23 22:40:08)

Odp: extroot i E3372 HiLink [CC]

Na oddzielnym patyku extroot działa. Tylko trzeba hub i dodatkowe zasilanie.
- chciałem spróbować
Na 4M flash z LEDE 17.01-SNAPSHOT, r3566-98c003e i f2fs,  ciężko wszystko zmieścić zmieścić Co instalować czego nie
Karta sformatowana

root@LEDE:~# block info
/dev/mtdblock2: UUID="8bfcbb4c-a4ec1f09-f432d3e9-782fc063" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/mtdblock3: MOUNT="/overlay" TYPE="jffs2"
/dev/sda1: UUID="19f547b4-62bf-4758-bb32-275917bcbb45" VERSION="1.8" TYPE="f2fs"
/dev/sda2: UUID="51fab905-c7f3-4fdd-8b25-70ab4706bcaa" VERSION="1" TYPE="swap"
config 'global'
    option    anon_swap    '0'
    option    anon_mount    '0'
    option    auto_swap    '1'
    option    auto_mount    '1'
    option    delay_root    '5'
    option    check_fs    '0'

config 'mount'
    option    target    '/mnt/sda1'
    option    uuid    '19f547b4-62bf-4758-bb32-275917bcbb45'
    option    enabled    '0'

config 'swap'
    option    uuid    '51fab905-c7f3-4fdd-8b25-70ab4706bcaa'
    option    enabled    '0'
TL-MR3420 V2  LEDE 17.01-SNAPSHOT E3372h mod hilink / SpeedStream 4100
Pozdrawiam Andrzej