Solved

problem configuring uugetty: can't dial in!

Posted on 1997-02-24
2
250 Views
Last Modified: 2013-12-15
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/uugetty 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!!!!!)
0
Comment
Question by:lince
2 Comments
 
LVL 2

Accepted Solution

by:
dux earned 50 total points
ID: 1626802
Look at my configuration that works:

---
/etc/inittab
d1:45:respawn:/sbin/uugetty ttyS0 38400 vt100

---
/etc/default/uugetty.ttyS1

LOGIN=/bin/login
CLEAR=NO
HANGUP=YES
INIT="" \d+++\dATZ\r OK
DEBUG=000
ALTLOCK=cua1
ALTLINE=cua1
#WAITFOR=RING
#CONNECT="" ATA\r CONNECT \s\A
TIMEOUT=60
DELAY=1

---
/etc/gettydefs

38400# B38400 CS8 CRTSCTS # B38400 SANE -ISTRIP CRTSCTS #@S login: #19200

19200# B19200 CS8 CRTSCTS # B19200 SANE -ISTRIP CRTSCTS #@S login: #9600

9600# B9600 CS8 CRTSCTS # B9600 SANE -ISTRIP CRTSCTS #@S login: #9600

2400# B2400 CS8 # B2400 SANE -ISTRIP #login: #2400

1200# B1200 CS8 # B1200 SANE -ISTRIP #login: #1200

300# B300 CS8 # B300 SANE -ISTRIP #login: #300




0
 
LVL 2

Expert Comment

by:dbusher
ID: 2637992
I ran into this problem dialing into my Linux RH PPP server from NT4.0. I found that it was due to the shell I was using.  I switched my shell from /usr/lib/linuxconf/lib/ppplogin TO  /usr/local/bin/ppp-login   WHERE ppp-login is a file I created that basically says:
_____
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.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWS EC2 Linux 1 54
Oracle 12c patching 1 60
AWS CLI issues with Tags 3 63
installing LSI MegaRAID Storage Manager on CentOS 7 22 66
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now