[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [SLUG] Dial-in problems
Have you checked the /etc/mgetty/login.conf?
do you have the following line and may need to remark it out?
/AutoPPP/ - - /usr/sbin/pppd file /etc/ppp/options.server
Maybe you should force the login prompt on the bottom of the config file
like this.
* - - /bin/login @nospam.
thanks,
George Vieira
Network Administrator
Citadel Computer Systems P/L
http://www.citadelcomputer.com.au
-----Original Message-----
From: Peter Rundle [mailto:peter.rundle@nospam.altaibc.net.au]
Sent: Thursday, 15 June 2000 11:30 AM
To: slug@nospam.slug.org.au
Subject: [SLUG] Dial-in problems
Hi All,
I set up a friends computer to allow dial-in to it (mgetty, pppd, rh6.2).
It works perfectly the first time. After I hang up and re-dial however
the modem answers the phone but instead of a login prompt I get the pppd
data stream and the systems fail to connect.
Mgetty is respawed from inittab thus,
mg:4:respawn:/sbin/mgetty -s 115200 ttyS1
Changing runlevels to 5 and back to 4 fixes the problem and you can
dial-in and login for one more try before it screws up again. I made
some entries in the crontab to kill pppd every 10 minutes so that I
could see if that would "fix" it, but it doesn't, i.e I think that
when mgetty is respawed it execs pppd straight away but it doesn't
exec it the very first time it is started.
Course it all works perfectly on my own computer at home.
Any ideas?
Pete
P.S I'm trying to configure this remotely via the dial in which is
proving to be a bit punishing as I can't see what processes are
running when the dial-in fails. I then have to wait 24hrs for the
system to re-set itself (crontab entry) so that I can dial in again
and have another go, ( % jibes_about_my_sanity >/dev/null 2>&1)
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text