Bankruptcy judge OKs network sale