Then please help me and analaze from the beginning.
Code:
mati@RAKIETA:~$ iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
wifi0 Interface doesn't support scanning.
ath0 Scan completed :
Cell 01 - Address: 00:0E:2E:4E:1A:B3
ESSID:"Default"
Mode:Master
Frequency:2.437 GHz (Channel 6)
Quality=2/70 Signal level=-93 dBm Noise level=-95 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Cell 02 - Address: 00:1A:70:99:A9:42
ESSID:"neciak"
Mode:Master
Frequency:2.462 GHz (Channel 11)
Quality=43/70 Signal level=-52 dBm Noise level=-95 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
36 Mb/s; 48 Mb/s; 54 Mb/s
Extra:bcn_int=100
Cell 03 - Address: 00:06:4F:50:3D:DB
ESSID:"NASOR"
Mode:Master
Frequency:2.457 GHz (Channel 10)
Quality=12/70 Signal level=-83 dBm Noise level=-95 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
So im sure that channel 11 is only for my connection. Then:
Code:
mati@RAKIETA:~$ sudo ifconfig ath0 down
mati@RAKIETA:~$ sudo dhclient -r ath0
There is already a pid file /var/run/dhclient.pid with pid 0
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:1f:3a:3f:ec:5f
Sending on LPF/ath0/00:1f:3a:3f:ec:5f
Sending on Socket/fallback
mati@RAKIETA:~$ sudo ifconfig ath0 up
mati@RAKIETA:~$ sudo iwconfig ath0 essid "neciak"
mati@RAKIETA:~$ sudo iwconfig ath0 key s:8005200501
mati@RAKIETA:~$ sudo iwconfig ath0 channel 11
mati@RAKIETA:~$ sudo iwconfig ath0 mode Managed
mati@RAKIETA:~$ sudo dhclient ath0
There is already a pid file /var/run/dhclient.pid with pid 0
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:1f:3a:3f:ec:5f
Sending on LPF/ath0/00:1f:3a:3f:ec:5f
Sending on Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
And another way for DHCP:
Code:
mati@RAKIETA:~$ sudo dhcpcd ath0
Error, ath0: timed out
Im sure for 100% that i use WEP with key 8005200501. This connection with these settings is working under XP.
Maybe this is the problem:
Code:
There is already a pid file /var/run/dhclient.pid with pid 0
??
Thanks in advance for your help.