Advertisement
ajcorrea

Untitled

Jul 16th, 2013
92
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. ### colocar este em /etc/persistent/rc.poststart
  4.  
  5. #Remove
  6. ifconfig "ath1" down
  7. wlanconfig ath1 destroy
  8. #Recria
  9. wlanconfig ath1 create wlandev wifi0 wlanmode ap
  10. iwconfig "ath1" essid "Outro SSID"
  11. iwpriv "ath1" authmode 1
  12. iwpriv "ath1" wds 0
  13. iwpriv "ath1" autowds 0
  14. iwpriv "ath1" mcastenhance 2
  15. iwpriv "ath1" ignore11d 1
  16. iwpriv "ath1" disablecoext 1
  17. iwpriv "ath1" bgscan 0
  18. iwpriv "ath1" hide_ssid "0"
  19. iwpriv "ath1" ap_bridge "1"
  20. iwconfig "ath1" key off open
  21. ifconfig ath1 up
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement