Thank you very much both Richard and Jon. I found the problem - it was that I missed the netid parameter in tipc-config call. I did not notice that I need it in the manual example, while my all previous development worked fine inside the same machine.
May be it will be useful to add some kind of control for this parameter absence in the tool - it's necessity/obligatory is not obvious... Again, thanks a lot for the help!!! On Monday 21 March 2016 13:27:55 Jon Maloy wrote: > Richard, this is kernel 2.6.37. I doubt very much that the 'tipc' tool will work with that kernel version. Correct me if I am wrong. > Anyway, I am pretty sure that the choice of tool is not the issue here; to try changing it would just cause him unnecessary extra work. > > > Leon, just a control question: since you are indicating your IP addresses, I hope this doesn't mean you are trying to configure an IP bearer. This isn't supported in the TIPC version you are using; it came a lot later. > > I would start doing the following: > What does tipc-config say about the bearers? Have they been correctly enabled? Do the nodes have the addresses you have set? > Does Wireshark show that the discovery messages are transferred and responded to as they should ? > If not, since you are anyway hacking the code, why not throw in a couple of printouts to verify what happens to those messages in the code. It is the disabling of the disc_domain test that makes me suspicious. I this test replaced bay an unconditional "true" (it should be) ? > > Try this, and chances are good you will find what is missing. > > Regards > ///jon > > > -----Original Message----- > > From: Richard Alpe [mailto:[email protected]] > > Sent: Monday, 21 March, 2016 04:06 > > To: Leon Pollak; [email protected] > > Subject: Re: [tipc-discussion] Please, help - no connection > > > > Hi Leon, > > > > On 2016-03-20 13:32, Leon Pollak wrote: > > > I have 2 Linux 2.6.37 embedded ARM computers with TIPC compiled-in. > > > > > > IP1=192.168.1.1 > > > TIPC1=1.1.1 > > > > > > IP2=192.168.1.2 > > > TIPC2=1.1.2 > > > > > > Both addresses were assigned with tipc-config utility, which was cross- > > > compiled for the case. Compilation failed at first (because of kernel > > > version?) with the errors, which were solved as following: > > > - function show_stat() was masked out; > > > - function enable_bearer() reference to the field disk_domain was commented > > > out. > > This tool is deprecated. I would suggest using the "tipc" tools present in the > > iproute2 package. > > > > > Running connection-demo on each one of the computers works fine. > > > Running client on 2 and server on 1 fails with timeout. > > > Ping, obviously, works between them. > > Can you try running the PTTS test? > > > > Regards > > Richard > > -- Leon ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ tipc-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tipc-discussion
