I have a Moxa 5450 with 4 FreeBSD servers (11) connected. Each Port on the Moxa ist set to use Reverse Telent. Each serial port is then available at IP of console server 400x. The Null-modem cables have all been tested with a server in the office that is Identical to those in the Rack.
The following config in
.
In my test setup, using a machine identical to the 4 machines in the rack, I simply did the following:
and then connect
This worked with a clone machine on a private network when the client (socat and screen) where running on a linux box. But I only get junk with the same approach on FreeBSD.
����������
Is an example of ouptut I get.
Socat seems to be running correctly:
I'm a bit stumped since the reverse telnet setup worked so well with a linux client talking to freebsd boxes. I even tested a FreeNAS (FreeBSD 9?) in parallel.
I even went so far as to take my 'primitive' screen rc from the linux box and dump it over the much nicer settings on the FreeBSD box. But that was of no use.
The following config in
/boot/loader.conf
works on test machines.
Code:
boot_multicons="YES"
boot_serial="YES"
console="comconsole,vidconsole"
In my test setup, using a machine identical to the 4 machines in the rack, I simply did the following:
socat -d -d -d PTY,link=/dev/moxa,wait-slave tcp:10.0.0.253:4004
and then connect
screen /dev/moxa
.This worked with a clone machine on a private network when the client (socat and screen) where running on a linux box. But I only get junk with the same approach on FreeBSD.
����������
Is an example of ouptut I get.
Socat seems to be running correctly:
Code:
2019/09/09 14:51:10 socat[24468] I setting option "symbolic-link" to "/dev/moxa"
2019/09/09 14:51:10 socat[24468] I setting option "pty-wait-slave" to 1
2019/09/09 14:51:10 socat[24468] I setting option "crnl"
2019/09/09 14:51:10 socat[24468] I openpty({5}, {6}, {"/dev/pts/1"},,) -> 0
2019/09/09 14:51:10 socat[24468] N PTY is /dev/pts/1
2019/09/09 14:51:10 socat[24468] I close(6)
2019/09/09 14:51:16 socat[24468] N opening connection to LEN=16 AF=2 10.0.0.253:4004
2019/09/09 14:51:16 socat[24468] I starting connect loop
2019/09/09 14:51:16 socat[24468] I socket(2, 1, 6) -> 6
2019/09/09 14:51:16 socat[24468] N successfully connected from local address LEN=16 AF=2 10.0.0.7:64061
2019/09/09 14:51:16 socat[24468] I resolved and opened all sock addresses
2019/09/09 14:51:16 socat[24468] N starting data transfer loop with FDs [5,5] and [6,6]
2019/09/09 14:51:16 socat[24468] I transferred 15 bytes from 6 to 5
I'm a bit stumped since the reverse telnet setup worked so well with a linux client talking to freebsd boxes. I even tested a FreeNAS (FreeBSD 9?) in parallel.
I even went so far as to take my 'primitive' screen rc from the linux box and dump it over the much nicer settings on the FreeBSD box. But that was of no use.