[En-Nut-Discussion] mac address in seperate file ??

Harald Kipp harald.kipp at egnite.de
Wed Nov 6 12:10:22 CET 2002


Dave,

Most simple way would be to use an simple

#include "mymac.h"

and create mymac.h with

static u_char egnite_null_mac[] = { 0x00,0x06,0x98,0x00,0x00,0x00 };

Anyway, there seems to be a problem with
MAC, soft/hard IP plus DHCP. The recommended
way is to store the MAC address in EEPROM
and use an EEPROM image to pre-configure
Ethernuts.

Harald




More information about the En-Nut-Discussion mailing list