Hi Leo, Jan is right. Just do something like the following steps: cd /usr/local/rtnet/modules insmod rtnet.ko insmod rtipv4.ko insmod rt_eepro100.ko # No need to pass the "cards" parameter if you want the driver # to use all available eepro100 devices... # call dmesg to see the registered devices cd /usr/local/rtnet/sbin ./rtifconfig rteth0 up 10.0.0.1 netmask 255.255.255.0 ./rtifconfig rteth1 up 10.0.1.1 netmask 255.255.255.0 ./rtrtoute solicit 10.0.0.100 dev rteth0 ./rtrtoute solicit 10.0.1.100 dev rteth1 # Call rtroute again to see the routing table ./rtroute
Regards Mathias ----- Original Nachricht ---- Von: Jan Kiszka <[EMAIL PROTECTED]> An: Leopold Palomo-Avellaneda <[EMAIL PROTECTED]> Datum: 05.11.2007 21:03 Betreff: Re: [RTnet-users] One box and three interfaces > Leopold Palomo-Avellaneda wrote: > > Hi Mathias, > > > > I'm having a terrific problem. I don't know how to configure rtnet to use > more > > devices than one. In the rtnet.conf file I have the parameters: > > > > RT_DRIVER="rt_eepro100" > > RT_DRIVER_OPTIONS="cards=1,0,0,0" > > > > # IP address and netmask of this station > > # The TDMA_CONFIG file overrides these parameters for masters and > backup > > # masters. Leave blank if you do not use IP addresses or if this station > is > > # intended to retrieve its IP from the master based on its MAC address. > > IPADDR="10.0.0.1" > > NETMASK="" > > > > so, what do I have to write to configure two interfaces (two network > cards)? > > Write your own boot script like Mathias did. It's fairly simple for the > non-TDMA case, see README, just add more rtifconfig calls for the > additional interface. > > Jan > > > > -------------------------------- > > ------------------------------------------------------------------------- > 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 > -- Mathias Koehrer [EMAIL PROTECTED] Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT FÜR ALLE NEUEINSTEIGER Jetzt bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer, nur 29,95 inkl. DSL- und ISDN-Grundgebühr! http://www.arcor.de/rd/emf-dsl-2 ------------------------------------------------------------------------- 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