snowdall
April 7th, 2008, 01:46 PM
Hello all,
I'm doing some work with a bunch of embedded ARM processor based boards running a slimmed down Debian linux. In my project, I need all these machines to share data ... so I thought this might be a GREAT place to try out DRb's Rinda tuplespace technology. Well, there seems to be a small problem: when Rinda::RingServer is launched, the boards cannot find the RingServer.
I think the problem has to do with the fact there are two ethernet ports. Each one of these boards has two ethernet ports: eth1 is assigned to the main network via DHCP (i.e. can talk to the other boards around it), while eth0 is statically assigned assigned to a different subnet in order to host a web-based camera. I believe my problem is that the ruby run time is latching on to eth0 .... and thus getting on its own internal subnet, rather than using eth1 and being able to see the other boards.
My question then is, is there a way to force the ruby runtime (particularly Rinda) to use a particular ethernet port when starting up?
Thanks,
Snowdall
I'm doing some work with a bunch of embedded ARM processor based boards running a slimmed down Debian linux. In my project, I need all these machines to share data ... so I thought this might be a GREAT place to try out DRb's Rinda tuplespace technology. Well, there seems to be a small problem: when Rinda::RingServer is launched, the boards cannot find the RingServer.
I think the problem has to do with the fact there are two ethernet ports. Each one of these boards has two ethernet ports: eth1 is assigned to the main network via DHCP (i.e. can talk to the other boards around it), while eth0 is statically assigned assigned to a different subnet in order to host a web-based camera. I believe my problem is that the ruby run time is latching on to eth0 .... and thus getting on its own internal subnet, rather than using eth1 and being able to see the other boards.
My question then is, is there a way to force the ruby runtime (particularly Rinda) to use a particular ethernet port when starting up?
Thanks,
Snowdall