Hi All
I think my uugetty is not properly initializing the modem or probably not
waiting for the appropriate signal (result codes of the modem)
But with minicom running at the other end I can connect up to password
getting exchanged but still I think I am unable to receive password
prompt.
I can check this out once my uugetty is up
HERE ARE MY SETTINGS
1) /etc/inittab
s2:45:respawn:/sbin/uugetty ttyS1 38400 vt100
2) /etc/uugetty.ttyS1
RINGBACK=YES
MINRBTIME = 7
MAXRBTIME = 21
INTERRING = 6
MINRINGS = 1
MAXRINGS = 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Are these necessary.....?????
INITLINE=cua1
TIMEOUT=60
# format: <expect> <send> ... (chat sequence)
#INIT="" \d+++\dAT\r OK\r\n ATH0\r OK\r\n
AT\sM2\sL3\sE1\sQ0\sV1\sX4\sS0=0\r OK\r\n
INIT="" \d+++\dAT\r OK\r\n ATH0\r OK\r\n
AT\s\&D2\s\&c2\M2\sL3\sE1\sQ0\sV1\sX4\sS0=0\sS7=45\r OK\r\n
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is what I used................!!!!!
#flicked from minicom
#INIT=~^M~AT S7=45 S0=0 L3 M2 V1 X0 &D2 &C1 E1 Q0^M
# waitfor string... if this sequence of characters is received over the
line,
# a call is detected.
#vishu WAITFOR=RING
^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
In X4 result code mode RING doesent exist. I have a USRobotics Sportster
33.6 modem. But even with this enabled it doesent work
# format: <expect> <send> ... (chat sequence)
CONNECT="" ATA\r CONNECT\s\A
# this line sets the time to delay before sending the login banner
DELAY=1
3) /etc/rc.d/rc.serial
${SETSERIAL} /dev/cua1 ${AUTO_IRQ} skip_test autoconfig
^^^^^^^^^^^^^^^
I have not used mannual configuration, hope this is OK..!!
4) /etc/gettydefs
38400# B38400 CS8 CRTSCTS # B38400 SANE -ISTRIP HUPCL CRTSCTS #@S login:
#38400
I have other stuff too ..here..
5) /etc/ppp/ppp-on-dialer
#!/bin/sh
#
# This is part 2 of the ppp-on script. It will perform the connection
# protocol for the desired connection.
#
exec chat -V -v \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nERROR\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
ABORT '\nNO CARRIER\r' \
ABORT '\nNO DIAL TONE\r' \
'' \rAT \
'OK-+++\c-OK' ATH0 \
TIMEOUT 30 \
OK ATXDP1 \
CONNECT '' \
TIMEOUT 10 \
ogin:--ogin: "ppp" \
TIMEOUT 30 \
word: "ppp"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I have tried putting \d\d\d but it is sending \d also
6)My logs without minicom running at other end
root@purdue:~# tail -f /var/adm/messages
Aug 14 18:33:10 purdue pppd[262]: pppd 2.2.0 started by root, uid 0
Aug 14 18:33:11 purdue chat[263]: timeout set to 3 seconds
Aug 14 18:33:11 purdue chat[263]: abort on (\nBUSY\r)
Aug 14 18:33:12 purdue chat[263]: abort on (\nERROR\r)
Aug 14 18:33:12 purdue chat[263]: abort on (\nNO ANSWER\r)
Aug 14 18:33:12 purdue chat[263]: abort on (\nRINGING\r\n\r\nRINGING\r)
Aug 14 18:33:12 purdue chat[263]: abort on (\nNO CARRIER\r)
Aug 14 18:33:12 purdue chat[263]: abort on (\nNO DIAL TONE\r)
Aug 14 18:33:12 purdue chat[263]: send (rAT^M)
Aug 14 18:33:12 purdue chat[263]: expect (OK)
Aug 14 18:33:12 purdue chat[263]: ^M
Aug 14 18:33:12 purdue chat[263]: OK -- got it
Aug 14 18:33:12 purdue chat[263]: send (ATH0^M)
Aug 14 18:33:12 purdue chat[263]: timeout set to 30 seconds
Aug 14 18:33:12 purdue chat[263]: expect (OK)
Aug 14 18:33:12 purdue chat[263]: ^M
Aug 14 18:33:12 purdue chat[263]: ^M
Aug 14 18:33:12 purdue chat[263]: OK -- got it
Aug 14 18:33:12 purdue chat[263]: send (ATXDP1^M)
Aug 14 18:33:12 purdue chat[263]: expect (CONNECT)
Aug 14 18:33:12 purdue chat[263]: ^M
Aug 14 18:33:42 purdue chat[263]: alarm
Aug 14 18:33:42 purdue chat[263]: Failed
Aug 14 18:33:43 purdue pppd[262]: Exit.
7) With micomm running at other end
Aug 14 18:34:42 purdue pppd[265]: pppd 2.2.0 started by root, uid 0
Aug 14 18:34:43 purdue chat[266]: timeout set to 3 seconds
Aug 14 18:34:43 purdue chat[266]: abort on (\nBUSY\r)
Aug 14 18:34:43 purdue chat[266]: abort on (\nERROR\r)
Aug 14 18:34:43 purdue chat[266]: abort on (\nNO ANSWER\r)
Aug 14 18:34:43 purdue chat[266]: abort on (\nRINGING\r\n\r\nRINGING\r)
Aug 14 18:34:43 purdue chat[266]: abort on (\nNO CARRIER\r)
Aug 14 18:34:43 purdue chat[266]: abort on (\nNO DIAL TONE\r)
Aug 14 18:34:43 purdue chat[266]: send (rAT^M)
Aug 14 18:34:43 purdue chat[266]: expect (OK)
Aug 14 18:34:43 purdue chat[266]: ^M
Aug 14 18:34:43 purdue chat[266]: OK -- got it
Aug 14 18:34:43 purdue chat[266]: send (ATH0^M)
Aug 14 18:34:43 purdue chat[266]: timeout set to 30 seconds
Aug 14 18:34:43 purdue chat[266]: expect (OK)
Aug 14 18:34:43 purdue chat[266]: ^M
Aug 14 18:34:43 purdue chat[266]: ^M
Aug 14 18:34:43 purdue chat[266]: OK -- got it
Aug 14 18:34:43 purdue chat[266]: send (ATXDP1^M)
Aug 14 18:34:44 purdue chat[266]: expect (CONNECT)
Aug 14 18:34:44 purdue chat[266]: ^M
Aug 14 18:37:15 purdue chat[281]: ^M
Aug 14 18:37:16 purdue chat[281]: CONNECT -- got it
Aug 14 18:37:16 purdue chat[281]: send (^M)
Aug 14 18:37:16 purdue chat[281]: timeout set to 10 seconds
Aug 14 18:37:16 purdue chat[281]: expect (ogin:)
Aug 14 18:37:16 purdue chat[281]: /ARQ^M
Aug 14 18:37:26 purdue chat[281]: alarm
Aug 14 18:37:26 purdue chat[281]: send (ogin:^M)
Aug 14 18:37:26 purdue chat[281]: send (ppp^M)
Aug 14 18:37:26 purdue chat[281]: timeout set to 30 seconds
Aug 14 18:37:26 purdue chat[281]: expect (word:)
Aug 14 18:37:56 purdue chat[281]: alarm
Aug 14 18:37:56 purdue chat[281]: Failed
Aug 14 18:37:56 purdue pppd[280]: Exit.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
on the micom screen I receive
ogin:
ppp
NO CARRIER
^^^^^^^^^^^^^^^^^^^^
I dont know what exactly happening as passwd prompt is not
appearing...!!!
Help..
Regards
vishwa
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]