Go Back   Wireless and Wifi Forums > News > Newsgroups > alt.internet.wireless
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-05-2007, 04:48 PM
john Voight
Guest
 
Posts: n/a
Default Wireless Repair

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
  #2 (permalink)  
Old 03-05-2007, 06:24 PM
John Navas
Guest
 
Posts: n/a
Default Re: Wireless Repair

On 5 Mar 2007 09:48:00 -0800, "john Voight" <attackack@yahoo.com> wrote
in <1173116879.000747.258290@n33g2000cwc.googlegroups .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
  #3 (permalink)  
Old 03-06-2007, 03:05 PM
john Voight
Guest
 
Posts: n/a
Default Re: Wireless Repair

> 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
  #4 (permalink)  
Old 03-06-2007, 03:50 PM
John Navas
Guest
 
Posts: n/a
Default Re: Wireless Repair

On 6 Mar 2007 08:05:59 -0800, "john Voight" <attackack@yahoo.com> wrote
in <1173197159.744246.214840@t69g2000cwt.googlegroups .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
  #5 (permalink)  
Old 03-06-2007, 04:07 PM
Kev
Guest
 
Posts: n/a
Default Re: Wireless Repair

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
  #6 (permalink)  
Old 03-06-2007, 04:22 PM
John Navas
Guest
 
Posts: n/a
Default Re: Wireless Repair

On Tue, 06 Mar 2007 17:07:55 +0000, Kev <invalid@invalid.invalid> wrote
in <3LqdnZQ7RIBCAnDYnZ2dnUVZ8q2dnZ2d@bt.com>:

>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
  #7 (permalink)  
Old 03-06-2007, 06:19 PM
john Voight
Guest
 
Posts: n/a
Default Re: Wireless Repair


> 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
  #8 (permalink)  
Old 03-06-2007, 06:44 PM
John Navas
Guest
 
Posts: n/a
Default Re: Wireless Repair

On 6 Mar 2007 11:19:26 -0800, "john Voight" <attackack@yahoo.com> wrote
in <1173208765.957526.255510@s48g2000cws.googlegroups .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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WiMAX Forum News, Weekly Clip Report March 22-29, 2007 badger_b@hotmail.com alt.internet.wireless 0 03-31-2007 01:14 AM
CFP: WIRELESS APPLICATIONS AND COMPUTING 2007 natty2006@gmail.com alt.internet.wireless 0 01-18-2007 03:35 PM
From Internet to Wireless Fidelity (Wi-Fi): A Study of Wi-Fi Public Hotspots Users. EsPUdeh@gmail.com alt.internet.wireless 1 07-31-2006 08:26 PM
Re: HELP - can reach ISP through cable, not through wireless ? Bob Newheart alt.internet.wireless 0 08-01-2005 10:53 PM
Hacking attempt? MoNk Wireless Networking Discussion 1 05-11-2005 09:21 AM


All times are GMT. The time now is 11:31 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45