You are not logged in.
Pages: 1
Hi all,
This is my /etc/network.d/abc-wireless-wpa
CONNECTION='wireless'
DESCRITPTION='A simple WPA encrypted wireless connection'
INTERFACE='wlan0'
SECURITY='wpa'
'ESSID'='my-essid'
## Uncomment if the supplied ESSID is hexadecimal
#ESSID_TYPE='hex'
KEY='my passphare' ----->plain text
IP='dhcp'
# Uncomment this if your ssid is hidden
#HIDDEN=yesnetcfg version 3.0
$ lspci | grep Network
02:00.0 Network controller: Broadcom Corporation BCM43224 802.11a/b/g/n (rev 01)brcmsmac, b43 module was loaded, wpa_supplicant enabled (systemctl enable..)
wifi info
WPA2/TKIP
Auth: PSK
ESSID: my-essidpassword is true
When i connect by command: # NETCFG_DEBUG=yes netcfg abc-wireless-wpa
ouput
DEBUG: Loading profile abc-wireless-wpa [BUSY]
DEBUG: Configuring interface wlan0
:: abc-wireless-wpa up
DEBUG: status reported to profile_up as:
DEBUG: Loading profile abc-wireless-wpa
DEBUG: Configuring interface wlan0
DEBUG: wireless_up start_wpa wlan0 /run/network/wpa.wlan0/wpa.conf nl80211,wext
[ 2057.615891 ieee80211 phy1: brcms_ops_bss_info_changed: qos enabled: false (implement)
DEBUG: wireless_up Configuration generated at /run/network/wpa.wlan0/wpa.conf
DEBUG: wireless_up wpa_reconfigure wlan0
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant reconfigure
DEBUG: wireless_up ifup
DEBUG: wireless_up wpa_check
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant status
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant terminate
> WPA Authentication/Association Failed [FAILED]
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant terminateso i don't know why my connection fail. any suggestion? thank for reply.
Offline
Edit: Oops, had wrong info here before, I was thinking of a different card.
What you're doing is a bit confusing. First you say you've activated some wpa_supplicant module, but then you use netcfg. Use one tool and one tool only to connect. Also, post the output of dmesg.
Last edited by Gusar (2012-11-25 10:20:44)
Offline
sr for make confusing, i tried use wpa_supplicant or netcfg, result is the same output debug. i will re-test with my own AP later, maybe this password is wrong. tks for reply.
Offline
I use netcfg with wpa_supplicant.For me netcfg alone don't works becouse wpa_supplicant is needed for wpa2-psk.Do you use b43 or brcmsmac?
Last edited by 10PinkPanther (2012-11-25 18:22:04)
Offline
Humor me. What is the output of sudo iwlist scan ?? Note, if it works, it will include your ESSID and MAC. If you are paranoid, you can redact them when you post.
I use this as a touchstone to make ensure that the interface is working.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I think it's the line that say:
https://wiki.archlinux.org/index.php/WP … ation_file
"so that if your access point uses WEP or WPA, it will work in both case. But if it uses RSN (aka WPA2) it will not find it by itself, you have to append it to the other values."
Then, you need a line: proto=RSN
------------------------------
Too, /etc/network.d/examples/wireless-wpa-configsection works for me.
Also I have:
PSK=lot of numbers by key='my passphrase'.
Lot of number is that wpa_passphrase "mywireless_ssid" "secretpassphrase" yields.
wpa_passphrase "mywireless_ssid"(It's in the link)
Last edited by Alber (2012-11-26 10:25:29)
Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.
Offline
I use WPA2.It's very simple with wifi-menu.Select your network after scanning,enter your passphrase/password for network,enable net-auto-wireless and voila!At least for me it's the easiest way.All that is needed is netcfg and wpa_supplicant.
EDIT:If you use b43 you probably need to install b43-firmware and b43-fwcutter.I use b43 and couldn't get wireless without it on more than 90% of Linux distros I've used.
Last edited by 10PinkPanther (2012-11-26 10:28:09)
Offline
Use brcmsmac OR b43 - not both.
Offline
Use brcmsmac OR b43 - not both.
b43 won't work. For cards supported by both, brcmsmac will be used. That's how the Arch kernel is configured, changing that requires recompiling it.
Offline
Pages: 1