Checking the Dialcodes file ...
Checking /etc/inittab file ...
Press
Choose an option (1-7), or q to quit : 6
Test connection with remote site
================================
This option attempts to make a connection to a
remote site with uucico, which uses the Systems
and Devices files.
Its full debug output is shown on screen, and
also saved in the file /usr/lib/uucp/Testlog.
Site names listed in the Systems file :
sosco scolon test
Which site do you want to try (or q to quit) ? test
最后會出現(xiàn)一堆的亂碼 。表示通訊正常 。
由于沒有輸入用戶名和密碼,亂碼會延續(xù)下去,切換到另一屏,找到該進(jìn)程,殺掉即可 。
測試還可以使用這個命令:
/usr/lib/uucp/uutry -r -x9 sitename
uucp 配置完成 。
接下來配置ppp驅(qū)動
SCOAdmin-->Networks-->Network Configuration Manager或者在命令行輸入netconfig
選擇 Hardware-->Add New WAN Connection-->SCO TCP/IP driver-->SCO TCP/IP-->Add
選擇ppp
可以配置:Dynamic Outgoing
Dynamic Incoming
Dedicated
Manual Outgoing
這里配置的信息和/usr/bin/pppconf這個文件的內(nèi)容相對應(yīng).
選第一個動態(tài)撥出就可以
在我們的例子中:
路由器的名字:Router
用戶名/ 口令:user/user
路由器的地址:10.154.0.1
loopback地址:10.154.15.1
地址池的地址:10.154.14.1-10.154.14.62
網(wǎng)絡(luò)掩碼: 255.255.255.192
所以這樣配置:
---------------------------------------------------------
Local host name: ppp [ Advanced ]
Host IP address: 10.154.14.1 Options...
Destination name: Router
Destination IP address: 10.154.15.1
Netmask: 255.255.255.192
UUCP destination name: test
Number of UUCP retrIEs:
Gateway: < > Yes <*> No
注釋:local host name 可以任意填
host IP address 設(shè)置成路由器地址池中的地址之一
Destination name 填入路由器的名字
Destination IP address 路由器回環(huán)地址
UUCP destination name uucp目標(biāo)名字寫前面自己添加的那個
netmask也要填寫正確
----------------------------------------------------------------
用戶名和口令在Advanced options中設(shè)置
Debug level: < > 0 < > 1 <*> 2
Tag for /etc/pppfilter:
Inactivity timeout (minutes):
Async. control character map (hex.):
Line flow control: <*> none < > xonxoff < > rtscts
Protocol field compression: <*> Yes < > No
Address-control field compression: <*> Yes < > No
IP address negotiation: <*> Yes < > No
Old IP address negotiation: < > Yes <*> No
Van Jacobson TCP header compression: <*> Yes < > No
Old PPP compatibility: < > Yes <*> No
Authentication protocol: < > none < > PAP <*> CHAP
Authentication timeout (minutes):
Local host ID: user
Local host passWord: user
填完后系統(tǒng)會提示重新連接核心 。
完成后重新啟動 。
修改/etc/pppauth,最后一行應(yīng)該是這樣的:
*user user #在下面填入一行
Router user
即路由器的名字和用戶的名字,這個修改很關(guān)鍵!其中*代表本地的用戶名和密碼
沒有*的代表遠(yuǎn)程的路由器的信息
重啟后,
#netstat -nr 看一下路由
#/etc/route add default 10.154.0.1
#ping 10.154.0.1
系統(tǒng)就會自動的撥號了:)
修改/etc/tcp,找到/etc/route add字樣的一行
在下面寫上/etc/route add default 10.154.0.1
存盤退出
#/etc/tcp stop
#/etc/tcp start
掛斷modem 可以用這個命令:
#ifconfig ppp0 down
重新啟用modem可以用這個命令:
#ifconfig ppp0 up
涉及到的系統(tǒng)命令:
-----------------------------------------------------------------
命令 功能描述
-----------------------------------------------------------------
uucheck 檢查uucp需要的文件和目錄 。這個命令也檢查文件的明顯錯誤 。
推薦閱讀
- 2 sco unixware 7.1.1 全面學(xué)習(xí)資料
- E338手機(jī)待機(jī)時間詳解
- vmware 下安裝sco的步聚
- SCO UNIX安裝參考
- 3 sco unixware 7.1.1 全面學(xué)習(xí)資料
- 7 sco unixware 7.1.1 全面學(xué)習(xí)資料
- sco下播放mp3
- 5 sco unixware 7.1.1 全面學(xué)習(xí)資料
- 1 sco unixware 7.1.1 全面學(xué)習(xí)資料
- 6 sco unixware 7.1.1 全面學(xué)習(xí)資料
