Hi, Jan: Thanks a lot.
I have rebuild the RTAI (from the originals) and will try again. Since I had done some modification on the scheduler, I am not sure if my changes had side impact on the RTAI. More questions 1. Do I have to specify the ip address for the RT interface? I believe we can not use DHCP client to get a IP for the Real time and linux interface in the case, right? 2. if I only have one machine (RTAI/RTNET), [I do have another linux laptop (dual boot)] I have to run the RTNET in the capture mode, right? neither master not client wont work? right? The basic things is that I am running my desktop linux machine as a DHCP client through a WLAN router to cable internet? If in the case, the IP address configured would not be visible to the outside, right? (even if I config a linux etho interface with the same IP) is that true? >===== Original Message From Jan Kiszka <[EMAIL PROTECTED]> ===== >Howard Cai wrote: >> Hi, List member: >> >> I really need to set up the RTNET work so that I can use the the socket/UDP >> interface in RTAI kernel real time task. (I do not care is hard real time >> or soft real time at this moment, the first step is make my hard real >> time task can do network IO with the outside - no real time host at this >> time, since I only have one PC - I am doing some Qos experiment on the >> processor level, not at the IO level at this moment) >> >> >> My Goal is very simple at this stage: >> >> ** I can send/receive packets use UDP socket in RTAI kernel RTtask. >> ** No real time for now and on a single linux/rtai/rtnet machine. >> ** I guess in this case, regular linux network is fine as well, right? >> >> !!!! Helps are greatly appreciated !!!! >> >> I tried before, local RT interface is up running, but can not be in the >> network. >> RTPing outside did not work. > >Check the real-time routing table on the sender side with "rtroute" to >see if the destination address has already been resolved. If not: >"rtroute solicit ..." will help. > >> >> Tonight I tried from the begin again. >> >> Here is the detailed cmd procedure (I did) >> Since I only have one RTAI/Rtnet station, I do "rtnet capture", while >> the whole system seem become frozen. > >Is RTAI running fine on your system (latency tests etc.)? Is your build >consistent? If in doubt, try rebuilding everything again and make sure >that you load the latest module binaries. If this doesn't help, please >try to find out which command in the rtnet script precisely causes the >lock-up (by adding some "echo I'm here" along the commands). > >Thanks, >Jan ------------------------------------------------------- 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 RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users