sounds like a job for NetworkManager...normally before Edgy you just did
apt-get install NetworkManager
Code:
up2date-rc.d NetworkManager default
so it will run automatically
now Edgy uses Upstart...which I am unsure of
NetworkManager should also detect the networks and allow you to connect to them. I think it might even be included by default on gnome 2.16 which Edgy uses