In " Utilities Reference" devn-fd.so have 5 Options:
fd=device
mac=XXXXXXXXXXXX
mtu=X
verbose=num
wait
I don’t know, what is “the hdlc option”?
In the Reference writed:
“For example, you could use devn-fd.so to connect to machines with a null-modem RS-232 serial cable. By using file-descriptor I/O to the serial devices, devn-fd.so would implicitly use a serial driver and set up a logical network link.”
There “null-modem RS-232 serial cable” is:
2 ------ 3
3 ------ 2
5 ------ 5
total is 3 lines, right?
I attempt:
On Pc1:
io-net -dfd fd=/dev/ser1,mac=112233445566 -p[tcpip|pppoe|pppmgr]
mount -Tio-net npm-qnet.so
On Pc2
io-net -dfd fd=/dev/ser1,mac=112233445567 -p[tcpip|pppoe|pppmgr]
mount -Tio-net npm-qnet.so
First of all, you need to do a “use /lib/dll/devn-fd.so” to see if there is an option called “ahdlc”, if there is none, you are using an too old version, you will have to try the “use ip” part below.
[For Use Devn-fd.so]
First make sure the 2 serial set to proper paramters (baud rate, follow control), make sure you can “qtalk” each other through the serial link.
You need to start the devn-fd.so with “fd”, “mac”, and “ahdlc” options
Just to avoid other potential problems, since you are only using a 3 wire serial connection, you want to make sure the software flow control is turned on, on both ends
$ stty +osflow +isflow < /dev/ser1
I don’t think that qnet cares what the fd is when you use it - it is up to you to make sure it works right.