473,403 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Obtain WAN IP from router

I've looked at a few examples and think I can work with one of them but just
wondering if anyone has already done similar.

Router = Microsoft wired base station.

It has a web page config system which has one text box to enter a password.
It will be hard coded so no need for anything fancy to communicate with it.
Unless there's a command to get the IP from the router that doesn't involve
the web interface at all I will have to send this password and then look at
the default page to get the IP address back.

No security issues etc, I just want to fetch the IP, check for changes and
maybe display it with a warning when it changes, at the same time hopefully
learning something :)

TIA for any links or hints you think might be useful.

Charlie
Nov 17 '05 #1
2 2312
Can you connect to the router via telnet?

"Charlie Tame" <ch*****@tames.net> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
I've looked at a few examples and think I can work with one of them but just wondering if anyone has already done similar.

Router = Microsoft wired base station.

It has a web page config system which has one text box to enter a password. It will be hard coded so no need for anything fancy to communicate with it. Unless there's a command to get the IP from the router that doesn't involve the web interface at all I will have to send this password and then look at the default page to get the IP address back.

No security issues etc, I just want to fetch the IP, check for changes and
maybe display it with a warning when it changes, at the same time hopefully learning something :)

TIA for any links or hints you think might be useful.

Charlie

Nov 17 '05 #2
Apparently not, good idea though I had not thought of that.

I have seriously searched for some info on this machine but it's just not
out there as far as I can see.
Microsoft Telnet> open 192.168.2.1
Connecting To 192.168.2.1...Could not open connection to the host, on port
23: Connect failed
Microsoft Telnet>

Maybe this isn't the best way to do it anyway ? :)

Charlie

"Lebesgue" <no****@spam.jp> wrote in message
news:u5**************@tk2msftngp13.phx.gbl...
Can you connect to the router via telnet?

"Charlie Tame" <ch*****@tames.net> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
I've looked at a few examples and think I can work with one of them but

just
wondering if anyone has already done similar.

Router = Microsoft wired base station.

It has a web page config system which has one text box to enter a

password.
It will be hard coded so no need for anything fancy to communicate with

it.
Unless there's a command to get the IP from the router that doesn't

involve
the web interface at all I will have to send this password and then look

at
the default page to get the IP address back.

No security issues etc, I just want to fetch the IP, check for changes
and
maybe display it with a warning when it changes, at the same time

hopefully
learning something :)

TIA for any links or hints you think might be useful.

Charlie


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mohamed Harris via .NET 247 | last post by:
Hi, Could you please help me, How can I Obtain all IP addresses of my router using C#? Thanks Md Harris. ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/)
5
by: Jeronimo Bertran | last post by:
Hello, We have developed a socket tcpip server in .net that accepts calls from clients. Using the connected socket we are able to use the Socket.RemoteEndPoint to obtain the IP address of the...
6
by: John J. Hughes II | last post by:
My code starts a TCP/IP socket listener and waits for incoming connections. This works fine on my system and my test system but I have a customer who say it does not work on their system. As far...
2
by: cyshao | last post by:
How to reset Router by programing? For some resean, we need usually reset our Router. Now, we have to Reset Router manually(shot down and reopen). Are there any method to control and reset...
3
by: =?Utf-8?B?Vk1BTQ==?= | last post by:
Hi, I have a home network with a DSL router. I want to check the router state (connected, disconnected...) from an XP computer on the network by showing an icon (green / red) in the system tray....
0
by: Danny Tsai | last post by:
Does anyone know how to get the MAC address of a computer? The computer is in different subnet and connected through a router. When I used the SendARP() function to get the MAC address, it worked...
7
by: Brian Cryer | last post by:
What I'm looking for is a way to tell if two sessions are from the same physical PC or from different PCs (within the same organisation say). This is with the view to possibly enforcing license...
5
by: =?Utf-8?B?SmltbWVy?= | last post by:
Hello, I've been trying to create a WCF SOAP Router Service that can forward not just the message body but also any security headers set by the originator of the message. The destination service...
3
by: apg018 | last post by:
Hi - I just bought an Asus laptop with wireless capabilities. I have a desktop that I've used for years that is hooked up to Cox cable for high speed internet through a Motorola SG5120 cable modem....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.