LEDE

Aus Vosp.info
Wechseln zu:Navigation, Suche

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

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