Networking Forums

Networking Forums > Wireless Networking > Wireless Internet > wifi and AP not associated

Reply
Thread Tools Display Modes

wifi and AP not associated

 
 
RicercatoreSbadato
Guest
Posts: n/a

 
      06-25-2006, 01:32 PM
I've an Atheros Pci Wireless card and i've installed the madwifi
drivers on a debian Sarge.

I try to start the wifi with
# wpa_supplicant -w -iath0 -c/etc/wpa_supplicant.conf -d

And in an other shell:
# wpa_cli status
Selected interface 'ath0'
wpa_state=ASSOCIATING
ip_address=10.0.0.35

# iwconfig
ath0 IEEE 802.11g ESSID:"mywifi"
Mode:Managed Frequency:2.442 GHz Access Point:
Not-Associated
[...]

#cat /etc/wpa_supplicant.conf
# WPA-PSK/TKIP

ctrl_interface=/var/run/wpa_supplicant

network={
ssid="XXX"
scan_ssid="1"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
psk="XXX"
}

What can I do to associate my wifi card to the access point?

 
Reply With Quote
 
 
 
 
Wolfgang S. Rupprecht
Guest
Posts: n/a

 
      06-25-2006, 08:17 PM

"RicercatoreSbadato" <(E-Mail Removed)> writes:
> network={
> ssid="XXX"
> scan_ssid="1"
> key_mgmt=WPA-PSK
> proto=WPA
> pairwise=TKIP
> group=TKIP
> psk="XXX"
> }
>
> What can I do to associate my wifi card to the access point?


You might try taking all the restrictions out. Just leave the
ssid=XXX and the psk=XXX. All I have in mine is the above, plus an
explicit priority so that my laptop favors the home network over any
other open network that may be in range. And yes, I'm running
ath0/madwifi on FC5. Here is my config (with the obvious things
doctored up).

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=10
update_config=1

network={
ssid="example"
psk=df4bf17360949b313536eae84b27b0b27098d76b1f6f03 30f0971394f8f6d0eb
priority=10
}

network={
ssid="any"
key_mgmt=NONE
priority=-1
}

(I'm not sure the second network clause does anything. I saw it in an
example, but even when presented with an open access point it doesn't
seem to do much.)

-wolfgang
--
Wolfgang S. Rupprecht http://www.wsrcc.com/wolfgang/
 
Reply With Quote
 
Jerry Peters
Guest
Posts: n/a

 
      06-25-2006, 08:52 PM
RicercatoreSbadato <(E-Mail Removed)> wrote:
> I've an Atheros Pci Wireless card and i've installed the madwifi
> drivers on a debian Sarge.
>
> I try to start the wifi with
> # wpa_supplicant -w -iath0 -c/etc/wpa_supplicant.conf -d
>

What wpa_supplicant driver driver are you using?
You might try adding -Dmadwifi or -Dwext to select the madwifi or
wireless extensions wpa_supplicant driver.

Jerry
---snip---
 
Reply With Quote
 
RicercatoreSbadato
Guest
Posts: n/a

 
      06-26-2006, 08:13 AM
but in your example... Do you use the WPA or the WEP protection? I use
WPA!

 
Reply With Quote
 
Wolfgang S. Rupprecht
Guest
Posts: n/a

 
      06-26-2006, 10:36 AM

"RicercatoreSbadato" <(E-Mail Removed)> writes:
> but in your example... Do you use the WPA or the WEP protection? I use
> WPA!


I use WPA2.

$ wpa_cli status
Selected interface 'ath0'
bssid=00:01:02:03:04:05
ssid=example
pairwise_cipher=CCMP
group_cipher=TKIP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
ip_address=10.0.0.100

The access point is a WRT54G running Openwrt "White Russian" RC5. The
only choice it offers is WPA2-PSK. Restricting the choices at the
client end seemed like the backwards way to run things since some
attacker could still try to attack the other authentication methods.

-wolfgang
--
Wolfgang S. Rupprecht http://www.wsrcc.com/wolfgang/
 
Reply With Quote
 
RicercatoreSbadato
Guest
Posts: n/a

 
      06-26-2006, 03:44 PM
Thank you, I'll try asap.

 
Reply With Quote
 
RicercatoreSbadato
Guest
Posts: n/a

 
      06-26-2006, 09:29 PM
i've tried with the madwifi... i've not yet discovered the solution.
Now i use wep 128bit... tnx

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Files Visible Over WiFi and Hard-Wired, But Won't Open Over WiFi? (PeteCresswell) Wireless Networks 2 12-29-2008 04:21 PM
wifi coverage help.. large outdoor installation - trouble getting wifi over to a 2nd site hupjack@excite.com Wireless Internet 2 07-08-2005 12:30 PM
Laptop wifi problem - wifi will not access IE but wired nic will - any ideas plaese? DeeBee Wireless Internet 4 04-03-2005 10:34 PM
Laptop WiFi Problem. Wired NIC works - WiFi does not any ideas please? DeeBee Home Networking 8 04-03-2005 05:01 PM
Big Problem With SENAO WiFi Access Point & WiFi Router ... Please Help DiGi SAT Wireless Internet 1 07-26-2004 09:34 AM



1 2 3 4 5 6 7 8 9 10 11