BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old February 23rd, 2003, 07:34 PM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 17
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
serial connection between 2 4.6.2 (not slip, dumb terminal)

Hi there.

I have two freebsd 4.6.2 boxes which I want to have hooked up in serial connection. I do not have local access to them, so I asked a friend on mine to buy null modem cable and connect them together. Note, I am not 100% sure he did it properly, so it might be a hardware problem.

I am trying to do something as simple as # tip com1 and # tip com2. It shows 'connected' and doesn't do anythign else. I have to do killall tip to get out of it. minicom just doesn't want to connect, neither with cuaa0 nor with cuaa1. Are there any low-level tools which can show if there's physical connection at all?

I've tried reading numorous howtos and faqs for connecting linux and openbsd, but couldn't find anything for freebsd. If anyone has any ideas at all, I would be very thankful because I don't have any experience with serial connections whatsoever. I am not even sure if you supposed to restart or change something in /etc/ttys or anything like that. Speaking of ttys, serial terminals are uncommented on both boxes (they were by default).
__________________
And you know I mean that.

Reply With Quote
  #2  
Old February 23rd, 2003, 10:48 PM
AlCapone's Avatar
AlCapone AlCapone is offline
Mobbing Gangster
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Sep 2001
Location: "Best City" 2002 and 2003- Melbourne, Australia
Posts: 4,913 AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level)AlCapone User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 36 m 31 sec
Reputation Power: 17
Send a message via ICQ to AlCapone Send a message via AIM to AlCapone Send a message via Yahoo to AlCapone
Ok, after reading 17.3 Terminals in freebsd handbook, I've edited /etc/ttys to have this
Quote:
ttyd0 "/usr/libexec/getty std.9600" vt102 on secure
ttyd1 "/usr/libexec/getty std.9600" vt102 on secure

I suppose my connection is either com1 or com2 so I left d2 and d3 unmodified like this
Quote:
ttyd2 "/usr/libexec/getty std.9600" dialup off secure
ttyd3 "/usr/libexec/getty std.9600" dialup off secure

but when I do # ps -axww|grep getty I get this for dx
Quote:
31043 ?? I 0:00.00 /usr/libexec/getty std.9600 ttyd1
31044 ?? I 0:00.00 /usr/libexec/getty std.9600 ttyd0

I'm not sure what with ?? and tip and minicom still can't connect (minicom says offline and tip says connected but doesn't do anything)

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > serial connection between 2 4.6.2 (not slip, dumb terminal)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway