Home arrow Support arrow Forums

Luminary Micro Forums

<< Start < Prev 1 2 Next > End >>

ckuecker

Platinum Boarder
Click here to see the profile of this user

2008/09/03 11:35

Writing a DHCP server

Hello,

I am attempting to write a DHCP server on a LM3S6965 part using the lwip library. So far, I have not found a clean way to either receive a DHCP Discover packet or send out a proper DHCP Offer message. The lwip library makes assumptions for me that I would rather avoid.

I got a similar system working on a TI MSP430 device using the Texas Instruments version of lwip, but there are major differences in that and the lwip supplied with the Luminary driver library.

Does anyone have sample code or suggestions on how to proceed? If I can get the DHCP server up, I will also need to access UDP and TCP packets on a low level basis.

login or register to reply

anhhuy

Senior Boarder
Click here to see the profile of this user

2008/09/04 05:12

Re:Writing a DHCP server

Please correct me if I'm wrong, but the lwip stack has its buit-in DHCP server, doesn't it?

Huy

login or register to reply

zhilik

Junior Boarder
Click here to see the profile of this user

2008/09/04 08:55

Re:Writing a DHCP server

It has a built-in DHCP client, but I don't think it has a server.

login or register to reply

ckuecker

Platinum Boarder
Click here to see the profile of this user

2008/09/05 13:43

Re:Writing a DHCP server

Well, I got the server working. I was not initializing the netif correctly.

It would be nice if lwip had better documentation, perhaps on a function by function basis.

login or register to reply

awneil

Expert Boarder
Click here to see the profile of this user

2008/09/07 15:16

Re:Writing a DHCP server

It would be nice if lwip had better documentation, perhaps on a function by function basis.
Well, there's the beauty of Open-Source - your chance to contribute...!

login or register to reply

cb1

Platinum Boarder
Click here to see the profile of this user

2008/09/07 16:34

Re:Writing a DHCP server

Hi ckuecker-

Congratulations - very impressive.
Earlier you mentioned that you had done similar with msp430. Would you be good enough to contrast the good/bad of the LMI vs. the TI micro (performance)? Thanks...

login or register to reply
<< Start < Prev 1 2 Next > End >>