Pages: [1]   Go Down
Author Topic: Ethernet Shield  (Read 1205 times)
0 Members and 1 Guest are viewing this topic.
Poland
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
Newbie
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Someone had experience with this ?
It seems that this one don't have unique MAC so writing random will be good ?

http://translate.google.pl/translate?sl=zh-CN&tl=en&js=n&prev=_t&hl=pl&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Ftmp.www.lcsoft.net%3A8080%2FHardware%2FDetail.aspx%3Fid%3D4c0dc670-fce7-41aa-bb1d-128b75ce117d&act=url
Logged

I have solution !
But it involves spherical chickens in frictionless vacuum...

Newcastle, England
Offline Offline
Sr. Member
****
Karma: 3
Posts: 489
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
The shield must be assigned a MAC address and a fixed IP address using the Ethernet.begin() function. A MAC address is a globally unique identifier for a particular device. Current Ethernet shields come with a sticker indicating the MAC address you should use with them. For older shields without a dedicated MAC address, inventing a random one should work, but don't use the same one for multiple boards.

Yes, inventing a random mac address should work fine!


Onions.
Logged

My website: http://www.harryrabbit.co.uk/electronics/home.html Up and running now! (Feel free to look round!) smiley-grin

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you know how to convert the MAC that is given to us on the board to the proper byte array that the software is looking for?
Logged

Poland
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
Newbie
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.miniwebtool.com/mac-address-generator/
This one is good for generating random MAC
But I have no idea how to convert it ...

New questions appears -
I find that you can connect breakboard using corssed cable to LAN socekt in computer, same cable can be used to connect it to router

If someone needs library I found one
http://www.kiranjose.com/blog/2011/09/connect-to-internet-with-arduino-mega-2560-and-enc28j60-breakout-board_crossover_ethernet_cable/
« Last Edit: January 05, 2012, 04:29:02 am by Max89 » Logged

I have solution !
But it involves spherical chickens in frictionless vacuum...

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 610
Posts: 49071
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Do you know how to convert the MAC that is given to us on the board to the proper byte array that the software is looking for?
The string on the sticker looks like:
11-22-33-44-55-66

The mac address array looks like:
Code:
byte macAddr[] = {0x11, 0x22, 0x33, 0x44, 0x55, 0x66};
Logged

Pages: [1]   Go Up
Jump to: