JavaScript is required to for searching.
跳过导航链接
退出打印视图
Oracle Solaris 管理:网络服务     Oracle Solaris 11 Information Library (简体中文)
search filter icon
search icon

文档信息

前言

第 1 部分网络服务主题

1.  网络服务(概述)

2.  管理 Web 高速缓存服务器

3.  与时间有关的服务

第 2 部分访问网络文件系统主题

4.  管理网络文件系统(概述)

5.  网络文件系统管理(任务)

6.  访问网络文件系统(参考)

第 3 部分SLP 主题

7.  SLP(概述)

8.  规划和启用 SLP(任务)

9.  管理 SLP(任务)

10.  引入传统服务

11.  SLP(参考)

第 4 部分邮件服务主题

12.  邮件服务(概述)

13.  邮件服务(任务)

14.  邮件服务(参考)

第 5 部分串行网络主题

15.  Solaris PPP 4.0(概述)

16.  规划 PPP 链路(任务)

17.  设置拨号 PPP 链路(任务)

18.  设置租用线路 PPP 链路(任务)

19.  设置 PPP 验证(任务)

20.  设置 PPPoE 通道(任务)

21.  修复常见的 PPP 问题(任务)

22.  Solaris PPP 4.0(参考)

23.  从异步 Solaris PPP 迁移至 Solaris PPP 4.0(任务)

转换 asppp 文件之前

/etc/asppp.cf 配置文件示例

/etc/uucp/Systems 文件示例

/etc/uucp/Devices 文件示例

/etc/uucp/Dialers 文件示例

运行 asppp2pppd 转换脚本(任务)

任务先决条件

如何从 asppp 转换为 Solaris PPP 4.0

如何查看转换结果

24.  UUCP(概述)

25.  管理 UUCP(任务)

26.  UUCP(参考)

第 6 部分使用远程系统主题

27.  使用远程系统(概述)

28.  管理 FTP 服务器(任务)

29.  访问远程系统(任务)

第 7 部分监视网络服务主题

30.  监视网络性能(任务)

词汇表

索引

运行 asppp2pppd 转换脚本(任务)

/usr/sbin/asppp2pppd 脚本将 /etc/asppp.cf 和与 PPP 相关的 UUCP 文件中的 PPP 信息复制到 Solaris PPP 4.0 文件中的相应位置。

任务先决条件

在执行下一任务之前,必须完成以下操作:

如何从 asppp 转换为 Solaris PPP 4.0

  1. 启动转换脚本。
    # /usr/sbin/asppp2pppd

    将启动转换过程,并显示以下屏幕输出。

    This script provides only a suggested translation for your existing aspppd
    configuration.  You will need to evaluate for yourself whether the translation
    is appropriate for your operating environment.
    Continue [Yn]? 
  2. 键入 "Y" 以继续。

    将显示以下输出。

    Chat cannot do echo checking; requests for this removed.
    Adding 'noauth' to /etc/ppp/options
    
    Preparing to write out translated configuration:
        1 chat file:
            1.  /etc/ppp/chat.Pgobi.hayes
        2 option files:
            2.  /etc/ppp/peers/Pgobi
            3.  /etc/ppp/options
        1 script file:
            4.  /etc/ppp/demand

    新的 Solaris PPP 4.0 文件已生成。

如何查看转换结果

您可以在转换过程结束时查看由 /usr/sbin/asppp2pppd 转换脚本创建的 Solaris PPP 4.0 文件。该脚本显示以下选项列表。

Enter option number:
        1 - view contents of file on standard output
        2 - view contents of file using /usr/bin/less
        3 - edit contents of file using /usr/bin/vi
        4 - delete/undelete file from list
        5 - rename file in list
        6 - show file list again
        7 - escape to shell (or "!")
        8 - abort without saving anything
        9 - save all files and exit (default)
Option:
  1. 键入 1 以查看屏幕上文件的内容。

    脚本会要求提供所要查看的文件的编号。

    File number (1 .. 4):

    这些编号表示转换过程中列出的已转换文件,如前面的步骤 2 中所示。

  2. 键入 1 以查看聊天文件 /etc/ppp/chat.Pgobi.hayes
    File number (1 .. 4):  1
    "" \d\dA\p\pTE1V1X1Q0S2=255S12=255\r\c
    OK\r ATDT\T\r\c
    CONNECT \c
    in:--in: mojave
    word: sand

    聊天脚本包含 /etc/uucp/Dialers 文件样例的 hayes 行中显示的调制解调器“聊天”信息。/etc/ppp/chat.Pgobi.hayes 还包含 /etc/uucp/Systems 文件样例中显示的 Pgobi 的登录序列。聊天脚本现在已位于 /etc/ppp/chat.Pgobi.hayes 文件中。

  3. 键入 2 以查看对等点文件 /etc/ppp/peers/Pgobi
    File number (1 .. 4):  2
    /dev/cua/b
    38400
    demand
    idle 120
    connect "/usr/bin/chat -f /etc/ppp/chat.Pgobi.hayes -T '15551212'"
    user NeverAuthenticate
    mojave:gobi

    串行端口信息 (/dev/cua/b) 来自 /etc/uucp/Devices 文件。链路速度、空闲时间、验证信息和对等点名称来自 /etc/asppp.cf 文件。"demand" 表示 "demand" 脚本,将在拨出计算机尝试连接到对等点 Pgobi 时调用。

  4. 键入 3 以查看为拨出计算机 mojave 创建的 /etc/ppp/options 文件。
    File number (1 .. 4):  3
    #lock
    noauth

    /etc/ppp/options 中的信息来自 /etc/asppp.cf 文件。

  5. 键入 4 以查看 demand 脚本的内容。
    File number (1 .. 4):  4
    /usr/bin/pppd file /etc/ppp/peers/Pgobi

    调用此脚本时将运行 pppd 命令,接着此命令将读取 /etc/ppp/peers/Pgobi 以启动 mojavePgobi 之间的链路。

  6. 键入 9 以保存已创建的文件。然后退出转换脚本。