Modemy i Motorola (prakticheskie rekomendacii)
predpolagaetsya, chto chitatel' znakom s administrirovaniem
v Unix i imeet dostup k spravochnym materialam, ibo
v dannom rukovodstve opisyvaetsya obshchij PUTX nastrojki,
no ne daetsya ob®yasnenij pochemu delaetsya imenno tak.
1. Podklyuchenie modema k Motorole 922 (plata v/v MVME 197)
beretsya TERMINALXNYJ KABELX iz KOMPLEKTA Motoroly
(RJ-45 <-> RJ-45 - OBRASHCHENNYJ, 4 skruchennye pary)
odin raz®em vstavlyatsya v posledovatel'nyj port MVME197
(naprimer, SP4/UPS), vtoroj v gnezdo RJ-45, raspayannoe
pod DB25 (obychnoe gnezdo vneshnego modema)
RJ-45 DB25
1 DTR 20
2 CTS 5
3 Signal Ground 7
4 RxD 3
5 TxD 2
6 Ground 7
7 RTS 4
8 CD 8
2. Podklyuchenie modema k personalke.
sm. rukovodstvo po podklyucheniyu modema
3. Imenovanie portov v Unix System V/88 4.0
SP2/TEL /dev/contty01
SP3 /dev/contty02
SP4/UPS /dev/contty03
4. Sozdanie metki opisaniya terminal'noj linii v /etc/ttydefs
38400mdm:38400 -clocal hupcl onlcr -igncr icrnl erase ^h:
38400 -clocal hupcl onlcr -igncr icrnl erase ^h tab3 -istrip echoe::38400mdm
5. Upravlenie posledovatel'nymi portami v Unix System V 4.0
(v rezhime superpol'zovatelya)
pmadm -l -t ttymon
ne dolzhen vydavat' stroki otnosyashchiesya k vybrannomu Vami portu
esli takie stroki prisutstvuyut, to udalite etot servis:
pmadm -r -p -s
dobav'te obsluzhivanie dannogo porta
esli ne bylo ni odnogo terminal'nogo monitora, to dobav'te ego
sacadm -a -p ttymonbnu -t ttymon -c /usr/lib/saf/ttymon -v `ttyadm -V`
dobav'te terminal'nyj servis dlya ishodyashchih zvonkov
pmadm -a -p ttymonbnu -s tty02 -i root -f u -v `ttyadm -V` -m
"`ttyadm -b -p login: -d /dev/contty02 -l 38400mdm -s /usr/bin/login`"
dobav'te terminal'nyj servis dlya vhodyashchih zvonkov (drugoj port!)
pmadm -a -p ttymonbnu -s tty03 -i root -f u -v `ttyadm -V` -m
"`ttyadm -p login: -d /dev/contty03 -l 38400mdm -s /usr/bin/login`"
esli v Vashem /etc/inittab ukazan respawn dlya porta contty02 (contty03),
to otklyuchite ego (postav'te off i vypolnite komandu init q)
6. Konfiguraciya UUPC/Relcom dlya svyazi s regional'nym fondom
zapuskaete programmu INSTALL (dialog dlya versii 2.19)
esli u Vas ustanovlen rusifikator ekrana, to ukazhite russkij yazyk
cvetnoj displej ili cherno-belyj
nazhmite Enter
nazhmite Enter
ukazhite "Net"
vvedite imya Vashej organizacii (naprimer, T'mutarakan'skij regional'nyj fond)
vvedite polnoe imya Vashego domena (naprimer, regfond1.tmutar.su)
vyzyvaemaya sistema (naprimer, ttregfond)
lokal'naya sistema (naprimer, ttregfond13)
imya dlya vhoda (obyazatel'no: nuucp)
parol' (obyazatel'no: nuucp)
vremennaya zona (naprimer, MSK-8MSD)
server telekonferencij (ostav'te predlagaemoe, vse ravno ego net)
telefony, vyzyvaemoj sistemy (naprimer, 8W093!1234567)
vse pravil'no
ne nado zapisyvat'
nazhmite Enter
disk C, katalog \uupc
--- nekotoroe vremya raszhimayutsya arhivy ---
kopirovat' dokumentaciyu
kopirovat' opisaniya standartov
kolichestvo modemov (naprimer, 1)
nomer porta (naprimer, COM2)
vyberite modem (ne znayu, kakoj u Vas mode...)
nazhmite Enter
ne ispol'zovat' FOSSIL drajver
vvedite registracionnoe imya lokal'nogo pol'zovatelya(naprimer, root)
vvedite Vashe imya, otchestvo i familiyu
vvedite imya domashnego kataloga (naprimer, C:\uupc\root)
yazyk, konechno, russkij
imya lyubimogo tekstovogo redaktora (u menya c:\me\me.exe)
ne nado kodirovki VOLAPJUK
nuzhny li podtverzhdeniya o dostavke pochty (po vkusu)
hvatit poka pol'zovatelej
nazhmite Enter
imya otvetstvennogo za pochtu (u nas, konechno, root)
kuda polozhit' ispolnyaemye fajly (naprimer, C:\bin)
chitaete vvedenie i nazhimaete Enter
Vse! |to, konechno, samyj prostejshij sluchaj
Vnimanie: esli u Vas modem ZyXel, to v fajle \uupc\conf\dialers
v stroke zyxel-u1496 zamenite &S1 na &S0
V fajle \uupc\conf\systems pered slovom word i v konce dobav'te \n\c
mezhdu \w15 i \c dobav'te \n\d
7. zavesti pol'zovatelej uucp i nuucp (obychno oni uzhe est')
uucp:x:5:5:0000-uucp(0000):/usr/lib/uucp
nuucp:x:10:10:0000uucp(0000):/var/spool/uucppublic:/usr/lib/uucp/uucico
ne zabud'te skazat':
pwconv
zadajte parol' dlya pol'zovatelya nuucp
passwd nuucp
New password: nuucp
Re-enter Password: nuucp
8. Konfiguraciya UUPC v Unix V/88 4.0 dlya ozhidaniya vyzova
(predpolagaem, chto uname -n ustanovlena v ttregfond)
vse raboty proizvodit' pod imenem uucp:
su uucp (iz-pod root)
v fajle /etc/uucp/Permissions dolzhna byt' stroka
LOGNAME=nuucp READ=/ MACHINE=ttregfond13 REQUEST=yes SENDFILES=yes
v fajle /etc/uucp/Systems dlya kazhdoj udalennoj sistemy UUPC/Relcom
dolzhna byt' stroka:
ttregfond13 Any ACU I38400 nomer_telefona_PC
v fajle /etc/uucp/Dialers
imya_modema =-
\M\d+++\dATH\r\c OK ATZ\r\c OK\r \EATDP\T\r\c CONNECT \r\m\c
(nadeyus', chto vsyu neobhodimuyu nastrojku modema Vy zanesli v profil' konf-i 0)
v fajle /etc/uucp/Devices
ACU contty03,M - I38400 imya_modema
9. Uberite iz crontab dlya root vyzovy uudemon.poll i uudemon.hour
(uudemon.admin i uudemon.cleanup mozhno ostavit')
10. Oprobujte peresylku pochty
a) v Unix vydajte komandu
mail root!ttregfond13
test from Unix
^D
b) v UUPC/Relcom poshlite pis'mo po adresu root!ttregfond
v) v UUPC/Relcom vypolnite komandu uupc
UUPC/Relcom dolzhen pozvonit' Unix-u, peredat' imya
pol'zovatelya nuucp, parol' nuucp, posle chego zapustitsya uucico
v MS-DOS i UNIX, oni dogovoryatsya mezhdu soboj, obmenyayutsya
pis'mami i zavershat seans svyazi. Teper' skazav mail v UNIX i
bmail v MS-DOS Vy dolzhny poluchit' sootvetstvuyushchie pis'ma.
From bog Thu May 18 18:21 MSD 1995
Date: Thu, 18 May 1995 18:21:57 +0400
From: "Sergej E. Bogomolow"
To: moshkow
Subject: modems at motorolla
Content-Type: X-sun-attachment
Content-Length: 5991
----------
X-Sun-Data-Type: default
X-Sun-Data-Description: default
X-Sun-Data-Name: modmodem.besta
X-Sun-Charset: iso-8859-1
X-Sun-Content-Lines: 144
Modemy i Motorola (prakticheskie rekomendacii)
predpolagaetsya, chto chitatel' znakom s administrirovaniem
v Unix i imeet dostup k spravochnym materialam, ibo
v dannom rukovodstve opisyvaetsya obshchij PUTX nastrojki,
no ne daetsya ob®yasnenij pochemu delaetsya imenno tak.
1. Podklyuchenie modema k Motorole 922 (plata v/v MVME 197)
beretsya terminal'nyj kabel' iz komplekta Motoroly
(RJ-45 <-> RJ-45 - obrashchennyj, 4 skruchennye pary)
odin raz®em vstavlyatsya v posledovatel'nyj port MVME197
(naprimer, SP4/UPS), vtoroj v gnezdo RJ-45, raspayannoe
pod DB25 (obychnoe gnezdo vneshnego modema)
RJ-45 DB25
1 DTR 20
2 CTS 5
3 Signal Ground 7
4 RxD 3
5 TxD 2
6 Ground 7
7 RTS 4
8 CD 8
2. Podklyuchenie modema k personalke.
sm. rukovodstvo po podklyucheniyu modema
Dlya ZyXel-1496E proinicializirujte modem sleduyushchim obrazom
AT&F
OK
ATS0=1S18=2&W
OK
3. Imenovanie portov v Unix System V/88 4.0
SP2/TEL /dev/contty01
SP3 /dev/contty02
SP4/UPS /dev/contty03
4. Sozdanie metki opisaniya terminal'noj linii v /etc/ttydefs
38400mdm:38400 -clocal hupcl onlcr -igncr icrnl erase ^h:
38400 -clocal hupcl onlcr -igncr icrnl erase ^h tab3 -istrip echoe::38400mdm
5. Upravlenie posledovatel'nymi portami v Unix System V 4.0
(v rezhime superpol'zovatelya)
pmadm -l -t ttymon
ne dolzhen vydavat' stroki otnosyashchiesya k vybrannomu Vami portu
esli takie stroki prisutstvuyut, to udalite etot servis:
pmadm -r -p -s
dobav'te obsluzhivanie dannogo porta
esli ne bylo ni odnogo terminal'nogo monitora, to dobav'te ego
sacadm -a -p ttymonbnu -t ttymon -c /usr/lib/saf/ttymon -v `ttyadm -V`
dobav'te terminal'nyj servis (port tty02 dlya primera)
pmadm -a -p ttymonbnu -s tty02 -i root -f u -v `ttyadm -V` -m
"`ttyadm -b -h -r 1 -p login: -d /dev/contty02
-l 38400mdm -s /usr/bin/login`"
esli v Vashem /etc/inittab ukazan respawn dlya porta contty02,
to otklyuchite ego (postav'te off i vypolnite komandu init q)
6. Konfiguraciya UUPC/Relcom dlya svyazi s regional'nym fondom
zapuskaete programmu INSTALL (dialog dlya versii 2.19)
esli u Vas ustanovlen rusifikator ekrana, to ukazhite russkij yazyk
cvetnoj displej ili cherno-belyj
nazhmite Enter
nazhmite Enter
ukazhite "Net"
vvedite imya Vashej organizacii (naprimer, T'mutarakan'skij regional'nyj fond)
vvedite polnoe imya Vashego domena (naprimer, regfond1.tmutar.su)
vyzyvaemaya sistema (naprimer, ttregfond)
lokal'naya sistema (naprimer, ttregfond13)
imya dlya vhoda (obyazatel'no: nuucp)
parol' (obyazatel'no: nuucp)
vremennaya zona (naprimer, MSK-8MSD)
server telekonferencij (ostav'te predlagaemoe, vse ravno ego net)
telefony, vyzyvaemoj sistemy (naprimer, 8W093!1234567)
vse pravil'no
ne nado zapisyvat'
nazhmite Enter
disk C, katalog \uupc
--- nekotoroe vremya raszhimayutsya arhivy ---
kopirovat' dokumentaciyu
kopirovat' opisaniya standartov
kolichestvo modemov (naprimer, 1)
nomer porta (naprimer, COM2)
vyberite modem (ne znayu, kakoj u Vas mode...)
nazhmite Enter
ne ispol'zovat' FOSSIL drajver
vvedite registracionnoe imya lokal'nogo pol'zovatelya(naprimer, root)
vvedite Vashe imya, otchestvo i familiyu
vvedite imya domashnego kataloga (naprimer, C:\uupc\root)
yazyk, konechno, russkij
imya lyubimogo tekstovogo redaktora (u menya c:\me\me.exe)
ne nado kodirovki VOLAPJUK
nuzhny li podtverzhdeniya o dostavke pochty (po vkusu)
hvatit poka pol'zovatelej
nazhmite Enter
imya otvetstvennogo za pochtu (u nas, konechno, root)
kuda polozhit' ispolnyaemye fajly (naprimer, C:\bin)
chitaete vvedenie i nazhimaete Enter
Vse! |to, konechno, samyj prostejshij sluchaj
Vnimanie: esli u Vas modem ZyXel, to v fajle \uupc\conf\dialers
v stroke zyxel-u1496 zamenite &S1 na &S0
V fajle \uupc\conf\systems pered slovom word i v konce dobav'te \n\c
mezhdu \w15 i \c dobav'te \n\d
7. zavesti pol'zovatelej uucp i nuucp (obychno oni uzhe est')
uucp:x:5:5:0000-uucp(0000):/usr/lib/uucp
nuucp:x:10:10:0000uucp(0000):/var/spool/uucppublic:/usr/lib/uucp/uucico
ne zabud'te skazat':
pwconv
zadajte parol' dlya pol'zovatelya nuucp
passwd nuucp
New password: nuucp
Re-enter Password: nuucp
8. Konfiguraciya UUPC v Unix V/88 4.0 dlya ozhidaniya vyzova
(predpolagaem, chto uname -n ustanovlena v ttregfond)
vse raboty proizvodit' pod imenem uucp:
su uucp (iz-pod root)
v fajle /etc/uucp/Permissions dolzhna byt' stroka
LOGNAME=nuucp READ=/ MACHINE=ttregfond13 REQUEST=yes SENDFILES=yes
v fajle /etc/uucp/Systems dlya kazhdoj udalennoj sistemy UUPC/Relcom
dolzhna byt' stroka:
ttregfond13 Any ACU I38400 nomer_telefona_PC
v fajle /etc/uucp/Dialers
imya_modema =-
\M\d+++\dATH\r\c OK ATZ\r\c OK\r \EATDP\T\r\c CONNECT \r\m\c
(nadeyus', chto vsyu neobhodimuyu nastrojku modema Vy zanesli v profil' konf-i 0)
v fajle /etc/uucp/Devices
ACU contty02,M - I38400 imya_modema
9. Uberite iz crontab dlya root vyzovy uudemon.poll i uudemon.hour
(uudemon.admin i uudemon.cleanup mozhno ostavit')
10. Oprobujte peresylku pochty
a) v Unix vydajte komandu
mail root!ttregfond13
test from Unix
^D
b) v UUPC/Relcom poshlite pis'mo po adresu root!ttregfond
v) v UUPC/Relcom vypolnite komandu uupc
UUPC/Relcom dolzhen pozvonit' Unix-u, peredat' imya pol'zovatelya nuucp,
parol' nuucp, posle chego zapustitsya uucico v MS-DOS i UNIX,
oni dogovoryatsya mezhdu soboj, obmenyayutsya pis'mami i zavershat seans
svyazi. Teper' skazav mail v UNIX i v MS-DOS Vy dolzhny poluchit'
sootvetstvuyushchie pis'ma.
Last-modified: Sat, 27 May 1995 11:01:29 GMT