Benutzer-Werkzeuge

Webseiten-Werkzeuge


hackerspace:tueroeffner-dir300

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung
hackerspace:tueroeffner-dir300 [15.06.2018 20:42] – Externe Bearbeitung 127.0.0.1hackerspace:tueroeffner-dir300 [18.10.2019 10:56] (aktuell) – gelöscht tcatm
Zeile 1: Zeile 1:
-opkg install kmod-ipv6 
  
-config 'interface' 'loopback' 
- option 'ifname' 'lo' 
- option 'proto' 'static' 
- option 'ipaddr' '127.0.0.1' 
- option 'netmask' '255.0.0.0' 
- 
-config 'interface' 'lan' 
- option 'type' 'bridge' 
- option 'proto' 'static' 
- option 'ipaddr' '192.168.1.1' 
- option 'netmask' '255.255.255.0' 
- option 'ifname' 'eth0.1' 
- 
-config 'switch' 'eth0' 
- option 'name' 'eth0' 
- option 'reset' '1' 
- option 'enable_vlan' '1' 
- 
-config 'switch_vlan' 'eth0_1' 
- option 'device' 'eth0' 
- option 'vlan' '1' 
- option 'ports' '0 1 2 3 5t' 
- 
-config 'switch_vlan' 'eth0_2' 
- option 'device' 'eth0' 
- option 'vlan' '2' 
- option 'ports' '4 5t' 
- 
-config 'interface' 'wan' 
- option 'proto' 'dhcp' 
- 
- 
- 
-config wifi-device  wifi0 
- option type     atheros 
- option regdom nz 
- 
-config wifi-iface 
- option device wifi0 
- option network wan 
- option mode sta 
- option ssid  nbsp 
- option encryption psk2 
- option key h0lstent0r 
- 
- 
-#!/bin/sh 
- 
-gpioctl dirout 1 
-gpioctl dirout 3 
- 
-gpioctl clear 1 
-gpioctl clear 3 
- 
-while true; do 
-        gpioctl get 4 
- 
-        if test $? -eq 1; then 
-           gpioctl clear 1 
-           gpioctl set 3 
-           echo open | nc 2a01:170:1112:0:bad8:12ff:fe66:fa6 6004 
-           S=$? 
-           gpioctl clear 3 
-           if test $S -eq 0; then 
-            gpioctl set 1 
-           sleep 1 
-            gpioctl clear 1 
-           fi 
-        fi 
- 
-done 
hackerspace/tueroeffner-dir300.1529095366.txt.gz · Zuletzt geändert: 04.01.2021 00:58 (Externe Bearbeitung)