Ethernet shield

I have been trying to complete the tutorial found at the below link but I keep getting stuck at this step "Finally, set your Mac address and IP address as normal with this shield."

I have been searching the internet trying to figure out how to determine what IP and MAC address they are talking about and how to find that.

The Ardunio site says that "Newer Arduino Ethernet Shields include a sticker with the device's MAC address. "

My Shield has the following numbers on it's sticker "90-A2-DA-00-2F-E4" problem is this looks nothing like what the program is asking for. The tutorial example looks like byte mac[] = {  0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };

So at this point the problem is:

  1. What MAC and IP are they asking for?
  2. How do I locate them and include them in the code?

TUTORIAL LINK:
http://community.pachube.com/node/112#controller

My grand plan is to use an Arduino UNO and an Ethernet shield to turn on a series of lights when an "ON" signal is sent from a php script.

My Shield has the following numbers on it's sticker "90-A2-DA-00-2F-E4"

byte mac[] = {  0x90, 0xA2, 0xDA, 0x00, 0x2F, 0xE4 };
  1. What MAC and IP are they asking for?

The MAC address is the one on the sticker. The IP address is some unused address on your network. That address will belong to the Arduino/Ethernet shield in the same way that the IP address of your computer (possibly assigned by a router) belongs to your computer.

  1. How do I locate them and include them in the code?

Turn the shield over and look at the back of it to find the MAC address.
Turn your network administrator over and look for the IP address on his/her back. If that doesn't work, ask nicely.

You include them in the code using two fingers and a text editor. If you can type better than I do, you might use three or four fingers.

Thank you!

I am super clear on the mac address now!

Only problem with turning my network administrator over is that he is pushing 300 lb

Thats not true. The real problem is I am at home and don't have a network administrator.

What is this IP? is it the one found in: System preferences / Network / Built in Ethernet / IP address

I find mine by opening a command window and typing ipconfig.

garus,

Check your computers IP as PaulS advices. Go to windows "Command prompt" and type "ipconfig". You should see three main things:

  1. IP address, typically, behind firewalled home network; 192.168.x.xxx or 10.x.x.x
  2. Subnet mask, typically; 255.255.255.0
  3. Gateway, follows the IP address, same subnet, 192.168.1.1.

When you have found the subnet ex. 192.168.x.x, you can try to find free IP address for your ethernet shield by using the ping-command.
Try in command prompt; "ping 192.168.1.10", for example. If that is free at the moment, you won't get reply from any computer, and you can try it with your shield.

Kari

I should have mentioned I am on a mac.

ifconfig, then.

Turn your network administrator over

Touch me and I will kick off the planet

Hi,

I'm new here so I don't know whether it is appropriate to ask a related but oot the same question here, or should I start a new thread. Please, advise me.

My question is rather simple one:

Can I freely use pin 4, if I don't plan to use SD interface ?
I need pin 4 for some other taks. I do not need SD interface (and there is no SD connector on my Ethernet shield).

pp

If there is no SD card reader on your shield, pin 4 is available for use.