lossing
my phone netowork connection?
You Can't. The modem requires power and will therefore reset the device
and lose the connection when there is no power present.
restart, that the first activity of the pc be reconnect to the network?
There is a built-in utility for modern Windows NT (2k/XP[optional on
NT4) flavors called rasdial.exe that will dial specified network
connections from the command line. This is traditionally used for PPPoE
ethernet and RAS but I reckon it should be used for traditional DUN as
well.
The syntax is as follows:
Rasdial [connection name] "username" "password"
Where [connection name] is the name of the connection in your Network
Connections options.
ex.
rasdial CrapISP "jsmith" "12345"
Note the above has your password in plain text... and if you're ok with
that then it'll work for you.
A more secure alternative would be
rasdial CrapISP "jsmith" * <--which will prompt for a password
So. create a batch file or standard text file (which will later be
given the extension .bat)
and type the following:
rasdial CrapISP jsmith 12345
"C:\Program Files\Internet Explorer\IEXPLORE.EXE"
exit
Save it.
Now place that saved file in your startup folder and it will dial your
ISP and once connected open an Internet Explorer window every time
windows starts.
If you need help creating batch files or have never heard of them in
the first place go here:
http://www.microsoft.com/windowsxp/.../windowsxp/home/using/productdoc/en/batch.asp
alas the glory days of batch files has passed us...but my god were they
grand!..
hope it helps...