LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-15-2011, 12:36 AM   #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 06:43 AM. Reason: addition of information
 
Old 07-15-2011, 04:01 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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, 01: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, 02:05 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 shows offline and is not captuing the serial data being sent lcbalogh Linux - Newbie 3 01-06-2011 08:54 AM
"Minicom -s" works, but it always show "Offline", then cannot communicate with others reflecter_chen Linux - Hardware 7 10-25-2010 05:28 PM
[SOLVED] Power PC PSC UART Kernel Object just not working DamOTclese Linux - Software 1 05-03-2010 07:16 AM
Academy project: Direct Access for Serial ports and UART registers uprooter Programming 0 11-13-2008 09:55 AM
Minicom offline sanw2k Linux - Software 0 07-30-2003 11:54 PM


All times are GMT -5. The time now is 04:40 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration