I am totally new to Arduino and, of course, new to the Ethernet Shield. I decided to try and run the Web Server tutorial code http://arduino.cc/en/Tutorial/WebServer
Obviously the code needs to be changed to reflect the MAC address of the shield and the IP of the shield. I expected to be able to simply plug in the shield (attached to the Mega) to my router and then log into the router to check out the “attached devices” page to find the IP and MAC addresses. I can see my computer, cell phone and Tablet but not the Shield. Activity lights appear to indicate the Shield is properly attached but it does not show on the attached devices list.
What am I doing wrong?
There should be no need to change the mac address, unless there is a clash
You MUST change the ip address to match your network:
change this line:
IPAddress ip(192,168,1, 177);
So that the first 3 numbers match your network and subnet....
so if a device on your network is on 192.168.0.xx
Change above line to :
IPAddress ip(192,168,0, 177);
if your device is on network 192.168.5.xx change the line to:
IPAddress ip(192,168,5, 177);
The reason you cannot see the device is because, whilst it may be connected, it is not 'within' the domain your router is looking at.
If you get stuck, then post the addresses your computer/tablet show up at.