wiki:WARPnet1/RunningServer

Version 2 (modified by sgupta, 14 years ago) (diff)

--

Running the WARPnet Server

As mentioned in the architecture of WARPnet, the system is divided into a server and controllers. The server is the central hub of data transfer and responsible for moving data between the controllers and the nodes. Only one instance of the server needs to be running at any time. Client scripts can be run over and over with restarting the server.

The controllers and server connect using network sockets while the server connects to the nodes by either network sockets (if using a Backdoor Board) or PCAP (if using the main Ethernet connection).

To run the server navigate to the warpnet_framework directory. There are two ways to run the server. Either

 ./run_warpnet_server.sh pcapInterface port

or

 python warpnet_server.py ''pcapInterface'' port pcapInterfaceMACaddress