jeff@fluke.UUCP (02/24/84)
We recently upgraded from 4.1C to 4.2. In the process, the `rwho' program seems to have broken. We have a simple (Ethernet) network of four vaxes. None of these machines are exchanging rwho information with each other. I think they should. A comparison of the code between the two versions of /etc/rwhod shows a considerable change in philosophy. Under 4.1C, the daemon issued broadcast packets once a minute; under 4.2 it appears to speak only to ``neighbors directly connected via a hardware interface.'' I've poked around in /etc/rwhod and discovered that it now speaks only via hardware interfaces of type IFF_BROADCAST|IFF_POINTOPOINT. The ethernet interface meets neither of these tests. Could Someone Who Understands please enlighten me on what the underlying philosophy is here? Is rwho supposed to work among machines connected on a simple LAN? Why did rwhod change so drastically from 4.1C to 4.2? Has anybody made it work for themselves? What's the trick? Jeff Stearns John Fluke Mfg. Co., Everett WA. (206) 356-5064 {uw-beaver,microsoft,sun,teltone,sb1,allegra,lbl-csam}!fluke!jeff -- Jeff Stearns (206) 356-5064 John Fluke Mfg. Co. P.O. Box C9090 Everett WA 98043 {uw-beaver,decvax!microsof,ucbvax!lbl-csam,allegra,ssc-vax}!fluke!jeff
satz%sri-tsc@sri-unix.UUCP (02/29/84)
From: Greg Satz <satz@sri-tsc> rwhod underwent two major changes with respect to making it listen and talk with other 4.1[abc] and 2.[89] systems. The packets sent by the 4.2 system now has some sort of version info (check the rwhod.h file for the structure definition). The 4.2 rwhod also flushes all incoming packets that don't have the correct version (all other non-4.2 systems). the other major problem I had was getting it to find the IFF_BROADCAST bits in the interface flags. It turned out that /etc/ifconfig was zeroing the flags word instead of oring them. You might also check your ethernet driver (if_il.c or if_ec.c or ?) to make sure that those flags are actually set. I sent out the fixes I made to /etc/ifconfig to unix-wizards over two months ago. My pet flame about rwhod is that it checks for isalnum in the host name. Our host names have a dash in them so I had to change it to isprint.