Shell Script to stop DLink PCI wireless lan card DWL 520 (Debian Linux)

by on April 10, 2008 · 0 comments

  1. #!/bin/sh
  2. # Script to stop DLink PCL wireless lan card DWL 520
  3. # ----------------------------------------------------------------
  4. # Copyright (c) 2006 nixCraft <http://cyberciti.biz/fb/>
  5. # This script is licensed under GNU GPL version 2.0 or above
  6. # -------------------------------------------------------------------------
  7. # This script is part of nixCraft shell script collection (NSSC)
  8. # Visit http://bash.cyberciti.biz/ for more information.
  9. # See url for more info:
  10. # http://www.cyberciti.biz/tips/linux-install-and-configure-dlink-dwl-g-520-wireless-lan-pci-card.html
  11. # -------------------------------------------------------------------------
  12.  
  13. # unload driver (DLink 520/rt61)
  14. rmmod rt61
  15.  
  16. #clear firwall
  17. iptables -F
  18. iptables -X
  19. iptables -t nat -F
  20. iptables -t nat -X
  21. iptables -t mangle -F
  22. iptables -t mangle -X
  23.  
  24. # append your other stuff below


4000+ howtos and counting! If you enjoyed this article, join 45000+ others and get free email updates!

Click here to subscribe via email.

Previous Script:

Next Script: