Getting Minicom to work

28/05/08

Permalink 03:47:42 pm, by Kieren Email , 219 words, 123 views English (GB)
Categories: Computing, Linux

Getting Minicom to work

When running Minicom for the first time you’re likely to be greeted with the following error message:

minicom: cannot open /dev/modem: No such file or directory

This is because Minicom is looking for your serial port in /dev/modem and in newer versions of Linux it’s located in /dev/ttyS0 or /dev/ttyS0. In the following example I will use /dev/ttyS0.

There are two ways to fix this problem. You can either create a shortcut of /dev/modem to point at /dev/ttyS0 or edit Minicom’s settings to use /dev/ttyS0.

To use the shortcut method use the following command:

ln -s /dev/ttyS0 /dev/modem

To edit Minicom’s settings start Minicom with the command:

minicom -s

This will open Minicom with the configuration menu. Use your direction key to scroll down to Serial port setup and press enter. Now press a to edit the Serial Device. Change this to be /dev/ttyS0. Press enter once you have finished editing. Now press escape to go back to the main menu. Finally select Save setup as dfl to make sure that the serial port is correct every time you run Minicom. You can now select Exit to start using Minicom or Exit from Minicom to close Minicom. In the future you can run Minicom without the -s flag

Trackback address for this post:

This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

Comments, Trackbacks, Pingbacks:

Comment from: kristian lm [Visitor] Email



in your ls -s command, surely you mean ln -s?

:) cheers
PermalinkPermalink 11/09/08 @ 15:23
Comment from: Kieren [Member] Email
Yes, you're right :)

Thanks for that, all fixed now.
PermalinkPermalink 11/09/08 @ 20:49

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

November 2008
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Search

Categories

KBlog

XML Feeds

What is RSS?

Misc

b2evolution