LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-14-2011, 11:36 PM   #1
getasif
LQ Newbie
 
Registered: Sep 2009
Posts: 26

Rep: Reputation: 0
Minicom offline


I am trying to access an OpenBSD system that I have just installed via my PcBSD system by the use of a serial cable. I have been trying both minicom and cu but I am obviously doing something wrong... cu -l /dev/cuad0 returns /var/spool/lock/LCK...cuad0 Permission Denied. Can't Open lock file. all ports busy. And when I try to connect through minicom I either get a similar lock error, or minicom will sit at the connection screen with (offline status). I feel like the answer to my problems is a rather simple one, but I do not know where else to look for information. Any help would be greatly appreciated

Last edited by getasif; 08-15-2011 at 05:43 AM. Reason: addition of information
 
Old 07-15-2011, 03:01 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
I don't use minicom much, but I think it tries to talk to a modem on startup, and if it doesn't get some satisfactory reply, it goes offline. Perhaps your minicom config is unsuitable for the multiport card (handshake & flow-control lines fully implemented?). When dealing with serial ports, I strongly prefer C-Kermit. It seems to be able to cope with any port I've thrown at it, is highly configurable and scriptable, and has very good terminal emulation.

--- rod.
 
Old 07-16-2011, 12:05 PM   #3
getasif
LQ Newbie
 
Registered: Sep 2009
Posts: 26

Original Poster
Rep: Reputation: 0
hello theNbomr/rod ...thanks for the information about c-kermit and I will let you know about the results ..yes handshake and other usual things about ports have been implemented I was thinking whether a simple loop back test is possible with c-kermit...anyways please let me know if you have any info about this ...thanks
 
Old 07-16-2011, 01:05 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
A loopback test with a single wire connecting the port's Rx & Tx lines is always one of the first tests I do when diagnosing serial comm's issues. If you aren't using a modem, I suggest also removing all of the modem init strings from your minicom configuration. Is your problem that minicom doesn't automatically go online, or that it simply will not go online at all?
Another useful tool (requires X) for setting up serial comm's is serlook. It is less useful for the level you're working with right now, but comes into play where you are actually transferring data between hosts or host & device.

--- rod.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Minicom -s" works, but it always show "Offline", then cannot communicate with others reflecter_chen Linux - Hardware 8 05-14-2016 02:05 PM
minicom shows offline and is not captuing the serial data being sent lcbalogh Linux - Newbie 3 01-06-2011 07:54 AM
[SOLVED] Power PC PSC UART Kernel Object just not working DamOTclese Linux - Software 1 05-03-2010 06:16 AM
Academy project: Direct Access for Serial ports and UART registers uprooter Programming 0 11-13-2008 08:55 AM
Minicom offline sanw2k Linux - Software 0 07-30-2003 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration