Arno Geissel schrieb:

Hi,

I am running rtnet-0.6.1 on an embedded PC with kernel 2.4.18, rtai 24.1.11
and an intel 82559ER ethernet controller (use eepro100-rt).
I'm looking for a better realtime behaviour of a periodic 2.4kHz UDP data
output over a cross cable to my host PC (peer-to peer).
On the other hand I need a TCP (telnet) connection for control issues to
the embedded system. In this case I can live with some influence to the
UDP output.

This should work with plain rtnet (UDP, ARP, ICMP) and rtnetproxy (TCP)?
I set up rtnet using:


rtifconfig rteth0 up 192.168.169.135 netmask 255.255.255.0
rtifconfig rteth0 route solicit 192.168.169.60   #my host

after that I can ping the rtnet box from the host, but with some lost
packets.
With each lost packet I get this message on the rtnet box:
RTnet: Host 102.168.169.0 unreachable (from 192.168.169.135)
RTnet: error in route daddr a9a8c0 saddr 87a9a8c0


Can you create a trace on your non-RTnet box? And I would need a dump of the realtime routing table on the RTnet system (rtifconfig). Maybe there is a problem in the ICMP code. With your data I will then try to track it down.


ok, nevertheless I loaded rtnetproxy and set it up:

ifconfig rtproxy up 192.168.169.135 netmask 255.255.255.0

Now I can ping the host from the rtnet box, but without reply. This is OK
because received icmp is not passed to rtproxy, I think!? Can see the
replies
with tcpdump on the host.


Correct, ICMP is only handled by the RTnet core.


Trying telnet becomes strange:

Telnet from rtnet box to host does not work but with tcpdump you can see
the connection requests and replies from the host.
Telnet from host to rtnet box also does not work, you can see only the connection requests with tcpdump.
It seems that it's not possible to receive TCP data on the rtnet box, but


ifconfig rtproxy

shows as much RX packets as you see with tcpdump.

any idea what I'm doing wrong?


I must confess: no. Maybe Mathias can help a bit more as the developer of this module. We are not actively using it here, and we only tried not to break it over the last substantial improvements of the RTnet core. I cannot rule out that this failed.


Jan


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ RTnet-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to