Thread: Re: [RTnet-developers] Ethernet IP (Page 2)
Brought to you by:
bet-frogger,
kiszka
|
From: Glen W. <gl...@je...> - 2011-02-09 17:11:14
|
No I can't ping myself. Any ideas? -- Glen Wernersbach President & CTO Jetsoft Development Co 629 Old St. Rt. 74 - Suite 210 Cincinnati Ohio 45244 Custom Programming Web Site: www.JetsoftDev.com Retail Product Web Site: www.ScanHelp.com Phone: 513-528-6660 Fax: 513-528-3470 On Feb 9, 2011, at 11:59 AM, Jan Kiszka <jan...@si...> wrote: > On 2011-02-09 17:53, Glen Wernersbach wrote: >> I have 10.82.88.249 with my Mac address in my rtroute table. > > You mean with the right MAC of that remote host, no? > >> I can receive from it but can't send back to the same socket. >> >> I think this may be the connect() issue. > > Does rtping 10.82.88.249 work? > >> >> I will be getting a kernel dump when I get back to rtai but I would like to get xenomai working if possible. >> > > OK. > > Jan > > -- > Siemens AG, Corporate Technology, CT T DE IT 1 > Corporate Competence Center Embedded Linux > |
|
From: Glen W. <gl...@je...> - 2011-02-09 20:36:20
|
Jan, First of thank you for your support. I was able to ping myself by routing my NIC's ip address to RTETLO instead of RTEH0 I was then able to get sendto() (not send) to work by addressing it to INADDR_ANY after the recv(). This seemed to work but have a lot more testing to do. On 2/9/11 11:59 AM, "Jan Kiszka" <jan...@si...> wrote: > On 2011-02-09 17:53, Glen Wernersbach wrote: >> I have 10.82.88.249 with my Mac address in my rtroute table. > > You mean with the right MAC of that remote host, no? > >> I can receive from it but can't send back to the same socket. >> >> I think this may be the connect() issue. > > Does rtping 10.82.88.249 work? > >> >> I will be getting a kernel dump when I get back to rtai but I would like to >> get xenomai working if possible. >> > > OK. > > Jan -- Glen Wernersbach President & CTO Jetsoft Development Co. 629 Old St Rt. 74 Suite 210 Cincinnati, Oh 45244 Custom Programming Web Site: www.jetsoftdev.com Retail Products Web Site: www.scanhelp.com Phone: 513-528-6660 Fax: 513-528-3470 ---- "Support Dyslexia Research" |
|
From: Glen W. <gl...@je...> - 2011-02-09 20:50:42
|
Jan, First of thank you for your support. I was able to ping myself by routing my NIC's ip address to RTETLO instead of RTEH0 I was then able to get sendto() (not send) to work by addressing it to INADDR_ANY after the recv(). This seemed to work but have a lot more testing to do. On 2/9/11 11:59 AM, "Jan Kiszka" <jan...@si...> wrote: > On 2011-02-09 17:53, Glen Wernersbach wrote: >> I have 10.82.88.249 with my Mac address in my rtroute table. > > You mean with the right MAC of that remote host, no? > >> I can receive from it but can't send back to the same socket. >> >> I think this may be the connect() issue. > > Does rtping 10.82.88.249 work? > >> >> I will be getting a kernel dump when I get back to rtai but I would like to >> get xenomai working if possible. >> > > OK. > > Jan -- Glen Wernersbach President & CTO Jetsoft Development Co. 629 Old St Rt. 74 Suite 210 Cincinnati, Oh 45244 Custom Programming Web Site: www.jetsoftdev.com Retail Products Web Site: www.scanhelp.com Phone: 513-528-6660 Fax: 513-528-3470 ---- "Support Dyslexia Research" |
|
From: Glen W. <gl...@je...> - 2011-02-11 14:19:26
|
Hi All, Very strange question but how could I get a 1588 time stamp data from RTNet for a UDP packet. Glen On 2/9/11 11:59 AM, "Jan Kiszka" <jan...@si...> wrote: > On 2011-02-09 17:53, Glen Wernersbach wrote: >> I have 10.82.88.249 with my Mac address in my rtroute table. > > You mean with the right MAC of that remote host, no? > >> I can receive from it but can't send back to the same socket. >> >> I think this may be the connect() issue. > > Does rtping 10.82.88.249 work? > >> >> I will be getting a kernel dump when I get back to rtai but I would like to >> get xenomai working if possible. >> > > OK. > > Jan -- Glen Wernersbach President & CTO Jetsoft Development Co. 629 Old St Rt. 74 Suite 210 Cincinnati, Oh 45244 Custom Programming Web Site: www.jetsoftdev.com Retail Products Web Site: www.scanhelp.com Phone: 513-528-6660 Fax: 513-528-3470 ---- "Support Dyslexia Research" |
|
From: Glen W. <gl...@je...> - 2012-12-10 21:50:18
|
Jan or RTNet developers, We are planning to have a host DHCP server computer assigned ip address to a number of our devices which are daisy chained together via an a 2 port switch on each of our devices. We would like our host DHCP server to be able to determine which of these ip address is first in the chain and which is second which is third and so on. MY question is if we were running a real time os and rtnet do you think it is possible to ping each of the of the ip address and the measure the average its time to takes to get a response and to be able to accurate determine where in the chain each ip address it? Each device is in the chain is the same hardware. Glen |
|
From: Jan K. <jan...@we...> - 2012-12-12 08:27:37
Attachments:
signature.asc
|
On 2012-12-10 22:29, Glen Wernersbach wrote: > Jan or RTNet developers, > > > We are planning to have a host DHCP server computer assigned ip address to a > number of our devices which are daisy chained together via an a 2 port > switch on each of our devices. > > We would like our host DHCP server to be able to determine which of these ip > address is first in the chain and which is second which is third and so on. > > MY question is if we were running a real time os and rtnet do you think it > is possible to ping each of the of the ip address and the measure the > average its time to takes to get a response and to be able to accurate > determine where in the chain each ip address it? Already a passive switch adds at least a few microseconds latency to the round trip. So, provided to measure a statistically significant number of rounds, you should be able to detect the number of switches and, thus, the position of the node this way. Jan |
|
From: Glen W. <gl...@je...> - 2010-09-29 10:47:39
|
One other thing Ethernet ip does is implement ethernet QoS which make it's packets have higher priority. This only works when going through level 3 switches and cards. -- Glen Wernersbach President & CTO Jetsoft Development Co 629 Old St. Rt. 74 - Suite 210 Cincinnati Ohio 45244 Custom Programming Web Site: www.JetsoftDev.com Retail Product Web Site: www.ScanHelp.com Phone: 513-528-6660 Fax: 513-528-3470 On Sep 28, 2010, at 4:39 PM, Jan Kiszka <jan...@we...> wrote: > Am 28.09.2010 16:22, Glen Wernersbach wrote: >> Hi Guys, >> >> Woule you see any reason while we could not the open source Ethernet IP >> project on top of RTNet? >> >> Basically this builds on Linux stack but I want to run my stuff inside of it >> real time. For that I need a real time driver for the ethenet that emulates >> linux. >> >> Ethernet IP project: >> https://sourceforge.net/projects/opener/ > > I cannot asses what you could gain this way (do Ethernet IP devices > provide real-time qualities via UDP/TCP?), but porting that stack over > RTnet's UDP/TCP services should be feasible. The portability layer of > opener looks rather thin and should be well covered by Xenomai's POSIX > skin. However, our TCP implementation is still fresh, so you /may/ run > into some of it current limitations. If you find such quirks, please let > us know. > > Jan > |