"Gaurav Agarwal" <[EMAIL PROTECTED]> writes:
> I am using red Hat 6.0. I have a mgetty running for users to dial in
> to my system.now since i want to connect to the internet, i use
> minicom to dial, and successfully log in to my isp's account, and
> start ppp on HIS server, and when the garbage - like characters start
> coming, i give the command : /usr/sbin/pppd /dev/ttyS1 38400 crtscts
> modem defaultroute noipdefault -detach on a separte terminal however i
> get the command : device ttyS1 is locked by process id 1376
No you won't manage connect like that.
After the garbage starts, quit minicom with Alt-Q (which will not reset
the modem) and then issue the pppd command. The problem is that while
minicom is running it locks /dev/ttyS1 and pppd can not open it, until
you quit minicom.
> I remeber, that using this same procedure i once used to successfully
> connect to the internet.
Depends on your setup of minicom and pppd. If you asked minicom to lock
the device, this doesn't work. If minicom is playing with /dev/ttyS1
but pppd uses /dev/cua1 it might work, but that's another thing.
--
Giorgos Keramidas, <[EMAIL PROTECTED]>
"What we have to learn to do, we learn by doing." [Aristotle]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]