Setting MAC and IP and hw_id