According to this manual I tried:
$ iwconfig
lo no wireless extensions.
eth1 IEEE 802.11bg ESSID:"g\xC6isQ\xFFJ\xEC)\xCD\xBA\xAB\xF2\xFB\xE3F|\xC2T\xF8\x1B\xE8\xE7\x8DvZ.c3\x9F\xC9\x9A"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Power Management:off
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
eth0 no wireless extensions.
$ sudo ifconfig eth1 up
Then I used wicd from this manual. It will find my wireless router, but when I click connect, the phase obtaining IP address is endless.
I tried:
$ sudo iwlist scan
lo Interface doesn't support scanning.
eth1 Scan completed :
Cell 01 - Address: C8:3A:35:1F:60:78
ESSID:"MyDevice"
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.412 GHz (Channel 1)
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 11 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=97/100 Signal level=-27 dBm
Extra: Last beacon: 172ms ago
eth0 Interface doesn't support scanning.
Here is the content of /var/log/wicd/wicd.log
Could you advise me how can I connect and how to correctly set /etc/network/interfaces?