Page 1 of 1

Network settings getting flushed and flushed!!

Posted: Sat Jan 08, 2005 7:26 pm
by dagcrack
I connect to my adsl using a setted IP at the network settings... so I always have the same ip (aka "parked").... okey thats nice! but this settings gets flushed when I lose connection (even if I disconnect by hand and reconnect, the settings are gone) so the custom ip is gone and if the server wants to give me another ip.. it will.

How can I force this setting to stay? or at least dial with a given IP from PB? Im using this for dialing:

took it from this forum..

Code: Select all


 isp$="CONEXION ADSL" ; Default connection name.
  
  
  ConnectionID=98981 ; 1 = Any number you want to identify this connection.
  If InternetDial_(0,isp$,2,@ConnectionID,INTERNET_DIAL_UNATTENDED)<>#ERROR_SUCCESS
  Debug "Connection was unsuccessful..."
  Else
  Debug "Connected successfully!"
  
  EndIf

thats just the chunk of code I use for connecting to my adsl account from PB (I programmed a whole tool etc, doesnt matter right now).

I need this because im going on vacations and of course! I want my system on if something happens, and I already achived this.. but the network settings gets flushed for some reason I dont know and it will sometimes connect with another IP.

hope someone can help me fast :s got half day before I go .

thanks

Posted: Sat Jan 08, 2005 7:40 pm
by dagcrack
look:


Image


thats the setting im talking about... (where the ip is set) it gets flushed (it goes to "obtain an ip address automatically".... grrrrr

Posted: Sat Jan 08, 2005 8:05 pm
by blueznl
i suspect you can not... it's a dial up account you're talking about here, isn't it?

Posted: Sat Jan 08, 2005 8:09 pm
by dagcrack
adsl.... yes..
I dont get why this UGLY "$)"!%?(!"%?!") WINDOWS XP deletes my setting!!!! I dont get it its simply IDIOTIC!

Posted: Sat Jan 08, 2005 8:21 pm
by dagcrack
My programm runs ok (tested it)

But it connected to another ip.... because of what I said.. it flushes the setting (dunno WHAT causes this, I believe that it "could" be a bug in the tcp/ip from microsoft?? I hope not, it shouldnt... ). I remember a while back the setting was saved but... I think since I have SP2 that wont happen again... it gets flushed, I still dont get why!.