LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices



Reply
 
Search this Thread
Old 01-05-2009, 11:38 AM   #1
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 494

Rep: Reputation: 75
Connect to freeBSD using serial cable


Hello There,

I've install freeNAS which is working just fine, but now I'd like to ba able to access via Serial cable (just in case there is a network issue).

As for the moment I'm testing it but once it will be in production there will be no screen in that room and I'll need to access it quickly even if the network goes down (for any reason).

I've try to connect a serial cable from my laptop to the FreeNAS box with the following setings:
115200, 8, none, 1, none

But I don't get anything on my screen, I don't get any error message neither.

Any idea? Is there something to enable in BSD to display the screen output on the Serial console?

Best regards,
Angel.
 
Old 01-05-2009, 12:15 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 do BSD, but I do do serial. You must make sure of a few things before this will work. First, you will need to ascertain that the cable is correctly configured. For the application to which you refer, you will probably require a null-modem cable. There are numerous 'correct' ways of configuring such a cable, but primarily it crosses over the Tx & Rx wires so that each end of the cable has a receiver connected to a sender and a sender connected to a receiver. Next, each end of the connection must use the same communications parameters. 115200 BPS is becoming somewhat common, but I would try 9600 BPS first. The bitrate could be any standard RS-232 speed, and there is no easy way of knowing what a given port will be using. Other parameters such as parity, word size, etc are easier to guess (8,N,1 is almost universal these days).
Finally, I think it likely that if you get anything from the serial port, it will be a login prompt. I don't know how BSD goes about configuring console logins on serial ports, but unless the system has been so configured, you probably won't get any response.
--- rod.

Last edited by theNbomr; 01-05-2009 at 11:17 PM.
 
Old 01-05-2009, 12:18 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
This help?

http://www.freebsd.org/doc/en/books/...ole-setup.html
 
Old 01-05-2009, 12:25 PM   #4
angel115
Member
 
Registered: Jul 2005
Location: France / Ireland
Distribution: Debian mainly, and Ubuntu
Posts: 494

Original Poster
Rep: Reputation: 75
Quote:
Originally Posted by anomie View Post
Thanks that's what I was looking for. I've no time to try it tonight but I'll do that tomorrow.

Thanks for that.

Angel.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring a USB to Serial Cable to connect to a console port on a HP Procurve jamtech Linux - Networking 3 01-22-2008 08:30 AM
Networking with serial cable? Man in the Redhat Linux - Hardware 2 11-13-2006 08:04 PM
Serial/Console Cable nistelrooy Linux - Newbie 4 07-29-2005 01:21 AM
Serial cable and pppd woes tur third Linux - Networking 0 07-11-2005 04:27 PM
connect windows and linux with serial cable adavila Linux - Networking 1 10-15-2003 07:25 PM


All times are GMT -5. The time now is 08:18 PM.

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