home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8365 < prev    next >
Encoding:
Internet Message Format  |  1992-08-15  |  2.3 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!mips!munnari.oz.au!metro!extro.ucc.su.OZ.AU!arumble
  2. From: arumble@extro.ucc.su.OZ.AU (Anthony Rumble)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Modem dial-in procedures needed
  5. Message-ID: <arumble.713932944@extro.ucc.su.OZ.AU>
  6. Date: 16 Aug 92 02:42:24 GMT
  7. References: <1992Aug13.052324.8490@athena.mit.edu> <1992Aug13.094556.24941@murdoch.acc.Virginia.EDU>
  8. Sender: news@ucc.su.OZ.AU
  9. Organization: Sydney University Computing Service, Sydney, NSW, Australia
  10. Lines: 49
  11. Nntp-Posting-Host: extro.ucc.su.oz.au
  12.  
  13. lfoard@Turing.ORG (Lawrence C. Foard) writes:
  14.  
  15. >In article <1992Aug13.052324.8490@athena.mit.edu> chchen@stat.fsu.edu writes:
  16. >>I've seen several discussions about modem dial-in for Linux system. I
  17. >>got two unsolved questions here:
  18. >>
  19. >>I will be greatly appreciated if someone can post his whole procedures
  20. >>to allow modem dial-in.
  21.  
  22. >The best approach if you are dedicating your modem to this is to
  23. >set the parameters and save them in the modems non volatile
  24. >memory. If I remember right I have the following set-
  25. >echo off
  26. >hangup on dtr being dropped
  27. >no result codes
  28. >answer on one ring
  29.  
  30. >I saved these and then turned on the switch that makes it ignore
  31. >at commands. This prevents the computer sending garbage to the modem
  32. >and making it do weird things.
  33.  
  34. This isn't the best way of doing things, as soon as I clean up my
  35. Modem Server, ill post it.. The only problem I am having with it at the moment
  36. is that for some reason, the MNP init characters being sent by the calling
  37. modem seems to make the TTY go wierd, and hang up the modem?!?!?
  38. Haven't worked that one out yet, when I do, ill post it..
  39.  
  40. >One possible problem you may run into is that getty doesn't hold
  41. >DTR down for long enough, if your modem doesn't always hang up you
  42. >can make a shell script-
  43. >getty1
  44. >#!/bin/sh
  45. >sleep 10
  46. >exec /bin/agetty $*
  47.  
  48. >this will hold dtr down for 10 seconds.
  49.  
  50. Also.. Another funny thing ive found, is that if people Drop CArrier..
  51. It usually kills the program that their in.. But NOT the SHELL!!!
  52.  
  53. Ie.. Say there in ELM, and their line dropps out.. ELM quits fine
  54. But the Shell is still there!.. Echoing to the modem forever, or
  55. until I kill the process..
  56.  
  57. Is there anything that can be done about this anyone??
  58. -- 
  59. Anthony Rumble
  60. aka SmilieZ
  61. "Anything is possible.. If there is enuf money in it"
  62.