Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 1997 11:43:05 -0500
From:      "Omkar V. Shertukde" <oshertuk@smhs.ebrps.subr.edu>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Help on Dial-ins
Message-ID:  <3.0.1.32.19970418114305.007a0470@smhs.ebrps.subr.edu>

next in thread | raw e-mail | index | archive | help
--=====================_861399785==_
Content-Type: text/plain; charset="us-ascii"

If possible could someone please take a look at the following attachment.
In it is detailed my correspondance with one or two of your members
concerning a problem I am having setting up dialin service on a FreeBSD box
I have at school.
Thanks for your time, any and all help will be greatly appreciated. 


									Omkar V. Shertukde
--=====================_861399785==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="getty"


I'm no expert, but here's my tip...

Try "cu -l /dev/cuaa1" and see if you can talk to your modem (use AT
commands). At least that way you'll be sure the modem is hooked up right.
You'll need to disable the getty to try this.

-HS

I'm trying to set up dial-in service on a FreeBSD box I have at school.
I have followed your directions and modified /etc/ttys and checked the
gettytab, but I still do not have a getty on my modem device. My modem
device is on ttyd1 and the device itself is cuaa1. 

The following is the line from /etc/ttys:
ttyd1  "/usr/libexec/getty std.57600" vt100 on secure

If any more information is needed to diagnose/remedy this problem mail me
at oshertuk@smhs.ebrps.subr.edu  . Thanks.   



On Thu, 10 Apr 1997, Omkar V. shertukde wrote:

> I'm trying to set up dial-in service on a FreeBSD box I have at school.
> I have followed your directions and modified /etc/ttys and checked the
> gettytab, but I still do not have a getty on my modem device. My modem
> device is on ttyd1 and the device itself is cuaa1. 
> 
> The following is the line from /etc/ttys:
> ttyd1  "/usr/libexec/getty std.57600" vt100 on secure
> 
Are you sure you don't have a getty running on the port?
I though I had this problem.  Try a ps -gaxuw | grep ttyd1.
the problem is, that the getty for modem connections doesn't run connected
to the port.
at least, until you actually dial in and the login: prompt get's spit out
accross the connection.
Are you sure you're modem's set to auto-answer?  If not, enter the
appropriate switches using tip, the go try and dialin.
The getty is probably running, it's just that a ps -agO user (which is my
standard command) doesn't pick it up because it's not a standard system
process, and it's not attached to a port.
If any of this is flawed or doesn't work, it's not my fault; I'm not a
part of the core team, I don't know the source by heart; all I know is, I
got it to work like this.

Hope it helps!!

The ps commands gives us the following:
 
root 235 0.0 3.4 152 488 ?? I 11:32Am 0:00.2 /usr/libexec/getty std.57600 
ttyd1

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|FreeBSD is good.      FreeBSD is our friend.     UNIX is our god.|
*Micro$oft is bad.                      Micro$oft causes problems.*
|MicroBSD???      I DON'T THINK SO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!|
|"I hate quotes in signature files"            :-}  MAtthew Fuller|
*fullermd@narcissus.ml.org                          FreeBSD junkie*
|http://keystone.westminster.edu/~fullermd     Westminster College|
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*






Just type AT and return, if you are talking to the modem it will respond
with "OK". 
To switch off the getty just disable it in ttys.

Good Luck :)


At 11:59 AM 4/10/97 -0700, you wrote:
>Hi Omkar,
>
>I'm no expert, but here's my tip...
>
>Try "cu -l /dev/cuaa1" and see if you can talk to your modem (use AT
>commands). At least that way you'll be sure the modem is hooked up right.
>You'll need to disable the getty to try this.
>
>-HS
>
Which AT commands should I use? Also to disable the getty, I just edit
/etc/ttys and turn the switch to off, Correct? Thanks.  


                                                                           


Hi Omkar,

Use the "cu" command to connect to the port before trying the "at"
commands.

Henry


Alright, I diasbled the getty and typed in "AT". The error message was
command not found. I type in "at" and get usage info. Any ideas? Thank you
for all of help.  

                                Omkar V. Shertukde
>Just type AT and return, if you are talking to the modem it will respond
>with "OK". 
>To switch off the getty just disable it in ttys.
>
>Good Luck :)
>
>----------
>>Hi Omkar,
>>
>>I'm no expert, but here's my tip...
>>
>>Try "cu -l /dev/cuaa1" and see if you can talk to your modem (use AT
>>commands). At least that way you'll be sure the modem is hooked up right.
>>You'll need to disable the getty to try this.
>>
>>-HS
>>
>Which AT commands should I use? Also to disable the getty, I just edit
>/etc/ttys and turn the switch to off, Correct? Thanks.  
>
>
>                                                                          

>
>"If the definition of gaining true wisdom is realizing how much one
doesn't
>know, then right now I'm the smartest man alive...I'm just not sure I can
>live with that status..."    
>
>
>




Hmmm... I'm out of tips here... Try reposting your question with your
updated situation.

-Henry


OK I tried "cu" and it didn't work... I tried minicom and my modem
responded just fine. It dialed out, no problem. Now what should I try?

						Omkar V. Shertukde 
 




--=====================_861399785==_
Content-Type: text/plain; charset="us-ascii"



--=====================_861399785==_--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.1.32.19970418114305.007a0470>