James Ward
03-27-2001, 01:53 AM
I'm running RH 7 on a cogeco cable modem with a pci nic. Everything works ok except sometimes instead of getting my ip address as a hostname I get the MAC Address of my NIC. Some progs find this hostname too long and fail as a result. e.g. my normal prompt whould be something like root@mymachine: /root# but when the MAC address thing happens I get something like root@x1-6-01-06-00-50-ba-42-df-50: /root#. I have my ip matched to mymachine in the /etc/hosts file. Is there a similar way to match up MAC address' so I can avoid this problem?