connect and configure a wall socket of a network