delphi programming forums mysql charset mget recursive synonimos
free ventrilo servers hosting cs javascript delay python find in list
Back Forum New
abstract:

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).


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).

TOP

Ok, after reading 17.3 Terminals in freebsd handbook, I've edited /etc/ttys to have this
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
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
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)



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).

TOP

Back Forum