Hi,
I'm new to portslave and I have just installed it on my Redhat
6.1 yestarday. I have added a serial modem on ttys1 and my problem is
when i dial the modem it receives the call but it drops the connection
when it is loging in. I have portslave 1.2.0 pre 6 version installed.
And one more thing were is log file of portslave located?
This is what happens when I test dial-in using ttys1:
#./portslave 1
Feb 6 11:15:59 port[S1]: portslave started on port 1 (ttyS1)
Feb 6 11:16:01 port[S1]: chat_expect("")
Feb 6 11:16:01 port[S1]: chat_expect - got it
Feb 6 11:16:04 port[S1]:
chat_send(\d\dAT&F&K3&D3S0=0S2=255M0&W0)
Feb 6 11:16:04 port[S1]: chat_expect(OK\r\n)
Feb 6 11:16:04 port[S1]: chat_expect - got it
Feb 6 11:16:04 port[S1]: waiting for RING
Feb 6 11:16:23 port[S1]: chat_expect(RING)
Feb 6 11:16:23 port[S1]: chat_expect - got it
Feb 6 11:16:23 port[S1]: chat_expect("")
Feb 6 11:16:23 port[S1]: chat_expect - got it
Feb 6 11:16:23 port[S1]: chat_send(ATA)
Feb 6 11:16:23 port[S1]: chat_expect(CONNECT@)
Feb 6 11:16:23 port[S1]: chat_expect - got it
Feb 6 11:16:23 port[S1]: Connected - waiting for login
Feb 6 11:17:11 port[S1]: Detected login AutoPPP
Feb 6 11:17:11 port[S1]: PPP frames detected - switching to PPP
mode
----- after this line the connection just drops!
What seems to be the problem?
Here is pslave.conf:
conf.hostname news.irnet.net.ph
conf.ipno 203.167.105.59
conf.lockdir /var/lock
conf.rlogin /usr/local/bin/rlogin-radius
conf.pppd /usr/local/sbin/pppd-radius
conf.syslog
conf.facility 6
all.debug 1
all.authtype radius
all.authhost1 radius2.philwebinc.com
all.accthost1 radius2.philwebinc.com
all.secret SECRET
all.protocol rlogin
all.host 203.167.105.59
all.ipno 203.167.105.59
all.netmask 255.255.255.192
all.mtu 1500
all.porttype 0
all.speed 115200
all.initchat "" \d\dAT&F&K3&D3S0=0S2=255M0&W0
OK\r\n-AT&F&K3&D3S0=0S2=255M0&W0-OK\r\n
all.wait RING
all.answer "" ATA CONNECT@
all.aa 0
all.autoppp proxyarp modem asyncmap 0 %i: \
noipx noccp login auth require-pap refuse-chap \
mtu %t mru %t \
ms-addr 203.167.112.1 ms-addr 203.167.112.2
uselib /usr/local/lib/libpsr.so
all.pppopt proxyarp modem asyncmap 0 %i:%j \
noipx noccp mtu %t mru %t netmask %m \
idle %I maxconnect %T \
ms-addr 203.167.112.1 ms-addr 203.167.112.2
uselib /usr/local/lib/libpsr.so
#my modem is at ttyS1
s1.tty ttyS1
s1.ipno 203.167.105.39
s1.protocol ppp
#NOTE:
# some details i did not write because I did not change them
----------------------end of pslave.conf----------------
Please help! Thanks and more power
Raul S. Bucad
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list