Skip to content
Dan Barrett edited this page Feb 13, 2017 · 4 revisions

NAME

xianet - control XIA node  

DESCRIPTION

Start or stop the XIA network services.

usage: xianet [-cCvV4rtnZg] [-l <loglevel>] [-i <hostname>] [-m <ip-addr>]

[-f <filter_str>] [-P <socket-ports>]

[-W <dsrc_mac_addr>,<arada_ip_addr>:<waveserver_port_num>] [-s <script>] [-z <statserver>] start|stop|check|kill|restart

 

Commands:

start

starts the XIA network processes if not already running

stop

stops the XIA processes

check

print service status

kill

kill all XIA services including orphaned services

restart

stop then start the XIA network processes

 

Configure:

-t generate and use a generic host click script

-r generate and use a generic router click script

-n this node will be the name server

-R this node will provide rendezvous service

-i use the supplied name as the click element name and HID shortcut

-f don't use interfaces matching the supplied string

(to ignore multiple interfaces, use a comma-separated list)

-W connect via waveserver (ipaddr:port) on Arada box. MAC of DSRC Iface to use

 

Logging:

-l syslog level (0=LOG_EMERG through 7=LOG_DEBUG) default=3 (LOG_ERR)

-v prints click debug messages to stdout

-V prints all daemon debug messages to stdout

 

Debugging:

-c only start click

-C start everything except click

-g run click inside of valgrind

-z start the visualizer client daemon, using the supplied address for the statserver

-Z make this the visualizer server (runs statserver and xstats)

 

Advanced:

-4 generate and use a dual stack click script

-m manually set the node's 4ID IP address

-P set the TCP socket ports to use (instead of ToDevice/FromDevice)

-s run click using the specified script in the /home/dbarrett/xia/doc/xia-core/etc/click/ directory.

Clone this wiki locally