[ LUGOS ] dial-in server
rok
lugos na s-je.sik.si
Ned Mar 19 18:26:51 CET 2000
hojla!
o temle se je na tej listi ze nekaj govorilo, pa vseeno ne vem
kaj bi bilo narobe... skompajlu sem mgetty+sendmail experimental test
release 1.1.21-Jul24. (latest ki sem ga nasel). pppd imam verzijo 2.3.10
(nisem je se nekrat kompajlal). fajle imam sledece...
---
#/etc/inittab:
s1:12345:respawn:/usr/local/sbin/mgetty -D /dev/ttyS1
#/usr/local/etc/mgetty+sendfax/mgetty.config:
port ttyS1
speed 115200
init-chat "" \d+++\dATZ OK ATS0=0&C1&D2L0 OK
data-only y
#/usr/local/etc/mgetty+sendfax/login.config:
/AutoPPP/ - - /usr/sbin/pppd file /etc/ppp/options.server
#/etc/ppp/options.server:
asyncmap 0
crtscts
lock
mru 1500
mtu 1500
modem
ms-dns 192.168.0.1
nodetach
proxyarp
refuse-chap
require-pap
#/etc/ppp/options.ttyS1:
192.168.0.1:192.168.0.254
#/etc/ppp/pap-secrets:
"ppp" * "ppp" *
---
sem morda kaj pozabil? morda dodati kakega userja? mgetty se oglasi.
---
#/var/log/mgetty.ttyS1:
03/19 14:26:03 yS1 mgetty: experimental test release 1.1.21-Jul24
03/19 14:26:03 yS1 check for lockfiles
03/19 14:26:03 yS1 locking the line
03/19 14:26:04 yS1 lowering DTR to reset Modem
03/19 14:26:04 yS1 send: \d+++\dATZ[0d]
03/19 14:26:05 yS1 waiting for `OK'' ** found **
03/19 14:26:06 yS1 send: ATS0=0&C1&D2L0[0d]
03/19 14:26:06 yS1 waiting for `OK'' ** found **
03/19 14:26:06 yS1 waiting...
03/19 14:27:55 yS1 wfr: waiting for `RING''
03/19 14:27:55 yS1 send: ATA[0d]
03/19 14:27:55 yS1 waiting for `CONNECT'' ** found **
03/19 14:28:05 yS1 send:
03/19 14:28:05 yS1 waiting for `_'' ** found **
03/19 14:28:08 ##### data dev=ttyS1, pid=15983, caller='none', conn='33600/ARQ', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
pppd javi naslednje:
pppd[551]: pppd 2.3.10 started by LOGIN, uid 0
pppd[551]: Using interface ppp0
pppd[551]: Connect: ppp0 <--> /dev/ttyS1
pppd[551]: CCP terminated by peer
pppd[551]: Compression disabled by peer.
pppd[551]: Connection terminated.
pppd[551]: Connect time 0.2 minutes.
pppd[551]: Sent 408 bytes, received 399 bytes.
pppd[551]: Exit.
uporabljam slack 7.
Dodatne informacije o seznamu Starilist