IOL a Linux
"David Šauer"
davids na iol.cz
Středa Listopad 4 00:37:58 CET 1998
>>>> "Veros" == Veros Kaplan <xkaplan na informatics.muni.cz> píše:
Veros> Ahoj,
Veros> mam prosbu. Pokusim se prave ted spojit Linux s IOL a nejsem stavu
Veros> zjistit, jak se posila identifikace. Nemohl byste mi nekdo poslat vypis z
Veros> prislusnych souboru?
Normalne, jmeno zadej do chap-secrets a pppd se spousti ze skriptu:
#!/bin/sh
TELEPHONE=680,120 # The telephone number for the connection
export TELEPHONE
DIALER_SCRIPT="/etc/ppp/ppp-on-iol"
exec /usr/sbin/pppd /dev/modem 115200 connect $DIALER_SCRIPT
==========
v /etc/ppp/ppp-on-iol je:
#!/bin/sh
#
# This is part 2 of the ppp-on script. It will perform the connection
# protocol for the desired connection.
#
exec chat -v \
TIMEOUT 10 \
ABORT 'BUSY' \
ABORT 'NO CARRIER' \
'' \rATZ \
'OK-+++\c-OK' AT \
OK ATV1X3S95=45M2%E1 \
TIMEOUT 110 \
OK ATDP${TELEPHONE} \
PROTOCOL '\c' \
TIMEOUT 40 \
'~' '\c'
========
Pro uplnost, /etc/ppp/options je:
asyncmap 0
crtscts
lock
modem
user <vase_jmeno>
defaultroute
noipdefault
=========
a v /etc/ppp/chap-secrets je:
# Secrets for authentication using CHAP
# client server secret IP addresses
<jmeno> * <heslo>
========
mnoho uspechu,
--
* David Sauer, student of Czech Technical University
* electronic mail: davids na iol.cz (mime compatible)
Další informace o konferenci Linux