Network settings getting flushed and flushed!!
Posted: Sat Jan 08, 2005 7:26 pm
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..
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
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
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
