Hi all,
I am newbee to RTnet trying to install it on Ubuntu 8.0.4 mit kernel 2.6.23 und
RTAI 3.6
After doing all steps described on the website www.rtnet.org i executed the
following scripts:
1. load_rtai:
#!/bin/sh
MOD_DIR=/usr/realtime/modules
sync
# make -f /usr/src/rtai/GNUmakefile dev
insmod ${MOD_DIR}/rtai_hal.ko
insmod ${MOD_DIR}/rtai_sched.ko
insmod ${MOD_DIR}/rtai_fifos.ko
insmod ${MOD_DIR}/rtai_sem.ko
insmod ${MOD_DIR}/rtai_mbx.ko
insmod ${MOD_DIR}/rtai_msg.ko
insmod ${MOD_DIR}/rtai_netrpc.ko ThisNode="127.0.0.1"
insmod ${MOD_DIR}/rtai_math.ko
insmod /usr/realtime/modules/rtai_rtdm.ko
sync
2. loadRTnet
#!/bin/sh
MOD_DIR=/usr/local/rtnet/modules
sync
mknod /dev/rtnet c 10 240
insmod /usr/realtime/modules/rtai_rtdm.ko
insmod ${MOD_DIR}/rtnet.ko
insmod ${MOD_DIR}/rtipv4.ko
insmod ${MOD_DIR}/rtpacket.ko
insmod ${MOD_DIR}/rt_loopback.ko
insmod ${MOD_DIR}/rt_8139too.ko
insmod ${MOD_DIR}/rtcap.ko
/usr/local/rtnet/sbin/rtifconfig rtlo up 127.0.0.1
/usr/local/rtnet/sbin/rtifconfig rteth0 up 10.2.12.149
/usr/local/rtnet/sbin/rtroute add 10.2.12.150 00:04:50:48:3B:47 dev rteth0
sync
But my computer automatically restart by executing
/usr/local/rtnet/sbin/rtifconfig rteth0 up 10.2.12.149
Whithout this step I couldn't set the IP address for the realtime card, and the
card didn't also appear in rtifconfig
Could somebody help me to solve this Problem
Thank you very much.
Minh
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen
Massenmails.
http://mail.yahoo.com
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users