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 : 1
Display or update site or machine name (/etc/systemid) ======================================================
1. Display local site name and machine names 2. Update local site name and machine names
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
At a prompt, enter the text followed by <Return>. Use "?"<Return> to get help, "q"<Return> to quit back to the menu, "-"<Return> for an unwanted entry, or just <Return> to keep the default text shown.
Display or update list of remote sites (Systems) ================================================
1. Display the Systems file 2. Add a new site entry 3. Delete a site entry 4. Change a site entry
Choose an option (1-4), or q to quit : 2
Site names listed in the Systems file :
sosco scolon
Which entry do you want to COPY (or <Return> to see all) ? sosco ---------------- Site name : sosco Schedule : Any Device type : ACU Speed range : 2400-9600 Phone number : scz4253502 Expect login : -\r\d-ogin:-\K\d-ogin:-\K\d-ogin: Send login : uusls ----------------這是原來的配置 Site name ? sosco test Schedule ? Any Device type ? ACU Speed range ? 2400-9600 9600 Phone number ? scz4253502 62177722 Expect login ? -\r\d-ogin:-\K\d-ogin:-\K\d-ogin: - ----------------修改的
Site name : yzpp Schedule : Any Device type : ACU Speed range : 9600 Phone number : 6052733 Expect login : -
Display or update list of remote sites (Systems) ================================================
1. Display the Systems file 2. Add a new site entry 3. Delete a site entry 4. Change a site entry
Choose an option (1-4), or q to quit : q
修改完後會提示你是否寫入文件,選擇y.
Changes have been made. These should now be written to the file, or otherwise they will be discarded. Write out to file (y/n) ? y Systems file successfully updated. Use main menu option 5 to check files.
輸入q回到主菜單,選擇5 測試文件的一致性。通過後選擇6,測試uucp的連接。
Choose an option (1-7), or q to quit : 5
Check consistency of UUCP files ===============================
This option checks the consistency of the files Systems, Devices, Dialcodes and /etc/inittab, but does not modify them nor attempt any connection. Use main menu option 6 to test connections.
Errors are shown on screen, and also saved in the file /usr/lib/uucp/Checklog.
Proceed to checking (y/n) ? y
Reading the Systems file ...
Reading the Devices file ...
Reading the Dialcodes file ...
Reading the Dialers file ...
Reading /etc/inittab file ...
Checking the Systems file ...
Checking the Devices file ...
Checking the Dialcodes file ...
Checking /etc/inittab file ...
Press <Return> to continue
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
所以這樣配置: --------------------------------------------------------- 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 設置成路由器地址池中的地址之一 Destination name 填入路由器的名字 Destination IP address 路由器回環地址 UUCP destination name uucp目標名字寫前面自己添加的那個 netmask也要填寫正確 ----------------------------------------------------------------
用戶名和口令在Advanced options中設置
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
填完後系統會提示重新連接核心。 完成後重新啟動。
修改/etc/pppauth ,最後一行應該是這樣的: *user user #在下面填入一行 Router user 即路由器的名字和用戶的名字,這個修改很關鍵!其中*代表本地的用戶名和密碼 沒有*的代表遠程的路由器的信息