home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21388 < prev    next >
Encoding:
Text File  |  1992-12-22  |  4.5 KB  |  105 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!paladin.american.edu!gatech!destroyer!cs.ubc.ca!newsserver.sfu.ca!wonge
  3. From: wonge@fraser.sfu.ca (Edmund Wong)
  4. Subject: serial connections and some other minor problems..
  5. Message-ID: <1992Dec22.101437.28426@sfu.ca>
  6. Keywords:  serial ports
  7. Sender: wonge@fraser.sfu.ca 
  8. Organization: Simon Fraser University, Burnaby, B.C., Canada
  9. Date: Tue, 22 Dec 1992 10:14:37 GMT
  10. Lines: 93
  11.  
  12.   Hi, I'd like some expert help on serial port access.  
  13.  
  14.   I have JUST recently installed Linux AND X11(what a frustration) on my
  15. 486/33 with some help from some comp.os.linux readers, and I THANK them
  16. all for all the help they offered.  
  17.  
  18.   However, like a novice, I have experienced some problems, which I have
  19. no idea, how to solve, as well as a few questions on serial connections.
  20.  
  21.   First of all, the questions:-
  22.  
  23.    1) I have a problem with some commands in Linux.  All, or close to
  24.       all of them, work for the root user, but some don't work for
  25.       the non-root user.  For example, the commands 'uptime' and 'w'.
  26.       I've asked someone and he suggested the following thing:-
  27.       (my 'w' and 'uptime' command -et others- are in my /var/bin
  28.        directory.)
  29.  
  30.       chown root.mem /var/bin/w 
  31.       chmod 2755 /var/bin/w
  32.  
  33.        It didn't work at all, and so I was wondering what mistake I
  34.       made, and how I am to correct such a frustrating problem?
  35.       Or generally speaking, how do I correct a problem of that nature?
  36.  
  37.     2) Related to (1), the w command produces empty 'JCPU','PCPU'
  38.        and 'what' columns, and that someone told me to recompile
  39.        the server(I think that's what he meant, but I could have
  40.        mistaken) or get gettyps204 from tsx-11.mit.edu(which I
  41.        did).  Now the question is, how am I to recompile the
  42.        package?   Firstly, do I just simply download the whole
  43.        gettyps204.tar.Z file directly to my floppy(i doubt), or
  44.        do I uncompress and untar the file into a temp. directory
  45.        and then download it to my floppy?  I hope these aren't
  46.        stupid questions, coz I've been scanning the FAQ for some
  47.        time and it's taking a toll on my eyes(talk about major
  48.        eyestrain.. :( ).
  49.  
  50.      3) When the root user does a 'elm' command, everything works
  51.         properly, but when a non-root user does the 'elm' command
  52.         the system keeps on displaying a "You have no password entry!"
  53.         and then it throws the user back to the prompt.  What is
  54.         going on wrong?  Have I forgotten to do something during
  55.         the process of installing the Linux system?
  56.  
  57.       
  58.     That's 'bout all for the questions, so I hope someone can help
  59. me with the aforementioned problems.  Much appreciated.
  60.  
  61.     Now, to the serial connection stuff.
  62.  
  63.     I'd like to be able to allow people to login remotely to my 
  64. terminal server, or at least allow myself to login from remote(via
  65. modem) to my terminal server.  Now the point here is that, I've read
  66. the FAQ, and quite frankly, it didn't help me much since it didn't
  67. go into detail with serial connections.  Right now, my modem is
  68. on COM1(which is /dev/ttys1, I think *) and I did try out what was
  69. suggested in the FAQ; that is, add the following line to my /etc/inittab
  70. file:-
  71.     ttys2:vt100:/etc/getty -m  1200 ttys2
  72.  
  73.   but I changed it to:-
  74.     ttys1:vt100:/etc/getty -m 9600,2400,1200,300 ttys1
  75.  
  76.    Now that somehow, got the modem's attention, in a sense that, when
  77. there IS a RING(someone is dialing in), something does happen.  I would
  78. get these wierd messages being displayed to ALL of the consoles.  The
  79. problem is, that the modem wouldn't actually CONNECT.  It would just
  80. sit there, and start looping back with wierd messages like:-
  81.  
  82.   Dec 21 02:07:27 login[33]: invalid password for `RING' on `ttys1'
  83.  
  84.   and some other kinds of junked up responses.  From what I figured
  85. is that  the system keeps on asking for the login pass as well as
  86. the password for linenoise and `RING' and other stuff...
  87.  
  88.    So, it all BOILS down to, HOW do I get a proper connection?  I've
  89. tried the Kermit approach, but I could never get out of Kermit.  So
  90. could someone help me with this?  Much appreciated.  I know I kinda
  91. droned on, but heck, I figured background information might help
  92. experts pinpoint the exact problem.  
  93.  
  94.  
  95.    Thank you for your attention, and any help is appreciated.
  96.  
  97.  
  98.  
  99.  at lea
  100.  
  101. -- 
  102. InterNet: wonge@fraser.sfu.ca  |  "Fail not; Learn Not.
  103.                                |  It is with failing, that one learns,
  104.                                |  So by Learning, one must fail." - Edmund Wong
  105.