bskumar7080

rtnet.conf

Dec 19th, 2011
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. # This file is usually located in <PREFIX>/etc/rtnet.conf
  2. # Please adapt it to your system.
  3. # This configuration file is used with the rtnet script.
  4.  
  5. # RTnet installation path
  6. prefix="/usr/local/rtnet"
  7. exec_prefix="${prefix}"
  8. RTNET_MOD="${exec_prefix}/modules"
  9. RTIFCONFIG="${exec_prefix}/sbin/rtifconfig"
  10. RTCFG="${exec_prefix}/sbin/rtcfg"
  11. TDMACFG="${exec_prefix}/sbin/tdmacfg"
  12.  
  13. # Module suffix: ".o" for 2.4 kernels, ".ko" for later versions
  14. MODULE_EXT=".ko"
  15.  
  16.  
  17.  
  18. # RT-NIC driver
  19. RT_DRIVER="rt_dm9000"
  20. RT_DRIVER_OPTIONS=
  21.  
  22. # IP address and netmask of this station
  23. # The TDMA_CONFIG file overrides these parameters for masters and backup
  24. # masters. Leave blank if you do not use IP addresses or if this station is
  25. # intended to retrieve its IP from the master based on its MAC address.
  26. IPADDR="192.168.1.40"
  27. NETMASK=""
  28.  
  29. # Start realtime loopback device ("yes" or "no")
  30. RT_LOOPBACK="yes"
  31.  
  32. # Use the following RTnet protocol drivers
  33. RT_PROTOCOLS="udp packet"
  34.  
  35. # Start capturing interface ("yes" or "no")
  36. RTCAP="no"
  37.  
  38.  
  39.  
  40. # Common RTcfg stage 2 config data (master mode only)
  41. # The TDMA_CONFIG file overrides this parameter.
  42. STAGE_2_SRC=""
  43.  
  44. # Stage 2 config data destination file (slave mode only)
  45. STAGE_2_DST=""
  46.  
  47. # Command to be executed after stage 2 phase (slave mode only)
  48. STAGE_2_CMDS=""
  49.  
  50.  
  51.  
  52. # TDMA mode of the station ("master" or "slave")
  53. # Start backup masters in slave mode, it will then be switched to master
  54. # mode automatically during startup.
  55. TDMA_MODE="master"
  56.  
  57.  
  58. # Master parameters
  59.  
  60. # Simple setup: List of TDMA slaves
  61. #TDMA_SLAVES="10.0.0.2 10.0.0.3 10.0.0.4" /*commented by siva 19.12.2011
  62.  
  63. # Simple setup: Cycle time in microsecond
  64. #TDMA_CYCLE="5000" /* COmmented by siva 19.12.2011
  65.  
  66. # Simple setup: Offset in microsecond between TDMA slots
  67. #TDMA_OFFSET="200" /*commented by siva 19.12.2011
  68.  
  69. # Advanced setup: Config file containing all TDMA station parameters
  70. # To use this mode, uncomment the following line and disable the
  71. # three master parameters above (SLAVES, CYCLE, and OFFSET).
  72. TDMA_CONFIG="${prefix}/etc/tdma.conf"
Advertisement
Add Comment
Please, Sign In to add comment