精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>电脑技术>>● FreeBSD>>系统管理>>系统设置与技巧>>系统相关之howto>>系统相关的 : 如何使用 Kermit + Modem上

主题:系统相关的 : 如何使用 Kermit + Modem上
发信人: neal()
整理人: (1999-04-22 02:53:33), 站内信件

        Last Updated: 95/11/10 
         
From: [email protected] ( 陈威州 Wei-Jou 
Chen ) 
Newsgroups: tw.bbs.comp.386bsd 
Subject: Re: 请使用数据机的朋友帮忙...... 
Date: 10 Nov 1995 01:50:14 GMT 
Organization: Sweet Home, Hsinchu, Taiwan. 
 
        I would like to post my .kermrc file  for using kermit to 
dial up to NCTU to play with PPP(pppd), SLIP and Terminal 
server. The macros 
'slip' and 'ppp' can be used to play 'slip' and 'ppp'. That means 
you can just 
keyin 'slip' for connection to slip server in NTU after go into 
kermit. Your 
kernel should support ppp and sl. 
        I am a very poor Chinese typist, so I just can  
contribute my example .kermrc file. Have fun! 
 
PS. In FreeBSD, only root can add route table, so the .kermrc is 
for root. 
 
#------------.kermrc for root ---------------# 

; basic assignment session 

assign \%m /dev/cuaa3 
assign \%s 57600 
assign \%i ATH0L2M1\x0d 

; basic setting session 

set line \%m 
set modem hayes 
set dial init-string \%i 
set dial dial-command ATDT%s\x0d 
set dial timeout 60 
set flow rts/cts 
set terminal bytesize 8 
set command bytesize 8 
set parity none 
set speed \%s 
set file type binary 
set file names literal 
set receive packet-length 1024 
set send packet-length 1024 
set window 8 
set block 3 

; macro definitions session 


; rz and sz macro definitions 

define rz - 
   !rz \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line) 
define sz - 
   !sz \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line) 

--
※ 来源:.网易 BBS bbs.netease.com.[FROM: dmx320.resnet.ust.hk]

[关闭][返回]