DHCP reports "Not an Ethernet device" for Token Ring Cards The following patch fixes it: --- dhcpcd-0.65/if.c Thu May 8 04:36:49 1997 +++ dhcpcd-0.65.new/if.c Thu Apr 8 16:45:29 1999\ @@ -72,8 +72,9 @@ if ( ioctl(s, SIOCGIFHWADDR, &ifr) < 0 ) { logSysExit("ioctl SIOCGIFHWADDR\ (ifConfig)"); } - if ( ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER ) { - logQuit("ifInit: interface %s is not\ Ethernet\n", ifr.ifr_name); + if ( ifr.ifr_hwaddr.sa_family != ARPHRD_ETHER + && ifr.ifr_hwaddr.sa_family != ARPHRD_IEEE802) { + logQuit("ifInit: interface %s is not a\ valid interface\n", ifr.ifr_name); } /* save hardware address of the interface */
We do not currently have a token ring network to verify this problem on. We are hoping to set one up in the near future. I am passing this on to a developer for further review.
*** Bug 3175 has been marked as a duplicate of this bug. *** dhcpcd requires a patch to work with TokenRing. I have submitted the patch under this bug id. ------- Additional Comments From dkl 06/01/99 17:17 ------- Please send the patch again. It didnt seem to make it into the system properly. For the proper way to do this refer to http://developer.redhat.com/bugzilla/redhat-faq.phtml#howdoipatch Thanx
Fixed (by applying similar patch) in dhcpcd-1.3.17pl5-2. Thanks for the patch.