Content
SPLiT is a tool specially developed for a VoIP test environment that can simulate a variety of server services:
Disclaimer
SPLiT was developed in Python, a modern scripting language. To avoid installing the Python interpreter, SPLiT is provided as a precompiled executable file for Windows and Mac.
For installation on Linux please use the file "makedist-linux" from the SPLiT directory of the binary files: split_binaries.zip
You can easily start SPLiT from a user with administrative rights (on OSX or GNU/Linux you should use sudo or run it from root).
If the binary package does not work for your operating system, you can run it from the required Python source code (Python 2.X environment).
(https://www.python.org/downloads/release/python-2717/).
For smooth operation, you need to prepare your PC running SPLiT, which in this context acts as a server providing various services for your Snom phones.
Firstly, you must configure a fixed IP address and secondly, you must correctly set up SPLiT for operation as a DHCP, HTTP or TFTP server. This is done either manually or by means of code string.
Run the SPLiT executable file (SPLiT-1.1.3_w32.exe) as administrator (right mouse click, "Run as administrator").
Attention: Only deactivate the firewall as long as you do not have a connection to the Internet, and then activate it again immediately.
Example for starting SPLiT from the Windows command line with admin right.
Execute the following command string.
SPLiT-1.1.3_w32.exe /-d -i 192.168.100.1 --dhcp-begin=192.168.100.100 --dhcp-end=192.168.100.200 --dhcp-subnetmask=255.255.255.0 --dhcp-gateway=192.168.100.254 --dhcp-dns=1.1.1.1 --dhcp-bcast=192.168.100.255 --dhcp-fileserver=http://192.168.100.1
Under Windows please deactivate the firewall before using the SPLiT tool, otherwise the connected phones cannot get an IP address via DHCP, nor can they receive provisioning files.
If you are using a Mac:
Alternatively, you can start SPLiT directly from the command line with all necessary configuration parameter:
sudo python ./split/SPLiT.py -d -i 192.168.100.1 --dhcp-begin=192.168.100.100 --dhcp-end=192.168.100.200 --dhcp-subnetmask=255.255.255.0 --dhcp-gateway=192.168.100.254 --dhcp-dns=1.1.1.1 --dhcp-bcast=192.168.100.255 --dhcp-fileserver=http://192.168.100.1
This is what it looks like when SPLiT is running on a Mac:
If you started python without parameters, at least configure the IP address field with the static IP address of your computer.
Extract the split_binaries.zip into a split folder at a location of your choice.
The folder structure should look like this:
To run SPLiT on Linux, you first need to install python 2.7 and for graphical display you need another package, python_tk.
Run SPLIT with superuser rights: sudo python split/SPLiT.py
Alternatively, you can call SPLiT with parameters.
sudo python split/SPLiT.py /-d -i 192.168.100.1 --dhcp-begin=192.168.100.100 --dhcp-end=192.168.100.200 --dhcp-subnetmask=255.255.255.0 --dhcp-gateway=192.168.100.254 --dhcp-dns=1.1.1.1 --dhcp-bcast=192.168.100.255 --dhcp-fileserver=http://192.168.100.1
Once you have manually started SPLiT perform the following steps:
Important
Starting a DHCP server in a network where another DHCP is already running can cause serious problems. Please be careful and make sure that no other DHCP services use the same network. SPLiT provides a DHCP server (deactivated by default).
Create a directory named "tftp" (for Mac OSX and Linux the name should be lowercase) in the same location as the SPLiT binary. This is the document root of the TFTP server.
(Example: C:\python27\tftp)
Make sure that the TFTP port is configured with the value 69 and the TFTP directory with "tftp".
Click the Start TFTP Server button.
Check the DHCP and TFTP services by looking at the Log tab:
If something is not working right, you will see the error message on the Log tab. You can tick the Debug check box to receive debug messages.
Attention: Only deactivate the firewall as long as you do not have a connection to the Internet and then activate it again immediately.
An even more detailed documentation can be found on Github.
Further Information
Related articles