mgetty/pppd locking problem
Bodo Meseke (bodo@meseke.de)
Sat, 10 Jul 1999 10:16:54 GMT
Hello,
I've got difficulties in configuring my linux-box as dialin-server and=20=
internet-router.
Internet-routing is functioning quiet well, pppd and diald are setting=20=
up a connection to my provider using my modem whenever it is needed.
Now I'm trying to use mgetty to set up the possibility of dialing into=20=
my private network.
When mgetty is started and I'm trying to reach the internet,=20
/var/log/mgetty.ttyS0 says =84Huh? Junk on the line?=93 and mgetty stops=
.
The connection to my provider works for a moment and then mgetty=20
starts again and shuts down the internet-connection.=20
Because I think it's a problem of locking the device I read a lot of=20=
manpages and newspostings, but got no success in setting up my=20
linux-box the right way.
What I did till now:
1. I removed all /dev/modem entries in pppd and mgetty configuration=20=
and now I'm using the expression /dev/ttyS0.
2. I checked the mgetty-manpage and it says: mgetty uses uucp-locking
3. I checked /var/lock ... if mgetty is running there is noc LCK-file=20=
in this directory
4. I checked /var/log/messages/mgetty.ttyS0 ... it says =84check for=20=
lockfiles=93 and =84locking the line=93, but where is the lock-file ?
5. I checked /etc/mgetty+sendfax/mgetty.config and set the parameters=20=
port-owner uucp, port-group uucp and port-mode 0664
6. I checked the options-file of pppd and put =84lock=93 in it
It's still not working and really don't know what to try next.
I'm rather new to linux and I'm using SuSE 6.0.=20
Thanks in advance for any hints.
Greetings
Bodo