This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

serial console

I want to use the serial console port to configure the ASL.I had configure serial console according to the manual correctly,and I can see the system start message from HyperTerminal, but I don't understand why I can't input command from HyperTerminal.
pls help me.thanks.  


This thread was automatically locked due to age.
  • If someone use serial port to configure the ASL, pls tell me that I should how to configure ASL to let ASL accept the command I input from serial console.
    thank you very much.  
  • Some fuzzy instructions (let's see if that gets you there):

    In /etc (?) there is an inittab and/or initscript. These are low-level bash startup scripts. Inside one of them you will find an mgetty command commented out with a "#", and the German "serial einloggen" (or something like that). Remove the hashmark, reboot, and you should be able to log in on the port.

    I had some trouble with Linux's autobaud sensing mechanism (it would sometimes lock up, even if I was coming in on a null modem cable). So I found setting the port speed to 38800 (with an argument to mgetty -do some searching on the net) would make initial connections more trouble free.

    Do not put a modem on this serial port; without additional security precautions for such a configuration, it's asking for trouble from a war dialer...

    Of course, if any of these instructions fall short, simply repost...
  • Thanks a lot, I'll try it according you said.  
  • Hi SecApp,
    I has modified /etc/inittab become:
    # Serial login
    # modify it if you want a console on serial port
    s0:123:respawn:/sbin/mgetty ttyS0
    Is it right?
    but I still can't input command from HyperTerminal, just can see, I don't know why? Pls give me more advice. thanks.
      
  • ...mgetty -s 38400 ttyS0

    or if you're not using a modem:

    ...mgetty -r -s 38400 ttyS0

    If you're using a serial cable (no modem):
    When you're connecting in Hyperterminal, are you hitting the "Call" button on the toolbar??