Dear all,

    I am trying to test RTnet in my RTAI system with dual NIC. Both of the NICs 
are RTL8139 chipset.



I referred this page 
http://www.xenomai.org/index.php/RTnet:Installation_%26_Testing and tested 
rtnet in single node(local loop method). Its working fine.



Later I used both of the NIC and tested in real time and non-real time network 
together method. I am getting the error, "ioctl: No route to host". Below I 
mentioned all the steps what I followed. 



* Installed ubuntu, then RTAI and then RTNet

* Tested RTAI and RTNet. Working fine.

* Now inserted two NIC (RTL8139)

* rmmod 8139too

* mknod /dev/rtnet c 10 240

* edit /usr/local/rtnet/etc/rtnet.conf file. 

-RT_DRIVER="rt_8139too"

-RT_DRIVER_OPTION="cards=1,0" [I used second card for rtnet; eth0 for non-real 
time network]

-IPADDR="192.168.2.69"

-NETMASK="255.255.255.0"

-TDMA_SLAVES="192.168.0.70"



* loaded rtai_hal, rtai_lxrt, rtai_sem and rtai_rtdm

* /usr/local/rtnet/sbin/rtnet start

* All are fine. rtnet started properly.

* ifconfig eth0 up 192.168.0.70 (for non-real time network IP)

* Now /usr/local/rtnet/sbin/rtping 192.168.2.69 [trying to ping server ]  

Now I am getting error "No route to host". Even I cant ping 192.168.0.70. Whats 
wrong in my steps. I did not properly assign the IP. Guide me to interact both 
real time and non-real time networks.

Give me some example programs or steps to configure the real time and non-real 
time network properly.



Thanks in Advance,

-Prakash

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to