dialling out with vgetty

Christian Wagner (ch.wagner@gmx.net)
Fri, 02 Jul 1999 14:51:33 +0200


Gert Doering wrote:

> > I thought about it, but vgetty really realizes, that diald tries to lock
> > the device.
> 
> Does it?  Please show the appropriate lines, sometimes the log can be
> misleading.

After vgetty has initialized, it is waiting for something...
well, in /var/log/vgetty.ttyS1 I can see it...

	06/30 21:10:51 yS1  Rockwell detected
	06/30 21:10:51 yS1  initializing ROCKWELL voice modem
	06/30 21:10:52 yS1  waiting...

then diald requests the device (tries to dialout):

so in /var/log/vgetty.ttyS1 following line "appears" which I think to be
the correct behaviour:

	06/30 21:11:07 yS1  lock not made: lock file exists (pid=4673)

meanwhile in /var/log/messages I can see diald is doing something

	Jun 30 21:11:07 papa diald[4673]: Running connect (pid = 4821).
	Jun 30 21:11:09 papa chat[4821]: Failed 
	Jun 30 21:11:09 papa diald[4673]: Connect script failed.
	Jun 30 21:11:10 papa diald[4673]: Delaying 30 seconds before clear to
dial.

But then, as you can see, the script dies.
so the device is freed again and vgetty exits and gets restarted as
expected

can be seen in/var/log/vgetty.ttyS1

	06/30 21:11:23 yS1  vgetty: experimental test release 0.9.0 / 09Sep98
	06/30 21:11:23 yS1  mgetty: experimental test release 1.1.18-Sep11
	06/30 21:11:23 yS1  reading generic configuration from confi.....
and so on.

Well, sometimes it works, sometimes not.
That's why I've asked for help.
Thanks,
Christian

PS: Is it possible, that it is not working, because the server, running
vgetty and diald is used as the gateway?!? I do not request the internet
connection from the server directly, but from a computer connected to
it. But then, the server tries to dial out, if I request the link to get
online, and  if the connection is established sometimes everything else
works fine. But I thought, maybe I've missed some detail?!

-- 
As far as you can, enjoy every moment of every day.
---ICQ#21196326---mailto:ch.wagner@gmx.net---