Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- ### colocar este em /etc/persistent/rc.poststart
- #Remove
- ifconfig "ath1" down
- wlanconfig ath1 destroy
- #Recria
- wlanconfig ath1 create wlandev wifi0 wlanmode ap
- iwconfig "ath1" essid "Outro SSID"
- iwpriv "ath1" authmode 1
- iwpriv "ath1" wds 0
- iwpriv "ath1" autowds 0
- iwpriv "ath1" mcastenhance 2
- iwpriv "ath1" ignore11d 1
- iwpriv "ath1" disablecoext 1
- iwpriv "ath1" bgscan 0
- iwpriv "ath1" hide_ssid "0"
- iwpriv "ath1" ap_bridge "1"
- iwconfig "ath1" key off open
- ifconfig ath1 up
Advertisement
Advertisement
Advertisement
RAW Paste Data
Copied
Advertisement