you may try wicd as a wireless manager

debian install howto
edit /etc/apt/sources.list and add

deb http://apt.wicd.net lenny extras

then

#apt-get update
#apt-get install wicd

to start simply

#wicd-client

wicd project homepage