* Re: [gentoo-user] wireless problem
@ 2008-03-19 12:54 99% Dani Crisan
0 siblings, 0 replies; 1+ results
From: Dani Crisan @ 2008-03-19 12:54 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 4491 bytes --]
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.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
[-- Attachment #2: Type: text/html, Size: 5237 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2008-03-19 12:54 99% [gentoo-user] wireless problem Dani Crisan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox