3. Setting up RAS on Windows 2000
Note: Administrator rights are required to carry out the configuration.
Select Start->Settings->Network and Dial-up Connections->Make New Connection to get the screenshot shown below. If this utility has not been used before, a 'Local Information' dialog will also be displayed. If this occurs, enter appropriate local information and select OK. This results in the 'Phone And Modem Options' dialog being displayed. Select 'Cancel' from this dialog before proceeding.
Select 'Next', then 'Connect directly to another computer' to get the following screenshot:
选直接电缆连接
Select 'Next', then 'Host' to get the following screenshot:
Select 'Next'. On the resulting dialog, select COM2 from the dropdown list to get the following screenshot:
选com2口
Select 'Next', then 'Add' to get the following screenshot:
Enter 'rasuser' in each field, then 'OK' to get the following screenshot:
加一个rasuser拨号用户
Select 'Next' to get the following screenshot:
Select 'Finish'.
From the Control Panel (Start->Settings->Control Panel), select 'Phone and Modem Options' then select the 'Modems' tab to get the following:
Select the COM2 entry, then 'Properties' and on the resulting dialog enter a Maximum Port Speed of 115200 to get the following:
设置波特率
Select 'OK' from this dialog and then 'OK' from the previous dialog (step 3.10).
To start the RAS service select 'Administrative Tools' from the Control Panel, then select 'Services', then 'Routing and Remote Access' to get the following:
在系统服务中打开对应的路由和远程存取服务。
Right click and select 'Start' to start the service (if it is not already started).
4. Testing the RAS configuration
As a 'sanity' check, rasphone can be used to check the configuration.
测试ras配置。
To test the RAS service, select Start->Run and type
rasphone
a dialog is presented (assuming no previous entries exist):
在起始菜单中运行里面输入:rasphone
Select 'OK', then 'Connect directly to another computer' from the resulting dialog to get:
这时选:直接连接
Select 'Next' and then COM1 (the emulator defaults to use this port) to get the following:
选com1(com2用于服务器了)
Select 'Next' and then 'Only for myself' to get the following:
选:仅用于自已
Select 'Next' to get the following:
Select 'Finish' and then 'Direct Connection' from the resulting dialog to get the following:
选直接连接
Select 'Properties', then 'Configure' and then set the Maximum speed to 115200 to get the following:
选属性->设置,选最大速度115200
Select 'OK' on this dialog and 'OK' on the one behind it. Now select 'Dial' from the dialog in step 4.6 and then enter 'rasuser' for username and password to get the following:
选确定
Select 'Connect' and after a few seconds, a connection will be established and the following dialog presented:
选连接,我就在这边怎么也连不上了。
This proves that RAS has been correctly configured and that the emulator should be able to connect through it.