By Fenng
Operating System: SCO OpenServer 5.0.5 Router Name: Router User Name and Password: User / User Router Address: 10.154.0.1loopback Address: 10.154.15.1 Address: 10.154.14.1-10.154.14.62 Network Mask: 255.255 .255.192
---------------------------------------- Modem Manager Management Tools
First, you should be familiar with MODEM management tool: Modem Manager is used to set up Modem.
Double-click the System Administration icon on the desktop, select NetWorks, and then select Modem Manager. Enter SCOADMIN in the command line to select "NetWorks", select "Modem Manager". Enter SCOADM MODEM Manager in the command line ------------------------ ---------------------------------- Install the modem
1. Automatically detect modems In MODEM Manager, if you choose to automatically detect, make sure that the following points:
1. Make sure the MODEM has been connected and is open (power-up) 2. From the MODEM menu selection, continue to select Automatic Detection.3. Select MODEM connection Serial Port, or select Any to let the system check all serial ports. 4. Select OK to start looking for MODEM. When the serial port is connected to the Modem is detected, the indicator on the Modem flashes a few seconds. In this process, the Modem Manager detects the corresponding serial port and generates a list of detected modems. 5. When the test is complete, select the modem you want to add and click OK to add.
If the modem is not detected, make sure the MODEM has been connected correctly and the switch is open. Some "old" or too new Modem cannot be properly detected, this time should be considered manually added. ------------------------------------------
Handmade add MODEM
In MODEM Manager, manually add MODEM: 1. Select Add from the Modem menu, select the MODEM Configuration window 2. Enter the following information: -------------- ------------------- Modem Vendor (MODEM provider) Select your MODEM manufacturer, if not listed, select the standard modem type
Modem Model Enter the Modem Type, if the standard Modem type is selected, select the standard Modem.
Line Speed (BPS) Enter a serial line speed, the default is 38,400bps, it is recommended not to choose too high to avoid unnecessary trouble. If you can't consider using 9600 bps, this is the default speed of serial, more secure.
Modem Port Select the port (TTY1A or TTY2A) of the Modem connection (TTY1A or TTY2A)
Answer Mode dials out of the option, if you accept, if you accept, choose ON ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ --3. Click OK to accept the above configuration
Prohibit non-modem-controlled ports and activate MODEM-controlled ports
Such as: #disable ttynn (non-modem port) The "TTYNN" here can be TTY1A. #Nable TTYNN (MODEM port) The "TTYNN" here can be TTY1A. In addition, make sure TTYNN is all UUCP, you may wish to simply: # chown -r uucp: UUCP / DEV / TTYNN Replace NN with the corresponding port number (1a or 2a)
Tips: Can I use 1. # cu -l tty1a dir2. Activate the MODEM's speaker so that you can hear the dial tone: ATM2 (ATM0 turning off.) 3. Enter the following command: ATDT phone number. Such as: ATDT1634. After confirming that MODEM can be allocated, enter ~. (A wave line plus a small point) Exit CU
Set UUCP connection
You can manually edit the / usr / lib / uucp / systems file to achieve the goal. It is best to use uucp manager / uuinstall software to complete
The Systems file under the / usr / lib / uucp directory contains a list of systems "known" in the UUCP. And indicate the devices and methods for connecting to each system. The Devices file indicates the available device, the speed of use, and the port that the device can connect.
Run SCOOTMIN -> Networks -> UUCP Manager or UUINSTALL (ADM) command menu is as follows:
# 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: 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
Choose an option (1-2), or Q to quit: quucp 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
At a prompt, enter the text backed by
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
Then the screen display:
NEW Entry Is Accepted:
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 After you will prompt you to write a file, select Y.
Changes Have Been Made. THESE SHOULD NOW Be Written To The File, or Otherwise The Will Be Discarded. Write Out To File (Y / N) YSYSTEMS File SuccessFully Updated.use Main Menu Option 5 To check files.
Enter q Back to the main menu, select 5 test file consistency. After passing, select 6, test the connection of UUCP.
Choose An Option (1-7), or Q to quit: 5
Check consistency of uus files ===================================================== / etc / inittab, but do mod one. 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
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 will finally appear a bunch of garbled. Indicates normal communication. Since there is no username and password, garbled will continue, switch to another screen, find the process, kill it. You can also use this command: / usr / lib / uucp / uutry -r -x9 sitename
UUCP configuration is complete. Next Configure PPP Drive SCOADMIN -> Networks -> Network Configuration Manager or Enter NetConfig in the Command Line Hardware -> Add New Wan Connection -> SCO TCP / IP DRIVER -> SCO TCP / IP -> Add Select PPP
Can be configured: Dynamic Outgoing Dynamic Incoming Dedicated Manual Outgoing The content of the configured configuration and / usr / bin / pppconf corresponds to the content of this file. Select the first dynamic allot
In our example:
The name of the router: Router User Name / Password: User / User Router Address: 10.154.0.1Loopback Address: 10.154.15.1 Address: 10.154.14.1-10.154.14.62 Network Mask: 255.255.255.192
So this configuration: ---------------------------------------------- ----------- Local host name: PPP [Advanced] Host IP address: 10.154.14.1 Options ... Destination Name: Router Destination IP Address: 10.154.15.195.192 uucp destination name: Test Number of Uucp Retries: Gateway: <> YES <*> NO
Note: Local host name can be arbitrarily fill in Host IP Address Settings to Router Address Name Destination Name Fill in the Router's Name Destination IP Address Router Roacble Address UUCP Destination Name UUCP Target Name Write the NetMask you added in front of you Add. correct------------------------------------------------- ---------------
User name and password set in 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: <*> 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 After filling, the system will prompt the core. Restart after completion.
Modify / etc / pppauth, the last line should be like this: * User user # below the name of the Router User, the name of the router, and the user's name! Among them, * represents the local username and password not * representative remote router information
After restart,
#NetStat -nr Look at the route # / etc / route add default 10.154.0.1 # ping 10.154.0.1 The system will automatically dial :) Modify / etc / tcp, find the / etc / route add word, one line written under / etc / route add default 10.154.0.1 store exits
# / etc / tcp stop # / etc / tcp start