NetAdminTools.com
 
SignalQ Sites:
L1G3R Information Systems - Coprolite - SpotBridge - NAW
RoboCoop - AreWeDown - SolarPower - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - FixRambler
Solar Energy - Energy Efficiency - Solar Panels
Home Energy Savings
Categories:
GNU/Linux | Homebrew designs | Perl | Ruby | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | ERP | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Ruby
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·ERP
·REALbasic
·All Categories


Minicom Compile/Install
Topic:GNU/Linux   Date: 2003-01-17
Printer Friendly: Print   

spacerspacer
<<  <   >  >>

Subject

Minicom is a simple terminal program. We use it to access our servers via our serial port mux. Most likely your GNU/Linux distribution has Minicom as an available package. If not, or you would rather compile yourself, grab minicom from here. Unpack the sources in your favorite spot and compile:

# cd mini*
[minicom-2.00.0]# ./configure --prefix=/usr --sysconfdir=/etc
...
[minicom-2.00.0]# make
...
[minicom-2.00.0]# make install
...

We decided to go with default options, but did set prefix and sysconfdir. Do a ./configure --help to see other options. After you install, run minicom -s to set up the default options for your users. You will need to ensure that the permissions on the device files and /var/lock are correct. We used the tty group for this, and made sure u-1 was a member. Messed up permissions get on her nerves:

# chgrp tty ttyS*
# ls /dev/ttyS*  -l
crw-rw----    1 root     tty        4,  64 Jan  4 11:16 ttyS0
crw-rw----    1 root     tty        4,  65 Jan  4 11:16 ttyS1
crw-rw----    1 root     tty        4,  66 Jan  4 11:16 ttyS2
crw-rw----    1 root     tty        4,  67 Jan  4 11:16 ttyS3
# chgrp tty /var/lock/
# grep tty /etc/group
tty:x:4:u-1
#
# minicom -s
# cat minirc.dfl
# Machine-generated file - use "minicom -s" to change parameters.
pr port             /dev/ttyS0
pr lock             /var/lock
pu baudrate         9600
pu rtscts           No

When minicom is connected to our serial port, the lockfile shows up in /var/lock as LCK..ttyS0.


People:
Places:
Things:
Times:





Please read our Terms of Use and our Privacy Policy
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2011 NetAdminTools.com