1

Temat: SAMPLE(NEXX) WT3020

Witajcie.
Jestem osobą która nie zna się na linuxie ale chciałbym na ww ruterze podłączyć dysk twardy w obudowie na usb 3.0 tak, żeby był widoczny w sieci jako serwer multimedialny. Tak, żeby był widoczny na TV oraz na telefonach w aplikacji np VLC i jeszcze żeby przez sieć było można przesyłać na dysk pliki z komputera

Obecnie używam do strumieniowania z kompa programu Serviio i TV fajnie widzi to jako ~dysk multimedialny(chyba)


Siedzę już przy tym prawie cały dzień i za cholere nie mogę sobie dać rady...
Wgrałem luci-17.01-snapshot-r3948-5886a5060a-ramips-mt7620-wt3020-8M-squashfs-sysupgrade.bin

Próbowałem wgrać dodatek minidlna przez www i przez PuTTY i mimo wolnego na początku operacji 1.62MB na koniec po wgrywaniu wywala mi błędy
Collected errors:
* verify_pkg_installable: Only have 956kb available on filesystem /overlay, pkg libffmpeg-mini needs 1093
* opkg_install_cmd: Cannot install package minidlna.

na początku chciałem usunąć jakieś składniki i niestety ale usunięcie jakiegokolwiek składnika jak pewnie wiecie zabierało mi z pamięci kolejne cenne KB...

Dużo się naczytałem i niestety ale to jest trudne i niezrozumiałe. 

Może wcale nie jest mi potrzebny ten składnik tylko jakiś inny?

2

Odp: SAMPLE(NEXX) WT3020

Zainstaluj wersję bez luci będzie więcej wolnego miejsca, ale pewnie i tak nie starczy. Więc najpierw zrób extroota a później instaluj to co chcesz (sambę i minidlna). Możesz potrzebować hub usb żeby podłączyć oba nośniki.

Zauważ że taki zestaw zbytnio wydajny nie będzie.

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

3

Odp: SAMPLE(NEXX) WT3020

Cezary napisał/a:

Zauważ że taki zestaw zbytnio wydajny nie będzie.

Czy orientujesz się jak bardzo niewydajny? Da rade przez to ogladac filmy w 480p no max 720p?

4

Odp: SAMPLE(NEXX) WT3020

Może się dać. Musisz pamiętać że to minidla nie robi transkodowania pliku tylko leci format jaki jaki jest.

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

5

Odp: SAMPLE(NEXX) WT3020

Dziekuje za pomoc. Jednak sobie to odpuszcze bo za dużo tego wszystkiego jak na mój tępy mózg big_smile

6

Odp: SAMPLE(NEXX) WT3020

hejka, podepne sie pod temat
wlasnie przyszedl do mnie sample wt3020, wgralem factory wersja 8mb 18.06 bez gui, teraz niby lampki mrugaja, ale ethernet nie wstaje (fizycznie) a wifi nie widac, cos ktos ?

7

Odp: SAMPLE(NEXX) WT3020

Naciśnij reset na 20s i poczekaj. jeżeli się zrestartuje to sprawdź. Jak nie - ubiłeś, więc konwerter szeregowy, rozbierasz, lutujesz, reanimujesz przez bootloader.

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

8 (edytowany przez miguelos 2018-11-20 15:39:01)

Odp: SAMPLE(NEXX) WT3020

jak ubilem? tzn ze zrobilem cos zle ? wgrywalem obraz nexx 3020

9

Odp: SAMPLE(NEXX) WT3020

No tak po prostu. Zdarza się i na tplinkach i na masie innych urządzeń. Jeżeli nie odpowiada to dopóki nie podłączysz konsoli to się nie dowiemy co go boli.

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

10

Odp: SAMPLE(NEXX) WT3020

eh, widac za malo jeszcze wrzucalem firmware'ow smile na jakies <10 routerow i nigdy wiekszych problemow nie bylo (poza wgraniem zlego obrazu smile)

11 (edytowany przez miguelos 2019-02-06 00:32:46)

Odp: SAMPLE(NEXX) WT3020

udalo mi sie w koncu podpiac konsole... otoz wszystko niby ok, ale po zaladowaniu systemu nie dziala zarowno wifi jak i eth (logread nie reaguje na wpinanie kabla pod WAN/LAN), wifi down/up - wyrzucalo cos w stylu wifi is disabled.
niestety z tej czesci nie zapisal mi sie log, samo bootowanie poniezej :

U-Boot 1.1.3 (Jan  3 2014 - 09:12:42)

MAX Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb4000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
spi_wait_nsec: 29
spi device id: ef 40 17 0 0 (40170000)
find flash: W25Q64BV
raspi_read: from:30000 len:1000
raspi_read: from:30000 len:1000
============================================
Ralink UBoot Version: 4.1.1.0
--------------------------------------------
ASIC 7620_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Jan  3 2014  Time:09:12:42
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

 ##### The CPU freq = 580 MHZ ####
 estimate memory size =64 Mbytes

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.                    0

3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
   Image Name:   MIPS OpenWrt Linux-4.14.77
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1439246 Bytes =  1.4 MB
   Load Address: 80000000
   Entry Point:  80000000
raspi_read: from:50040 len:15f60e
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64

Starting kernel ...

[    0.000000] Linux version 4.14.77 (cezary@eko.one.pl) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7353-486dc7583d)) #0 Fri Oct 19 08:00:48 2018
[    0.000000] Board has DDR1
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7620N ver:2 eco:6
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Nexx WT3020 (8M)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] random: get_random_bytes called from 0x8042672c with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=0003832f
[    0.000000] Readback ErrCtl register=0003832f
[    0.000000] Memory: 60252K/65536K available (3596K kernel code, 179K rwdata, 464K rodata, 168K init, 214K bss, 5284K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 580MHz
[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[    0.000000] systick: enable autosleep mode
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.015469] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.087721] pid_max: default: 32768 minimum: 301
[    0.097143] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110166] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.129089] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.148560] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.160738] pinctrl core: initialized pinctrl subsystem
[    0.172350] NET: Registered protocol family 16
[    0.185953] Can't analyze schedule() prologue at 8037eea0
[    0.214051] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.225073] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.237657] rt2880_gpio 10000660.gpio: registering 32 gpios
[    0.248649] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[    0.261233] rt2880_gpio 10000688.gpio: registering 1 gpios
[    0.272053] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[    0.289255] clocksource: Switched to clocksource systick
[    0.300893] NET: Registered protocol family 2
[    0.310447] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.324219] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.336807] TCP: Hash tables configured (established 1024 bind 1024)
[    0.349575] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.361082] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.373777] NET: Registered protocol family 1
[    0.385013] rt-timer 10000100.timer: maximum frequency is 1220Hz
[    0.397750] Crashlog allocated RAM at address 0x3f00000
[    0.409819] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.428576] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.440064] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.469851] io scheduler noop registered
[    0.477492] io scheduler deadline registered (default)
[    0.488699] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.504247] console [ttyS0] disabled
[    0.511290] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[    0.530964] console [ttyS0] enabled
[    0.530964] console [ttyS0] enabled
[    0.544782] bootconsole [early0] disabled
[    0.544782] bootconsole [early0] disabled
[    0.561322] cacheinfo: Failed to find cpu0 device node
[    0.571591] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.591125] spi spi0.0: force spi mode3
[    0.608446] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.618075] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.630736] Creating 4 MTD partitions on "spi0.0":
[    0.640290] 0x000000000000-0x000000030000 : "u-boot"
[    0.651088] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.662571] 0x000000040000-0x000000050000 : "factory"
[    0.673563] 0x000000050000-0x000000800000 : "firmware"
[    1.623091] 2 uimage-fw partitions found on MTD device firmware
[    1.634922] 0x000000050000-0x0000001af64e : "kernel"
[    1.645672] 0x0000001af64e-0x000000800000 : "rootfs"
[    1.656427] mtd: device 5 (rootfs) set to be root filesystem
[    1.669311] 1 squashfs-split partitions found on MTD device rootfs
[    1.681656] 0x00000045b000-0x000000800000 : "rootfs_data"
[    1.694052] libphy: Fixed MDIO Bus: probed
[    1.707045] gsw: setting port4 to ephy mode
[    1.715646] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[    1.728143] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    1.745300] rt2880_wdt 10000120.watchdog: Initialized
[    1.756809] NET: Registered protocol family 10
[    1.770036] Segment Routing with IPv6
[    1.777440] NET: Registered protocol family 17
[    1.786393] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.812221] 8021q: 802.1Q VLAN Support v1.8
[    1.821944] hctosys: unable to open rtc device (rtc0)
[    1.842864] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.857873] Freeing unused kernel memory: 168K
[    1.866750] This architecture does not have kernel memory protection.
[    2.679209] random: fast init done
[    3.333144] init: Console is alive
[    3.340220] init: - watchdog -
[    6.211946] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.517978] usbcore: registered new interface driver usbfs
[    6.529071] usbcore: registered new interface driver hub
[    6.539777] usbcore: registered new device driver usb
[    6.581009] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.602593] SCSI subsystem initialized
[    6.615079] ehci-platform: EHCI generic platform driver
[    6.635852] phy phy-usbphy.0: remote usb device wakeup disabled
[    6.647672] phy phy-usbphy.0: UTMI 16bit 30MHz
[    6.656542] ehci-platform 101c0000.ehci: EHCI Host Controller
[    6.668027] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    6.683927] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    6.704394] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    6.717970] hub 1-0:1.0: USB hub found
[    6.725861] hub 1-0:1.0: 1 port detected
[    6.737049] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.751017] ohci-platform: OHCI generic platform driver
[    6.761770] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    6.775371] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    6.791263] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    6.829333] hub 2-0:1.0: USB hub found
[    6.837283] hub 2-0:1.0: 1 port detected
[    6.852635] usbcore: registered new interface driver usb-storage
[    6.866802] usbcore: registered new interface driver uas
[    6.878175] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.896683] init: - preinit -
[    8.494611] 8021q: adding VLAN 0 to HW filter on device eth0
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3[    8.654676] random: procd: uninitialized urandom read (4 bytes read)
] or [4] key and hit [enter] to select the debug level
[    9.902956] mount_root: loading kmods from internal overlay
[    9.949456] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    9.965095] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   12.201874] jffs2: notice: (409) jffs2_build_xattr_subsystem: complete building xattr subsystem, 11 of xdatum (2 unchecked, 9 orphan) and 19 of xref (9 dead, 1 orphan) found.
[   12.233819] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   12.256004] block: extroot: not configured
[   12.795991] jffs2: notice: (407) jffs2_build_xattr_subsystem: complete building xattr subsystem, 11 of xdatum (2 unchecked, 9 orphan) and 19 of xref (9 dead, 1 orphan) found.
[   14.023406] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   14.042547] block: extroot: not configured
[   14.052169] mount_root: switching to jffs2 overlay
[   14.095618] overlayfs: upper fs does not support tmpfile.
[   14.113295] urandom-seed: Seeding with /etc/urandom.seed
[   14.269447] procd: - early -
[   14.275363] procd: - watchdog -
[   14.871065] procd: - watchdog -
[   14.877613] procd: - ubus -
[   15.262116] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.354828] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.368068] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.381801] procd: - init -
Please press Enter to activate this console.
[   15.942816] kmodloader: loading kernel modules from /etc/modules.d/*
[   15.974448] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.999453] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   16.015472] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   16.033270] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.054868] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   16.139610] xt_time: kernel timezone is -0000
[   16.222510] PPP generic driver version 2.4.2
[   16.233853] NET: Registered protocol family 24
[   16.274811] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[   16.289274] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[   16.304735] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[   16.341618] kmodloader: done loading kernel modules from /etc/modules.d/*
[   17.409472] urandom_read: 5 callbacks suppressed
[   17.409482] random: jshn: uninitialized urandom read (4 bytes read)
[   25.822396] 8021q: adding VLAN 0 to HW filter on device eth0
[   25.856861] br-lan: port 1(eth0.1) entered blocking state
[   25.867849] br-lan: port 1(eth0.1) entered disabled state
[   25.878971] device eth0.1 entered promiscuous mode
[   25.888551] device eth0 entered promiscuous mode
[   25.981368] br-lan: port 1(eth0.1) entered blocking state
[   25.992185] br-lan: port 1(eth0.1) entered forwarding state
[   26.003487] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   26.921538] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   60.882601] random: crng init done

12

Odp: SAMPLE(NEXX) WT3020

Bootlog jest normalny. Wifi musisz najpierw włączyć w konfigu - http://eko.one.pl/?p=openwrt-konfigurac … czaniewifi

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

13

Odp: SAMPLE(NEXX) WT3020

Jeszcze jedno - podłącz kabel i zobacz czy swconfig dev switch0 show pokazuje go podłączonrgo.

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

14

Odp: SAMPLE(NEXX) WT3020

swconfig nie pokazuje nic, ale wifi wstalo..

root@OpenWrt:/# swconfig dev switch0
swconfig list
swconfig dev <dev> [port <port>|vlan <vlan>] (help|set <key> <value>|get <key>|load <config>|show)

15

Odp: SAMPLE(NEXX) WT3020

swconfig dev switch0 show

nie

swconfig dev switch0

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

16

Odp: SAMPLE(NEXX) WT3020

alarm odwolany, dzieki Cezary
eth nie dzialalo, bo okazalo sie, ze w lapku mam uwalone (rok temu byl zalany), wifi domyslnie wylaczone..
na szczescie zmobilizowalem sie i kupilem USBtoTTL, przyda sie na przyszlosc
wszystko dziala i bangla