Nobreakspace
Ausstattung
Dienste
Chaotikum
Nobreakspace
Ausstattung
Dienste
Chaotikum
Dies ist eine alte Version des Dokuments!
opkg install 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