<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Help with ethernet GW]]></title><description><![CDATA[<p dir="auto">I just switched from a serial gateway to an ethernet gateway but I can not get the ethernet gateway to connect to my network.<br />
I have an Arduino UNO R3 and an ethernetshield (W5100) with and SD card holder on it. Compile the code with SOFT SPI and I get "Gateway startup complete" in the terminal monitor (and I recieve data from my sensors) but when I go to connect to my IP network I get nothing. My switch does not se the mac-address of the shield and I can not connect to or ping the shield. I added:</p>
<p dir="auto">Serial.print("server is at ");<br />
Serial.println(Ethernet.localIP());</p>
<p dir="auto">to the sketch and the IP address that shows is 255.255.255.255. I believe something goes wrong setting the IP and/or mac address. Anyone have some good ideas how to fix this issue? This is my first time using an arduino with ethernet.</p>
<p dir="auto">/Carl</p>
]]></description><link>https://forum.mysensors.org/topic/1333/help-with-ethernet-gw</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 12:19:24 GMT</lastBuildDate><atom:link href="https://forum.mysensors.org/topic/1333.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Apr 2015 15:21:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Help with ethernet GW on Sat, 02 May 2015 13:25:29 GMT]]></title><description><![CDATA[<p dir="auto">The DHCP example was with a different sketch. I had the Ethernet shield replaced and now both the DHCP sketch and the gateway sketch work! :-) (I had no packets coming from the broken shield at all when connecting it through a sniffer)</p>
<p dir="auto">/Carl</p>
]]></description><link>https://forum.mysensors.org/post/13486</link><guid isPermaLink="true">https://forum.mysensors.org/post/13486</guid><dc:creator><![CDATA[cwrug]]></dc:creator><pubDate>Sat, 02 May 2015 13:25:29 GMT</pubDate></item><item><title><![CDATA[Reply to Help with ethernet GW on Fri, 01 May 2015 13:20:08 GMT]]></title><description><![CDATA[<p dir="auto">It will not work with this IP address, and you have to put an IP address in manual in your sketch (DHCP does not work)<br />
<a href="http://www.mysensors.org/build/ethernet_gateway" rel="nofollow ugc">The Ethernet sketch example shows</a> at lines 64 to 69:</p>
<pre><code>IPAddress myIp (192, 168, 178, 66);  // Configure your static ip-address here    COMPILE ERROR HERE? Use Arduino IDE 1.5.7 or later!

// The MAC address can be anything you want but should be unique on your network.
// Newer boards have a MAC address printed on the underside of the PCB, which you can (optionally) use.
// Note that most of the Ardunio examples use  "DEAD BEEF FEED" for the MAC address.
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };  // DEAD BEEF FEED
</code></pre>
<p dir="auto">So IP: 192.168.178.66<br />
MAC : DEAD BEEF FEED"</p>
<p dir="auto">Did you use this sketch or can you try this one and post your results ?</p>
]]></description><link>https://forum.mysensors.org/post/13457</link><guid isPermaLink="true">https://forum.mysensors.org/post/13457</guid><dc:creator><![CDATA[sj44k]]></dc:creator><pubDate>Fri, 01 May 2015 13:20:08 GMT</pubDate></item><item><title><![CDATA[Reply to Help with ethernet GW on Thu, 30 Apr 2015 19:49:37 GMT]]></title><description><![CDATA[<p dir="auto">Tried some other exemple sketches  and I can't get either static or dhcp to work. I se both to and RX lights on the shield flash but my switch say that no input is ever received. Thinking my shield is broken and will go get it replaced tomorrow and try again...</p>
<p dir="auto">/C</p>
]]></description><link>https://forum.mysensors.org/post/13436</link><guid isPermaLink="true">https://forum.mysensors.org/post/13436</guid><dc:creator><![CDATA[cwrug]]></dc:creator><pubDate>Thu, 30 Apr 2015 19:49:37 GMT</pubDate></item></channel></rss>