TP-Link TL-SG108E with Linux: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
David (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „=jar besorgen= http://www.tp-link.com/en/search/?exact=1&q=TL-SG108E#tbl_d *unter windows installiern Datei:EasySmart.jpg *danach die Easy Smart Configura…“) |
David (Diskussion | Beiträge) |
||
Zeile 5: | Zeile 5: | ||
[[Datei:EasySmart.jpg]] | [[Datei:EasySmart.jpg]] | ||
*danach die Easy Smart Configuration Utility.exe auf das linux system kopieren | *danach die Easy Smart Configuration Utility.exe auf das linux system kopieren | ||
− | *exe durch jar erstzen | + | *.exe durch .jar erstzen |
+ | mv Easy\ Smart\ Configuration\ Utility.exe Easy\ Smart\ Configuration\ Utility.ja | ||
+ | *einen starter erstellen | ||
+ | vi tp.sh | ||
+ | |||
+ | |||
+ | #!bin/bash | ||
+ | your_ip="192.168.241.115" | ||
+ | echo 1 > /proc/sys/net/ipv4/ip_forward. | ||
+ | iptables -t nat -A PREROUTING -p udp -d 255.255.255.255 --dport 29809 -j DNAT --to $your_ip:29809 | ||
+ | java -jar "Easy Smart Configuration Utility.jar" | ||
+ | iptables -t nat -D PREROUTING -p udp -d 255.255.255.255 --dport 29809 -j DNAT --to $your_ip:29809 | ||
+ | exit | ||
+ | |||
+ | *java 8 mus installiert sein | ||
+ | unter ubuntu 14.04 | ||
+ | add-apt-repository ppa:webupd8team/java | ||
+ | apt-get update | ||
+ | apt-get install oracle-java8-installer | ||
+ | |||
+ | *starten | ||
+ | sh tp.sh |
Aktuelle Version vom 29. Februar 2016, 10:35 Uhr
jar besorgen
http://www.tp-link.com/en/search/?exact=1&q=TL-SG108E#tbl_d
- unter windows installiern
- danach die Easy Smart Configuration Utility.exe auf das linux system kopieren
- .exe durch .jar erstzen
mv Easy\ Smart\ Configuration\ Utility.exe Easy\ Smart\ Configuration\ Utility.ja
- einen starter erstellen
vi tp.sh
#!bin/bash your_ip="192.168.241.115" echo 1 > /proc/sys/net/ipv4/ip_forward. iptables -t nat -A PREROUTING -p udp -d 255.255.255.255 --dport 29809 -j DNAT --to $your_ip:29809 java -jar "Easy Smart Configuration Utility.jar" iptables -t nat -D PREROUTING -p udp -d 255.255.255.255 --dport 29809 -j DNAT --to $your_ip:29809 exit
- java 8 mus installiert sein
unter ubuntu 14.04
add-apt-repository ppa:webupd8team/java apt-get update apt-get install oracle-java8-installer
- starten
sh tp.sh