SEARCH :

Custom Search

Sunday, July 20, 2008

Switch Between IPWRAW and IWL3945

On my previous post, i promise to post about the script to switch between ipwraw driver and iwl3945 driver for intel wireless card. There is the script..


switch to ipwraw :
===========begin=================

#!/bin/bash
echo "Unload Module..."
modprobe -r iwl3945
modprobe -r mac80211
modprobe -r ieee80211
echo "Load ipwraw module..."
modprobe ieee80211
modprobe mac80211
modprobe ipwraw
echo "Activing Monitor mode.."
ifconfig wifi0 up
airmon-ng start wifi0

==========end====================

switch to iwl3945

===========begin=================

#!/bin/bash
echo "Unload iwl3945 Module..."
airmon-ng stop wifi0
modprobe -r ipwraw
modprobe -r iwl3945
modprobe -r mac80211
modprobe -r ieee80211
echo "Load iwl3945 Module..."
modprobe ieee80211
modprobe mac80211
modprobe iwl3945
echo "Checking.."
ifconfig

============end==================

You may be need a few modification to this script.. i hope this will be usefull..

1 comment:

Anonymous said...

good work man