lince
asked on
problem configuring uugetty: can't dial in!
Hi everybody!!
I'm trying to install a connection between work and home and I'm trying to do
it with PPP.
OK: I've ReadTFM, Howto's, etc, etc...
I'm still in the step of configuring uugetty, and it is ok until I try to
connect from another modem: the remote screen receives strange characters and
I'm not able to login to my server!!!. I don't see anything clear.
Please, send me some suggestions!!!
email me if you need more data.
Thanks in advance...
Anastasio.
I've got a USR courier V.34
This is my inittab file:
...
...
# Serial lines
s1:3456:respawn:/sbin/uuge tty ttyS0 F38400 vt100
....
...
This is my uugetty.ttyS0 file:
# [ put this file in /etc/uugetty.<line> ]
#
# sample uugetty configuration file for a Hayes compatible modem to allow
# incoming modem connections
#
# this config file sets up uugetty to use the RINGBACK feature for
# answering calls
# ringback enable. The defaults are trusted here (and are pretty sane)
# first, one to three rings, then hangup and call back within 6 and 60
# seconds
# RINGBACK=YES
# MINRBTIME = 7
# MAXRBTIME = 21
# INTERRING = 6
# MINRINGS = 1
# MAXRINGS = 2
# line to use to do initialization. All INIT, OFF, and WAITFOR functions
# are handled on this line. If this line is not specified, any other
# program that wants to share the line (like kermit, uucp, seyon) will
# fail. This line will also be checked for lockfiles.
#
# format: <line> (without the /dev/)
INITLINE=cua0
# timeout to disconnect if idle...TIMEOUT=60
# modem initialization string... Sets the modem not to auto-answer
#
# format: <expect> <send> ... (chat sequence)
INIT="" AT\r OK\r\n AT\sM1\sE1\sQ0\sV1\sX4\sS0 =0\r OK\r\n
# waitfor string... if this sequence of characters is received over the line,
# a call is detected.
WAITFOR=RING
# this line is the connect chat sequence. This chat sequence is performed
# after the WAITFOR string is found. The \A character automatically sets
# the baudrate to the characters that are found, so if you get the message
# CONNECT 2400, the baud rate is set to 2400 baud.
#
# 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
And finally this is the line in the gettydefs where the F38400 goes:
...
...
F38400# B38400 CS8 CRTSCTS # B38400 SANE -ISTRIP HUPCL CRTSCTS #@S login:
#F38400
...
...
(!!!!!!!take care: it's too long, but it's the same line!!!!!)
I'm trying to install a connection between work and home and I'm trying to do
it with PPP.
OK: I've ReadTFM, Howto's, etc, etc...
I'm still in the step of configuring uugetty, and it is ok until I try to
connect from another modem: the remote screen receives strange characters and
I'm not able to login to my server!!!. I don't see anything clear.
Please, send me some suggestions!!!
email me if you need more data.
Thanks in advance...
Anastasio.
I've got a USR courier V.34
This is my inittab file:
...
...
# Serial lines
s1:3456:respawn:/sbin/uuge
....
...
This is my uugetty.ttyS0 file:
# [ put this file in /etc/uugetty.<line> ]
#
# sample uugetty configuration file for a Hayes compatible modem to allow
# incoming modem connections
#
# this config file sets up uugetty to use the RINGBACK feature for
# answering calls
# ringback enable. The defaults are trusted here (and are pretty sane)
# first, one to three rings, then hangup and call back within 6 and 60
# seconds
# RINGBACK=YES
# MINRBTIME = 7
# MAXRBTIME = 21
# INTERRING = 6
# MINRINGS = 1
# MAXRINGS = 2
# line to use to do initialization. All INIT, OFF, and WAITFOR functions
# are handled on this line. If this line is not specified, any other
# program that wants to share the line (like kermit, uucp, seyon) will
# fail. This line will also be checked for lockfiles.
#
# format: <line> (without the /dev/)
INITLINE=cua0
# timeout to disconnect if idle...TIMEOUT=60
# modem initialization string... Sets the modem not to auto-answer
#
# format: <expect> <send> ... (chat sequence)
INIT="" AT\r OK\r\n AT\sM1\sE1\sQ0\sV1\sX4\sS0
# waitfor string... if this sequence of characters is received over the line,
# a call is detected.
WAITFOR=RING
# this line is the connect chat sequence. This chat sequence is performed
# after the WAITFOR string is found. The \A character automatically sets
# the baudrate to the characters that are found, so if you get the message
# CONNECT 2400, the baud rate is set to 2400 baud.
#
# 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
And finally this is the line in the gettydefs where the F38400 goes:
...
...
F38400# B38400 CS8 CRTSCTS # B38400 SANE -ISTRIP HUPCL CRTSCTS #@S login:
#F38400
...
...
(!!!!!!!take care: it's too long, but it's the same line!!!!!)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
_____
RMTIP="###.###.###"
LOCIP="###.###.###"
exec /usr/sbin/ppd -detach silent modem crtscts $LOCIP:$RMTIP
____
where # is the IP you want to assign. Be sure to do a chmod u=rwx,g=rwx,o=rwx ppp-login to make this file work.