Can't get DHCP to work

Postings related to the second version of the WiShield

Can't get DHCP to work

Postby benjamin » Fri Oct 22, 2010 2:21 pm

Hi all

I am having a few problems with the DHCP stuff.

I am trying to get the SocketAppDHCP to work but i have failed.
Using Etherreal/Wireshark i can see that the shield sends a DHCP Discover and the router sends a DHCP offer.
But it seems that the good stuff ends here. The call to uip_dhcp_request() never returns.
The DHCP offer is 590 bytes in size according to Wireshark.
And poking around the uip code i found a buffer size of 400 bytes and i tried to change that but with no change.

Anyone have a clue on what is going on ?

btw i am using the latest user contrib from github : asynclabs-WiShield_user_contrib-1a0a46d

Regards
Benjamin
benjamin
 
Posts: 1
Joined: Fri Oct 22, 2010 2:01 pm

Re: Can't get DHCP to work

Postby GregEigsti » Sun Oct 24, 2010 1:16 pm

So I know DHCP has worked for myself and another user (the guy who ported it from the uIP code). I just reverted a bogus "fix" in the user contrib code that was killing SimpleServer/WebServer. You may want to grab the latest user contrib code and give that a go.

See this thread for more info.

Greg
Check out the wiki!
uIP Stack Docs
Compatible Access Point List
WiShield user contrib branch - DNS, DHCP, AP Scanning, bug fixes, etc.
SlackLab.org - My geek projects blog.
User avatar
GregEigsti
 
Posts: 1067
Joined: Sun Aug 02, 2009 5:23 pm
Location: Sammamish WA USA (near Seattle)
  • Website


Return to WiShield 2.0

Who is online

Users browsing this forum: No registered users and 1 guest