Teresa Noviello wrote:
> On 3/3/06, Jan Kiszka <[EMAIL PROTECTED]> wrote:
>> Teresa Noviello wrote:
>>> I have installed rtnet (latest version on SVN server, with the command
>> "svn
>>> checkout http://svn.berlios.de/svnroot/repos/rtnet/trunk";) on slackware
>> 9.0,
>>> kernel 2.6.10, rtai-3.3.
>>> I' ve done make && make install and i've done mknod of /dev/rtnet as the
>>> README file says.
>>> On this system, i have got two network adapters, Intel 10/100.
>>> Then i've done
>>>
>>> 'ifconfig eth0 down'
>>> 'ifconfig eth1 down'
>>> 'rmmod eepro100' (network module)'
>>>
>>> then in /usr/realtime/modules
>>>
>>> 'insmod ./rtai_hal.ko'
>>> 'insmod ./rtai_ksched.ko'
>>> 'insmod ./rtai_sem.ko'
>>> 'insmod ./rtai_rtdm.ko'
>>>
>>> then i've modified my /usr/local/rtnet/etc/rtnet.conf with:
>>>
>>> RT_LOOPBACK="yes"
>>> RTCAP="no"
>>> STAGE_2_RG=""
>>> STAGE_2_DST=""
>>> STAGE_2_CMDS=""
>>> RT_DRIVER="rt_eepro100"
>>> IPADDR="10.0.0.1"
>>> NETMASK="255.255.255.0"
>>> TDMA_MODE="master"
>>> TDMA_SLAVES="10.0.0.2"
>>> TDMA_CYCLE="5000"
>>> TDMA_OFFSET="200"
>>>
>>> when i do in /usr/local/rtnet/sbin
>>>
>>> ./rtnet start, i have
>>>
>>> "Waiting for all slaves..."
>>>
>>> and in
>>>
>>> dmesg:
>>> RTnet: unknown layer-3 protocol
>> Hmm, not an isolated network for RTnet? Ok for testing, but likely not
>> for production purposes.
> 
> 
> I have an hub for the links from eth0 and eth1 that links to internet.
> Now that i've read this comment i've unlink from internet the hub...
> It's the same...
> i do not have the message "RTnet: unknown layer-3 protocol" in dmesg, but
> still i'm not able to configure eth1.
> 
> 
> There is no problem (except for the isolation issue), you now have to
>> start the slave with an appropriate rtnet.conf file.
>>
>> Jan
> 
> 
> 
>  i'm not sure i've understood, well:
> "the slave IS the eth1?".
> 
> If the slave IS not eth1, WHAT is it?
> 
> and in any case, how can i configure the slave?

The slave has to be on a second machine. Install RTnet on that one as
well and configure IPADDR=10.0.0.2 and TDMA_MODE=slave.

> 
> I'm sorry for all these questions, but really the documentation isn't
> exaustive ...
> 

Already looked at this diagram?

http://www.rts.uni-hannover.de/rtnet/doc.html

Already browsed the Documentation folder in the source code or read one
of the articles? You first need a basic understanding of the network
structure, but then the existing documentation should provide a lot of
details. Anyway, we may have failed to state the "obvious" facts, feel
free to come up with suggestions what should be explained differently.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to