Bug 2061 - DHCP will not work with token ring cards
DHCP will not work with token ring cards
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: dhcpcd (Show other bugs)
5.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Erik Troan
:
: 3175 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-04-08 12:30 EDT by martin
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-06-02 07:16:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description martin 1999-04-08 12:30:01 EDT
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
 	 */
Comment 1 David Lawrence 1999-04-08 13:01:59 EDT
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.
Comment 2 Jeff Johnson 1999-06-02 07:03:59 EDT
*** 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@redhat.com  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
Comment 3 Jeff Johnson 1999-06-02 07:16:59 EDT
Fixed (by applying similar patch) in dhcpcd-1.3.17pl5-2. Thanks for
the patch.

Note You need to log in before you can comment on or make changes to this bug.