HELP: How do I instruct the modem to pick up the ^%$^*(*@ line

HELP: How do I instruct the modem to pick up the ^%$^*(*@ line

Post by Emile Hey » Tue, 28 Nov 1995 04:00:00



Hi all,

I am working on an app which should pick up an incoming modem call and
start a program when connected. Sounds a lot like uugetty, don't it?
But getty asks for a login, and I don't want that: it should simply
startup the binary I choose. Can anybody supply some codefragment
which shows how to do this?

Bye,

Emile

====================================================
Emiliano Heyns

High Tech Automation, Leijenseweg 115b, 3721 BC Bilthoven, the Netherlands
Tel. : (+31) 30 2251700

$$$
Any opinions expressed are mine only, and not necessarily
those of High Tech Automation.  They may not even be mine.
%%%
There are two types of people in this world, good and bad.  The good
sleep better, but the bad seem to enjoy the waking hours much more.
                -- Woody Allen

 
 
 

HELP: How do I instruct the modem to pick up the ^%$^*(*@ line

Post by Sean Embr » Thu, 30 Nov 1995 04:00:00



>Hi all,

>I am working on an app which should pick up an incoming modem call and
>start a program when connected. Sounds a lot like uugetty, don't it?
>But getty asks for a login, and I don't want that: it should simply
>startup the binary I choose. Can anybody supply some codefragment
>which shows how to do this?

>Bye,

>Emile

   First, what language are you using? Some versions of runtimes do not
provide a way to open a port with baud, stop, parity etc..., so the way
around it is to open the port in the bourne shell using the params you
want.

   Second: If you want *your* program to run in place of getty, then
replace getty (or uugetty) with your program in the inittab file.

      IT SHOUD be noted that this *IS NOT* a good idea. Security issues
abound when you start replacing the init-getty-login-shell process.

Well, if that doesn't help, e-mail me as below.

 
 
 

1. Config for dialin....modem not picking up....agetty or modem?

Hey all,

I have been using my linux box w/ internal 28.8 sportster for slip for
quite a while now. I thought I might set up dial in after I managed
to get hold of an old modem for the junker at home.

All my serial port is all set and it all works fine, as SLIP works
fine.

I went into my inittab and uncommented the agetty lines for ttyS3
(modem is cua3). Now, there are two lines in the inittab:

#serial lines
#s3:456:respawn:/sbin/agetty 38400 ttyS3 vt100

and
#dialup lines
d3:456:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS3 vt100

Now I am assuming that the latter is the correct one to uncomment.
A quick init q, and I try dialing in from the other modem,
and the bugger won't pick up.

The agetty process is working....obviously the slip connection is down
(otherwise I would get a busy signal). Now I can't check (or can I?)
whether DTR is normal, or Autoanswer is on. Ye olde sportser
manual says that AT&D2 (normal DTR operstions) and ATS0=1 (autoanswer
on 1 ring) are default.....

Anybody using agetty succesfully w/ a internal sportster for dial in?
I was thinking maybe swithcing to uugetty, and then I can use
the /etc/gettydefs file and put AT commands in there....with agetty,
there is noway to send commands to the modem:(

Marcus

2. Error while compiling v1.13

3. Shape Ups,Men's Shape Ups,Men's Skechers Shape Ups - new styles!

4. Printers

5. Updated Tier1's, etc, RH6.0, help me pick a modem/vcard ;-]

6. APM BIOS initialization error

7. help with modem picking up

8. Connecting PPP to DragonBBS

9. uugetty disconnecting after modem picks up? Please HELP...

10. UPS - software driver for the APC Smart UPS - 600 (Please HELP )

11. Randomly pick lines from text file (cookies)

12. HELP: Connectivity between DOS/DOS and DOS/Linux

13. Modem picks up but no login!!!!