PL Fnhng wrote:
> I try to start RTnet without RTmac/TDMA with following steps
> 
> (1) Remove the driver module
> (2) Load real-time modules
> (3) Comment the following code in <prefix>/sbin/rtnet
> 
> if [ $TDMA_MODE = "master" ]; then
>    start_master
> else
>    $TDMACFG rteth0 slave
> 
>    $RTIFCONFIG rteth0 up $IPADDR $NETMASK_OPT
> 
>    echo -n "Stage 1: searching for master..."
>    /bin/sh -c
> "TDMACFG=$TDMACFG;IPADDR=$IPADDR;NETMASK_OPT=\"$NETMASK_OPT\";`$RTCFG
> rteth0
> client -c`"
>    echo
> 
>    echo -n "Stage 2: waiting for other slaves..."
>    if [ ! "$STAGE_2_DST" = "" ]; then
>       $RTCFG rteth0 announce -f $STAGE_2_DST
>       echo
>       /bin/sh -c "$STAGE_2_CMDS"
>    else
>       $RTCFG rteth0 announce
>    echo
> fi
> 
>  echo -n "Stage 3: waiting for common setup completion..."
>  $RTCFG rteth0 ready
>  echo
> fi
> (4) Run /sbin/rtnet start
> *no error message*
> *the rtnet modules are loaded*
> 
> (5) When running ./rtping <ipaddress>, the following messages are shown
> **
> *Real-time PING <ipaddress> 56(84) bytes of Data.
> ioctl: No route to host
> 
> * How can I succeed to start up the rtnet?

Check the usage of rtifconfig and rtroute to configure your NIC and to
run the ARP resolution manually. BTW, this is also described in the main
README. Further details on rt-routing can be found under
Documentation/README.routing.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to