wxm Posted May 28, 2009 Posted May 28, 2009 I use this script to display @IPAddress2 every second : While 1 Sleep(1000) SplashTextOn("", @IPAddress2) WEnd Result in winxp sp3: Firstly it display "0.0.0.0" I connect the ADSL , the ip address IMMEDIATELY show up Disconnect the ADSL , it IMMEDIATELY display "0.0.0.0" back again Result in win2003 sp2: First it display "0.0.0.0" I connect the ADSL , the ip address DO NOT IMMEDIATELY show up , it show up After 15-20sec Disconnect ADSL , it DO NOT IMMEDIATELY display "0.0.0.0" back again , also 15-20sec Delay . both use the bulit in PPPOE connection of the OS . how to get win2003 to work like in winxp?
DCCD Posted May 28, 2009 Posted May 28, 2009 (edited) Still shown "192.168.1.3" even after disconnect "ADSL+2"OS=WIN_XP_SP2Try this >> http://www.autoitscript.com/forum/index.ph...st&p=659218 Edited May 28, 2009 by DCCD [u][font=Arial Black]M[/font]y Blog, AVSS Parts[/u][font=Arial Black]Else[/font][font=Arial Black]L[/font]ibya Linux Users Group
wxm Posted May 28, 2009 Author Posted May 28, 2009 (edited) Still shown "192.168.1.3" even after disconnect "ADSL+2"OS=WIN_XP_SP2Try this >> http://www.autoitscript.com/forum/index.ph...st&p=659218I think 192.168.1.3 is ur local network adapterMaybe ur ADSL connection is @IPAddress3mine is @IPAddress2when ADSL is connected, @IPAddress2 = dynamic ip of the ADSLwhen not connected, @IPAddress2 = 0.0.0.0the issue is in win2003when the ADSL switch between connected/not conneted@IPAddress2 did not refresh immediatly , it has 15-20sec delay Edited May 28, 2009 by wxm
DCCD Posted May 29, 2009 Posted May 29, 2009 I think 192.168.1.3 is ur local network adapter Maybe ur ADSL connection is @IPAddress3 that's what i'm talking about! Let's say you use "1" lan card on your system, that's good, but what about me " Wireless, LAN, Bluetooth, PPPOE, Hamachi LAN" see attched file @IPAddress1 of first network adapter. Tends to return 127.0.0.1 on some computers. @IPAddress2 of second network adapter. Returns 0.0.0.0 if not applicable. @IPAddress3 of third network adapter. Returns 0.0.0.0 if not applicable. @IPAddress4 of fourth network adapter. Returns 0.0.0.0 if not applicable. +++++++++++++++++++++++++++++++++++++++++++++++++++ I think this will help! Get public IP address of a network/computer. _GetIP() [u][font=Arial Black]M[/font]y Blog, AVSS Parts[/u][font=Arial Black]Else[/font][font=Arial Black]L[/font]ibya Linux Users Group
wxm Posted May 29, 2009 Author Posted May 29, 2009 that's what i'm talking about! Let's say you use "1" lan card on your system, that's good, but what about me " Wireless, LAN, Bluetooth, PPPOE, Hamachi LAN" see attched file @IPAddress1 of first network adapter. Tends to return 127.0.0.1 on some computers. @IPAddress2 of second network adapter. Returns 0.0.0.0 if not applicable. @IPAddress3 of third network adapter. Returns 0.0.0.0 if not applicable. @IPAddress4 of fourth network adapter. Returns 0.0.0.0 if not applicable. +++++++++++++++++++++++++++++++++++++++++++++++++++ I think this will help! Get public IP address of a network/computer. _GetIP()thx _GetIP() is a way , but not very efficient . I still want to know why @IPAddressX refresh immediately in winxp/win2000 , but has 15-20 delay in win2003 ...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now