Identifying a router

message from Janiv Ratson on 6 Jun 2004
Hi,
I have written a program that set an ICS on an XP PC.
Now I want to add a new feature (very important one).
I want my program to identify when a user connects its PC to a router.

My not good solution was, to search for DHCP server in the network, though,
the ICS DHCP is the one server that always identified by my program.
If I manually cancel the ICS, than my program recognize my router.
I want my program to do it automatically, I want it to recognize that a PC
with an ICS is now connected to a router, and get a new IP address.

I can programatically remove ICS and than my program identify the router,
but I dont want to use this solution. Hence, I dont wanna remove the ICS
manually any time my program is loaded.

Your help is really needed,
10x,
Janiv Ratson.
 
andyc69 replied to Janiv Ratson on 7 Jun 2004
I'm very confused by what you are trying to acheive. Why are you using ICS
if you have a router?

Could you give some more details on the problem you have (rather than what
you think you need to do) and then it might be easier to suggest a solution
to you.

AndyC
 
Janiv Ratson replied to andyc69 on 8 Jun 2004
I have a program that sit on a clients PC.
The specific situation we'r talking about is a case that a user has an ICS
installed and 2 PCz.
Now, the user goes to store, buy a router and put the cables in (connect the
2 PCz to the router).
The user know nothing(I mean NOTHING) about computers and networks, my
program should automatically recognize the router, and remove the ICS so the
PCz will B connected via Router.

My program's problem is that while ICS is runing on my XP machine, I cannot
identify the router, becuase my identification is made by seeking for a dhcp
server (I M not sure it is the best solution, I'll B glad to know others),
and the ICS DHCP is the one that the XP machine identify (while the other
machine, which is win98 and does not have ICS installed, or chekced,
identifies the router DHCP server).

I hope I made my clear ,,,
10xx for your help all.
Janiv.

<andyc69@tiscali.co.uk> wrote in message
news:%23k7InzLTEHA.3552@TK2MSFTNGP09.phx.gbl...
 
Jim Macklin replied to Janiv Ratson on 8 Jun 2004
Can your client read the name of the router from the label?
Did the cable get plugged into the correct ports on the
router, on a 4 port router there are 5 RJ45 connectors, one
is for the Internet, the other 4 are for the LAN.
 
Janiv Ratson replied to Jim Macklin on 8 Jun 2004
I want it all to be programmatically.
The cable is plugged well.

10x,
Need more help ....
Please ......

J.
"Jim Macklin" <p51mustang[threeX12]@xxxhotmail.calm> wrote in message
news:OXLC7rUTEHA.384@TK2MSFTNGP10.phx.gbl...
 
Jim Macklin replied to Janiv Ratson on 8 Jun 2004
Get a better client, if the client can't answer the simple
question, "What does it say on the label?" they certainly
are too stupid to even have a computer, telephone or a
business.

If the program is installed on the client's PC you may have
to travel to the client's location and do the configuration
personally, or hire a qualified "hacker" to do the job.

"Janiv Ratson" <janiv@aoe6.net> wrote in message
news:%2323jzJVTEHA.3844@TK2MSFTNGP11.phx.gbl...
| The client can do nothing ...
| I want it all to be programmatically.
| The cable is plugged well.
|
| 10x,
| Need more help ....
| Please ......
|
| J.
| "Jim Macklin" <p51mustang[threeX12]@xxxhotmail.calm> wrote
in message
| news:OXLC7rUTEHA.384@TK2MSFTNGP10.phx.gbl...
| > Can your client read the name of the router from the
label?
| > Did the cable get plugged into the correct ports on the
| > router, on a 4 port router there are 5 RJ45 connectors,
one
| > is for the Internet, the other 4 are for the LAN.
| >
| >
| > --
| > The people think the Constitution protects their rights;
| > But government sees it as an obstacle to be overcome.
| >
| >
| > "Janiv Ratson" <janiv@aoe6.net> wrote in message
| > news:%233hc4ZSTEHA.3224@TK2MSFTNGP10.phx.gbl...
| > | 10x all.
| > | More details:
| > |
| > | I have a program that sit on a clients PC.
| > | The specific situation we'r talking about is a case
that a
| > user has an ICS
| > | installed and 2 PCz.
| > | Now, the user goes to store, buy a router and put the
| > cables in (connect the
| > | 2 PCz to the router).
| > | The user know nothing(I mean NOTHING) about computers
and
| > networks, my
| > | program should automatically recognize the router, and
| > remove the ICS so the
| > | PCz will B connected via Router.
| > |
| > | My program's problem is that while ICS is runing on my
XP
| > machine, I cannot
| > | identify the router, becuase my identification is made
by
| > seeking for a dhcp
| > | server (I M not sure it is the best solution, I'll B
glad
| > to know others),
| > | and the ICS DHCP is the one that the XP machine
identify
| > (while the other
| > | machine, which is win98 and does not have ICS
installed,
| > or chekced,
| > | identifies the router DHCP server).
| > |
| > | I hope I made my clear ,,,
| > | 10xx for your help all.
| > | Janiv.
| > |
| > |
| > |
| > | <andyc69@tiscali.co.uk> wrote in message
| > | news:%23k7InzLTEHA.3552@TK2MSFTNGP09.phx.gbl...
| > | >
| > | > "Janiv Ratson" <janiv@aoe6.net> wrote in message
| > | > news:ed8ptq5SEHA.2236@TK2MSFTNGP09.phx.gbl...
| > | > > My not good solution was, to search for DHCP
server in
| > the network,
| > | > though,
| > | > > the ICS DHCP is the one server that always
identified
| > by my program.
| > | > > If I manually cancel the ICS, than my program
| > recognize my router.
| > | > > I want my program to do it automatically, I want
it to
| > recognize that a
| > | PC
| > | > > with an ICS is now connected to a router, and get
a
| > new IP address.
| > | >
| > | > I'm very confused by what you are trying to acheive.
Why
| > are you using ICS
| > | > if you have a router?
| > | >
| > | > Could you give some more details on the problem you
have
| > (rather than what
| > | > you think you need to do) and then it might be
easier to
| > suggest a
| > | solution
| > | > to you.
| > | >
| > | > AndyC
| > | >
| > | >
| > |
| > |
| >
| >
 
andyc69 replied to Janiv Ratson on 8 Jun 2004
I don't think you can do what you want and I don't think you really want to.

Computer A has ICS running and sharing it's modem connection with Computer
B. User buys a wireless router to connect computer B to get rid of the
cables. Your program would then disable ICS and Computer B would no longer
be able to access the internet. The correct approach in that situation would
be to disable DHCP on the router and there lies your problem.

There is fundamentally no difference between a DHCP server from ICS or the
DHCP server from the router and detecting which is the "right" one is not
possible. Your user either needs to learn a bit of networking basics or get
someone who knows what they are doing to set things up for them. Not all
problems can be solved programatically I'm afraid...

AndyC

"Janiv Ratson" <janiv@aoe6.net> wrote in message
news:%233hc4ZSTEHA.3224@TK2MSFTNGP10.phx.gbl...
 
Janiv Ratson replied to Janiv Ratson on 7 Jun 2004
Please Help !
10x,
J.
 
Jim Macklin replied to Janiv Ratson on 7 Jun 2004
Help how? Please saw what type of identification you want?

If the router is connected you can use a program such as
EVEREST from www.lavalys.com to get details. You can look
in device manager to see what is shown there.

But you can look at the router and read the label.
 
Janiv Ratson replied to Jim Macklin on 7 Jun 2004
I want to do it programmatically.
10x.
J.

"Jim Macklin" <p51mustang[threeX12]@xxxhotmail.calm> wrote in message
news:%23$dLLAITEHA.332@TK2MSFTNGP11.phx.gbl...
 
Jim Macklin replied to Janiv Ratson on 7 Jun 2004
Try the EVEREST program

| I want to do it programmatically.
| 10x.
| J.
|
| "Jim Macklin" <p51mustang[threeX12]@xxxhotmail.calm> wrote
in message
| news:%23$dLLAITEHA.332@TK2MSFTNGP11.phx.gbl...
| > Help how? Please saw what type of identification you
want?
| >
| > If the router is connected you can use a program such as
| > EVEREST from www.lavalys.com to get details. You can
look
| > in device manager to see what is shown there.
| >
| > But you can look at the router and read the label.
| >
| >
| > --
| > The people think the Constitution protects their rights;
| > But government sees it as an obstacle to be overcome.
| >
| >
| > "Janiv Ratson" <janiv@aoe6.net> wrote in message
| > news:ux4h$THTEHA.1768@TK2MSFTNGP10.phx.gbl...
| > | Please Help !
| > | 10x,
| > | J.
| > |
| > |
| >
| >
 

Archived message: Identifying a router (Microsoft Win XP)