Hangdog42, I dissabled Knetwork manager just to make sure it was not connecting to my "libre" network. This is what I did below.
No luck with joining "mediaserver" if I enter the key in Knetworkmanager everything goes fine and it can log in. I want to know what are the series of commands it is doing to make this happen. This should be very simple.
DarkMan:/home/share/wireless# iwconfig wlan0 essid "mediaserver"
DarkMan:/home/share/wireless# iwconfig wlan0 key open 0000000000
DarkMan:/home/share/wireless# iwconfig
lo no wireless extensions.
eth1 no wireless extensions.
Warning: Driver for device wlan0 has been compiled with version 22
of Wireless Extension, while this program supports up to version 20.
Some things may be broken...
wlan0 IEEE 802.11b ESSID:"libre"
Mode:Managed Frequency:2.412 GHz Access Point: 00:11:50:CF:38:14
Bit Rate=11 Mb/s
RTS thr=1600 B Fragment thr=2344 B
Encryption key

ff
Power Management

ff
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
This is a series of command I just tried.
# ifconfig wlan0 up
# iwconfig wlan0 essid "mediaserver"
# iwconfig wlan0 key open 0000000000
# iwconfig wlan0 mode Managed
# dhclient wlan0
and
# ifconfig wlan0 up
# iwconfig wlan0 essid "mediaserver"
# iwconfig wlan0 key open 0000000000
# iwconfig wlan0 mode Managed
# iwconfig wlan0 commit
# dhclient wlan0