The BitSurfer wrote:
>
> On Mon, 24 Jan 2000, Kiran Jonnalagadda wrote:
>
> > The three users are me on two SSH connects, and one dialout to the Net as
> > recorded by mingetty (I use the same modem for dial-in).
>
> Hmm.. I never tried using the same modem for out and in. Care to outline
> the procedure for me? If necessary, in a separate email.
It's real simple. Just add this line to /etc/inittab:
S0:2345:respawn:/sbin/mgetty -x 3 -s 38400 ttyS0
Type init q, and you're done. mgetty will take care of locking the modem
device as needed.
I also have a script named "ppp" in /usr/local/bin that looks like this:
---------
#!/bin/sh
sudo /usr/sbin/pppd 198.9.200.100:198.9.200.244
---------
sudo ensures that only people I authorise can start ppp. Note that I'm
using static IP. The first address is the local and the second, remote.
--
Kiran Jonnalagadda
http://lunateks.com
baby.sh: while true; do echo "^G^G^G^G^G"; sed -e 's/food/poop/'; sync;
sync; sleep 15; done
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener