Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

mgetty pppd

Posted on 1998-07-06
3
Medium Priority
?
310 Views
Last Modified: 2010-03-18
I have a Linux server and am able to dial into our corporate network using pppd. The problem is that during days the server is used as an x-server and the lines are used to dial-out on and unless I comment out the mgetty entries in the inittab file the connection gets killed by pppd I think.

0
Comment
Question by:nekau
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:nekau
ID: 1584692
Actually Mgetty kills the connection.

0
 
LVL 2

Accepted Solution

by:
alexbik earned 300 total points
ID: 1584693
Hi,

The dialout connections gets killed by mgetty, right?
Mgetty can share modems with other programs, but
you will need to lock the device by creating a lockfile.
This file must contain the PID of the program currently
using the modem. If mgetty detects such a file, it will
check if it is current by checking if the PID in the file
is still running. If so, mgetty will wait and do nothing.
Else, the lockfile is removed, and mgetty starts initializing
the modem. The location of the lockfile is system-dependant,
but usually /var/lock. If you are locking /dev/ttyR0 you would
need to create a file called /var/lock/LCK..ttyR0 (that's right,
two dots).

Alex.
0
 

Author Comment

by:nekau
ID: 1584694
I found the problem to be just that. I was running pppinit from a different machine and it was creating a lock file for device modem. So it was creating a lock file for the wrong device.

I modified pppinit to lock the appropriate device and things are working well now.

Thanks
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

609 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