Menu

#1 no response from DHCP server

open
nobody
None
5
2005-03-04
2005-03-04
Anonymous
No

Hi there,

I'm using OpenTcp on the metrowerks NE64 embedded
platform. I am having some trouble getting the DHCP
client code to work. I was wondering if there was any
example code to show this working. I have currently
just inserted the dhcpc init and run functions into my
application, is there something else I need to do? Do
the DHCP replies circumvent the normal ip and udp
layers? thanks for your help

Rachel Logan

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Hi Rachel,

    I got exactly the same trouble using OpenTCP 1.04....
    Do you get any soluce?

    Thomas Karbowy

     
  • Nobody/Anonymous

    Logged In: NO

    I had the same problem. But i got rid of it. The problem was
    that the assignment of the two timer values didn't work
    I changed it to:
    dhcpc_t1=(UINT32)((UINT16)temp>>1);
    dhcpc_t2=(UINT32)((UINT16)temp - ((UINT16)temp>>3));

    I think it was a compiler Problem or something else and not a
    bug.

    Florian Eibensteiner

     
  • Nobody/Anonymous

    Changing the board's Hardware Address to 00-12-34-56-78-9A seems to do the trick

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.