101 (edytowany przez Cezary 2019-08-19 16:32:50)

Odp: Netgear R6220 instalacje OpenWrt

Może być i reboot.

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

102

Odp: Netgear R6220 instalacje OpenWrt

No właśnie chciałbym na przyszłość unikać 'reboot'. Jak inaczej? Którą usługę zrestartować?

103

Odp: Netgear R6220 instalacje OpenWrt

Logu oczywiście.

/etc/init.d/log restart

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

104

Odp: Netgear R6220 instalacje OpenWrt

Dzięki.
Oczywista oczywistość. wink

105

Odp: Netgear R6220 instalacje OpenWrt

Czy trzeba przed wgraniem openwrt zaktualizować ruter do wersji 1-1-0-86 ze strony producenta? druga kwestia, na stronie https://dl.eko.one.pl/firmware jest tam kilka plików do pobrania w rożnych zakładkach Kernel-Image ,Root-Images, Supgrade, chciałbym zainstalować Gargoyle PL 1.11, czy mam wybrać  squashfs-kernel.bin i squashfs-rootfs.bin i postępować według instrukcji ze strony https://github.com/openwrt/openwrt/comm … 9cfc8cf267. Nie za bardzo wiem co wybrać.

106

Odp: Netgear R6220 instalacje OpenWrt

Tak, masz wybrać te pliki które mają kernel.bin i rootfs.bin w nazwie. A dalej postępować wg instrukcji.

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

107

Odp: Netgear R6220 instalacje OpenWrt

Co robię nie tak że nie mogę zainstalować Gargoyle na ww routerze? Pendrive sformatowany pod   windows XP jak jako FAT (widoczny poprzez oprogramowanie factory)

 ls /mnt/shares/ to find out of your USB disk. 'myUdisk' for example.
ls: to: No such file or directory
ls: find: No such file or directory
ls: out: No such file or directory
ls: of: No such file or directory
ls: your: No such file or directory
ls: USB: No such file or directory
ls: disk.: No such file or directory
ls: myUdisk: No such file or directory
ls: for: No such file or directory
ls: example.: No such file or directory
/mnt/shares/:
U

108

Odp: Netgear R6220 instalacje OpenWrt

I co robisz najlepszego? smile samo "ls /mnt/shares/"  żeby znaleźć nazwę dysku a nie "ls /mnt/shares/ to find out path of your USB disk - 'myUdisk' for example"

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

109

Odp: Netgear R6220 instalacje OpenWrt

Coś mi nie wychodzi sad

# ls /mnt/shares/
U
#
# cd /mnt/shares/myUdisk
-sh: cd: can't cd to /mnt/shares/myUdisk
#
# mtd_write write rootfs.bin Rootfs
getFileSize: No such file or directory
Couldn't open image file: rootfs.bin!
#
# mtd_write write kernel.bin Kernel
getFileSize: No such file or directory
Couldn't open image file: kernel.bin!

110

Odp: Netgear R6220 instalacje OpenWrt

Jeszcze raz: robisz ls /mnt/shares/ wychodzi nazwa "U". Robisz więc

cd /mnt/shares/U

a nie /mnt/shares/myUdisk. myUdisk to przykładowa nazwa pendrive którą miał gościu który to pisał.

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

111

Odp: Netgear R6220 instalacje OpenWrt

Zrobiłem taki myk

R6220 login: admin

Password:
Welcome to
    _______  _______  ___     __  ____   _  _   ___
    |  ___  \|   __  ||   |   |__||    \ | || | /  /
    | |___| ||  |__| ||   |__  __ |     \| || |/  /
    |   _   /|   _   ||      ||  || |\     ||     \
    |__| \__\|__| |__||______||__||_| \____||_|\___\

                     =System Architecture Department=

#
# ls /mnt/shares/
U
#
# cd /mnt/shares/U
#
# mtd_write write rootfs.bin Rootfs
getFileSize: No such file or directory
Couldn't open image file: rootfs.bin!
#
# mtd_write write gargoyle-1.11.0.4-ramips-mt7621-r6220-squashfs-rootfs.bin
Usage: mtd [<options> ...] <command> [<arguments> ...] <device>

The device is in the format of mtdX (eg: mtd4) or its label.
mtd recognizes these commands:
        unlock                  unlock the device
        erase                   erase all data on device
        write <imagefile>|-     write <imagefile> (use - for stdin) to device
Following options are available:
        -q                      quiet mode (once: no [w] on writing,
                                           twice: no status messages)
        -r                      reboot after successful command
        -e <device>             erase <device> before executing the command
        -v                      output writing info. (1 more -v would output HTML format.)
        -o <num>                file offset
        -l <num>                length in file
        -w                      read after write action to check
Example: To write linux.trx to mtd4 labeled as linux and reboot afterwards
         mtd -r write linux.trx linux

#
# mtd_write write gargoyle-1.11.0.4-ramips-mt7621-r6220-squashfs-kernel.bin
Usage: mtd [<options> ...] <command> [<arguments> ...] <device>

The device is in the format of mtdX (eg: mtd4) or its label.
mtd recognizes these commands:
        unlock                  unlock the device
        erase                   erase all data on device
        write <imagefile>|-     write <imagefile> (use - for stdin) to device
Following options are available:
        -q                      quiet mode (once: no [w] on writing,
                                           twice: no status messages)
        -r                      reboot after successful command
        -e <device>             erase <device> before executing the command
        -v                      output writing info. (1 more -v would output HTML format.)
        -o <num>                file offset
        -l <num>                length in file
        -w                      read after write action to check
Example: To write linux.trx to mtd4 labeled as linux and reboot afterwards
         mtd -r write linux.trx linux

#
#reboot 

i bez zmian?

112

Odp: Netgear R6220 instalacje OpenWrt

Po cd /mnt/shares/U

zrób ls

Jak wyświetlą ci się pliki to ok, jak nie - to nie masz ich na pendrive lub pendrive nie został rozpoznany przez system.

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

113

Odp: Netgear R6220 instalacje OpenWrt

Jest coś takiego

 
Password:
Welcome to
    _______  _______  ___     __  ____   _  _   ___
    |  ___  \|   __  ||   |   |__||    \ | || | /  /
    | |___| ||  |__| ||   |__  __ |     \| || |/  /
    |   _   /|   _   ||      ||  || |\     ||     \
    |__| \__\|__| |__||______||__||_| \____||_|\___\

                     =System Architecture Department=

#
# ls /mnt/shares/
U
#
# cd /mnt/shares/U
#
# mtd_write write gargoyle-1.11.0.4-ramips-mt7621-r6220-squashfs-rootfs.bin
Usage: mtd [<options> ...] <command> [<arguments> ...] <device>

The device is in the format of mtdX (eg: mtd4) or its label.
mtd recognizes these commands:
        unlock                  unlock the device
        erase                   erase all data on device
        write <imagefile>|-     write <imagefile> (use - for stdin) to device
Following options are available:
        -q                      quiet mode (once: no [w] on writing,
                                           twice: no status messages)
        -r                      reboot after successful command
        -e <device>             erase <device> before executing the command
        -v                      output writing info. (1 more -v would output HTML format.)
        -o <num>                file offset
        -l <num>                length in file
        -w                      read after write action to check
Example: To write linux.trx to mtd4 labeled as linux and reboot afterwards
         mtd -r write linux.trx linux

#
# mtd_write write gargoyle-1.11.0.4-ramips-mt7621-r6220-squashfs-kernel.bin
Usage: mtd [<options> ...] <command> [<arguments> ...] <device>

The device is in the format of mtdX (eg: mtd4) or its label.
mtd recognizes these commands:
        unlock                  unlock the device
        erase                   erase all data on device
        write <imagefile>|-     write <imagefile> (use - for stdin) to device
Following options are available:
        -q                      quiet mode (once: no [w] on writing,
                                           twice: no status messages)
        -r                      reboot after successful command
        -e <device>             erase <device> before executing the command
        -v                      output writing info. (1 more -v would output HTML format.)
        -o <num>                file offset
        -l <num>                length in file
        -w                      read after write action to check
Example: To write linux.trx to mtd4 labeled as linux and reboot afterwards
         mtd -r write linux.trx linux

#
# ls
gargoyle-1.11.0.4-ramips-mt7621-r6220-squashfs-kernel.bin
gargoyle-1.11.0.4-ramips-mt7621-r6220-squashfs-rootfs.bin

114

Odp: Netgear R6220 instalacje OpenWrt

mtd_write write gargoyle-1.11.0.4-ramips-mt7621-r6220-squashfs-rootfs.bin Rootfs
mtd_write write gargoyle-1.11.0.4-ramips-mt7621-r6220-squashfs-kernel.bin Kernel

Nie uzupełniłeś argumentów w poleceniu.

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

115 (edytowany przez jarek7714 2019-09-04 20:26:44)

Odp: Netgear R6220 instalacje OpenWrt

Dzięki, jak zwykle Cezary celnie potrafisz rozmawiać z tym linuxem big_smile . Ten poradnik instalacji jest "średni" dla laików, chyba Twój będzie lepszy smile

 R6220 login: admin

Password:
Welcome to
    _______  _______  ___     __  ____   _  _   ___
    |  ___  \|   __  ||   |   |__||    \ | || | /  /
    | |___| ||  |__| ||   |__  __ |     \| || |/  /
    |   _   /|   _   ||      ||  || |\     ||     \
    |__| \__\|__| |__||______||__||_| \____||_|\___\

                     =System Architecture Department=

#
# ls /mnt/shares/
U
#
# cd /mnt/shares/U
#
# mtd_write write gargoyle-1.11.0.4-ramips-mt7621-r6220-squashfs-rootfs.bin Root
fs
Unlocking Rootfs ...
Writing from gargoyle-1.11.0.4-ramips-mt7621-r6220-squashfs-rootfs.bin to Rootfs ...  [w]
#
# mtd_write write gargoyle-1.11.0.4-ramips-mt7621-r6220-squashfs-kernel.bin Kern
el
Unlocking Kernel ...
Writing from gargoyle-1.11.0.4-ramips-mt7621-r6220-squashfs-kernel.bin to Kernel ...  [w]
#
# reboot

, zmienną może być wykrywana pamięć (u mnie jako "U") i oczywiście oprogramowanie. P.S Co jest z tymi routerami "nie halo"? Że są dostępne w cenie odzieży na wagę. smile

116

Odp: Netgear R6220 instalacje OpenWrt

Bo są to używki pewnie sprowadzane kontenerem w cenie złomu. Ciesz się że są smile

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

117

Odp: Netgear R6220 instalacje OpenWrt

Cześć panowie - pozwólcie, że się podepnę pod temat.
Dzisiaj odebrałem swoj routerek, po paru benchmarkach stocka i upgrade do najnowszej wersji wpadło OpenWRT, po włączeniu hw nat offloadu routerek wysyca internet 700/700Mbps po kablu bez problemu tak jak na stocku, ale pojawił się inny problem.

Tak wyglądają prędkości wifi ac z wifi na ethernet i na odwrót (-R to eth->wifi) na stocku:
https://i.imgur.com/sp2Hg5H.png
Tak wyglądają na OpenWRT:
https://i.imgur.com/b27Ludo.png

Ktoś zna rozwiązanie? Albo jakąś opcję optymalizacyjną? Będzie mi brakować tych 100Mbps, to spory spadek.
Próbowałem się troche pobawić opcjami w LuCI, ale jedyne co udało mi się osiągnąć, to pogorszenie prędkości hmm
Ten 100Mbps spadek występuje po stronie downloadu na urządzeniu końcowym, więc to router "wolno" nadaje, ze słuchaniem nie ma problemu.

118

Odp: Netgear R6220 instalacje OpenWrt

offloading włączyłeś ? u mnie lan -> wifi 414Mbps sprawdzane smartfonem

Dom : router https://i.imgur.com/IuB6Zwy.png | TP-LINK T1700G-28TQ |Zyxel XGS-1210-12 | Dynalink WRX-36 | wax50 pro | rb hex poe gbit sfp | XPenology | kilka kamer reolink 5MP i jakieś tam jeszcze ustrojstwa połączone światłowodami, skrętką i wifi ,  apc smart ups 750 lcd smile
Podróżne : GL.Inet MT3000  zyxel nsa325 +6TB @ openwrt
http://tinyurl.com/bufferbloattest

119

Odp: Netgear R6220 instalacje OpenWrt

W sensie NAT offload? Tak, nawet o tym napisalem + nie powinien nic tutaj zmienic, bo to ruch po LAN - bez NATu.

120

Odp: Netgear R6220 instalacje OpenWrt

czym się łączysz do niego ? te dwie opcje to nie tylko nat odciążają ;p , spróbuj wyłączyć hw offloading i zobacz

Dom : router https://i.imgur.com/IuB6Zwy.png | TP-LINK T1700G-28TQ |Zyxel XGS-1210-12 | Dynalink WRX-36 | wax50 pro | rb hex poe gbit sfp | XPenology | kilka kamer reolink 5MP i jakieś tam jeszcze ustrojstwa połączone światłowodami, skrętką i wifi ,  apc smart ups 750 lcd smile
Podróżne : GL.Inet MT3000  zyxel nsa325 +6TB @ openwrt
http://tinyurl.com/bufferbloattest

121

Odp: Netgear R6220 instalacje OpenWrt

Przy wyłączonym dokładnie to samo.
iperfy są z lapka z kartą Intel Wireless-AC 7260
Na telefonie duzo sie nie rozni wydajnosc, delikatnie nizsza jest.

122

Odp: Netgear R6220 instalacje OpenWrt

Przeportowali na 19.07 budowę obrazu "factory", który będzie pozwalał na wgranie openwrt tak po prostu z poziomu gui netgeara. Będzie od następnego wydania.

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

123 (edytowany przez gegu 2019-09-21 22:22:44)

Odp: Netgear R6220 instalacje OpenWrt

Potwierdzam, działa obraz factory snapshota przez www.

rt-ac56u tomato, 2x wdr3600@16MB/u-boot pepe2k/lede, 2x wt3020f@16MB/e3372s/gargoyle/lede, 3x wr841n@16MB/64MB/u-boot pepe2k/lede, rt-n18u tomato, 2x rb750gr2 ROS, 3x rb750gr3 ROS, Unifi ap ac lr

124

Odp: Netgear R6220 instalacje OpenWrt

Jakaś promocja jest na allegro (smart week) - r6220 są po 64zł.

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

125

Odp: Netgear R6220 instalacje OpenWrt

A nawet po 61 zł są. big_smile

Mam i używam: Fujitsu Futro S720, Netgear R6220, Unielec U7621-06, TP-Linki 1043 V1, V2, Linksysy EA7500v2, AeroHive AP350, Linksys EA8500, ZTE MF286d.
Mam: D-Linki DWR-921, DWR-118, DWR-116, TP-Link WDR-4900 v1, Checkpoint L-50, Linksysy 1900ACS, LB-Link BL-W1200,