network: write hwaddr to config file

Signed-off-by: Dunrong Huang <riegamaths@gmail.com>