. ------------------------- , , mkdev "d" "i". , , , . 8.4. NETWORK. ---------------------------------------------- SCO TCP/IP, SCO TCP/IP. 1 4 . , . . network . , 255 . 32 . 22 , 8 2 ( 1), , . , 65534 . 14 , 16 2 , 1 0, . , , 65534 . 7 , 24 , 2 0 . SCO TCP/IP - 21 - , : DDN Network Information Center SRI International 333 Ravenswood Avenue,Room E1291 Menlo Park,CA 94025 USA mkdev tcp, , /etc/strcf /etc/tcp. 8.4.1. UNIX. ---------------------------------------- 1. (#) mkdev tcp Return. : Which driver...( ?) Please choose one...( :) e3A e3B e3C wdn slip Enter the name... ( , TCP/IP "q" .) Return. "q", . SCO TCP/IP - 22 - 2. : Enter DOMAIN name for type [sco.COM] ( type...) , type - , , . , , , Return. Return. . 3. : Interface type[n] IP address [132.147.160.1] ( [n] IP ...) , type , , , , IP ( ). IP Return. SCO TCP/IP - 23 - 4. : Does Interfase type[n]...( [n] 0?(y/n). 0, "y", 1, "n", Return. 5. : Interface type[n] broadcast address [132.147.255.255]: ( [n]...) IP , . , , , Return. Return. 6. : Interface type[n] netmask [255.255.0.0]: ( ...) , Return, Return. SLIP TCP/IP, SLIP . SCO TCP/IP - 24 - 7. tty : Tty line: tty (, tty3A) Return. 8. IP : Interface source (you) IP address: ( ) ,(, 132.147.160.1) Return. 9. : Interface destination (them) IP address: ( , ) Return. SCO TCP/IP - 25 - 10. : Baud rate (default 9600): ( ( 9600)) , Return. 11. : SLIP Interface on ttynn netmask [255.255.0.0]: ( SLIP ttynn [... , ttynn tty , SLIP . , Return. Return. , . - : Configuring TCP/IP for type. Please Wait. SCO TCP/IP - 26 - 12. SCO TCP/IP Ethernet . , . , q . . : TCP/IP Driver Configuration Completed. ( ) 1 SCO TCP/IP . :" "," "," ". 8.5. sendmail . -------------------------------------- , sendmail MMDF mail. sendmail . sendmail , mkdev sendmail-init. mkdev cf sendmail, sendmail. 1. mkdev sendmail-init (#). : Saving the following files:... : The mail system...( mail , sendmail .) mkdev sendmail-init sendmail, mkdev cf sendmail. SCO TCP/IP - 27 - 2. : Press Return...( Return .) 3. . . 4. UUCP . , . 5. . hostname. . 6. . . 7. sendmail cf . , . :Do you wish to change anything?[y/n]. The old...( - ?[y/n]. sendmail cf /usr/lib/custom/save/sendmail. cf.) 8. . "no". . , "yes" 2 3. UUCP , "yes" : Is there a UUCP gateway? 9. - . , , . . SCO TCP/IP - 28 - 10. . 8.6. TCP/IP. ------------------------------------- TCP/IP UNIX MMDF . , - /usr/mmdf , dbmbuild(ADM). , MMDF SMTP "sco.COM". "medusa.sco.com" 1. "mmdf". 2. /usr/mmdf/mmdftailor, : - MLDOMAIN, . : MLDOMAIN sco.COM - - ( , "COM","EDU","GOV", ..), . : MTBL smtpdom, = "smtp.dom", = "SCO SMTP Domain" - , . : MCHN = "Local Delivery", que=local,tbl=local,ap=same, pgm=local,mod=imm,host="medusa.sco.COM" SCO TCP/IP - 29 - - , SMTP mail : MCHN smtp,show= "SCO SMTP Delivery". que=smtp,tbl=smtpchn,ap=822, pgm=smtp,mod=imm - , . : MDMN "medusa.sco.COM", show="Local domain",table=locdom MDMN "sco.COM", show="SCO SMTP Domain",table=smtpdom 3. . : medusa:medusa.sco.COM 4. /usr/mmdf/table/local/chn . : medusa.sco.COM:medusa medusa.UUCP:medusa medusa:medusa 5. /usr/mmdf/table/root.dom. , . : medusa:medusa.sco.COM SCO TCP/IP - 30 - 6. , , , # . :( uunet) com uunet.UU.NET edu uunet.UU.NET 7. cases, (:user@uscopia user@uscopia.sco.COM), . : # ionesco:ionesco.sco.COM uscopia:uscopia.sco.COM 8. /usr/mmdf/table/smtp.chn . : ionesco.sco.COM: 132.147.128.12 uscopia.sco.COM: 132.147.128.14 9. /usr/mmdf/table, ./dbmbuild (mail routing system). 10., checkaddr .: checkaddr root@medusa SCO TCP/IP - 31 - 8.7. TCP/IP. -------------------------------- 1. , : /etc/shutdown 2. . , , , . 3. Starting TCP...( , ). TCP start complete... 4. , , . ping, : ping localhost , . : 64 bytes from 127.0.0.1: icmp_seg=0, time = 20. ms , TCP . 5. netstat , SLIP . : netstat-i 6. ping . , , , .. . SCO TCP/IP - 32 - 8.8. TCP/IP. ----------------------------- , . SCO TCP/IP STREAMS , STREAMS. : - ftp - ftp - rlogin - rlogin - telnet rlogin 1 TCP/IP , " Network". , STREAMS : ; , Network, , Network, . , link kit "configure" STREAMS. , UNIX 16 telnet . SCO TCP/IP - 33 - 9. TCP/IP. ------------------------------------ , : /etc/shutdown , SCO TCP/IP , . : /etc/tcp stop : /etc/tcp start 10. SCO TCP/IP . ------------------------------- TCP/IP , . . . 11. SCO TCP/IP UNIX. -------------------------------------- SCP TCP/IP UNIX : 1. (root) . : TCP Shutdown TCP Shutdown Complete. 2. custom . 3. Remove. . TCPRT SCO TCP/IP, SNDMAIL sendmail , MMDFTCP SMTP MMDF, ALL . SCO TCP/IP - 34 - Return. , , , custom. Quit Return, Yes Return. 4. : Do you wish...( ? (y/n)). "y". . , , , "y". . "y". , custom. custom . 5. custom. quit Return. yes Return. 6. init 6. 11. SLIP . ----------------------------------- SCO TCP/IP SLIP . : SLIP , slattach. , (#) /etc/tcp. slattach . : (stty 1200; echo "ATEO\r" > /dev/ttyla) < /dev/ttyla slattach /dev/ttyla slipb slipa 1200 SCO TCP/IP - 35 - "". , SLIP . , com , slattach. slattach. (#) shell : (stty 1200; echo "ATEO\r" > /dev/ttyla) < /dev/ttyla /usr/lib/uucp/dialHA12 /dev/ttyla 5551212 1200 if [$?] then slattach /dev/ttyla slipa slipb 1200 else echo "Error dialing\n" fi "". , SLIP . /usr/lib/uucp/dialHA12 0(TRUE), . , (dialHA12) UUCP . , custom . . , slattach , . , . tty , , . , /etc/routed , /etc/slattach. routed slattach, : routed: packed from unknown router < net address > ( ) . SCO TCP/IP - 36 - 12. . ---------------------------------- 12.1. . -------------------------------- - rcp TCP/IP , UNIX. UNIX rcp MICNET, rcp TCP/IP TCP/IP . . , . UNIX rcp /urs/lib/custom/save/rcp, TCP/IP rcp /usr/bin/rcp. . - SLIP , TCP/IP sidetach : KERNEL: munlink: could not perform unlink ioctl,closing away ( , ) - SLIP . . - sendmail Micnet UUCP. UUCP, local mail, mail, TCP/IP. - , Western Digital. , / TCP/Ip Western Digital . 240 380. , Western Digital , , 6 . SCO TCP/IP - 37 - Western Digital /. - S- netstat . - SCP TCP/IP, , , , SCO TCP/IP. /etc/perms . - root , c shutdown. - STREAMS . , shutdown TCP . fsck(ADMN), . , , . - - STREAMS,VP/ix , network , VP/ix. - , . /tmp/init.tcpmanXXXX.man, - ID . , custom SCO TCP/IP . SCO TCP/IP - 38 - 12.2. UNIX. ------------------------------------ SCO TCP/IP UNIX: - SCO TCP/IP , /bin/login /usr/lib/custom/save/login /bin/login. UNIX , 3.2.1, /usr/lib/custom/save/login /bin/login, TCP/IP. - (mail)- MMDF. SCP TCP/IP. SCP TCP/IP, sendmail . TCP/IP LANs, mail sendmail. SCP TCP/IP mkdev cf , : sendmail , UUCP, . - sendmail: @relay.foo.DOM:user@machine.DOM . - netstat . ( netstat -a netstat) : corrupt control block chain ( ). SCO TCP/IP - 39 - - SCO TCP/IP STREAMS. STREAMS, SCO TCP/IP. - 3COM 3c501 , . 3. - 3COM 3c503 , . 3. - 3c501 e3A . 16 . , e3A, / 0x300 0x30f. / 0x310. , . - 3c503 e3B . 16 . , e3A, / 0x300 0x30f. / 0x310. , . - rcp(TC) rcmd(TC) , C-Shell(csh(C)). SCO TCP/IP - 40 - - , , mkdev tcp , . - sendmail -bi /usr/lib/mail/aliases , /usr/lib/mail/aliases.pag /usr/lib/mail/aliases.dir. sendmail . - tcp stop , tcp start , . , , . , rlogin telnet . - (network) , . - . , . , . - UNIX 3.2.0 SLIP 2400 . , UNIX 3.2.1 . - tftp, , , . : Error code 1: file not found ( ) SCO TCP/IP - 41 - - ftp sendport, mput, : 425 Can't build data connection:...425 . mput. - 02 , TCP/IP. - IRQ2 . , TCP/IP. , , IRQ2 - . - , telnet rlogin :"Attempt to exceed... ( rlogin) , . - . , , , . . - rcp , . . - /etc/sockcf . , , . /etc/sockcf . . SCO TCP/IP - 42 - - rlogin telnet profile . "unknown". , TERM , setenv(C) tset(C) . 13. . --------------------------------------- 13.1. (aliases(SFF)). --------------------------- (SFF) /usr/lib/aliases. /usr/lib/mail/aliases. 13.2.sendmail(ADMN). -------------------- sendmail(ADMN) bi. . 13.3.ftp(TC). ------------- BUFFERSIZE, . BUFFERSIZE=1024 . 13.4.ftp(TC). ------------- 5 TCP/IP ftp account. .