 |
Document #: 00475
Changing the Ethernet address in SCO UNIX
Question: How do I change the 3C5X9 MAC address under SCO v5.0 using the EtherLink III?
Answer:
1. Install the EtherLink III driver that comes with SCO v5.0 and change the directory to: /etc/conf/pack.d/e3e.
2. Use VI to edit a file named SPACE.C.
3. Go to the last section and see the following:
/* For Everest driver, hardware node address can be overwritten for each board by placing a new node address here. */short e3e_override _node_addr [4] = {0, 0, 0, 0,}, /* change to 1 to override */
unsigned char e3e_new_node_addr [4] [6] = {
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}};
4. To change the MAC address of a single adapter, change the following (see changes in red):
/* For Everest driver, hardware node address can be overwritten for each board by placing a new node address here. */short e3e_override _node_addr [4] = {1, 0, 0, 0,}, /* change to 1 to override */unsigned char e3e_new_node_addr [4] [6] = {
{0xAB, 0x12, 0x34, 0x56, 0x78, 0x9C},
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
5. If you have two adapters, change the following (see changes in red):
/* For Everest driver, hardware node address can be overwritten for each board by placing a newnode address here. */short e3e_override _node_addr [4] = {1, 1, 0, 0,}, /* change to 1 to override */unsigned char e3e_new_node_addr [4] [6] = {
{0xAB, 0x12, 0x34, 0x56, 0x78, 0x9C},
{0xAB, 0x9C, 0x78, 0x56, 0x34, 0x12},
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
6. Relink the kernel and reboot.
CAUTION: SPACE.C file under the /etc/conf/pack.d/e3E directory reverts back to its original state whenever NETCONFIG runs. Make a backup of the file after making the changes.
|