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

in Categories Script last updated April 10, 2008
#!/bin/sh
# Script to stop DLink PCL wireless lan card DWL 520
# ----------------------------------------------------------------
# Copyright (c) 2006 nixCraft <http://cyberciti.biz/fb/>
# This script is licensed under GNU GPL version 2.0 or above
# -------------------------------------------------------------------------
# This script is part of nixCraft shell script collection (NSSC)
# Visit http://bash.cyberciti.biz/ for more information.
# See url for more info:
# https://www.cyberciti.biz/tips/linux-install-and-configure-dlink-dwl-g-520-wireless-lan-pci-card.html
# -------------------------------------------------------------------------
 
# unload driver (DLink 520/rt61)
rmmod rt61
 
#clear firwall
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
 
# append your other stuff below

Share this on: