Hi, I am new to rtnet, I want use rtnet in RTAI, I have two network cards in 
my computer, the realtime card is realtek rtl8169. when I got every thing 
ready and entered "./rtnet start", I got:
=======================display start with out this line=================
r...@xiaojun:/usr/local/rtnet/sbin# ./rtnet start
rteth0: ERROR while getting interface flags: No such device
rteth0-mac: ERROR while getting interface flags: No such device
ioctl: No such device
./rtnet: 343: cannot open : No such file
vnic0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
vnic0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
Waiting for all slaves...ioctl: No such device
ioctl: No such device
=======================display end==================================
before rtnet start, rtai_hal.ko,rtai_lxrt.ko,rtai_sem.ko,rtai_rtdm.ko had been 
insmod, and non realtime drivers had been removed. part of rtnet.config is as 
follows:
=======================display start==================================
RT_DRIVER="rt_r8169"
RT_DRIVER_OPTIONS="cards=0,1"
# IP address and netmask of this station
#   The TDMA_CONFIG file overrides these parameters for masters and backup
#   masters. Leave blank if you do not use IP addresses or if this station is
#   intended to retrieve its IP from the master based on its MAC address.
IPADDR="127.0.0.2"
NETMASK="255.255.254.0"

# Start realtime loopback device ("yes" or "no")
RT_LOOPBACK="yes"

# Start capturing interface ("yes" or "no")
RTCAP="yes"



# Common RTcfg stage 2 config data (master mode only)
#   The TDMA_CONFIG file overrides this parameter.
STAGE_2_SRC=""

# Stage 2 config data destination file (slave mode only)
STAGE_2_DST=""

# Command to be executed after stage 2 phase (slave mode only)
STAGE_2_CMDS=""



# TDMA mode of the station ("master" or "slave")
#   Start backup masters in slave mode, it will then be switched to master
#   mode automatically during startup.
TDMA_MODE="master"


# Master parameters

# Simple setup: List of TDMA slaves
TDMA_SLAVES="127.0.0.1"

=======================display end==================================

dmesg | tail shows :
=======================display start==================================
[ 2299.424195] *** RTnet 0.9.11 - built on Mar 11 2010 23:08:31 ***
[ 2299.424196] 
[ 2299.424201] RTnet: initialising real-time networking
[ 2299.436505] Initializing rt_r8169 driverinitializing loopback...
[ 2299.438559] RTnet: registered rtlo
[ 2299.441083] RTcap: real-time capturing interface
[ 2299.517454] RTcfg: init real-time configuration distribution protocol
[ 2299.523220] RTmac: init realtime media access control
[ 2299.528010] RTmac/TDMA: init time division multiple access control mechanism
=======================display end==================================

can any body help me with this problem, your help will be greatly appreciated.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to