*BSD News Article 50285


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!newsfeed.internetmci.com!howland.reston.ans.net!xlink.net!isar.de!newshost.photogrammetrie.de!mehldau
From: mehldau@photogrammetrie.de (Gerhard Mehldau)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Problem w/ dialup access
Date: 29 Aug 1995 13:08:56 GMT
Organization: Photogrammetrie GmbH
Lines: 56
Message-ID: <41v3h8$58j@muenchen.photogrammetrie.de>
NNTP-Posting-Host: muenchen.photogrammetrie.de
X-Newsreader: TIN [version 1.2 PL2]


Hello world,

I'm having a problem getting a dialup-login on my new
FreeBSD-system to work.

As per the FAQ, I have set up my modem, added a line
of the form

ttyd0   "/usr/libexec/getty std.<SPEED>"  dialup on secure

to /etc/ttys and restarted init.  When I then call the
modem, I always get a CONNECT XXXXX message, but what
happens after that is <SPEED>-dependent:

- For speeds > 19200 I just get garbage on my screen.
  Looking at the running processes shows that 'getty'
  is still running on that port -- 'login' doesn't 
  seem to get called at all.

- For speeds <= 19200, 'login' *does* get called, and
  I do get a login/password prompt -- but lots of garbage
  too, so that the dialup isn't really usable.

I suspect the problem to be with the device settings,
but I really don't know enough about them to tell what's
wrong.  Here's the output from 'stty -a -f /dev/ttyd0'
for a <SPEED> value of 19200:

speed 19200 baud; 0 rows; 0 columns;
lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl
        -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin
        -nokerninfo -extproc
iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel -ignbrk
        -brkint -inpck -ignpar -parmrk
oflags: -opost -onlcr -oxtabs
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb crtscts -dsrflow
        -dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
        eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
        min = 1; quit = ^\; reprint = ^R; start = ^Q; status = <undef>;
        stop = ^S; susp = ^Z; time = 0; werase = ^W;

The machine is a Compaq 386/25 running 2.0.5R, with a
type 16550A sio0 at 0x3f8-0x3ff irq 4 on isa.

Anyone know what I'm missing?  I'd appreciate any help
on this...  Thanks,

- Gerhard

---------------------------------------------------------------------------
    Gerhard Mehldau
    Photogrammetrie GmbH       email:   mehldau@photogrammetrie.de
    Anzinger Str. 5            phone:   +49 (89) 43 69 2-1 64
    81671 Munich, Germany      fax:     +49 (89) 43 69 2-1 00