Pripojeni terminalu pres pevnou linku
Milan Kerslager
milan.kerslager na spsselib.hiedu.cz
Pondělí Březen 1 12:48:07 CET 1999
On 1 Mar 99 at 10:21, Petr Cizmar wrote:
> Zkousel jsem na svem RH 5.1 propojit DOSovy terminal a Liux. Dilci
> uspech jsem mel pri pouziti agetty. mgetty a getty nefungovalo vubec,
> agetty hodil login: a pak uz nic. Pritom parametr -L byl zadan (jedna
> se o pevnou linku, zadne modemove komunikace). Muze me nekdo poradit?
Používám mgetty. Problém v tom není. Nastavuji:
/etc/rc.d/rc.local:
echo -n "Setting HW handshake on /dev/cua1... "
stty crtscts < /dev/ttyS1
setserial /dev/ttyS1 spd_vhi
echo "Ok."
/etc/mgetty+sendfax/mgetty.config:
debug 2
fax-id 49 89 xxxxxxxx
speed 115200
port ttyS1
data-only y
init-chat "" \d\d\d+++\d\d\dAT OK ATH0 OK ATV1L1E1Q0X3 OK ATS0=0 OK
/etc/inittab:
s2:3456:respawn:/sbin/mgetty ttyS1
Zkoušel jsem PPP i AutoPPP pro W'95, chodí. Nezkoušel jsem callback, ale
chodí určitě taky.
--
Milan Kerslager, admin of spsselib.hiedu.cz
Monkey Linux, The Minimal Linux Distribution
See: http://www.spsselib.hiedu.cz/monkey/
E-mail: milan.kerslager na spsselib.hiedu.cz
Další informace o konferenci Linux