From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Jbxo6-0008Eh-Nl for garchives@archives.gentoo.org; Wed, 19 Mar 2008 12:54:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E7D2E05D6; Wed, 19 Mar 2008 12:54:11 +0000 (UTC) Received: from n63.bullet.mail.sp1.yahoo.com (n63.bullet.mail.sp1.yahoo.com [98.136.44.33]) by pigeon.gentoo.org (Postfix) with SMTP id 43974E05D6 for ; Wed, 19 Mar 2008 12:54:11 +0000 (UTC) Received: from [216.252.122.218] by n63.bullet.mail.sp1.yahoo.com with NNFMP; 19 Mar 2008 12:54:10 -0000 Received: from [69.147.65.158] by t3.bullet.sp1.yahoo.com with NNFMP; 19 Mar 2008 12:54:10 -0000 Received: from [127.0.0.1] by omp406.mail.sp1.yahoo.com with NNFMP; 19 Mar 2008 12:54:10 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 723387.25129.bm@omp406.mail.sp1.yahoo.com Received: (qmail 12173 invoked by uid 60001); 19 Mar 2008 12:54:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=kmajswrQE83pSqyR6vZN2jd/6OQ0MxS41TIsIXafBH+FbEUYvjjFqafvJEE0DCxvDaPl5EAFimAVXAVw706tghjqZwGX42RlOM5xQEpZ5CCwy00UB45oED7yMwEaAUCG6sGAAtU+SFhI4efXKK4XpSEuk3AKxxCD56QdxzPMeKQ=; Received: from [86.121.4.192] by web45612.mail.sp1.yahoo.com via HTTP; Wed, 19 Mar 2008 05:54:10 PDT X-Mailer: YahooMailRC/902.38 YahooMailWebService/0.7.162 Date: Wed, 19 Mar 2008 05:54:10 -0700 (PDT) From: Dani Crisan Subject: Re: [gentoo-user] wireless problem To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1256929188-1205931250=:4449" Message-ID: <517418.4449.qm@web45612.mail.sp1.yahoo.com> X-Archives-Salt: 453d92ca-45ca-42e5-ad62-dfe25823190a X-Archives-Hash: 677a0039d45afbf6c17c932fb7ebbb9e --0-1256929188-1205931250=:4449 Content-Type: text/plain; charset=us-ascii Hy again, Here is the new /etc/conf.d/net: pre-up(){ ifconfig wlan0 up } modules_wlan0=( "dhcp" "iwconfig" "wpa_supplicant") essid_wlan0="any" mode_wlan0="managed" preferred_aps_wlan0="'baladei-wifi' 'dlink'" assciate_order_wlan0="forcepreferedonly" wpa_supplicant_wlan0="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf" config_wlan0=("dhcp") When I issue /etc/init.d/net.wlan0 restart it still connects to dlink and from the log file it seems that it ignores baladei-wifi: Mar 19 14:50:17 dani-laptop dhcpcd[8535]: wlan0: received SIGTERM, stopping Mar 19 14:50:17 dani-laptop dhcpcd[8535]: wlan0: removing default route via 192.168.0.1 metric 2000 Mar 19 14:50:17 dani-laptop dhcpcd[8535]: wlan0: deleting IP address 192.168.0.101/24 Mar 19 14:50:17 dani-laptop dhcpcd[8535]: wlan0: exiting Mar 19 14:50:18 dani-laptop ACPI: PCI interrupt for device 0000:0c:00.0 disabled Mar 19 14:50:18 dani-laptop ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 17 (level, low) -> IRQ 17 Mar 19 14:50:18 dani-laptop PM: Writing back config space on device 0000:0c:00.0 at offset 1 (was 100102, writing 100106) Mar 19 14:50:18 dani-laptop ADDRCONF(NETDEV_UP): wlan0: link is not ready Mar 19 14:50:18 dani-laptop wlan0: Initial auth_alg=0 Mar 19 14:50:18 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00 Mar 19 14:50:18 dani-laptop wlan0: Initial auth_alg=0 Mar 19 14:50:18 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00 Mar 19 14:50:18 dani-laptop wlan0: RX authentication from 00:1b:11:fb:9d:00 (alg=0 transaction=2 status=0) Mar 19 14:50:18 dani-laptop wlan0: authenticated Mar 19 14:50:18 dani-laptop wlan0: associate with AP 00:1b:11:fb:9d:00 Mar 19 14:50:18 dani-laptop wlan0: authentication frame received from 00:1b:11:fb:9d:00, but not in authenticate state - ignored Mar 19 14:50:18 dani-laptop wlan0: RX AssocResp from 00:1b:11:fb:9d:00 (capab=0x421 status=0 aid=2) Mar 19 14:50:18 dani-laptop wlan0: associated Mar 19 14:50:18 dani-laptop ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready Mar 19 14:50:18 dani-laptop wlan0: Initial auth_alg=0 Mar 19 14:50:18 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00 Mar 19 14:50:18 dani-laptop wlan0: Initial auth_alg=0 Mar 19 14:50:18 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00 Mar 19 14:50:18 dani-laptop wlan0: RX authentication from 00:1b:11:fb:9d:00 (alg=0 transaction=2 status=0) Mar 19 14:50:18 dani-laptop wlan0: authenticated Mar 19 14:50:18 dani-laptop wlan0: associate with AP 00:1b:11:fb:9d:00 Mar 19 14:50:18 dani-laptop wlan0: authentication frame received from 00:1b:11:fb:9d:00, but not in authenticate state - ignored Mar 19 14:50:18 dani-laptop wlan0: RX AssocResp from 00:1b:11:fb:9d:00 (capab=0x421 status=0 aid=1) Mar 19 14:50:18 dani-laptop wlan0: associated Mar 19 14:50:19 dani-laptop wlan0: Initial auth_alg=0 Mar 19 14:50:19 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00 Mar 19 14:50:19 dani-laptop wlan0: RX authentication from 00:1b:11:fb:9d:00 (alg=0 transaction=2 status=0) Mar 19 14:50:19 dani-laptop wlan0: authenticated Mar 19 14:50:19 dani-laptop wlan0: associate with AP 00:1b:11:fb:9d:00 Mar 19 14:50:19 dani-laptop wlan0: RX ReassocResp from 00:1b:11:fb:9d:00 (capab=0x421 status=0 aid=2) Mar 19 14:50:19 dani-laptop wlan0: associated Any ideeas? ----- Original Message ---- From: Neil Bothwick To: gentoo-user@lists.gentoo.org Sent: Wednesday, March 19, 2008 2:22:11 PM Subject: Re: [gentoo-user] wireless problem On Wed, 19 Mar 2008 05:06:59 -0700 (PDT), Dani Crisan wrote: > I made what you said and now it still connects to dlink but I'll read > the wireless.example. Please don't top-post, it makes conversations difficult to follow and impossible to quote meaningfully. preferred_aps means that it will try that aps first, but if it fails, it will then try dlink. You can force it to only use a specific aps with essid_wlan0="baladei-wifi" but I susopect your problem is that the connection to your preferred aps is failing and dlink being used as a fallback. The system log should show details of the connection process, try "tail -f /var/log/messages" before you do "/etc/init.d/wlan0 start". -- Neil Bothwick When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ --0-1256929188-1205931250=:4449 Content-Type: text/html; charset=us-ascii
Hy again,

Here is the new /etc/conf.d/net:

pre-up(){
 ifconfig wlan0 up
}

modules_wlan0=( "dhcp" "iwconfig" "wpa_supplicant")
essid_wlan0="any"
mode_wlan0="managed"
preferred_aps_wlan0="'baladei-wifi' 'dlink'"
assciate_order_wlan0="forcepreferedonly"
wpa_supplicant_wlan0="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
config_wlan0=("dhcp")

When I issue /etc/init.d/net.wlan0 restart it still connects to dlink and from the log file it seems that it ignores baladei-wifi:

 Mar 19 14:50:17 dani-laptop dhcpcd[8535]: wlan0: received SIGTERM, stopping
Mar 19 14:50:17 dani-laptop dhcpcd[8535]: wlan0: removing default route via 192.168.0.1 metric 2000
Mar 19 14:50:17 dani-laptop dhcpcd[8535]: wlan0: deleting IP address 192.168.0.101/24
Mar 19 14:50:17 dani-laptop dhcpcd[8535]: wlan0: exiting
Mar 19 14:50:18 dani-laptop ACPI: PCI interrupt for device 0000:0c:00.0 disabled
Mar 19 14:50:18 dani-laptop ACPI: PCI Interrupt 0000:0c:00.0[A] -> GSI 17 (level, low) -> IRQ 17
Mar 19 14:50:18 dani-laptop PM: Writing back config space on device 0000:0c:00.0 at offset 1 (was 100102, writing 100106)
Mar 19 14:50:18 dani-laptop ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mar 19 14:50:18 dani-laptop wlan0: Initial auth_alg=0
Mar 19 14:50:18 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:18 dani-laptop wlan0: Initial auth_alg=0
Mar 19 14:50:18 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:18 dani-laptop wlan0: RX authentication from 00:1b:11:fb:9d:00 (alg=0 transaction=2 status=0)
Mar 19 14:50:18 dani-laptop wlan0: authenticated
Mar 19 14:50:18 dani-laptop wlan0: associate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:18 dani-laptop wlan0: authentication frame received from 00:1b:11:fb:9d:00, but not in authenticate state - ignored
Mar 19 14:50:18 dani-laptop wlan0: RX AssocResp from 00:1b:11:fb:9d:00 (capab=0x421 status=0 aid=2)
Mar 19 14:50:18 dani-laptop wlan0: associated
Mar 19 14:50:18 dani-laptop ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Mar 19 14:50:18 dani-laptop wlan0: Initial auth_alg=0
Mar 19 14:50:18 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:18 dani-laptop wlan0: Initial auth_alg=0
Mar 19 14:50:18 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:18 dani-laptop wlan0: RX authentication from 00:1b:11:fb:9d:00 (alg=0 transaction=2 status=0)
Mar 19 14:50:18 dani-laptop wlan0: authenticated
Mar 19 14:50:18 dani-laptop wlan0: associate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:18 dani-laptop wlan0: authentication frame received from 00:1b:11:fb:9d:00, but not in authenticate state - ignored
Mar 19 14:50:18 dani-laptop wlan0: RX AssocResp from 00:1b:11:fb:9d:00 (capab=0x421 status=0 aid=1)
Mar 19 14:50:18 dani-laptop wlan0: associated
Mar 19 14:50:19 dani-laptop wlan0: Initial auth_alg=0
Mar 19 14:50:19 dani-laptop wlan0: authenticate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:19 dani-laptop wlan0: RX authentication from 00:1b:11:fb:9d:00 (alg=0 transaction=2 status=0)
Mar 19 14:50:19 dani-laptop wlan0: authenticated
Mar 19 14:50:19 dani-laptop wlan0: associate with AP 00:1b:11:fb:9d:00
Mar 19 14:50:19 dani-laptop wlan0: RX ReassocResp from 00:1b:11:fb:9d:00 (capab=0x421 status=0 aid=2)
Mar 19 14:50:19 dani-laptop wlan0: associated


Any ideeas?


----- Original Message ----
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Sent: Wednesday, March 19, 2008 2:22:11 PM
Subject: Re: [gentoo-user] wireless problem

On Wed, 19 Mar 2008 05:06:59 -0700 (PDT), Dani Crisan wrote:

> I made what you said and now it still connects to dlink but I'll read
> the wireless.example.

Please don't top-post, it makes conversations difficult to follow and
impossible to quote meaningfully.

preferred_aps means that it will try that aps first, but if it fails, it
will then try dlink. You can force it to only use a specific aps with
essid_wlan0="baladei-wifi" but I susopect your problem is that the
connection to your preferred aps is failing and dlink being used as a
fallback.

The system log should show details of the connection process, try "tail
-f /var/log/messages" before you do "/etc/init.d/wlan0 start".


--
Neil Bothwick

When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.



Looking for last minute shopping deals? Find them fast with Yahoo! Search. --0-1256929188-1205931250=:4449-- -- gentoo-user@lists.gentoo.org mailing list