matrix_df hotmail wrote: > Hello > > Now with the new svn-version a can see RTcfg frames from master.
That's good to hear. > BUT starting the slave with "sbin/rtnet start" ends in an error. > > ---------------------------------------------------------------------------------------------- > > Stage 1: searching for master...<>/bin/sh: : command not found > /bin/sh: line 1: : command not found > /bin/sh: line 2: B/usr/local/rtnet/sbin/tdmacfg: Datei oder Verzeichnis > nicht ge > funden > > Stage 2: waiting for other slaves... > Stage 3: waiting for common setup completion...ioctl: Invalid argument > ---------------------------------------------------------------------------------------------- > > > > -------------------------------------------------------------------------- > [EMAIL PROTECTED] rtnet]# /usr/local/rtnet/sbin/rtcfg rteth0 client -c > > > B$TDMACFG rteth0 slot 0 200;ifconfig vnic0 up $IPADDR > [EMAIL PROTECTED] rtnet]# > ----------------------------------- > > /rtcfg rteth0 client -c answers a "B" in front of $TDMACFG !!! > > This seems to be wrong or? > How to fix? > Well, that's an "interesting" effect, especially when looking at the related frame: Frame 161 (93 bytes on wire, 93 bytes captured) Ethernet II, Src: Portable_d3:98:42 (00:06:1b:d3:98:42), Dst: Broadcast (ff:ff:ff:ff:ff:ff) RTcfg, Version 0, Stage 1 Config Version and ID: 0x00 000. .... = Version: 0 ...0 0000 = ID: Stage 1 Config (0x00) Address Type: IP (1) Client IP Address: 10.0.0.2 (10.0.0.2) Server IP Address: 10.0.0.1 (10.0.0.1) Stage 2 Burst Rate: 4 Stage 1 Config Length: 66 Config Data: 2454444D414346472072746574683020736C6F7420302032... 0000 ff ff ff ff ff ff 00 06 1b d3 98 42 90 22 00 01 ...........B.".. 0010 0a 00 00 02 0a 00 00 01 04 00 42 24 54 44 4d 41 ..........B$TDMA 0020 43 46 47 20 72 74 65 74 68 30 20 73 6c 6f 74 20 CFG rteth0 slot 0030 30 20 32 30 30 3b 69 66 63 6f 6e 66 69 67 20 76 0 200;ifconfig v 0040 6e 69 63 30 20 75 70 20 24 49 50 41 44 44 52 20 nic0 up $IPADDR 0050 24 4e 45 54 4d 41 53 4b 5f 4f 50 54 0a $NETMASK_OPT. So, it seems that this "B" comes from a misalignment or misinterpretation of the frame. It's likely the length low-byte: 66. Please also capture stage-1 frames on your boxes (master and slave) and either look for differences or post the files to the list. Jan
signature.asc
Description: OpenPGP digital signature