|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I just want to know the last IP address I used, whether or not I'm
currently on the Internet, on Windows XP. I'm sure there is a log of this somewhere. What's the best way to get my last assigned PPPoE IP address when I'm behind a router and I'm not currently connected to the Internet? While connected to the Internet, I know I can go to http://whatsmyipaddress to find the IP address from behind the router - and I know that IP address will show up in this nntp header - but I am curious if there is a way to determine the IP address shown to the Internet without actually going out to the Internet. Why? Because I often disconnect from the Internet and I want to see what my LAST IP address was. If I reconnect to the Internet, I'll get the new IP address, not the old IP address. Also, if I type "winipconfig /all", I get the IP address assigned BY the router to the computer (not TO the router by the PPPoE ISP). I'll eventually figure this out but maybe you can give me a head start? What is a convenient way to find the last IP address assigned to your PPPoE router by the ISP from the computer without being on the Internet itself? Carol |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
"Carol Frilegh" <cma@sympatico.ca> wrote in message news:h6h7jyiz7nra.16wzxj6xrg3be$.dlg@40tude.net... >I just want to know the last IP address I used, whether or not I'm > currently on the Internet, on Windows XP. I'm sure there is a log of this > somewhere. What's the best way to get my last assigned PPPoE IP address > when I'm behind a router and I'm not currently connected to the Internet? If you mean the address of your actual machine as a DHCP client: It is in the registry if it just disconnecte or (probably) if it is expired. But from below this isn't even what you mean. > While connected to the Internet, I know I can go to > http://whatsmyipaddress > to find the IP address from behind the router - and I know that IP address > will show up in this nntp header - but I am curious if there is a way to > determine the IP address shown to the Internet without actually going out > to the Internet. It's in the Registry -- and you can you can always type "IPConfig /all" but if you If you mean the address of the external side of a NAT/Proxy which is what "whatsmyaddress.com" shows. The NAT/Proxy has NO expression on the internal client and no meaning there when the client isn't using that NAT/Proxy. BTW: That http://www.whatsmyipaddress.com is invalid and the .net version is marked as DANGEROUS by Google. http://www.whatsmyipaddress.co.uk/ works however. > Why? > > Because I often disconnect from the Internet and I want to see what my > LAST > IP address was. If I reconnect to the Internet, I'll get the new IP > address, not the old IP address. You don't really "get" an IP address in this sense but are rather access the Internet THROUGH a NAT (network address translator) which only has meaning WHILE you are doing this. > Also, if I type "winipconfig /all", I get the IP address assigned BY the > router to the computer (not TO the router by the PPPoE ISP). You get the IP address of the actual computer you are using, whether it was assigned by DHCP or manually. > I'll eventually figure this out but maybe you can give me a head start? Don't expect to find it since the computer you are using doesn't KNOW what the NAT was using. You could however just build a batch file that downloaded something from http://www.whatsmyipaddress.co.uk/ or some such and then run it while you are connected so you could "look later". > What is a convenient way to find the last IP address assigned to your > PPPoE > router by the ISP from the computer without being on the Internet itself? No, and your question is making a false ASSUMPTION: That address was NEVER "ASSIGNED" to your computer. -- Herb Martin, MCSE, MVP http://www.LearnQuick.Com (phone on web site) |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Carol Frilegh wrote:
> What is a convenient way to find the last IP address assigned to your > PPPoE router by the ISP from the computer without being on the Internet > itself? YOu can't find out unless you have access to the radius log files of your ISP. Wolfgang |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
This IP address can reliably be found in two places.
1) Your router. 2) Your ISP's DHCP server. I doubt your ISP will give you access to the DHCP server, so the only real option left to you is your router. If you don't have direct access to it, then your only method is through indirect means such as the web site you describe below. If you do have access, then there are several options - anything from scripts to wget to snmp. Keep in mind that unless you can read the old address from a log file, all you will get is the current address and the lease time. You would need to periodically monitor the "current" address and keep records to determine that past addresses used. That said, you should find that the IP address used is fairly persistent. http://compnetworking.about.com/od/w...uteripaddr.htm I hope this s! -- Greg Lindsay [MSFT] Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights. "Carol Frilegh" <cma@sympatico.ca> wrote in message news:h6h7jyiz7nra.16wzxj6xrg3be$.dlg@40tude.net... >I just want to know the last IP address I used, whether or not I'm > currently on the Internet, on Windows XP. I'm sure there is a log of this > somewhere. What's the best way to get my last assigned PPPoE IP address > when I'm behind a router and I'm not currently connected to the Internet? > > While connected to the Internet, I know I can go to > http://whatsmyipaddress > to find the IP address from behind the router - and I know that IP address > will show up in this nntp header - but I am curious if there is a way to > determine the IP address shown to the Internet without actually going out > to the Internet. > > Why? > > Because I often disconnect from the Internet and I want to see what my > LAST > IP address was. If I reconnect to the Internet, I'll get the new IP > address, not the old IP address. > > Also, if I type "winipconfig /all", I get the IP address assigned BY the > router to the computer (not TO the router by the PPPoE ISP). > > I'll eventually figure this out but maybe you can give me a head start? > > What is a convenient way to find the last IP address assigned to your > PPPoE > router by the ISP from the computer without being on the Internet itself? > > Carol |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
"Carol Frilegh" <cma@sympatico.ca> wrote in message news:h6h7jyiz7nra.16wzxj6xrg3be$.dlg@40tude.net... >I just want to know the last IP address I used, whether or not I'm > currently on the Internet, on Windows XP. I'm sure there is a log of this > somewhere. What's the best way to get my last assigned PPPoE IP address > when I'm behind a router and I'm not currently connected to the Internet? Just connect to the router and ask it. For the one I use, go to your gateway ip, which is usually 192.168.0.1, the internal address of the router log in, look around, somewhere under status it will show all that and a lot more. Gnerally, the router address is static for a period of days or months. Mine changes about 3 times a year. > > While connected to the Internet, I know I can go to > http://whatsmyipaddress > to find the IP address from behind the router - and I know that IP address > will show up in this nntp header - but I am curious if there is a way to > determine the IP address shown to the Internet without actually going out > to the Internet. > > Why? > > Because I often disconnect from the Internet and I want to see what my > LAST > IP address was. If I reconnect to the Internet, I'll get the new IP > address, not the old IP address. > Not necessarily. It is a bit different for each dsl or cable provider, but theoretically, each time you disconnect or power down the router/modem you may get a new external ip address. But in practice, often it changes when you change your mac address, or on a cycle. There is a lot of computer overhead matching new ip addresses to customer acount numbers, so they don't do it that often. I have had this ip address (for the router) for over 6 months, through power failures, and cable service being down. > Also, if I type "winipconfig /all", I get the IP address assigned BY the > router to the computer (not TO the router by the PPPoE ISP). > > I'll eventually figure this out but maybe you can give me a head start? > > What is a convenient way to find the last IP address assigned to your > PPPoE > router by the ISP from the computer without being on the Internet itself? > > Carol |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Read inline please.
In news:h6h7jyiz7nra.16wzxj6xrg3be$.dlg@40tude.net, Carol Frilegh <cma@sympatico.ca> typed: > I just want to know the last IP address I used, whether or not I'm > currently on the Internet, on Windows XP. I'm sure there is a log of > this somewhere. What's the best way to get my last assigned PPPoE IP > address when I'm behind a router and I'm not currently connected to > the Internet? > > While connected to the Internet, I know I can go to > http://whatsmyipaddress to find the IP address from behind the router > - and I know that IP address will show up in this nntp header - but I > am curious if there is a way to determine the IP address shown to the > Internet without actually going out to the Internet. > > Why? > > Because I often disconnect from the Internet and I want to see what > my LAST IP address was. If I reconnect to the Internet, I'll get the > new IP address, not the old IP address. > > Also, if I type "winipconfig /all", I get the IP address assigned BY > the router to the computer (not TO the router by the PPPoE ISP). > > I'll eventually figure this out but maybe you can give me a head > start? > > What is a convenient way to find the last IP address assigned to your > PPPoE router by the ISP from the computer without being on the > Internet itself? Getting your current IP address is one thing, if you disconnect, finding what your IP address was is a totally different thing. From the sound of your description, your router connects the PPPoE connection, and you router would have to log this information, or you would have to contact your ISP. By law, in the US, they have to log this information, but in all likelihood unless you are a law enforcement agency with a court order, they do not have to provide it to you. If they did, and I had Dynamic IP addresses, I believe I would find another ISP. I wouldn't want my ISP providing this type of information to anyone, even if they say they are me. If you have a dynamic IP you should expect a reasonable amount of privacy. That said, I own my IP addresses, so this doesn't apply to me because doing a whois lookup on my IP addresses returns my name as the owner of the IP address block. -- Best regards, Kevin D. Goodknecht Sr. [MVP] Hope This s Send IM: http://www.icq.com/people/webmsg.php?to=296095728 =================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue, to respond directly to me remove the nospam. from my email address. =================================== http://www.lonestaramerica.com/ http://support.wftx.us/ http://message.wftx.us/ =================================== Use Outlook Express?... Get OE_Quotefix: It will strip signature out and more http://home.in.tum.de/~jain/software/oe-quotefix/ =================================== Keep a back up of your OE settings and folders with OEBackup: http://www.oe.com/OEBackup/Default.aspx =================================== |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Read inline please.
In news:h6h7jyiz7nra.16wzxj6xrg3be$.dlg@40tude.net, Carol Frilegh <cma@sympatico.ca> typed: > I just want to know the last IP address I used, whether or not I'm > currently on the Internet, on Windows XP. I'm sure there is a log of > this somewhere. What's the best way to get my last assigned PPPoE IP > address when I'm behind a router and I'm not currently connected to > the Internet? > > While connected to the Internet, I know I can go to > http://whatsmyipaddress to find the IP address from behind the router > - and I know that IP address will show up in this nntp header - but I > am curious if there is a way to determine the IP address shown to the > Internet without actually going out to the Internet. > > Why? > > Because I often disconnect from the Internet and I want to see what > my LAST IP address was. If I reconnect to the Internet, I'll get the > new IP address, not the old IP address. > > Also, if I type "winipconfig /all", I get the IP address assigned BY > the router to the computer (not TO the router by the PPPoE ISP). > > I'll eventually figure this out but maybe you can give me a head > start? > > What is a convenient way to find the last IP address assigned to your > PPPoE router by the ISP from the computer without being on the > Internet itself? Getting your current IP address is one thing, if you disconnect, finding what your IP address was is a totally different thing. From the sound of your description, your router connects the PPPoE connection, and you router would have to log this information, or you would have to contact your ISP. By law, in the US, they have to log this information, but in all likelihood unless you are a law enforcement agency with a court order, they do not have to provide it to you. If they did, and I had Dynamic IP addresses, I believe I would find another ISP. I wouldn't want my ISP providing this type of information to anyone, even if they say they are me. If you have a dynamic IP you should expect a reasonable amount of privacy. That said, I own my IP addresses, so this doesn't apply to me because doing a whois lookup on my IP addresses returns my name as the owner of the IP address block. -- Best regards, Kevin D. Goodknecht Sr. [MVP] Hope This s Send IM: http://www.icq.com/people/webmsg.php?to=296095728 =================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue, to respond directly to me remove the nospam. from my email address. =================================== http://www.lonestaramerica.com/ http://support.wftx.us/ http://message.wftx.us/ =================================== Use Outlook Express?... Get OE_Quotefix: It will strip signature out and more http://home.in.tum.de/~jain/software/oe-quotefix/ =================================== Keep a back up of your OE settings and folders with OEBackup: http://www.oe.com/OEBackup/Default.aspx =================================== |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
Read inline please.
In news:h6h7jyiz7nra.16wzxj6xrg3be$.dlg@40tude.net, Carol Frilegh <cma@sympatico.ca> typed: > I just want to know the last IP address I used, whether or not I'm > currently on the Internet, on Windows XP. I'm sure there is a log of > this somewhere. What's the best way to get my last assigned PPPoE IP > address when I'm behind a router and I'm not currently connected to > the Internet? > > While connected to the Internet, I know I can go to > http://whatsmyipaddress to find the IP address from behind the router > - and I know that IP address will show up in this nntp header - but I > am curious if there is a way to determine the IP address shown to the > Internet without actually going out to the Internet. > > Why? > > Because I often disconnect from the Internet and I want to see what > my LAST IP address was. If I reconnect to the Internet, I'll get the > new IP address, not the old IP address. > > Also, if I type "winipconfig /all", I get the IP address assigned BY > the router to the computer (not TO the router by the PPPoE ISP). > > I'll eventually figure this out but maybe you can give me a head > start? > > What is a convenient way to find the last IP address assigned to your > PPPoE router by the ISP from the computer without being on the > Internet itself? Getting your current IP address is one thing, if you disconnect, finding what your IP address was is a totally different thing. From the sound of your description, your router connects the PPPoE connection, and you router would have to log this information, or you would have to contact your ISP. By law, in the US, they have to log this information, but in all likelihood unless you are a law enforcement agency with a court order, they do not have to provide it to you. If they did, and I had Dynamic IP addresses, I believe I would find another ISP. I wouldn't want my ISP providing this type of information to anyone, even if they say they are me. If you have a dynamic IP you should expect a reasonable amount of privacy. That said, I own my IP addresses, so this doesn't apply to me because doing a whois lookup on my IP addresses returns my name as the owner of the IP address block. -- Best regards, Kevin D. Goodknecht Sr. [MVP] Hope This s Send IM: http://www.icq.com/people/webmsg.php?to=296095728 =================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue, to respond directly to me remove the nospam. from my email address. =================================== http://www.lonestaramerica.com/ http://support.wftx.us/ http://message.wftx.us/ =================================== Use Outlook Express?... Get OE_Quotefix: It will strip signature out and more http://home.in.tum.de/~jain/software/oe-quotefix/ =================================== Keep a back up of your OE settings and folders with OEBackup: http://www.oe.com/OEBackup/Default.aspx =================================== |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
On Sun, 11 Mar 2007 12:56:28 -0500, Herb Martin wrote:
> BTW: That http://www.whatsmyipaddress.com is invalid > and the .net version is marked as DANGEROUS by Google. > http://www.whatsmyipaddress.co.uk/ works however. Hello Herb, That was an inadvertant typo on my part as I was missing an "i". I had meant http://www.whatismyipaddress.com BTW I like your suggested address because it gives me my hostname - browser versions - operating system - latitude & longitude - net speed - type of ISP - etc. but I like the MAP on the one I suggested which pretty much exactly pinpoints my location for the nuclear missile should I say something the Russian Mafia might not like! Carol |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
On Sun, 11 Mar 2007 23:29:57 +0100, Wolfgang Kueter wrote:
>> What is a convenient way to find the last IP address assigned to your >> PPPoE router by the ISP from the computer without being on the Internet >> itself? > YOu can't find out unless you have access to the radius log files of your > ISP. Hello Wolfgang, I'm sure there is an easy way without the ISP. Historical IP address information is logged in at least three places of which two are in Windows XP and one is in the router itself that I am checking at the moment based on the suggestions in this newsgroup. Of course the fourth place the historical IP address is logged is as you said at the ISP but as you said it will not be feasible to obtain the IP address from them. The trick will be to find the historical IP address used to connect via tcpip to the Internet from within Windows XP itself. Carol |
|
|
|
#11 |
|
Messages: n/a
Hébergeur: |
On Sun, 11 Mar 2007 18:26:52 -0700, Greg Lindsay [MSFT] wrote:
> This IP address can reliably be found in > 1) Your router. > unless you can read the old address from a log file, > all you will get is the current address > You would need to periodically monitor the "current" address > and keep records to determine that past addresses used. Hello Greg Lindsay, I think you're on to something with my obtaining a script to query the Linksys WRT54G router or to query the whatismyipaddress web site to report back the results of the ip address log. Does anyone know WHERE the Linksys WRT54G router keeps the historical IP address log and whether a script exists that I can run to gather that historical IP address information as needed off the Internet? Carol |
|
|
|
#12 |
|
Messages: n/a
Hébergeur: |
On Mon, 12 Mar 2007 02:07:18 GMT, Stuart Miller wrote:
>>I just want to know the last IP address I used, whether or not I'm >> currently on the Internet, on Windows XP. > Just connect to the router and ask it. > theoretically, each time you disconnect or power down the router/modem > you may get a new external ip address. Hello Stuart Miller, My PPPoE IP provider gives me a one day lease which in practice is hourly because when I power down the modem for anywhere between ten minutes and an hour I get a new IP address so my IP addresses are more dynamic than yours. Following your advice I connected to the Linksys WRT54G router by going to http://198.162.1.1 and logging in with a blank username and a password of "admin" which got me into the router setup pages. Clicking on the Linksys WRT54G "Status" bar & clicking on the "Router" tab tells me the IP address currently assigned to the router by the ISP. But what I want is the historical log of the previous set of IP addresses? Where do we access the log of historical IP addresses assigned to the router by the ISP? Carol |
|
|
|
#13 |
|
Messages: n/a
Hébergeur: |
On Sun, 11 Mar 2007 22:08:56 -0500, Kevin D. Goodknecht Sr. [MVP] wrote:
>> I just want to know the last IP address I used, whether or not I'm >> currently on the Internet, on Windows XP. > From the sound of your description, your router connects the PPPoE > connection, and you router would have to log this information Hello Kevin D. Goodknecht Sr., Following most suggestions which centered around the router log files I just turned on the logging of incoming and outgoing information on my Linksys WRT54G router by logging into http://192.168.1.1 as a blank user with a password of "admin" and then going to the "Administration" "Log" "Enable" section. I'm pretty sure there are three ways to find the historical IP address information based on all the advice from this newsgroup 1. Find the historical IP address in the Windows XP event logs 2. Find the historical IP address in the Linksys Router event logs 3. Save the daily IP address from either WinXP or the router with a script I'm exploring all three methods at the moment and one will certainly work so I do appreciate all the you can give and continue to give as I don't see this question asked anywhere else on the Internet. Carol BTW, is there any way to change the user name from a blank name to a name like "Carol" on this router? I can only see where to change the password at |
|
|
|
#14 |
|
Messages: n/a
Hébergeur: |
>>> I just want to know the last IP address I used, whether or not I'm
>>> currently on the Internet, on Windows XP. > I'm pretty sure there are three ways to find the historical IP address > information based on all the advice from this newsgroup > 1. Find the historical IP address in the Windows XP event logs > 2. Find the historical IP address in the Linksys Router event logs > 3. Save the daily IP address from either WinXP or the router with a script I know we'll solve this problem which to my knowledge has never been asked before on the Internet as far as I can google. Unfortunately the router expert's suggestion of querying the Router log files doesn't seem to work for the Linksys WRT54G Router because when I turned on the logs using "Administration" "Log" "Enable" all I got were two log files of incoming and outgoing connections but nothing about the historical IP address assigned to the Router by the PPPoE provider. Of course we can query the router ahead of time if we knew how because the router always knows the current ip address and we can save that current PPPoE assigned IP address into a log file somehow onto Windows XP. Do you know WinXP & Routers well enough to query the Linksys WRT54G Router http://192.168.1.1 programatically to login in with a blank login name and a password of "admin" and then obtain the IP address stored in the "Status" "Router" chart? Carol |
|
|
|
#15 |
|
Messages: n/a
Hébergeur: |
I know together we will solve this never before asked windows NAT question
especially because it seems the Windows System Event Logs store the historical TCPIP IP address used to connect to the Internet somehow long after the connection to the Internet was relinquished. If I only knew how to obtain this historical IP address information from the Windows Event Viewer programatically. Manually I can see the IP address today by rightclicking on "My Computer" "Manage" "Event Viewer" "System" and sorting by "Source" and looking for "TCPIP" sources we find the "Computer Management" warning Warning. Your computer has automatically configured the IP address for the Network Card with network address 000FD451464B. The IP address being used is 69.110.6.202. The only problem is I see that warning with the IP address only sporadically and I recently patched my TCPIP to allow more than 10 simultaneous connections so I think that warning came when I patched my WinXP TCPIP. I don't know the Windows Event Viewer very well so I ask are there WinXP experts out there who know under what circumstances we can force the Windows Event Viewer to faithfully record the current IP address assigned to the Router for the PPPoE connection? Carol |
|
|
|
#16 |
|
Messages: n/a
Hébergeur: |
On Mon, 12 Mar 2007 00:23:42 -0700, Carol Frilegh wrote:
> I know together we will solve this never before asked windows NAT question Together we will solve this problem as it seems like there are two distinct methods to log the current IP address and then look at that log anytime we want to. One method seems to be to find on the Internet a script which will go to teh http://checkip.dyndns.org/ web page and save the one line result of your current IP address. The other method seems to be to find a script on the Internet which will run the Windows XP "ping -r -1" command as shown on the Router web page http://compnetworking.about.com/od/w...uteripaddr.htm However when I tried the suggested "ping -r 1 www.yahoo.com" command on Windows XP I didn't get the same results as suggested. Here is what I got ====================== C:\Documents and Settings\carol>ping -r 1 www.yahoo.com Pinging www.yahoo-ht2.akadns.net [69.147.114.210] with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 69.147.114.210: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), C:\Documents and Settings\carol> ====================== So we're very close but not yet do we have a Windows XP command which we can script to tell us the current IP address of the PPPoE connection assigned to the NAT Router. Do you experts know what PING command will work on Windows XP that will report the current IP address assigned to the Linksys WRT54G Router by the PPPoE provider? Carol |
|
|
|
#17 |
|
Messages: n/a
Hébergeur: |
> One method seems to be to find a script on the Internet which will
> run the Windows XP "ping -r -1" command as shown on the Router web page > http://compnetworking.about.com/od/w...uteripaddr.htm After googling these suggestions I now can manually find my current PPPoE IP address assigned to the NAT Router by manually running the two commands below with an extra carriage return after the second command. C:\Documents and Settings\carol> telnet checkip.dyndns.org 80 GET / HTTP/1.0 After hitting the carriage return twice this reports the current IP address assigned to my Router by the PPPoE provider. ================================ HTTP/1.1 200 OK Content-Type: text/html Server: DynDNS-CheckIP/0.2 Connection: close Cache-Control: no-cache Pragma: no-cache Content-Length: 104 <html><head><title>Current IP Check</title></head><body>Current IP Address: 69.110.6.202</body></html> Connection to host lost. ================================ While I can manually run these two commands I don't know how to script them to run daily logging the historical IP address used over time. Do any script experts know how to script the two Windows XP manual commands below so that just the current IP address is logged to a file? 1. telnet checkip.dyndns.org 80 (press return once) 2. Wait a few seconds 3. GET / HTTP/1.0 (press return twice) 4. Log the resulting IP address into a log file Carol |
|
|
|
#18 |
|
Messages: n/a
Hébergeur: |
"Carol Frilegh" <cma@sympatico.ca> wrote in message news:1lswj9rwafrol$.1clb9mj0z78j4.dlg@40tude.net.. . > On Sun, 11 Mar 2007 12:56:28 -0500, Herb Martin wrote: >> BTW: That http://www.whatsmyipaddress.com is invalid >> and the .net version is marked as DANGEROUS by Google. >> http://www.whatsmyipaddress.co.uk/ works however. > > Hello Herb, > > That was an inadvertant typo on my part as I was missing an "i". > I had meant http://www.whatismyipaddress.com Darn, I tried to figure out what was misspelled in that name but missed it -- well, since you like the new I gave that worked out ok. > BTW I like your suggested address because it gives me my hostname - > browser > versions - operating system - latitude & longitude - net speed - type of > ISP - etc. but I like the MAP on the one I suggested which pretty much > exactly pinpoints my location for the nuclear missile should I say > something the Russian Mafia might not like! Ok. -- Herb Martin, MCSE, MVP http://www.LearnQuick.Com (phone on web site) |
|
|
|
#19 |
|
Messages: n/a
Hébergeur: |
"Carol Frilegh" <cma@sympatico.ca> wrote in message news:jgkziasm69dw$.1w8zaqrjp9y7o.dlg@40tude.net... > On Sun, 11 Mar 2007 23:29:57 +0100, Wolfgang Kueter wrote: >>> What is a convenient way to find the last IP address assigned to your >>> PPPoE router by the ISP from the computer without being on the Internet >>> itself? >> YOu can't find out unless you have access to the radius log files of your >> ISP. > > Hello Wolfgang, > > I'm sure there is an easy way without the ISP. > > Historical IP address information is logged in at least three places of > which two are in Windows XP and one is in the router itself that I am > checking at the moment based on the suggestions in this newsgroup. No, because the local machine NEVER sees the NAT server external address. > Of course the fourth place the historical IP address is logged is as you > said at the ISP but as you said it will not be feasible to obtain the IP > address from them. > > The trick will be to find the historical IP address used to connect via > tcpip to the Internet from within Windows XP itself. No because your XP client never saw or even could logged that. -- Herb Martin, MCSE, MVP http://www.LearnQuick.Com (phone on web site) |
|
|
|
#20 |
|
Messages: n/a
Hébergeur: |
"Carol Frilegh" <cma@sympatico.ca> wrote in message news:kr5eofh79a19$.9qy5ei7vna3j$.dlg@40tude.net... >>>> I just want to know the last IP address I used, whether or not I'm >>>> currently on the Internet, on Windows XP. >> I'm pretty sure there are three ways to find the historical IP address >> information based on all the advice from this newsgroup >> 1. Find the historical IP address in the Windows XP event logs >> 2. Find the historical IP address in the Linksys Router event logs >> 3. Save the daily IP address from either WinXP or the router with a >> script > > I know we'll solve this problem which to my knowledge has never been asked > before on the Internet as far as I can google. No there is no direct way to get this info -- besides the convoluted scheme I gave you in my first response. > Of course we can query the router ahead of time if we knew how because the > router always knows the current ip address and we can save that current > PPPoE assigned IP address into a log file somehow onto Windows XP. > > Do you know WinXP & Routers well enough to query the Linksys WRT54G Router > http://192.168.1.1 programatically to login in with a blank login name and > a password of "admin" and then obtain the IP address stored in the > "Status" > "Router" chart? Simpler to just WGet (get a web page) from that site you like with all the other info on it. Schedule this to run (if you don't want to do it manually) periodically and you will always have the previous one -- up to some reasonable time period. -- Herb Martin, MCSE, MVP http://www.LearnQuick.Com (phone on web site) |
|
|
|
#21 |
|
Messages: n/a
Hébergeur: |
Hi Carol,
I'm reasonably sure that this router doesn't have the types of logs you would need. High end routers keep a lot more logging information, but it's unlikely for this wireless AP. All this device probably has is the current DHCP address and lease time. There are lots of ways to script this. A fairly simple method would be to use a little program called wget. What wget does is provide a command-line tool to retrieve web pages - you would have to download the Windows version of this and then run your batch file in the same directory with the wget program (unless it is placed in a directory included in your path variable). You could grab either the html output from your router, which is probably http://<your_router_ip_address>/dhcp.htm or something similar, or you can get the site you've listed below. There are probably also several methods to do this without the wget program using batch, vbs, or perl programming. Using wget, the batch file should append the output in a text file sort of like this: wget http://whatever You would then just run the batch file periodically, or automatically as a scheduled task. The wget program also has a lot of options you can set, such as appending output to a single file. -- Greg Lindsay [MSFT] Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights. "Carol Frilegh" <cma@sympatico.ca> wrote in message news:pwvabcjrnhxs.1fvrsx7ff8dwz$.dlg@40tude.net... > On Sun, 11 Mar 2007 18:26:52 -0700, Greg Lindsay [MSFT] wrote: >> This IP address can reliably be found in >> 1) Your router. >> unless you can read the old address from a log file, >> all you will get is the current address >> You would need to periodically monitor the "current" address >> and keep records to determine that past addresses used. > > Hello Greg Lindsay, > > I think you're on to something with my obtaining a script to query the > Linksys WRT54G router or to query the whatismyipaddress web site to report > back the results of the ip address log. > > Does anyone know WHERE the Linksys WRT54G router keeps the historical IP > address log and whether a script exists that I can run to gather that > historical IP address information as needed off the Internet? > > Carol |
|
|
|
#22 |
|
Messages: n/a
Hébergeur: |
I meant to say that "wget http://whatever" would create multiple files. You
need to add an option to have it append a single file. -- Greg Lindsay [MSFT] Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights. "Greg Lindsay [MSFT]" <greglin@microsoft.com> wrote in message news:eTsCPSOZHHA.1244@TK2MSFTNGP04.phx.gbl... > Hi Carol, > > I'm reasonably sure that this router doesn't have the types of logs you > would need. High end routers keep a lot more logging information, but it's > unlikely for this wireless AP. All this device probably has is the > current DHCP address and lease time. > > There are lots of ways to script this. A fairly simple method would be to > use a little program called wget. What wget does is provide a > command-line tool to retrieve web pages - you would have to download the > Windows version of this and then run your batch file in the same directory > with the wget program (unless it is placed in a directory included in your > path variable). You could grab either the html output from your router, > which is probably http://<your_router_ip_address>/dhcp.htm or something > similar, or you can get the site you've listed below. There are probably > also several methods to do this without the wget program using batch, vbs, > or perl programming. > > Using wget, the batch file should append the output in a text file sort of > like this: > > wget http://whatever > > You would then just run the batch file periodically, or automatically as a > scheduled task. The wget program also has a lot of options you can set, > such as appending output to a single file. > > -- > Greg Lindsay [MSFT] > > Disclaimer: This posting is provided "AS IS" with no warranties, and > confers no rights. > > "Carol Frilegh" <cma@sympatico.ca> wrote in message > news:pwvabcjrnhxs.1fvrsx7ff8dwz$.dlg@40tude.net... >> On Sun, 11 Mar 2007 18:26:52 -0700, Greg Lindsay [MSFT] wrote: >>> This IP address can reliably be found in >>> 1) Your router. >>> unless you can read the old address from a log file, >>> all you will get is the current address >>> You would need to periodically monitor the "current" address >>> and keep records to determine that past addresses used. >> >> Hello Greg Lindsay, >> >> I think you're on to something with my obtaining a script to query the >> Linksys WRT54G router or to query the whatismyipaddress web site to >> report >> back the results of the ip address log. >> >> Does anyone know WHERE the Linksys WRT54G router keeps the historical IP >> address log and whether a script exists that I can run to gather that >> historical IP address information as needed off the Internet? >> >> Carol > > |
|