home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / software / 3147 < prev    next >
Encoding:
Text File  |  1992-12-21  |  2.9 KB  |  66 lines

  1. Newsgroups: comp.sys.next.software
  2. Path: sparky!uunet!nwnexus!sounds!brianw
  3. From: BrianW@SoundS.WA.com (Brian Willoughby)
  4. Subject: Re: A tip on tip
  5. Message-ID: <BzJr44.37I@sounds.wa.com>
  6. Sender: brianw@sounds.wa.com (Brian Willoughby)
  7. Reply-To: BrianW@SoundS.WA.com
  8. Organization: SoundSoftware, Bellevue, WA, USA
  9. References: <1992Dec18.125534.15316@investor.pgh.pa.us>
  10. Distribution: usa
  11. Date: Sun, 20 Dec 1992 07:21:39 GMT
  12. Lines: 52
  13.  
  14. Bob Peirce #305 writes
  15. | I run a Telebit TrailBlazer and I could never figure out how to automate
  16. | the setup and dialing for different machines.  The other day, reviewing
  17. | the manual for /etc/remote, I found reference to cm which is a command
  18. | to issue a string of instructions to the machine you are logging into. 
  19. | Playing around with this command I discovered I could use it to
  20. | initialize the modem and to dial out.  For example, to call my office
  21. | computer I have the string :cm=at&edn\r:.  For another machine I use
  22. | :cm=ats50=0s66=1dt#######\r:, where ####### is the phone number.  I was
  23. | surprised to find these things work perfectly.
  24. | If you have been having trouble getting tip to set up your modem and
  25. | dial out, give cm a try.  It might solve your problem too.
  26.  
  27. This is a very good tip, and it mentions a feature of /etc/remote that I could  
  28. never get to work (I'll be trying again soon with your example as a starting  
  29. point), but I wanted to mention what might be an easier way to dial a system.
  30.  
  31. If an /etc/remote entry has the string :du:, tip will treat that entry as a  
  32. dialup system and will use the :pn=XXXXXXX: string as the number to dial.  I  
  33. just type 'tip systemname' and it will dial the correct phone number.   
  34. Currently, I cheat by setting the EEPROM in the modem with the correct  
  35. parameters for tip (see above, couldn't get :cm= to work) and then force UUCP  
  36. and SLIP to make modem configuration changes from the basic modem setup.
  37.  
  38. Here is an excerpt from my /etc/remote, set up to build a system entry in  
  39. easily replaceable units:
  40.  
  41. # Telebit WorldBlazer definition
  42. telebit|wb:\
  43.         :dv=/dev/cufb:br#38400:el=^C^S^Q^U^D:at=hayes:
  44. # CD 2400 definition
  45. cd2400|2400 Baud Hayes attributes:\
  46.         :dv=/dev/cufb:br#2400:el=^C^S^Q^U^D:at=hayes:
  47. # Select Main Unit for other definitions
  48. mainunit:tc=wb:
  49. # mainunit:tc=cd2400:
  50. # System phone numbers
  51. CDCD:pn=14087309015:pa=none:du:tc=mainunit:
  52. Hayes:pn=18008742937:pa=none:du:tc=mainunit:
  53. Seagate:pn=14084388140:pa=none:du:tc=mainunit:
  54.  
  55. I suppose I could also include :cm= settings to further customize each system,  
  56. provided that I can figure out how to make it work.  Perhaps there is some  
  57. interaction between :du:pn= and :cm= that is giving me trouble, while your  
  58. (Bob's) method of combining the setup and dial command in one is the key.
  59.  
  60. Oh well, that's enough about that from me...
  61. -- 
  62. Brian Willoughby    Software Design Engineer, BSEE NCSU
  63. BrianW@SoundS.WA.com    Sound Consulting and Signal Processing Software
  64. NeXTmail welcome    - NO EMAIL SOLICITATION without prior permission
  65.