1 (edytowany przez Zuzia 2020-08-03 14:50:36)

Temat: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N [ver 1.x, 2x, 4x]
 _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -------------------------------------------------------------------------------------------------
 OpenWrt 19.07 SNAPSHOT with kernel 4.14.187 for TP-Link TL-WR740N / Luci PL
 -------------------------------------------------------------------------------------------------


BusyBox v1.31.1 () built-in shell (ash)

 | Machine: TP-Link TL-WR740N/ND v1                                                              |
 | Uptime: 0d, 00:02:33                                                                          |
 | Load: 1.16 0.68 0.27                                                                          |
 | Flash: total: 448KB, free: 208KB, used: 54%                                                   |
 | Memory: total: 28.0MB, free: 13.2MB, used: 52%                                                |
 | Leases: 1                                                                                     |
 | lan: static, 192.168.1.1                                                                      |
 | wan: dhcp, 192.168.0.9                                                                        |
 | radio0: lan, mode: ap, ssid: tplink, channel: auto, conn: 1                                   |
 -------------------------------------------------------------------------------------------------

Drugie życie dla niegdyś bardzo popularnych routerów z 4 MB Flash smile
OpenWrt 19.07 SNAPHOT z Luci PL (działa płynnie), zmieścił się wpad-basic, harmonogram WiFi, N2N oraz NLBWMON. WiFi aktywne na starcie. Włączony offloading. Brak IPv6. Reszta w opisie.

Obraz dla  TL-WR740N/ND v1x, v2x: https://chomikuj.pl/ZuzannaCK/ROUTERY/T … PSHOT-LUCI
Obraz dla  TL-WR740N/ND v4x: https://chomikuj.pl/ZuzannaCK/ROUTERY/T … PSHOT-LUCI
Są też wersje bez GUI, ale za to z obsługą WiFi Enterprise: https://eko.one.pl/forum/viewtopic.php? … 19#p242319

2

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

Dzięki za kompilacje. Mam problem, nie mogę zainstalować pakietu relayd a potrzebuję stworzyć mostek wwan-lan.

3

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

To weź obraz czysty bez luci. Nie ma w nim miejsca żeby się wszystko zmieściło.

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

4 (edytowany przez Zuzia 2021-05-29 17:28:59)

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

Pakiet jest mały, powinien zmieścić się.

opkg update
opkg install relayd --force-depends
/etc/init.d/relayd enable
/etc/init.d/relayd start
opkg install luci-proto-relay --force-depends
/etc/init.d/uhttpd restart

5

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

A wireguard na tym da rade zainstalować?

6

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

wireguard jest dla 19.07, więc o ile jest tylko jeszcze miejsce na instalację to tak.

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

7

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

to teraz nie wiem czy nie ma miejsca czy się nie da
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-wireguard:
*     libc
* opkg_install_cmd: Cannot install package luci-app-wireguard.

8

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

Tak, zaczyna się robić dziwnie. Nie instaluj apletu do luci tylko sam wireguard.

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

9

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

Niestety nie udało mi się doinstalować WireGuard z poziomu GUI wyświetla informacje, że pakiet kmod-wireguard jest niedostępny.. poszperałem trochę w sieci i znalazłem firmware OpenWrt 19.07 z zaimplementowanym WireGuard ale bez GUI i z wyciętym OPKG:
https://openwrt.ashus.net/19.07.7-targe … wireguard/
Modifications against default tiny packages:
- removed PPP support
- removed OPKG
- added relayd
- added wireguard
- replaced wpad-mini by wpad-basic
Pytanie brzmi, czy do tego firmware jest możliwość wgrać Luci?żeby można było w ludzki sposób tym zarządzać ? Jeśli tak to pytanie jak?

10

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

Nie, nie zmieści się już. Za mało flash.

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

11

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

Cześć,
Fajny temat. Jest kilka podobnych na forum openwrt np:
https://forum.openwrt.org/t/openwrt-19- … tiny-luci/
Można pobawić się i sprawdzić na ile urządzenia 4/32 są nadal używalne w różnych konfiguracjach.

@Zuzia moze podzielisz się "config"'ami - co warto wyrzucić a co zostawić i czy nadal jest stabilnie.
Ja np. używam moich WR740N - 2 x jako most WDS, a jeden jako relayd klient.
Mam kompilacje z:
- Luci,
- replayd,
- wiregaurd,
- statystyki
Wyrzucone:
- IPv6
- dnsmasq
- opkg
- ppp
- firewall (iptables)

Może polecacie jakieś jeszcze optymalizacje ?

Zaciekawił mnie temat na grupie developerskiej:
http://lists.openwrt.org/pipermail/open … 36685.html

Ze oni jeszcze portują kernel 5.10 na urządzenia 4/16 i 4/32

Sergey> I am in the process of migrating ath25 to the 5.10
Sergey> kernel. Initial build was trivial. But I need to restore the
Sergey> Marvel swconfig driver that was lost during the initial 5.10
Sergey> kernel introduction, and carefully run-time test it. I bricked
Sergey> (or possibly broke) my test FON2200 during the last migration to
Sergey> the 5.4. Would you like to volunteer and test the new version as
Sergey> soon as it will be ready?
I have some ath25 devices (some even still providing service as dumb APs), I can test too.
First gen ubiquiti nanostations and accton mr3201a's.
PS: frankly, i don't understand the rush to de-support older devices.

Myślicie ze można zrobić choćby Dump AP na urządzeniach 4/16 ?

12

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

Jakie jeszcze masz urządzenie z 16MB ramu?

Ja bym wyrzucił jeszcze luci, ipv6 (w ogóle wyłączył kompilacją z ipv6)

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

13

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

Pracują od 10 lat(lub więcej)  4 x nanostation 5G - tylko jako mosty WDS. I jeden DIR-300 A1 gdzieś leży.

14 (edytowany przez przemciol 2021-11-23 01:12:39)

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

Ja np. używam moich WR740N - 2 x jako most WDS, a jeden jako relayd klient.
Mam kompilacje z:
- Luci,
- replayd,
- wiregaurd,
- statystyki
Wyrzucone:
- IPv6
- dnsmasq
- opkg
- ppp
- firewall (iptables)

Potrzebuje takiej kompilacji na 4 x , żeby był wireguard i luci, sam robiłeś? Podzielisz się?

15

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

Usuwasz zaleznosc od firewall w LUCI:

diff --git a/collections/luci/Makefile b/collections/luci/Makefile
index 868d72113..e6b9fd3b0 100644
--- a/collections/luci/Makefile
+++ b/collections/luci/Makefile
@@ -13,7 +13,7 @@ LUCI_TITLE:=LuCI interface with Uhttpd as Webserver (default)
 LUCI_DESCRIPTION:=Standard OpenWrt set including full admin with ppp support and the default Bootstrap theme
 LUCI_DEPENDS:= \
        +uhttpd +uhttpd-mod-ubus +luci-mod-admin-full +luci-theme-bootstrap \
-       +luci-app-firewall +luci-app-opkg +luci-proto-ppp +libiwinfo-lua +IPV6:luci-proto-ipv6 \
+       +luci-proto-ppp +libiwinfo-lua +IPV6:luci-proto-ipv6 \
        +rpcd-mod-rrdns

Tu mam widzę pod statystyki, wireguard i vxlany wiec dopasuj do siebie:

CONFIG_TARGET_ath79=y
CONFIG_TARGET_ath79_tiny=y
CONFIG_TARGET_ath79_tiny_DEVICE_tplink_tl-wr740n-v1=y
# CONFIG_BUSYBOX_DEFAULT_FEATURE_IPV6 is not set
# CONFIG_IPV6 is not set
# CONFIG_KERNEL_IPV6 is not set
# CONFIG_PACKAGE_ATH_DFS is not set
CONFIG_PACKAGE_ATH_DYNACK=y
CONFIG_PACKAGE_cgi-io=y
CONFIG_PACKAGE_collectd=y
CONFIG_PACKAGE_collectd-mod-cpu=y
CONFIG_PACKAGE_collectd-mod-interface=y
CONFIG_PACKAGE_collectd-mod-iwinfo=y
CONFIG_PACKAGE_collectd-mod-load=y
CONFIG_PACKAGE_collectd-mod-memory=y
CONFIG_PACKAGE_collectd-mod-network=y
CONFIG_PACKAGE_collectd-mod-ping=y
CONFIG_PACKAGE_collectd-mod-rrdtool=y
# CONFIG_PACKAGE_dnsmasq is not set
# CONFIG_PACKAGE_firewall is not set
CONFIG_PACKAGE_ip-tiny=y
# CONFIG_PACKAGE_iptables is not set
# CONFIG_PACKAGE_kmod-ipt-conntrack is not set
# CONFIG_PACKAGE_kmod-ipt-core is not set
# CONFIG_PACKAGE_kmod-ipt-nat is not set
# CONFIG_PACKAGE_kmod-ipt-offload is not set
CONFIG_PACKAGE_kmod-iptunnel=y
# CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set
# CONFIG_PACKAGE_kmod-nf-conntrack is not set
# CONFIG_PACKAGE_kmod-nf-flow is not set
# CONFIG_PACKAGE_kmod-nf-ipt is not set
# CONFIG_PACKAGE_kmod-nf-ipt6 is not set
# CONFIG_PACKAGE_kmod-nf-nat is not set
# CONFIG_PACKAGE_kmod-nf-reject is not set
# CONFIG_PACKAGE_kmod-ppp is not set
CONFIG_PACKAGE_kmod-udptunnel4=y
CONFIG_PACKAGE_kmod-vxlan=y
CONFIG_PACKAGE_kmod-wireguard=y
# CONFIG_PACKAGE_libip6tc is not set
CONFIG_PACKAGE_libiwinfo-lua=y
CONFIG_PACKAGE_libltdl=y
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_liblucihttp=y
CONFIG_PACKAGE_liblucihttp-lua=y
CONFIG_PACKAGE_libmnl=y
CONFIG_PACKAGE_liboping=y
CONFIG_PACKAGE_librrd1=y
CONFIG_PACKAGE_libubus-lua=y
# CONFIG_PACKAGE_libuclient is not set
CONFIG_PACKAGE_lua=y
CONFIG_PACKAGE_luci=y
CONFIG_PACKAGE_luci-app-statistics=y
CONFIG_PACKAGE_luci-app-watchcat=y
CONFIG_PACKAGE_luci-app-wireguard=y
CONFIG_PACKAGE_luci-base=y
CONFIG_PACKAGE_luci-compat=y
CONFIG_PACKAGE_luci-lib-ip=y
CONFIG_PACKAGE_luci-lib-iptparser=y
CONFIG_PACKAGE_luci-lib-jsonc=y
CONFIG_PACKAGE_luci-lib-nixio=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-mod-network=y
CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-vxlan=y
CONFIG_PACKAGE_luci-proto-wireguard=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
# CONFIG_PACKAGE_opkg is not set
# CONFIG_PACKAGE_ppp is not set
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rpcd-mod-file=y
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
CONFIG_PACKAGE_rpcd-mod-luci=y
CONFIG_PACKAGE_rpcd-mod-rrdns=y
CONFIG_PACKAGE_rrdtool1=y
# CONFIG_PACKAGE_uclient-fetch is not set
CONFIG_PACKAGE_uhttpd=y
CONFIG_PACKAGE_vxlan=y
CONFIG_PACKAGE_watchcat=y
CONFIG_PACKAGE_wireguard-tools=y
CONFIG_PACKAGE_zlib=y

16

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

odświeże kotleta, po instalacji nie mam możliwości ustawić protokołu pppoe dla interfejsu, ktoś pomoże? próbowałem też zainstalować pakiet pppoe ręcznie

17

Odp: OpenWrt 19.07 z Luci PL - TP-Link TL-WR740N/D [ver 1.x, 2x, 4x]

I po co znów piszesz w innym temacie? Założyłeś przecież już jeden wątek.

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