[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: making poff hang up phone



On %M %N, Britton wrote
> 
> On Sat, 30 Aug 1997, Joerg Friedrich wrote:
> 
> > On Sat, 30 Aug 1997, Shaleh wrote:
> > 
> > > Unless your modem does something odd when it connects, yeah poff should
> > > send the hang-up command.  Try following the files poff calls and see if
> > > one of them is not doing its job.  Most modems hangup on an 'ATH'.
> > 
> > I think 'poff' lowers dtr. try at&d2
> 
> How do I send this?  

This should be part of the init string sent to the modem in the  chatscript.  
Here is the relevant part from my /etc/ppp.chatscript

""    AT&F&D2W2
OK   ATDTXXXXXXX

 

>I have already tried (perhaps unwisely) putting 
> echo 'ATH0' > /dev/ttyS3 in the poff script but it didn't do anything.

if for some reason the above trick will not work, you may want to put the 
following in poff

echo '+++' > /dev/ttyS3  # put modem in command mode
sleep 5 
echo 'ATH0' > /dev/ttyS3

This is an untested example and may not work.


-- 
Proudly running Debian Linux! Linux vs. Windows is a no-Win situation....
Igor Grobman           igor@debian.org                 igor@digicron.com 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: