阅 读 文 章

设定 Solaris 2 的 ppp

[来源:网上转载 () | 作者:网友() | 时间:2007-07-07 | 浏览:人次 ]

Solaris 2 的 asppp (asynchronous ppp) 使用到不少 UUCP 的设定档
如果你对 UUCP 有一定的概念, 那再好不过了
(关於 UUCP 请参见 RFC 976, 1137)
底下将以交大的 Terminal Server 为例
示 Solaris 2 ppp 的使用方法

0. 请先确定你的系统有 UUCP 与 PPP

   > pkginfo | egrep "PPP|UUCP"

   所得结果当是:

application SUNWapppA      Dial-up PPP Administration
system      SUNWapppr      PPP/IP Asynchronous PPP daemon configuration files
system      SUNWapppu      PPP/IP Asynchronous PPP daemon and PPP login service
system      SUNWbnur       Networking UUCP Utilities, (Root)
system      SUNWbnuu       Networking UUCP Utilities, (Usr)
system      SUNWpppk       PPP/IP and IPdialup Device Drivers

1. 设定 /etc/uucp/Systems 并用 cu -d -L 来测试之
   例如,我的 /etc/uucp/Systems 内容是这麽写的:

   nctu Any ACU 38400 730600 oice: 6\n

   用 :
   cu -d -L nctu
   来看看拨号与选择 ppp 是否正常
   (交大 terminal server 的选择画面最後一个字是 choice:
    选项 6 是 ppp)
   如果你的是接在 com1, 还得改一改 /etc/uucp/Devices

2. 在 /etc/gateways 中加入

   norip ipdptp0

   告诉 routed 说不要用 RIP(Routing Information Protocol, 参见 RFC 1058, 1723)

3. 把 /etc/nsswitch.conf 中写的是

   hosts: files

   请改为

   hosts: files dns

4. 在 /etc/resolv.conf 中加入适当的 nameserv
   例如交大的 server 是:

   nameserver 140.113.1.1
   domain     nctu.edu.tw

5. 在 /etc/hosts 中加入

   0.0.0.0      void
   140.126.1.1  nctu    # address 随便写, 反正 ppp 会帮你设出正确值

6. 写好 /etc/asppp.conf, 我的 asppp.conf

   ifconfig ipdptp0 plumb void nctu down
论坛热门帖子: [lch203] 写得蛮好的linux学习笔记(10-21)
[黑马制造] 学习java的30个目标(10-19)
[笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19)
[udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18)
[沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18)
TAG标签: 设定 ifc_cmd UUCP PPP ppp 交大 加入 /etc/uucp/Systems

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表

网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.