I want to write a script that should disconnect the Wireless driver forcefully from Access point and after some time it should let the driver reconnect to access point .
This can be done using command
" ifconfig wlan down / up "
but i m not sure if it is efficient or not
can please someone tell me, how to do it .