Here is another (better) workaround I came up with :
I have provided a batch file that determines the status of the d-link
dwl-650 card and automatically restarts the wireless card in the event the
device could not start under Windows XP/2000.
Note: The following batch script is provided as is and you may use it at
your own risk!
The following instructions are intended for 'expert' users and require some
knowledge about batch scripting and devcon (a Microsoft utility found here
http://support.microsoft.com/default...microsoft.com:
80/support/kb/articles/q311/2/72.asp&NoWebContent=1 )
Overview
The batch file searches for the d-link dwl-650+ wireless card and determines
if its running (this is dev_8400 on my machine). You will need determine
the device number using devcon on your machine.
If the wireless card has not started, then the script will disable the
network card, wait 5 seconds and enable it again.
The source code for wait.com by Elmar Hanlhofer
(
http://www.computing.net/dos/wwwboard/forum/13425.html) is attached at the
bottom of this message.
--
Jekan
Source Code
Here is the chk_dwl650.bat file :
----------------------------------------------------------------------------
----
@echo off
devcon status *dev_8400* | find /i "Driver is running" >nul
if errorlevel 1 goto wirelessOFF
if errorlevel 0 goto wirelessON
:wirelessOFF
echo wireless off
devcon disable *dev_8400
wait -s 5 > nul
@echo off
devcon enable *dev_8400
goto end
:wirelessON
echo wireless on
goto end
:end
-------------------------------------------------------------------
Wait.com instructions
Instructions: save the code below into a .bat file and run it. It will
create wait.com in the current directory.
wait_create.bat
----------------------------------------------------------------------------
----------------------------
@echo off
:: Assembler code by Elmar Hanlhofer (aka bitbyte)
echo `h}aXP5y`P]4nP_XW(F4(F6(F=(FF)FH(FL(Fe(FR0FTs*}`A?+,> wait.com
echo fkOU):G*@Crv,*t$HU[rlf~#IubfRfXf(V#fj}fX4{PY$@fPfZsZfI63F>> wait.com
echo \FK\`s[A@@:-L`OM[yzKdlEgT0rJ.5:-P44M@7XFdlEgR0rJ-F'4Q17br>> wait.com
echo Jr_$z@K;=P.1H0rKYMSeIo0bql,eM]h9+jy29a\Nj-[sr8Iv:-hplM?~L>> wait.com
echo @[M\~0RHEjx$$Hn](532w$,AA\'3o(+)03pFjtiOO@LBYN:-Mo)M[TbG[>> wait.com
echo rajDYK4q{{)ix5$(MkGfIA-)=L1Mo)5_U8'/B)Y0rJE(e8zUj'qfUSMTQ>> wait.com
echo ?Cx`6q05b+H8t]H=VG.OMIsX)6Q9MlLbQY/G1Mgzeu$tnr+sX(KfZ}k@f>> wait.com
echo QhX1$Mh[1{$tnr+sX'eQ[]KRSQfLejMgLFp$tnr4'4O3G$,e[RMAJFg\f>> wait.com
echo 'od.$gE2KJu~*hm0gJ$*2v7'4O3Gh_jb5'xAa/(50WpTbLx\-Fmn~T}dg>> wait.com
echo *saac8',N\J9MsFE=Rck\QHg5Q(ey6VMAJFgwIZrQCh7t;lWQb xxHjX9`>> wait.com
echo V.uk*z{Fl)c9[v421dzTxTWcFRoJkAzFSG0Hjr2MK:4jKn[mEK33O}M{*>> wait.com
echo vT0EEL+HYwfOO'*v1K4B_h?5KyeIWgXxLj4r)IOZLF8kR6gJqK )dG9tTB>> wait.com
echo )9=:iLkVZw0FMVeKQ{XEGBuF*HZsrz0LK*?0K(]AHn}jDIO]E;*C21xK->> wait.com
echo Y'FIQ'@_GCb[GE@Q)*M{-q`H[gn}4Y,F,GCUk6F'Q3xKJw,?4Y,F,)9\@>> wait.com
echo ZGC_p)0LT`D0LKJ9HZtG1K4'.=)9=:Y0LR0_H[Q}AH?bCy0A?Y$0CaTXK>> wait.com
echo QCz6M-RO@4RjI50C]mLKeq}@MhBNM0A?Y'0CaESJp=@+1YW$'Irs,WI:]>> wait.com
echo M/0E1@$@k}X)MLTQ?0FMY[0C]lSKm$F_8kmpS1[v8W$)pudF7{{/t$fJb>> wait.com
echo $$.z`#>> wait.com