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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!gatech!destroyer!cs.ubc.ca!newsserver.sfu.ca!wonge
  3. From: wonge@fraser.sfu.ca (Edmund Wong)
  4. Subject: Yes! Remote login works... kinda... 
  5. Message-ID: <1992Dec30.111947.18363@sfu.ca>
  6. Sender: news@sfu.ca
  7. Organization: Simon Fraser University, Burnaby, B.C., Canada
  8. Date: Wed, 30 Dec 1992 11:19:47 GMT
  9. Lines: 86
  10.  
  11.  
  12.     Hi all.  I'm sure some of you may have realized that I've
  13. been on c.o.l. for some time and have regularly bothered most of
  14. you 'bout remote logins.
  15.  
  16.     Well, I KINDA have it working.  Not necessarily the BEST idea,
  17. but here's how I got it working.  I KNOW it's the the BEST way, but
  18. hey.   
  19.  
  20.      When someone phones in, I just login as a root, and do a
  21. "getty -h 2400 ttys1".  And they see the prompt a few seconds after
  22. connection.  HOWEVER, the problem with this is:-
  23.  
  24.     1) I am NOT gonna sit in front of the terminal all day to
  25.        execute that command whenever someone phones in.
  26.  
  27.     2) When the person logs off, the person's id is still 'logged'
  28.        on, well, when I do a 'w', it shows the person still on,
  29.        even if the guy is logged off!! 
  30.  
  31.     3) Related to 2, somehow, when that happens, the modem is
  32.        locked, so I can't use minicom or anything.  Kermit is
  33.        alright.  Does anyone know how to unlock /dev/modem?
  34.  
  35.      So basically, what I did was umm.. 'cheating', so to speak.
  36.      
  37.       Right now, when the computer reboots and loads the linux
  38. stuff, it skips the usual 'init' stuff and therefore it bypasses
  39. 'inittab' FOR SOME UNKNOWN REASON.   Moreover, the 'getty' and
  40. 'uugetty' is not setup at all.  I don't know what I did to the system
  41. to get it COMPLETELY IGNORING the INIT sequence, or even the
  42. 'rc' sequence!!! ARGGh.... 
  43.  
  44.       So right now, the following happens when I reboot and
  45. when linux reloads:-
  46.  
  47.      ttys0 at 0x03f8 (irq = 4) is a 16450
  48.      ttys1 at 0x02f8 (irq = 3) is a 16450
  49.      8 virtual consoles
  50.      lp_init: lp1 exists (0)
  51.      No Logitech bus mouse detected.
  52.      No PS/2 type pointing device detected.
  53.      No Microsoft bus mouse detected.
  54.      No ATI bus mouse detected
  55.      Memory: 6640k/8448k available (356k kernel, 384k reserved, 68k data)
  56.      Floppy drive(s): fd0 is 1.2M, fd1 is 1.44M
  57.      sock_init: initializing family 1 (AF_UNIX)
  58.      scsi : 0 hosts.
  59.      scsi : detected 0 SCSI disks 0 tapes 0 CD-ROM drives total.
  60.      hda :
  61.        part 1 start 53 size 135362 end 135414
  62.        part 2 start 135415 size 103350 end 238764
  63.      Partition table ok.
  64.      Linux version 0.98.pl1-37 (root@softland) 10/12/92 14:54:40
  65.  
  66.      Softlanding Software (604) 360-0188, ...
  67.      Welcome to Linux SLS .98.p5.  Type "menu" for a menu driven interface
  68.  
  69.      login:
  70.  
  71.  
  72.   So like, it skips the 'init' part.  HOW do I know that?  Well, before
  73. I screwed around with the system, it gave me MAJOR "socket" errors,
  74. and stuff like that... Somehow I prefer it not throwing out errors,
  75. but when it ignores my inittab or whatever, then something must be done.
  76.  
  77.   My question, after all the background information is given, is
  78. WHY is it skipping the 'init' sequence where it checks for the
  79. 'tty's and the ttys's?   Related to the opening sequence of events,
  80. how do I get it to display "(root@eagles)" <or something else> instead
  81. of "(root@softland)"?  
  82.  
  83.   So can I take it, from the above info, that my TCP/IP ISN'T setup
  84. properly, and if so, how do I set it up?  
  85.  
  86.  Anyhow, I'm PLEADING for some help here...  
  87.  
  88.   Pleeeez... preeetttyy pleeeez can someone help me....???
  89. <grin-I hope my grovelling might persuade someone to help me> :)
  90.  
  91.  
  92.       
  93. -- 
  94. InterNet: wonge@fraser.sfu.ca  |  "Fail not; Learn Not.
  95.                                |  It is with failing, that one learns,
  96.                                |  So by Learning, one must fail." - Edmund Wong
  97.