Solarometer Network problem

Hello Arduino people,

I’m following a project guide from Everything works like it should be. But I get the following error.

‘Network’ does not name a type.
In file included from Solarmeter.ino:17:
userdefs.h:17: error: ‘Network’ does not name a type
Solarmeter.ino: In function ‘void setup()’:
Solarmeter:37: error: ‘mac’ was not declared in this scope

So how do I fix this?
When I go to line 17 in the userfefs.h file where I have the following lines:

Network variables
static byte mac = {e6,00,37,81,52,c6}; // MAC address can be any number
static byte ip = {192,168,1,99}; // IP of arduino
static byte dnsserver = {8,8,8,8}; // use the address of your gateway

static byte gateway = {192,168,1,1};
static byte subnet = {255,255,255,0};

And in the Solarmeter file I have these lines:

void setup()
// initialize network
Ethernet.begin(mac, ip, dnsserver, gateway, subnet);
// initialize time server
// Try to set the time 10 times
for(byte i=0;i<10;i++)
if(UpdateTime()) break;

So how do I declare my mac-adres properly because its set in the Ethernet.begin() and how do I declare a Network type?



It looks like "Network variables" belongs in a comment and not in the code.

Yes that was the problem. Only the next big issue is my UNO SMD wont accept my program... It says

avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64 avrdude: stk500_cmd(): programmer is out of sync

The weird thing is that it will load other programs from the Arduino database. But those are the only files in the library not a couple of them like mine library has.