RE: Problem of Setup RTNET- Help needed!!
Hi, all:
Thanks a lot for your previous helps. I have been trying t...
RTAI/RTnet machine for quite a while and Have not still su...
communicated with the network. (simple RTping another linux box never
succeed).
I attached the routing and installed module information below for your kind
help.
>
> I would like to do the following simple things, if this is not
feasible, could
> please experienced people in the group correct me, in order not
to waste my
> time if that is not working at all.
>
> 1. A regual linux machine <--> RTAI/RTNET Linux box.
>
> I will use regular UDP on linux side and on the RTAI/RTNet side,
I would use
> to use RT Task, RT UDP/IP over the real time ethernet driver.
Unless the
> UDP/IP
> protocol is changed, this should work.
>
> This basically means I want to use UDP/IP services inside
RTAI/RTNET real time
> task to communicate with other non RTAI/RTNET machine.
>
> It is not necessary to have RTMAC, TDMA in above picture. Just
need RT UDP/IP
> interface and the RT ethernet driver.
>
> Does the above scenario work? If not, please do help, so I will
give up this
> approach at the first step.
>
> I want to do above, just want to prove my changes in the Kernel
scheduler
> handling, and I do not need a real time network.
>
> 1>>> Please help me to clarify if above frame works. ???
>
> 2>>> If above works, you can help me to see the attached
information and see
> why my rtping failed ???
>
> 3>>> It would be greatly appreciated if somebody can just tell
me the
> procedure
> and what I should do to set up above framework and environment,
and I can
> verify that if I miss anything or anything wrong in my steps.
>
> If anybody experience above, do they have a procedure or step
list for
> reference, so I can just follow and it would work. ???
>
> Really Appreciated a lot!!
>
> I am runnong linux kernel 2.4.25 with RTAI v3.0r4 with rtai_hal.
rtnet has the
> revision of 0.7.1
>
> ===================== Attached command line output resule
=================
>
> [EMAIL PROTECTED] sbin]# lsmod
> Module Size Used by Not tainted
> tdma 33636 1
> rtmac 9604 0 [tdma]
> rtcfg 38928 0 (unused)
> loopback-rt 1580 1
> tulip-rt 36404 2
> rtnet 58696 0 [tdma rtmac rtcfg loopback-rt tulip-rt]
> rtai_rtdm 13044 0 [tdma rtnet]
> rtai_sem 12160 0 [tdma rtcfg tulip-rt rtnet]
> rtai_ksched 43509 0 [tdma rtmac rtcfg tulip-rt rtnet rtai_rtdm
> rtai_sem]
> rtai_hal 39552 1 [tdma rtmac rtcfg loopback-rt tulip-rt rtnet
> rtai_rtdm rtai_sem rtai_ksched]
>
> [EMAIL PROTECTED] sbin]# ./rtping 192.168.1.1
> Real-time PING 192.168.1.1 56(84) bytes of data.
> ioctl: No route to host
> [EMAIL PROTECTED] sbin]# ./rtroute add 192.168.1.1 192.168.1.101
> Usage:
> rtroute
> rtroute solicit <addr> dev <dev>
> rtroute add <addr> <hwaddr> dev <dev>
> rtroute add <addr> netmask <mask> gw <gw-addr>
> rtroute del <addr> [netmask <mask>]
> [EMAIL PROTECTED] sbin]# ./rtroute add 192.168.1.1
00:0f:66:36:e2:90 dev rteth0
> [EMAIL PROTECTED] sbin]# ./rtroute
> Host Routing Table
> Hash Destination HW Address Device
> 01 192.168.1.1 00:0F:66:36:E2:90 rteth0
> 01 127.0.0.1 00:00:00:00:00:00 rtlo
> 25 192.168.1.101 00:00:00:00:00:00 rtlo
> 3F 192.168.255.255 FF:FF:FF:FF:FF:FF rteth0
>
>
> Network Routing Table
> Hash Destination Mask Gateway
> [EMAIL PROTECTED] sbin]# ./rtping 192.168.1.1
> Real-time PING 192.168.1.1 56(84) bytes of data.
> ioctl: No buffer space available
> [EMAIL PROTECTED] sbin]#
>
>
>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
RTnet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-users