Hi Cedric,

Thanks.

Does this also work for xenomai using the ko modules? E.g. like this?

insmod /usr/local/rtnet/modules/rt_8139too.ko   "cards=1"

(what exactly does this cards=1 mean/do ? The first card in the PCI slot 
sequence or something?)

and I still follow that call with:

/usr/local/rtnet/sbin/rtifconfig rtlo up
/usr/local/rtnet/sbin/rtifconfig rteth0 up

?

Out of interest, what will ensure that calls from applications (for 
example using libcurl) address the the right port? e.g. why would this 
automatically create a socket on eth1 instead of perhaps rteth0?


Regards,

Roland



HERREMAN Cedric wrote:
> Roland,
> 
> Load the rt eth driver module with the 'cards' option, like this :
> 
> #stop and unload normal Ethernet driver
> /sbin/ifconfig eth0 down
> /sbin/ifconfig eth1 down
> /sbin/rmmod 8139too
> 
> #make device node
> mknod /dev/rtnet c 10 240
> 
> #install rtai modules
> /sbin/insmod rtai
> /sbin/insmod rtai_sched_up
> /sbin/insmod rtai_shm
> 
> #install rtnet modules
> /sbin/insmod /dir/bin/rt/rtnet.o      
> /sbin/insmod /dir/bin/rt/8139too-rt.o "cards=1"       
> 
> #install the second ethernet port
> /sbin/insmod /lib/modules/$(uname -r)/kernel/drivers/net/8139too.o
> 
> Rgds,
> 
> Cedric.
> 
>> -----Oorspronkelijk bericht-----
>> Van: [EMAIL PROTECTED] [mailto:rtnet-users-
>> [EMAIL PROTECTED] Namens Roland Tollenaar
>> Verzonden: maandag 3 september 2007 17:13
>> Aan: rtnet-users; EML users
>> Onderwerp: [RTnet-users] two NIC's
>>
>> Hi,
>>
>> I am a bit concerned that it is not possible to run two NICs whereby
> the
>> one will be real-time and the other not.
>>
>> This is the stop script given by EML.
>>
>> /usr/local/rtnet/sbin/rtifconfig rtlo down
>> /usr/local/rtnet/sbin/rtifconfig rteth0 down
>> rmmod rt_loopback
>> rmmod rt_8139too
>> rmmod rtpacket
>> rmmod rtnet
>>
>>
>> This is the start script
>> rmmod 8139too
>> mknod /dev/rtnet c 10 240
>> insmod /usr/local/rtnet/modules/rtnet.ko
>> insmod /usr/local/rtnet/modules/rtpacket.ko
>> insmod /usr/local/rtnet/modules/rt_loopback.ko
>> insmod /usr/local/rtnet/modules/rt_8139too.ko
>> /usr/local/rtnet/sbin/rtifconfig rtlo up
>> /usr/local/rtnet/sbin/rtifconfig rteth0 up
>>
>>
>> If I have two cards with realtek chip how can I ensure one is still
>> accessible for normal non-realtime traffic?
>>
>> Kidn regards,
>>
>> Roland Tollenaar
>>
>>
>>
> ------------------------------------------------------------------------
> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a
> browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> _______________________________________________
>> RTnet-users mailing list
>> RTnet-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/rtnet-users
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to