*BSD News Article 73646


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!newsgate.duke.edu!news.mathworks.com!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!al-burro.MIT.EDU!ilin
From: ilin@mit.edu (I-Lin Wang)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: problems about dial up..
Date: 14 Jul 1996 00:20:34 GMT
Organization: Massachvsetts Institvte of Technology
Lines: 43
Message-ID: <4s9egj$2uc@senator-bedfellow.mit.edu>
NNTP-Posting-Host: 18.71.0.58
X-Newsreader: TIN [version 1.2 PL2]

Hi
I used 'dip' to connect to a terminal server by modem, since I don't know 
how to make it work by using tip or cu... However, I have some problems 
about using dip now:
1. If I don't execute it as a root, then, when I tried to "port ttyd1", it 
will say
   DIP> port ttyd1
   DIP: tty: lock: (/var/spool/lock/LCKTMP..562): Permission denied
   even I have "chmod 777 /dev/ttyd1", it still said permissoin denied...
2. If I execute it as a root, then, everything is fine.
   but if I close the window which dip is running, and reopen a new dip 
   window, then, after I "dip -t" and "port ttyd1", 
   DIP> port ttyd1
   DIP: tty: lock: (/var/spool/lock/LCK..ttyd1): Interrupted system call
   Then, I can't make the call anymore.(even I logout and login again..)
   I also tried to use ppp after this situation, but it also said
   
   ppp ON ilin> dial host 
   failed to open modem.

   So, what should I do to make my modem "available"?(rebooting is not a 
good solution.)

3.I have a problem about ppp. I can use ppp to connect my ISP now. But 
  the trouble is: I have to dial 0 first to detect the dial tone; in AT 
  command, it's "atx0". But when I use ppp, I don't know how to do this job 
  in the script. for example, some part in my ppp.conf is 
default:
 set device /dev/cuaa1
 set speed 14400
 disable lqr
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK 
\\dATDT\\T TIMEOUT 40 CONNECT"

How to add something to let it do "atx0" first? The reason I saked this, 
is because my poor telephone line usually can not detect tone, so, I have 
to dial 0 manually everytime which is troublesome..

Please give me any suggestion. Thanks.

                                                ilin