LEDE: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
V (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
F (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (30 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
Router: [[Openwrt]] | [[LEDE]] | [[Libre Mesh]] | [[qMp]] | |||
= Befehle = | |||
<source lang=bash> | |||
# Netzwerkkonifguration anzeigen | |||
uci show network | |||
uci show wireless | |||
uci show firewall | |||
# routen ausgeben | |||
ip route | |||
# wlan scannen | |||
iwinfo wlan0 scan | |||
iwinfo | |||
iw wlan0 info | |||
iw wlan0 scan dump | |||
iw wlan0 mpp dump | |||
iw wlan0 mpath dump | |||
iw wlan0 station dump | |||
iw wlan0 survey dump | |||
# Netzwerkprogramm iftop | |||
opkg install iftop | |||
iftop | |||
</source> | |||
= Installation = | |||
== Installatioin auf TL-WR1043ND v4.x == | |||
* https://lede-project.org/toh/hwdata/tp-link/tp-link_tl-wr1043nd_v4 | |||
* https://lede-project.org/toh/start Table of Hardware | |||
* https://wiki.openwrt.org/toh/tp-link/tl-wr1043nd Installation anleitung | |||
* download | |||
<source lang=bash> | |||
wget http://downloads.lede-project.org/releases/17.01.2/targets/ar71xx/generic/lede-17.01.2-ar71xx-generic-tl-wr1043nd-v4-squashfs-factory.bin | |||
wget http://downloads.lede-project.org/releases/17.01.2/targets/ar71xx/generic/lede-17.01.2-ar71xx-generic-tl-wr1043nd-v4-squashfs-sysupgrade.bin | |||
# sysupgrade alternativ beim ersten mal factory.bin nutzen | |||
scp lede-17.01.2-ar71xx-generic-tl-wr1043nd-v4-squashfs-sysupgrade.bin root@192.168.10.1:/tmp/ | |||
ssh root@192.168.10.1 | |||
sysupgrade -n lede-17.01.2-ar71xx-generic-tl-wr1043nd-v4-squashfs-sysupgrade.bin | |||
</source> | |||
= Adblock = | = Adblock = | ||
<source lang=bash> | |||
opkg install adblock | |||
opkg install luci-app-adblock | |||
</source> | |||
==Manuell== | ==Manuell== | ||
https://blog.doenselmann.com/werbung-direkt-auf-openwrt-router-blocken/ | https://blog.doenselmann.com/werbung-direkt-auf-openwrt-router-blocken/ | ||
| Zeile 12: | Zeile 66: | ||
https://yro.slashdot.org/story/15/08/26/225239/how-to-keep-microsofts-nose-out-of-your-personal-data-in-windows-10 | https://yro.slashdot.org/story/15/08/26/225239/how-to-keep-microsofts-nose-out-of-your-personal-data-in-windows-10 | ||
=== Block Files von irgenwelchen ... === | |||
http://someonewhocares.org/hosts/ | |||
= Hardware = | |||
== Ubiquiti Unifi | AP AC Lite == | |||
* Firmware durch Lede erseztzen | |||
** Anschluss des AP AC LITE an einen Router | |||
nmap -sP 192.168.1.1/24 | |||
Nmap scan report for 192.168.1.104 | |||
Host is up (-0.095s latency). | |||
MAC Address: F0:9F:C2:7C:2F:C8 (Ubiquiti Networks) | |||
ssh ubnt@192.168.1.104 | |||
pw: ubnt | |||
** Download: | |||
https://downloads.lede-project.org/releases/17.01.2/targets/ar71xx/generic/ | |||
* ubnt-unifiac-lite-squashfs-sysupgrade.bin | |||
** Image kopieren | |||
scp lede-17.01.2-ar71xx-generic-ubnt-unifiac-lite-squashfs-sysupgrade.bin ubnt@192.168.1.104:/tmp/ | |||
ssh ubnt@192.168.1.104:/tmp/ | |||
BZ.v3.4.14# | |||
** Beide Befehle hintereinander ausführen!!! | |||
mtd write /tmp/lede-17.01.2-ar71xx-generic-ubnt-unifiac-lite-squashfs-sysupgrade.bin kernel0 | |||
mtd -r write /tmp/lede-17.01.2-ar71xx-generic-ubnt-unifiac-lite-squashfs-sysupgrade.bin kernel1 | |||
Die Verbindung wird unterbrochen Login in Lede: | |||
ssh root@192.168.1.1 | |||
Aktuelle Version vom 20. April 2020, 09:10 Uhr
Router: Openwrt | LEDE | Libre Mesh | qMp
Befehle
# Netzwerkkonifguration anzeigen
uci show network
uci show wireless
uci show firewall
# routen ausgeben
ip route
# wlan scannen
iwinfo wlan0 scan
iwinfo
iw wlan0 info
iw wlan0 scan dump
iw wlan0 mpp dump
iw wlan0 mpath dump
iw wlan0 station dump
iw wlan0 survey dump
# Netzwerkprogramm iftop
opkg install iftop
iftop
Installation
Installatioin auf TL-WR1043ND v4.x
- https://lede-project.org/toh/hwdata/tp-link/tp-link_tl-wr1043nd_v4
- https://lede-project.org/toh/start Table of Hardware
- https://wiki.openwrt.org/toh/tp-link/tl-wr1043nd Installation anleitung
- download
wget http://downloads.lede-project.org/releases/17.01.2/targets/ar71xx/generic/lede-17.01.2-ar71xx-generic-tl-wr1043nd-v4-squashfs-factory.bin
wget http://downloads.lede-project.org/releases/17.01.2/targets/ar71xx/generic/lede-17.01.2-ar71xx-generic-tl-wr1043nd-v4-squashfs-sysupgrade.bin
# sysupgrade alternativ beim ersten mal factory.bin nutzen
scp lede-17.01.2-ar71xx-generic-tl-wr1043nd-v4-squashfs-sysupgrade.bin root@192.168.10.1:/tmp/
ssh root@192.168.10.1
sysupgrade -n lede-17.01.2-ar71xx-generic-tl-wr1043nd-v4-squashfs-sysupgrade.bin
Adblock
opkg install adblock
opkg install luci-app-adblock
Manuell
https://blog.doenselmann.com/werbung-direkt-auf-openwrt-router-blocken/
Direkt vom Router
wget --no-check-certificate https://gist.githubusercontent.com/teffalump/7227752/raw/af7d3d365426731015e99698a93e1a072a7da4ba/adblock.sh
mit opkg
https://github.com/openwrt/packages/tree/master/net/adblock/files
speziell z.B Windows updates
https://github.com/crazy-max/WindowsSpyBlocker https://yro.slashdot.org/story/15/08/26/225239/how-to-keep-microsofts-nose-out-of-your-personal-data-in-windows-10
Block Files von irgenwelchen ...
http://someonewhocares.org/hosts/
Hardware
Ubiquiti Unifi | AP AC Lite
- Firmware durch Lede erseztzen
- Anschluss des AP AC LITE an einen Router
nmap -sP 192.168.1.1/24 Nmap scan report for 192.168.1.104 Host is up (-0.095s latency). MAC Address: F0:9F:C2:7C:2F:C8 (Ubiquiti Networks)
ssh ubnt@192.168.1.104
pw: ubnt
- Download:
https://downloads.lede-project.org/releases/17.01.2/targets/ar71xx/generic/
- ubnt-unifiac-lite-squashfs-sysupgrade.bin
- Image kopieren
scp lede-17.01.2-ar71xx-generic-ubnt-unifiac-lite-squashfs-sysupgrade.bin ubnt@192.168.1.104:/tmp/ ssh ubnt@192.168.1.104:/tmp/
BZ.v3.4.14#
- Beide Befehle hintereinander ausführen!!!
mtd write /tmp/lede-17.01.2-ar71xx-generic-ubnt-unifiac-lite-squashfs-sysupgrade.bin kernel0 mtd -r write /tmp/lede-17.01.2-ar71xx-generic-ubnt-unifiac-lite-squashfs-sysupgrade.bin kernel1
Die Verbindung wird unterbrochen Login in Lede:
ssh root@192.168.1.1