some old code to manage a trango m900 network