{"action":"created","issue":{"url":"https://api.github.com/repos/Smoothieware/Smoothieware/issues/1119","repository_url":"https://api.github.com/repos/Smoothieware/Smoothieware","labels_url":"https://api.github.com/repos/Smoothieware/Smoothieware/issues/1119/labels{/name}","comments_url":"https://api.github.com/repos/Smoothieware/Smoothieware/issues/1119/comments","events_url":"https://api.github.com/repos/Smoothieware/Smoothieware/issues/1119/events","html_url":"https://github.com/Smoothieware/Smoothieware/issues/1119","id":206862898,"number":1119,"title":"DHCP fails due to discarded ethernet response frame ","user":{"login":"reedb","id":382222,"avatar_url":"https://avatars.githubusercontent.com/u/382222?v=3","gravatar_id":"","url":"https://api.github.com/users/reedb","html_url":"https://github.com/reedb","followers_url":"https://api.github.com/users/reedb/followers","following_url":"https://api.github.com/users/reedb/following{/other_user}","gists_url":"https://api.github.com/users/reedb/gists{/gist_id}","starred_url":"https://api.github.com/users/reedb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reedb/subscriptions","organizations_url":"https://api.github.com/users/reedb/orgs","repos_url":"https://api.github.com/users/reedb/repos","events_url":"https://api.github.com/users/reedb/events{/privacy}","received_events_url":"https://api.github.com/users/reedb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-02-10T17:52:56Z","updated_at":"2017-02-10T18:50:03Z","closed_at":"2017-02-10T18:43:04Z","body":"\r\n#### What were you doing?\r\nBooting with:\r\n  network.ip_address                           auto             # use dhcp to get ip address  \r\ninstead of staic IP parameters.\r\n\r\n#### What did you expect to happen?\r\nDHCP to discover IP parameters.\r\n\r\n#### What happened instead?\r\nNo IP parameters assigned. \r\n\r\n#### Branch & Commit or Version of Smoothieware\r\nBuild version: edge-d27b9dd, Build date: Feb 10 2017 09:32:25, MCU: LPC1769, System Clock: 120MHz\r\n\r\n#### Hardware model you are using (Make, and version)\r\nSmoothieboard 4X\r\n\r\n#### Host and Operating System running the Host\r\nOSX\r\n\r\n#### Link to and console logs\r\n\r\nsend_discover:249\r\nWARNING: Discarded ethernet frame that is too big: C4600251, 594 - 404\r\n(Received: 594 bytes, has room for 404 bytes)\r\n\r\n#### Link to running config and M503 results\r\n#### End template\r\n\r\nFix:\r\nIn ./libs/Network/uip/uip-conf.h:\r\n  #define UIP_CONF_BUFFER_SIZE     400\r\ngoes to:\r\n  #define UIP_CONF_BUFFER_SIZE     600\r\n"},"comment":{"url":"https://api.github.com/repos/Smoothieware/Smoothieware/issues/comments/279031763","html_url":"https://github.com/Smoothieware/Smoothieware/issues/1119#issuecomment-279031763","issue_url":"https://api.github.com/repos/Smoothieware/Smoothieware/issues/1119","id":279031763,"user":{"login":"wolfmanjm","id":22263,"avatar_url":"https://avatars.githubusercontent.com/u/22263?v=3","gravatar_id":"","url":"https://api.github.com/users/wolfmanjm","html_url":"https://github.com/wolfmanjm","followers_url":"https://api.github.com/users/wolfmanjm/followers","following_url":"https://api.github.com/users/wolfmanjm/following{/other_user}","gists_url":"https://api.github.com/users/wolfmanjm/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfmanjm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfmanjm/subscriptions","organizations_url":"https://api.github.com/users/wolfmanjm/orgs","repos_url":"https://api.github.com/users/wolfmanjm/repos","events_url":"https://api.github.com/users/wolfmanjm/events{/privacy}","received_events_url":"https://api.github.com/users/wolfmanjm/received_events","type":"User","site_admin":false},"created_at":"2017-02-10T18:50:03Z","updated_at":"2017-02-10T18:50:03Z","body":"Also setting the UIP buffer to 600 affects all network not just UDP, and will significantly slow down TCP/IP as well, the 400 was chosen to be optimum speed without using too much memory.\r\nI suggest you reconfigure your DHCP server to send legal sized UDP packets (perhaps turn off a few options in it). Or use static IP instead, or of course you can run your own build with UIP packets set larger but look out for out of memory crashes and slower network performance."}}
{"actor":{"display_login":"wolfmanjm"}}