Networking Forums

Networking Forums > Wireless Networking > Wireless Internet > Wireless Repair

Reply
Thread Tools Display Modes

Wireless Repair

 
 
john Voight
Guest
Posts: n/a

 
      03-05-2007, 04:48 PM
I need to know how the "Repair" process work and which calls do it to
the system. I want to implement the "Repair" process using C++ or,
better, if I could to call this process directly from Windows XP. My
wireless connection work fine at startup but if this connection go
down only a "Repair" call can establish it again.

 
Reply With Quote
 
 
 
 
John Navas
Guest
Posts: n/a

 
      03-05-2007, 06:24 PM
On 5 Mar 2007 09:48:00 -0800, "john Voight" <(E-Mail Removed)> wrote
in <(E-Mail Removed) .com>:

>I need to know how the "Repair" process work and which calls do it to
>the system. I want to implement the "Repair" process using C++ or,
>better, if I could to call this process directly from Windows XP. My
>wireless connection work fine at startup but if this connection go
>down only a "Repair" call can establish it again.


See the script at <http://wireless.wikia.com/wiki/FixDHCP_script>, which
essentially does the Repair process, but uses release/renew instead of
disable/enable.

--
Best regards, FAQ for Wireless Internet: <http://Wireless.wikia.com>
John Navas FAQ for Wi-Fi: <http://wireless.wikia.com/wiki/Wi-Fi>
Wi-Fi How To: <http://wireless.wikia.com/wiki/Wi-Fi_HowTo>
Fixes to Wi-Fi Problems: <http://wireless.wikia.com/wiki/Wi-Fi_Fixes>
 
Reply With Quote
 
john Voight
Guest
Posts: n/a

 
      03-06-2007, 03:05 PM
> See the script at <http://wireless.wikia.com/wiki/FixDHCP_script>, which
> essentially does the Repair process, but uses release/renew instead of
> disable/enable.


I've seen that script but don't work like "Repair". I do a simple
thing: At boot my notebook wireless is connected with no ploblems. If
I close this connection that script is unable to reconnect it and the
Repair yes. What is the difference between the script and Repair? Do
you know the Repair procedure or where is possible to find it?

 
Reply With Quote
 
John Navas
Guest
Posts: n/a

 
      03-06-2007, 03:50 PM
On 6 Mar 2007 08:05:59 -0800, "john Voight" <(E-Mail Removed)> wrote
in <(E-Mail Removed) .com>:

>> See the script at <http://wireless.wikia.com/wiki/FixDHCP_script>, which
>> essentially does the Repair process, but uses release/renew instead of
>> disable/enable.

>
>I've seen that script but don't work like "Repair". I do a simple
>thing: At boot my notebook wireless is connected with no ploblems. If
>I close this connection that script is unable to reconnect it and the
>Repair yes. What is the difference between the script and Repair? Do
>you know the Repair procedure or where is possible to find it?


The only thing Repair does differently that would affect your issue is
disable-enable. (It also flushes caches at the end, but that wouldn't
have any bearing on your issue.)

As a developer (?) you should know that the script points you in the
right direction and can be easily adapted to other purposes. All you
have to do is look up (say) the RenewDHCPLease Method in the script on
MSDN to see what other Methods are available in the
Win32_NetworkAdapterConfiguration Class and the adjacent
Win32_NetworkAdapter Class. (Hint: Disable and Enable are Methods of
the parent Win32_NetworkAdapter Class.)

--
Best regards, FAQ for Wireless Internet: <http://Wireless.wikia.com>
John Navas FAQ for Wi-Fi: <http://wireless.wikia.com/wiki/Wi-Fi>
Wi-Fi How To: <http://wireless.wikia.com/wiki/Wi-Fi_HowTo>
Fixes to Wi-Fi Problems: <http://wireless.wikia.com/wiki/Wi-Fi_Fixes>
 
Reply With Quote
 
Kev
Guest
Posts: n/a

 
      03-06-2007, 04:07 PM
john Voight wrote:
> I need to know how the "Repair" process work and which calls do it to
> the system. I want to implement the "Repair" process using C++ or,
> better, if I could to call this process directly from Windows XP. My
> wireless connection work fine at startup but if this connection go
> down only a "Repair" call can establish it again.
>

Apart from "Academic Exercise" why do you wish to do this?
It doesn't get much simpler than rt click on the wireless icon, in
system tray, and choose "Repair" from the menu.
 
Reply With Quote
 
John Navas
Guest
Posts: n/a

 
      03-06-2007, 04:22 PM
On Tue, 06 Mar 2007 17:07:55 +0000, Kev <(E-Mail Removed)> wrote
in <(E-Mail Removed)>:

>john Voight wrote:
>> I need to know how the "Repair" process work and which calls do it to
>> the system. I want to implement the "Repair" process using C++ or,
>> better, if I could to call this process directly from Windows XP. My
>> wireless connection work fine at startup but if this connection go
>> down only a "Repair" call can establish it again.
>>

>Apart from "Academic Exercise" why do you wish to do this?
>It doesn't get much simpler than rt click on the wireless icon, in
>system tray, and choose "Repair" from the menu.


Sounds like he needs or wants to automate the process so he doesn't have
to keep doing that manually. But frankly I think a much better bet
would be to fix whatever is causing the connection to need repair.

--
Best regards, FAQ for Wireless Internet: <http://Wireless.wikia.com>
John Navas FAQ for Wi-Fi: <http://wireless.wikia.com/wiki/Wi-Fi>
Wi-Fi How To: <http://wireless.wikia.com/wiki/Wi-Fi_HowTo>
Fixes to Wi-Fi Problems: <http://wireless.wikia.com/wiki/Wi-Fi_Fixes>
 
Reply With Quote
 
john Voight
Guest
Posts: n/a

 
      03-06-2007, 06:19 PM

> Sounds like he needs or wants to automate the process so he doesn't have
> to keep doing that manually. But frankly I think a much better bet
> would be to fix whatever is causing the connection to need repair.
>


Exact. I need to automate this process becouse I have two pc running
24H and connected with internet a quarter of the day. If I aren't near
the pc's I want to be sure they are connected to the net. In case the
connection go down I need a process that restablish it.
Answering to your "question" where you say "a developer (?)" i can say
that at moment I use VC6 and is impossible to implement .NET with it
and I can't to use a lot of code that can help to control wireless
adapters. I could upgrade my VC but I consider it, for some kind of
programming, better than the new Visual Studio products. I would to
use the WRAPI.dll but it require header files that are in the SDK for
Vista, and I have XP. I can change all to upgrade everytime there is a
new version of OS or Developing tools. Some days ago I wrote a code
that enable/disable adapter, reset cache repair IP address e
reregister DNS and update the lease DCHP. I think this could be enough
but "Repair" work better than my code and, hear, than your script. I
can see that "Repair" connect at first shot and just when it enable
the adapter calling the wireless zero configurazion process. Here is
my doubt. What are its magic calls that repair the connection very
well. At last I can't find any error in my wireless connection and in
my wireless configuration. To be most precise this errors are not
always I open a connection but sometime and without cause. It crash
always if I set my pc in StandBy or Suspended mode and after I restart
it again. This kind of problems happens only when I use wep or wpa and
is ok if I set the wireless connection as "open".This make me to think
the problem is in the protected login. Any idea, genius (?) ;-)




 
Reply With Quote
 
John Navas
Guest
Posts: n/a

 
      03-06-2007, 06:44 PM
On 6 Mar 2007 11:19:26 -0800, "john Voight" <(E-Mail Removed)> wrote
in <(E-Mail Removed) .com>:

>> Sounds like he needs or wants to automate the process so he doesn't have
>> to keep doing that manually. But frankly I think a much better bet
>> would be to fix whatever is causing the connection to need repair.

>
>Exact. I need to automate this process becouse I have two pc running
>24H and connected with internet a quarter of the day. If I aren't near
>the pc's I want to be sure they are connected to the net. In case the
>connection go down I need a process that restablish it.


Windows XP will do that automagically by itself. If that's not
happening, then you probably have serious signal issues that should be
fixed, which would make more sense (IMnsHO at least) than trying to
automate Repair. Get thee high-gain directional antenna(s).

>but "Repair" work better than my code and, hear, than your script. I


Don't agree -- my tests of Disable-Enable worked just as well as Repair.

>can see that "Repair" connect at first shot and just when it enable
>the adapter calling the wireless zero configurazion process. Here is


Don't think so.

>my doubt. What are its magic calls that repair the connection very


There are no "magic" calls.

>well. At last I can't find any error in my wireless connection and in
>my wireless configuration. To be most precise this errors are not


You've obviously got a serious problem, or you wouldn't need to Repair
the connection. I suggest you focus on that, and not waste time looking
for "magic".

>always I open a connection but sometime and without cause. It crash


What does "crash" mean? The computer locks up? BSOD? Spontaneous
reboot? What?

>always if I set my pc in StandBy or Suspended mode and after I restart
>it again. This kind of problems happens only when I use wep or wpa and
>is ok if I set the wireless connection as "open".This make me to think
>the problem is in the protected login. Any idea, genius (?) ;-)


Sounds like a driver issue. Try a better wireless product.
Cheap, fast, reliable -- pick any two (at most).

--
Best regards, FAQ for Wireless Internet: <http://Wireless.wikia.com>
John Navas FAQ for Wi-Fi: <http://wireless.wikia.com/wiki/Wi-Fi>
Wi-Fi How To: <http://wireless.wikia.com/wiki/Wi-Fi_HowTo>
Fixes to Wi-Fi Problems: <http://wireless.wikia.com/wiki/Wi-Fi_Fixes>
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless card always needs repair Shehbaz Afzal Wireless Networks 4 07-14-2007 12:36 PM
repair your wireless connection Gavin Wireless Networks 2 02-12-2006 11:42 AM
wireless connection needs constant repair opxidaea Wireless Networks 1 12-09-2005 12:26 AM
Wireless repair error message Aitionn Wireless Networks 0 10-28-2005 06:53 PM
inability to repair wireless network Perry Broadband Hardware 4 10-16-2004 07:21 PM



1 2 3 4 5 6 7 8 9 10 11