Hello newsgroup,
I want to create a dialup connection using netsh in Windows Server 2008
Routing and RAS. The dialup connection should use a modem or ISDN device.
In my server I installed a modem (U.S.Robotics) and an ISDN adapter (AVM
ISDN USB device). All drivers are installed properly. The operating system
and the drivers language are german.
For testing purpose I installed a dialup connection (modem and ISDN) using
the wizzard. I was able to finish the wizzard successfully. The connection
run fine.
The goal is to install the the connection using a script. Therefor I want to
use the netsh command line tool.
I used the following command:
netsh routing demanddial add interface name=mycon type=dialup
host="89675342" device="AVM NDIS WAN CAPI-Treiber (1) (ISDN12-1)"
user=Administrator password=password
Now my problem:
It seems to be equal which device I use in the command line. Always the
modem device is used. I think hat the modem device is something like a
default device.
I found out that the device names differ in the create a new dialup
connection wizzard and the device manager. I tried all the names, but only
the default device is used in the connection.
After the dialup connection is created I can change the device within the
properties dialog box to the device I want.
A although tried to get the current configuration with the command
netsh routing demanddial show interface mycon
The command shows the used device. Using this device name in the netsh
routing demanddial add interface command fails.
Can anybody tell me how I can find the correct device names I have to use in
the netsh command?
Or is there probably a bug in the netsh command?
If there is a bug, does anybody know a solution to create a dialup
connection within vbcsript or .NET?
Every hint is welcome.
Oliver
By the way, I did the same steps in Windows Server 2003: same behaviour.
|