怎样配置用sco_unix上网-scoppp拨出

发表于:2007-06-08来源:作者:点击数: 标签:
以前收集的资料,现在借花献佛: scoppp拨出 1.建立相应串口,注意串口速率。 2.建立uucpsite。 1)创建拨号器。 #cd/usr/lib/uucp #./make.dialer ThecurrentmodemSETUPstringis:"ATFD2C1S0=1S2=043\Q3" EnternewmodemSETUPstringor'q'toacceptthisone *ATFX

 

以前收集的资料,现在借花献佛: 

scoppp 拨出 
1. 建立相应串口,注意串口速率。 
2. 建立uucp site。 
1) 创建拨号器。 
# cd /usr/lib/uucp 
# ./make.dialer 
The current modem SETUP string is: "AT&F&D2&C1S0=1S2=043\Q3" 
Enter new modem SETUP string or 'q' to aclearcase/" target="_blank" >ccept this one 
* AT&FX3Q0E1 
只注意此行即可。 
2) # uuinstall 
UUCP Administration Utility 
=========================== 

1. Display or update site name 
2. Display or update list of remote sites (Systems) 
3. Display or update direct- or dial-out lines (Devices) 
4. Display or update direct- or dial-in lines (/etc/inittab) 
5. Check consistency of UUCP files 
6. Test connection with remote site 
7. Convert old UUCP files to new format 

Choose an option (1-7), or q to quit : 2 

Site name : chase 
Schedule : Any 
Device type : ACU 
Speed range : 38400 
Phone number : 9,64959953* 
Expect login : -\r\d-name:-\K\d-name:-\K\d-name:** 
Send login : cdx 
Expect login : ssword: 
Send login : 10jqka 
Expect login : tion: 
Send login : 1 

(* “9”为外线 “,”为等待2秒。) 
(** 注:此行在/etc/lib/uucp/Systems中根据ISP的信息修改。 
例:ISP的信息: 
user namelm 
password:abcde 
1. ppp 
2. change password 
3. exit 
selection:1 
则次行为:chase Any ACU 38400 9,64959953 -\r\d-name:-\K\d-name:-\K\d-name: 
olm ssword: abcde tion: 1  

3) 3. Display or update direct- or dial-out lines (Devices) 
Tty lines listed in the Devices file : 
tty2A 
Device type : ACU 
Tty line : tty2A 
Dialer line : - 
Speed range : 38400 
Dialer : atcdx* 
(* 注:atcdx 即用./make.dialer 做出的拨号器的名字。) 
3.加入ppp协议。 
# netconfig 
Harkware-> Add new WAN connection->*SW SCO TCP/IP PPP Driver-> Dynamic 
Outgoing Link 

Local host name: |ppp-cdx | [ Advanced 
Host IP address: |127.0.0.2*___________| Options] 
Destination name: |netchina____________| 
Destination IP address: |127.0.0.3*__________| 
Netmask: |255.255.255.0_______| 
UUCP destination name: |chase**_______________| 
Number of UUCP retries: |____________________| 
Gateway: <*> Yes < > No 

[ OK ] [ Cancel ] [ Help ] 
(* 任意的IP) 
(** uucp site name) 
配置完成后reboot。 
创建 /etc/resolv.conf 
例:/etc/resolv.conf 
nameserver 202.94.1.33* 
(* 注:ISP DNS IP) 
4. 连接。 
# ping netchina (or # ping 127.0.0.2) 
连通后。运行netstat -rn 查出本机新得到的IP。加入路由表。 
# netstat -rn (假设 New IP adress :202.94.2.50) 
# route add 0.0.0.0 202.94.2.50 

(完)

 flymeng 回复于:2003-02-20 08:42:21
大虾:
  小弟按你的说法拨到windows2000服务器上总是不通,能否指点一下小弟。给出sco unix5.0.5拨号到2000上去各方的具体配置,谢谢

 luyong 回复于:2003-02-20 14:37:35
你是否知道
对方计算机
PPP动态输入
怎么配置?

原文转自:http://www.ltesting.net