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.

> 
> when i do in /usr/local/rtnet/sbin
> ./rtifconfig
> 
> i have
> 
> rteth0 Medium: Ethernet Hardware address: 00:00:5B:00:8C:2F
>                   IP address: 10.0.0.1 Broadcast address: 10.0.0.255
>                   UP BROADCAST RUNNING MTU: 500
> 
> rtlo     Medium: Local Loopback
>           IP address: 127.0.0.1
>          UP LOOPBACK RUNNING MTU: 500
> 
> the command ifconfig now produces:
> 
> lo...[etc]
> 
> vnic0  Link encap:Ethernet HWaddr 00:00:5B:00:8C:2F
>          inet addr:10.0.0.1 Bcast:10.255.255.255 Mask 255.255.255.0
>        [etc...]
> 
> 
> What have i to change in rtnet.conf? is the problem there??

There is no problem (except for the isolation issue), you now have to
start the slave with an appropriate rtnet.conf file.

Jan


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to