su
and then
rm /var/lock/lck..ttyS0
If the lock persists look for pppd in ps aux and kill it...
If the lock still persists use lsof to see who is using the file and kill
that process..
hth.,
Arni
----- Original Message -----
From: Ayman Haidar <[EMAIL PROTECTED]>
To: Redhat List <[EMAIL PROTECTED]>
Sent: Monday, December 06, 1999 4:28 PM
Subject: kill a modem
>
> Hello:
>
> I was wondering if there is a way to disconnect a modem fro the phone
> line, when for some reason it doesn't respond to pppd.
> sometimes my ppp connection dies and pppd will detach from the modem but
> the modem will still be online, I try to disconnect it using minicom and
> cu but both show that modem is locked so my only solution is to reboot,
> there must be some other way to force the disconnection from linux.
>
> of course the modem is internal and works fine with Linux.
>
> thanks
>
> --
> -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
> | Ayman Haidar |
> | [EMAIL PROTECTED] |
> | just another linux and vim lover. |
> -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>
>
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.