From: Stephane F. <f8...@fr...> - 2003-09-21 16:55:34
|
On Sat, Sep 20, 2003 at 11:35:23PM +1200, Wilbert Knol wrote: > > I am having a play with the rpc.rigd server...it is running as below: > root:/usr/local/src/hamlib-1.1.4/rpcrig # ./rpc.rigd -m 314 -r > /dev/ttyUSB1 -v > Opened rig model 314, 'IC-725' fine > ...I can see the sockets with: > > root:/home/zl2bsj # rpcinfo -p localhost > program vers proto port > 100000 2 tcp 111 portmapper > 100000 2 udp 111 portmapper > 536871065 1 udp 996 rigd > 536871065 1 tcp 998 rigd > > I tried netcatting the udp port, and telnetting into the tcp port, > but nothing much happens when I do. How do I get to see data from the > daemon? The ports you are seeing are RPC ports, and data is represented in XDR format. If you wanna see some packets, look at the UDP port, but keep in mind this is *raw* data. No one would want to deal with it in this format. You'd better use rigctl(or binding, etc.) for example: rigctl -vvvvvv -m 1901 BTW, this allows you to run xlog,ktrack,tlf,grig,etc. at the same time. Cheers, Stephane |