This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re:port of DHCPd


Hi, I have the following:
lo: unknown hardware address type 2
eth0: unknown hardware address type 2
Listening on Socket/eth0/155.132.0.0
Sending on   Socket/eth0/155.132.0.0
DHCPDISCOVER from 52:41:53:20:10:1a:2c:4d:d5:14:c1:01:01:00:00:00 via eth0
Booting denied, no alcatel XID and the vendor class is empty
DHCPDISCOVER from 52:41:53:20:80:3a:a3:f0:ff:7b:c0:01:01:00:00:00 via eth0
Booting denied, no alcatel XID and the vendor class is empty
DHCPDISCOVER from 52:41:53:20:80:b8:af:23:d6:14:c1:01:01:00:00:00 via eth0
Booting denied, no alcatel XID and the vendor class is empty


It has to do with the hardware type of 2. Ethernet is hardware type 1, 
according to include/dhcp.h hardware type 2 is undefined. that's probably 
why I get a 16 byte hardware address instead of a six byte one as I 
would expect with ethernet. I 'll have to modify the code (#ifdef CYGWIN) 
to recognize the interface as hardware type 1.

How can I do this? A piece of code would be great.

Thanks.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]