docs: def mac_address(ip):
      """Get the MAC address"""
      mac = ''
      for line in os.popen('/sbin/ifconfig'):
          s = line.split()
          if len(s) > 3:
              if s[3] == 'HWaddr':
                  mac = s[4]
              elif s[2] == ip:
                  break
      return {'MAC': mac}