Mar 4, 2003 #1 M mariaR Advanced Member level 4 Joined Feb 28, 2003 Messages 110 Helped 3 Reputation 6 Reaction score 2 Trophy points 1,298 Activity points 697 I installed 3 Linux boxes, and the host Ids are the same:7f0100.
Mar 4, 2003 #2 W wzdreamer Full Member level 2 Joined Jan 16, 2002 Messages 124 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,296 Activity points 1,165 see **broken link removed** or topic "Hostid in a Linux machine" there are many posts about this... there you can find 1 of 2 different ways how get hostid... I uploaded strace-d result from executing hostid.... hostid is stored in /etc/hostid - 4 bytes (but this file exists if you previously changed your hostid) or if you didn't - see in attached file...
see **broken link removed** or topic "Hostid in a Linux machine" there are many posts about this... there you can find 1 of 2 different ways how get hostid... I uploaded strace-d result from executing hostid.... hostid is stored in /etc/hostid - 4 bytes (but this file exists if you previously changed your hostid) or if you didn't - see in attached file...
Mar 17, 2003 #3 archun Member level 2 Joined Aug 23, 2001 Messages 43 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 271 why hostid, why not mac adderss.
Mar 17, 2003 #4 W wzdreamer Full Member level 2 Joined Jan 16, 2002 Messages 124 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,296 Activity points 1,165 what abou mac address? I can't follow you...
Mar 18, 2003 #5 M mariaR Advanced Member level 4 Joined Feb 28, 2003 Messages 110 Helped 3 Reputation 6 Reaction score 2 Trophy points 1,298 Activity points 697 What coomand to get the MAC in RH Linux box ?
Apr 9, 2003 #6 S sensi_millia2000 Newbie level 2 Joined Apr 9, 2003 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 10 mac-adress just run 'ifconfig' and watch the field after 'HWaddr' e.g. ifconfig |grep HWaddr eth0 Link encap:Ethernet HWaddr 00:50:04:40:75:BE eth2 Link encap:Ethernet HWaddr 52:54:40:25:74:5A eth3 Link encap:Ethernet HWaddr 00:20:AF:39:FB:3C
mac-adress just run 'ifconfig' and watch the field after 'HWaddr' e.g. ifconfig |grep HWaddr eth0 Link encap:Ethernet HWaddr 00:50:04:40:75:BE eth2 Link encap:Ethernet HWaddr 52:54:40:25:74:5A eth3 Link encap:Ethernet HWaddr 00:20:AF:39:FB:3C