I can't see any error or message warning (in /var/log/messages and also
in /var/log/syslog) and the output of the commands you indicated is
matching what i'm expecting :
iwconfig wlan0 :
wlan0 IEEE 802.11g ESSID

ff/any
Mode:Auto Frequency:2.412 GHz Access Point:
00:00:00:00:00:00
Bit Rate:11 Mb/s Tx-Power:20 dBm Sensitivity=-120 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX Security
mode:restricted
Power Management

ff
Link Quality:100/100 Signal level:136/154 Noise level:0/154
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
iwlist wlan0 key :
wlan0 2 key sizes : 40, 104bits
4 keys available :
[1]: XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX (104 bits)
[2]: off
[3]: off
[4]: off
Current Transmit Key: [1]
Security mode:restricted
And obviously XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX is the same for the 2
commands.
Thank you so much from now.
--
RaSca
(E-Mail Removed)