Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to connect to a serial device on a remote linux server. So the serial device is connected to a remote box's serial port. I am ssh 'ing into that server, and now i want to connect to the device on the serial port. (like using cutecom,only now i only have text mode).
How can i connect to this device in runlevel 3.(Text mode.)
You can use a program called minicom to communicate with a serial device in text mode. Or, if you're running the X server on the computer you're ssh'ing with, you can tunnel X and start cutecom remotely. For this, you need to start ssh with the -X parameter and tunneling X has to be enabled on the SSH settings on the server side. If you only need to send a few bytes to the serial device, you can do this with e.g.
I'm trying to connect using minicom to an IP DSLAM that's connected to the pc's serial port.I've got all the settings as i should.I should expect minicom to connect to it right away,am i right?(by running minicom and using the correct settings). I would expect a login prompt, but minicom gives me nothing. I do notice a Offline at the bottom.
My question now,is there any command i can run in linux to check if the device is actually connected on the serial port, and to which one.(/dev/ttyS0,/dev/ttyS1,etc).
To figure out which device file the device is using you have to try them out one by one. You can setup minicom with the -s switch (as root) or change the configuration within the program to try out different serial ports. Minicom should connect to your device automatically, but I think it's optimized for use with standard modems that use AT commands, so you may first have to type in some initialization commands yourself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.