LEDE: Unterschied zwischen den Versionen
Aus Vosp.info
F (Diskussion | Beiträge) (→Befehle) |
F (Diskussion | Beiträge) (→VPN) |
||
Zeile 48: | Zeile 48: | ||
=VPN = | =VPN = | ||
+ | |||
+ | |||
+ | |||
==Anleitungen== | ==Anleitungen== | ||
https://blog.doenselmann.com/openvpn-server-auf-openwrt-router-betreiben/ | https://blog.doenselmann.com/openvpn-server-auf-openwrt-router-betreiben/ | ||
Zeile 56: | Zeile 59: | ||
opkg update | opkg update | ||
opkg install openvpn-openssl | opkg install openvpn-openssl | ||
+ | </source> | ||
+ | |||
+ | |||
+ | === riseup === | ||
+ | |||
+ | * /etc/openvpn/RiseupCA.pem | ||
+ | |||
+ | * openvpn starten | ||
+ | <source lang=bash> | ||
+ | openvpn --client --dev tun --auth-user-pass --remote vpn.riseup.net 1194 --keysize 256 --auth SHA256 --cipher AES-256-CBC --ca /etc/openvpn/RiseupCA.pem | ||
</source> | </source> | ||
Version vom 11. August 2017, 17:22 Uhr
Inhaltsverzeichnis
Befehle
# Netzwerkkonifguration anzeigen
uci show network
uci show wireless
uci show firewall
# 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
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/
VPN
Anleitungen
https://blog.doenselmann.com/openvpn-server-auf-openwrt-router-betreiben/ http://www.kammerath.net/openwrt-mit-openvpn-client.html
ssh root@192.168.1.1
opkg update
opkg install openvpn-openssl
riseup
- /etc/openvpn/RiseupCA.pem
- openvpn starten
openvpn --client --dev tun --auth-user-pass --remote vpn.riseup.net 1194 --keysize 256 --auth SHA256 --cipher AES-256-CBC --ca /etc/openvpn/RiseupCA.pem
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