FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-05-2011, 04:27 AM
Akira Kitada
 
Default Cannot connect to WPA PSK network (ThinkPad X220 with Intel Corporation Centrino Advanced-N + WiMAX 6250 adapter)

Hello,

I'm having trouble connecting to WPA PSK network from my Debian
Squeeze machine with Intel Corporation Centrino Advanced-N + WiMAX
6250 adapter.
When I change the router and Debian's settings to use WEP, it just works.
I tried firmware-iwlwifi-0.29 from testing but it didn't help.
Please see below for details.

$ lspci | grep Network
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network
Connection (rev 04)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N +
WiMAX 6250 (rev 5e)

$ cat /etc/network/interfaces
...
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid <ssid>
wpa-psk <passphrase>
...

$ sudo /sbin/ifup wlan0
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/xx:xx:xx:xx:xx:xx
Sending on LPF/wlan0/xx:xx:xx:xx:xx:xx
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

$ sudo tail -F /var/log/syslog
May 5 12:48:24 debian kernel: [ 3084.572427] Registered led device:
iwl-phy0::radio
May 5 12:48:24 debian kernel: [ 3084.572490] Registered led device:
iwl-phy0::assoc
May 5 12:48:24 debian kernel: [ 3084.572545] Registered led device:
iwl-phy0::RX
May 5 12:48:24 debian kernel: [ 3084.572606] Registered led device:
iwl-phy0::TX
May 5 12:48:24 debian kernel: [ 3084.590202] ADDRCONF(NETDEV_UP):
wlan0: link is not ready
May 5 12:48:25 debian dhclient: Internet Systems Consortium DHCP
Client 4.1.1-P1
May 5 12:48:25 debian dhclient: Copyright 2004-2010 Internet Systems
Consortium.
May 5 12:48:25 debian dhclient: All rights reserved.
May 5 12:48:25 debian dhclient: For info, please visit
https://www.isc.org/software/dhcp/
May 5 12:48:25 debian dhclient:
May 5 12:48:25 debian dhclient: Listening on LPF/wlan0/xx:xx:xx:xx:xx:xx
May 5 12:48:25 debian dhclient: Sending on LPF/wlan0/xx:xx:xx:xx:xx:xx
May 5 12:48:25 debian dhclient: Sending on Socket/fallback
May 5 12:48:27 debian dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 6
May 5 12:48:33 debian dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 12
May 5 12:48:45 debian dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 11
May 5 12:48:56 debian dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 12
May 5 12:49:08 debian dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 15
May 5 12:49:23 debian dhclient: DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 5
May 5 12:49:28 debian dhclient: No DHCPOFFERS received.
May 5 12:49:28 debian dhclient: No working leases in persistent
database - sleeping.
May 5 12:49:28 debian avahi-autoipd(wlan0)[2990]: Found user
'avahi-autoipd' (UID 104) and group 'avahi-autoipd' (GID 107).
May 5 12:49:28 debian avahi-autoipd(wlan0)[2990]: Successfully called chroot().
May 5 12:49:28 debian avahi-autoipd(wlan0)[2990]: Successfully
dropped root privileges.
May 5 12:49:28 debian avahi-autoipd(wlan0)[2990]: Starting with
address 169.254.7.237
May 5 12:49:29 debian wpa_supplicant[2956]: Failed to initiate AP scan.
May 5 12:49:33 debian avahi-autoipd(wlan0)[2990]: Callout BIND,
address 169.254.7.237 on interface wlan0
May 5 12:49:33 debian avahi-daemon[1777]: Joining mDNS multicast
group on interface wlan0.IPv4 with address 169.254.7.237.
May 5 12:49:33 debian avahi-daemon[1777]: New relevant interface
wlan0.IPv4 for mDNS.
May 5 12:49:33 debian avahi-daemon[1777]: Registering new address
record for 169.254.7.237 on wlan0.IPv4.
May 5 12:49:37 debian avahi-autoipd(wlan0)[2990]: Successfully
claimed IP address 169.254.7.237
May 5 12:49:39 debian wpa_supplicant[2956]: Failed to initiate AP scan.
May 5 12:49:49 debian wpa_supplicant[2956]: Failed to initiate AP scan.

$ dpkg -l | grep firmware-iwlwifi
ii firmware-iwlwifi 0.29
Binary firmware for Intel Wireless 3945, 4965 and 5000-series
cards


Thank you in advance for any suggestions,
- Akira


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: BANLkTi=gkH93_vj6hP5dm7bwFq0ddXNFYw@mail.gmail.com ">http://lists.debian.org/BANLkTi=gkH93_vj6hP5dm7bwFq0ddXNFYw@mail.gmail.com
 
Old 05-05-2011, 10:09 AM
Chen Wei
 
Default Cannot connect to WPA PSK network (ThinkPad X220 with Intel Corporation Centrino Advanced-N + WiMAX 6250 adapter)

On Thu, May 05, 2011 at 01:27:46PM +0900, Akira Kitada wrote:
> $ lspci | grep Network
> 03:00.0 Network controller: Intel Corporation Centrino Advanced-N +
> WiMAX 6250 (rev 5e)
>
> $ cat /etc/network/interfaces
> ...
> allow-hotplug wlan0
> iface wlan0 inet dhcp
> wpa-ssid <ssid>
> wpa-psk <passphrase>
> ...
> May 5 12:49:39 debian wpa_supplicant[2956]: Failed to initiate AP scan.
> May 5 12:49:49 debian wpa_supplicant[2956]: Failed to initiate AP scan.
>
/etc/network/interfaces looks correct, my first thought is wpasupplicant
has not been installed, obviously that is not the case. Perhaps the
wpa-ssid is not match? It is case-sensitive.

--
Chen Wei


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110505100934.GA3375@Tungsten.DarkStar">http://lists.debian.org/20110505100934.GA3375@Tungsten.DarkStar
 
Old 05-05-2011, 10:49 AM
Akira Kitada
 
Default Cannot connect to WPA PSK network (ThinkPad X220 with Intel Corporation Centrino Advanced-N + WiMAX 6250 adapter)

Thank you for your reply.

wpasupplicant-0.6.10-2.1 is installed and I'm sure wpa-ssid is correct
because I checked it several times.

On Thu, May 5, 2011 at 7:09 PM, Chen Wei <weichen302@aol.com> wrote:
> On Thu, May 05, 2011 at 01:27:46PM +0900, Akira Kitada wrote:
>> $ lspci | grep Network
>> 03:00.0 Network controller: Intel Corporation Centrino Advanced-N +
>> WiMAX 6250 (rev 5e)
>>
>> $ cat /etc/network/interfaces
>> ...
>> allow-hotplug wlan0
>> iface wlan0 inet dhcp
>> * * * * wpa-ssid <ssid>
>> * * * * wpa-psk <passphrase>
>> ...
>> May *5 12:49:39 debian wpa_supplicant[2956]: Failed to initiate AP scan.
>> May *5 12:49:49 debian wpa_supplicant[2956]: Failed to initiate AP scan.
>>
> /etc/network/interfaces looks correct, my first thought is wpasupplicant
> has not been installed, obviously that is not the case. Perhaps the
> wpa-ssid is not match? It is case-sensitive.
>
> --
> Chen Wei
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/20110505100934.GA3375@Tungsten.DarkStar
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: BANLkTikD36JU_anjXJ+kwDL-YSxahgYGTQ@mail.gmail.com">http://lists.debian.org/BANLkTikD36JU_anjXJ+kwDL-YSxahgYGTQ@mail.gmail.com
 
Old 05-05-2011, 06:51 PM
Akira Kitada
 
Default Cannot connect to WPA PSK network (ThinkPad X220 with Intel Corporation Centrino Advanced-N + WiMAX 6250 adapter)

I've finally figured out that I need to add more options to connect to
my WPA network.
The following did the trick.


allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid <ssid>
wpa-ap-scan 2
wpa-proto WPA
wpa-group TKIP
wpa-pairwise TKIP
wpa-key-mgmt WPA-PSK
wpa-psk <passphrase>


Reference:
- /usr/share/doc/wpasupplicant/README.modes.gz
- /usr/share/doc/wpasupplicant/examples/wpa_supplicant.conf.gz


On Thu, May 5, 2011 at 7:49 PM, Akira Kitada <akitada@gmail.com> wrote:
> Thank you for your reply.
>
> wpasupplicant-0.6.10-2.1 is installed and I'm sure wpa-ssid is correct
> because I checked it several times.
>
> On Thu, May 5, 2011 at 7:09 PM, Chen Wei <weichen302@aol.com> wrote:
>> On Thu, May 05, 2011 at 01:27:46PM +0900, Akira Kitada wrote:
>>> $ lspci | grep Network
>>> 03:00.0 Network controller: Intel Corporation Centrino Advanced-N +
>>> WiMAX 6250 (rev 5e)
>>>
>>> $ cat /etc/network/interfaces
>>> ...
>>> allow-hotplug wlan0
>>> iface wlan0 inet dhcp
>>> * * * * wpa-ssid <ssid>
>>> * * * * wpa-psk <passphrase>
>>> ...
>>> May *5 12:49:39 debian wpa_supplicant[2956]: Failed to initiate AP scan.
>>> May *5 12:49:49 debian wpa_supplicant[2956]: Failed to initiate AP scan.
>>>
>> /etc/network/interfaces looks correct, my first thought is wpasupplicant
>> has not been installed, obviously that is not the case. Perhaps the
>> wpa-ssid is not match? It is case-sensitive.
>>
>> --
>> Chen Wei
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>> Archive: http://lists.debian.org/20110505100934.GA3375@Tungsten.DarkStar
>>
>>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: BANLkTik43xOG4kMKJYe3UoM-=3m5P-02PQ@mail.gmail.com">http://lists.debian.org/BANLkTik43xOG4kMKJYe3UoM-=3m5P-02PQ@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 07:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org