EmbeddedRelated.com
Forums
Memfault Beyond the Launch

debugging the enc28j60 ethernet communication

Started by piyushpandey December 21, 2015
On Fri, 25 Dec 2015 11:23:14 +0200, Tauno Voipio
<tauno.voipio@notused.fi.invalid> wrote:

>An Ethernet tap is a splitter. It seems that the search terms >'ethernet tap' give better results.
Yes, I understand that. The issue is that the word "tap" has different connotation than does "splitter". IME "tapping" implies cutting/probing whereas "splitting" (may imply that but usually) implies a plug-and-play solution. YMMV, George
Hi guys

I want to know that can I make my computer the DHCP server which can
dynamically allocate the IP address to my embedded development board and
made my PC and board to communicate over the crossover cable.


regards

---------------------------------------
Posted through http://www.EmbeddedRelated.com
On 27.12.15 08:13, piyushpandey wrote:
> Hi guys > > I want to know that can I make my computer the DHCP server which can > dynamically allocate the IP address to my embedded development board and > made my PC and board to communicate over the crossover cable.
You should start with simpler things: - assign a fixed address to the device and ping it, then - make a BOOTP server and make the device use it DHCP is an extension of BOOTP. For details, you could start at <https://en.wikipedia.org/wiki/Bootstrap_Protocol>. There is a problem in using a PC as a server: most operating systems obey the recommendation of not allow normal user code to serve ports below 1024. If you're using Linux, maybe the simplest BOOTP/DHCP server is dnsmasq. -- -TV
On 27/12/15 09:40, Tauno Voipio wrote:
> On 27.12.15 08:13, piyushpandey wrote: >> Hi guys >> >> I want to know that can I make my computer the DHCP server which can >> dynamically allocate the IP address to my embedded development board and >> made my PC and board to communicate over the crossover cable. > > > You should start with simpler things: > > - assign a fixed address to the device and ping it, then > - make a BOOTP server and make the device use it > > DHCP is an extension of BOOTP. > > For details, you could start at > <https://en.wikipedia.org/wiki/Bootstrap_Protocol>. > > There is a problem in using a PC as a server: most operating > systems obey the recommendation of not allow normal user code > to serve ports below 1024. > > If you're using Linux, maybe the simplest BOOTP/DHCP server > is dnsmasq. >
There's no "maybe" about it - dnsmasq is very clear and simple, and should definitely be the first choice for a DHCP server. Don't bother with BOOTP - go straight to DHCP.
piyushpandey wrote:
>I want to know that can I make my computer the DHCP server which can >dynamically allocate the IP address to my embedded development board and >made my PC and board to communicate over the crossover cable.
"Dual DHCP DNS Server" is good. Here: http://dhcp-dns-server.sourceforge.net/ R.W

Memfault Beyond the Launch