Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 got minicom to work (turned out to be a hardware problem), but now I can't disconnect, won't recognize any control keys. This is a direct cable to a Cisco 2501 router into the console port (no modem). I have to reboot the computer to disconnect. Any ideas on the proper way to disconnect?
Originally posted by idaho <CTRL><A> - <Q> is supposed to be the disconnect sequence.
The minicom man page has notes about how to configure an alternative to <CTRL> as the command key (e.g., -m to use <ALT>)
I have tried the control keys, they don't seem to respond. I have not changed any of the default values associated with control keys. Minicom works fine, but I can't disconnect.
Originally posted by idaho The default is to use <CTRL> as your command key.
I used minicom -m and it works fine, but why must I use -m for each session? I checked the modem settings and choice k hang up string is ~~+++~~ATH^M, which if I edit and enter ALT Q is that string. It's not a big deal only 2 more characters to type, I am just curious. Any thoughts?
Probably something to do with the hardware you are talking to or from. minicom works fine for me without the -m option.
Just be thankful that the authors were kind enough to provide an option to change the default for folks like you for whom the default wasn't appropriate.
Originally posted by idaho Probably something to do with the hardware you are talking to or from. minicom works fine for me without the -m option.
Just be thankful that the authors were kind enough to provide an option to change the default for folks like you for whom the default wasn't appropriate.
I am connecting to the console port of a Cisco 2501 router. Minicom -m works fine, I was just curious why the -m was needed. I built a little script so I wouldn't have to type so much.
You don't have to use the -m option when you start minicom if you configure it permanently via < minicom -s > . The -s is for "setup". In setup go to SCREEN SETTINGS. THe first option is what you type for the command. It defaults to CTRL-A. Go in any change it to ALT Z. Just type in <ALT-Z> . THe prompts are a little funny cause it asks you about metachars, etc. But just type in ALT-Z and it will change.
Then, you need to NAME your new configuration. In my case, I don't have a modem so I just called it com1. The next time you invoke minicom, just type minicom yourconfigFile. THats it.
Originally posted by kzamora You don't have to use the -m option when you start minicom if you configure it permanently via < minicom -s > . The -s is for "setup". In setup go to SCREEN SETTINGS. THe first option is what you type for the command. It defaults to CTRL-A. Go in any change it to ALT Z. Just type in <ALT-Z> . THe prompts are a little funny cause it asks you about metachars, etc. But just type in ALT-Z and it will change.
Then, you need to NAME your new configuration. In my case, I don't have a modem so I just called it com1. The next time you invoke minicom, just type minicom yourconfigFile. THats it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.