1) By condensation of 2-nitroimidazole (I) with 3-(1-piperidino)propyliene oxide (II) in refluxing ethanol.
Hexamethylenebisacetamide is prepared by reacting 1,6-hexanediamine (I) with two moles of acetic acid.