Zum Inhalt springen

Benutzer:Overflo/Pastebin: Unterschied zwischen den Versionen

Overflo (Diskussion | Beiträge)
K hat Benutzer:Overflo/Todo nach Benutzer:Overflo/Pastebin verschoben: weils eigentlich mehr eine zwischenablage ist ..
Overflo (Diskussion | Beiträge)
K repeater script change
Zeile 30: Zeile 30:
#!/bin/sh
#!/bin/sh


TARGET="deinnetz"


set TARGET="deinnetz"


killall -9 udhcpc
killall dnsmasq


killall -9 udhcpc


killall dnsmasq
# flush netfilter tables
# flush netfilter tables
iptables -F
iptables -F
Zeile 45: Zeile 45:




# create new VAPs devices
 
wlanconfig ath0 destroy
wlanconfig ath0 destroy
wlanconfig ath1 destroy
wlanconfig ath1 destroy
Zeile 52: Zeile 52:
# VAP ath0 as Access Point
# VAP ath0 as Access Point
wlanconfig ath0 create wlandev wifi0 wlanmode ap
wlanconfig ath0 create wlandev wifi0 wlanmode ap
# nosbeacon .. arghl..
wlanconfig ath1 create wlandev wifi0 wlanmode sta nosbeacon  
wlanconfig ath1 create wlandev wifi0 wlanmode sta nosbeacon  


Zeile 60: Zeile 62:


#externes DHCP?
#externes DHCP?
udhcpc -i ath1
udhcpc -t 3 -b -i ath1