The COM 1, 2, 3, etc. ports under Gnu/Linux system are usually identified at nodes 'ttyS0', 'ttyS1', 'ttyS2' and so on. If the kernel has assigned it true resources (memory map and IRQ) then chances are it is alive and ready for configuration. Find it out ---
find /dev -name ttyS0 | xargs setserial -g
the system should return the identification of resources it has.
Now to configure the node according to your purpose there are several built-in tools (at least they are built-in here from my Slackware box --don't know with other distros though), you may use 'setserial
' command. For further options to manipulate the node type 'setserial -h'
or 'man setserial
' for the manual.
There is also another tool to manipulate modems: 'minicom
'. Type 'minicom -h
' for help and options; typing 'minicom
' will bring up a ncurses dialog for specific options.
Hope that helps. Good luck.