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

by on April 10, 2008 · 0 comments

#!/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:
# http://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
4000+ howtos and counting! If you enjoyed this article, join 45000+ others and get free email updates!

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes for UNIX commands or shell scripts: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 8 + 8 ?
Please leave these two fields as-is:
Are you a human being? Solve the simple math so we know that you are a human and not a script.



Tagged as: driver dlink, firwall, gnu gpl version, linux, mangle, pci card, script collection, shell script, wireless lan card

Previous Script:

Next Script: