Make Changes Persistent on Linux
On Linux systems, unless you make network connection changes persistent, a system reboot
resets the network connection changes and loses the host-to-radio connection. To retain the
host-to-radio connection after a computer reboot, make the network connection changes to the
host computer persistent by making these changes in the
/etc/network/interfaces
/etc/sysctl.conf
, and
/etc/security/limits.conf
files.
Edit
/etc/network/interfaces
to define settings foreth1
. Use an IP address on the same subnet as your radio (that is, the same first three octets match those of your radio) and a unique value for the fourth octet. For more information, see Check Subnet Values on Host and Radio.auto eth1 iface eth1 inet static address 192.168.30.1 netmask 255.255.255.0
Edit
/etc/sysctl.conf
to add lines defining these settings fornet.core.rmem_max
andnet.core.wmem_max
.For more information, see https://files.ettus.com/manual/page_transport.html#transport_udp_linux.net.core.rmem_max=50000000 net.core.wmem_max=33554432
To define the maximum real-time scheduling priority
rtprio
, edit/etc/security/limits.conf
and add this line. Use your group name in place ofGROUP
.To determine your group name, run this command in your Linux® terminal.@GROUP - rtprio 99
For more information, see https://files.ettus.com/manual/page_general.html#general_threading.$ id -gn