기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.

wlan을 hostapd를 통해서 AP로 사용할때 wpa passphrase 인증문제

 

임베디드 리눅스 보드에 iptime N100 무선 동글로 HOSTAP기능을 사용하려고 합니다.

 

hostap설치하고

패스워드를 사용하지 않을때는 바로 연결이 되어서 핸드폰에서도 바로 접속이 되는데 

패스워드를 사용하고자 wpa와 를 설정하면 그때부터 연결이 되지 않고 합니다.

어디를 살펴봐야할지 헤매고 있는데 조언 부탁드립니다.

 

 

hostapd.conf

---------------------------

interface=wlan0

ssid=myhome

channel=11

beacon_int=100

hw_mode=g

ieee80211n=1

auth_algs=1

ignore_broadcast_ssid=0

wpa=2

wpa_key_mgmt=WPA-PSK

wpa_pairwise=TKIP CCMP

rsn_pairwise=CCMP

#wpa_psk=f304373506ba9bef9592235f4a69e87774af03221cbb0dcdbb5f54062cd0d7b7

wpa_passphrase=mypasswd

------------------------------------

구동방법

cp -f ./udhcpd.conf /etc/udhcpc/udhcpd.conf
insmod 8192cu.ko
ifconfig wlan0 192.168.20.1 up
udhcpd /etc/udhcpc/udhcpd.conf
./hostapd -dd -K ./hostapd.conf -B
------------------------------------

접속실패로그

 

wlan0: STA 90:9f:33:ec:f5:9c IEEE 802.11: disassociated

wlan0: STA 90:9f:33:ec:f5:9c IEEE 802.11: disassociated

wlan0: STA 90:9f:33:ec:f5:9c IEEE 802.11: disassociated

----------------------------------

혹시 커널 컨피그레이션과 관련이 있을까요?


hostapd 문제인지 rtl8188 drv문제인지 kernel config 문제인지 focus 못하고 있습니다

기본적으로 buildroot기반이라 buildroot에서 포함되어 컴파일되는 hostapd를 사용하는데

인터넷검색으로 로그를 검색해보면, hostapd의 patch 버젼이라는 것도 있어서 적용해보았지만

mypasswd를 입력시에도 인증오류 접속되지 않았습니다.


시도해본 3가지 hostap version


hostapd v2.0
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2012, Jouni Malinen <[email protected]> and contributors


hostapd v0.8.x
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2011, Jouni Malinen <[email protected]> and contributors


hostapd v0.8.x_rtw_r7475.20130812_beta
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2011, Jouni Malinen <[email protected]> and contributors




행인1

2017.04.07 01:44:03
*.178.89.199

driver compile시 log를 출력하도록 하니 아래와 같이 로그를 얻었습니다.
(참고: 컴파일시에는 PowerSaving define은 처리)


status code 3을 찾아보면,

3station is leaving (or has left) IBSS or ESS

Deauthenticated because sending station has left or is leaving IBSS or ESS

------------------------------------------------------------------------------

[ 8285.200000] +OnAuth
[ 8285.210000] auth alg=0, seq=1
[ 8285.210000] going to alloc stainfo for sa=34:80:b3:f2:76:8a
[ 8285.220000] OnAssocReq
[ 8285.220000] allocate new AID = (1)
[ 8285.220000] update_bcn_fixed_ie
[ 8285.230000] HT: STA 34:80:b3:f2:76:8a HT Capabilities Info: 0x012c
[ 8285.230000] bss_cap_update_on_sta_join STA 34:80:b3:f2:76:8a - no greenfield, num of non-gf stations 1
[ 8285.240000] bss_cap_update_on_sta_join STA 34:80:b3:f2:76:8a - 20 MHz HT, num of 20MHz HT STAs 1
[ 8285.250000] bss_cap_update_on_sta_join, updated=1
[ 8285.250000] issue_asocrsp
[ 8285.260000] indicate_sta_join_event to upper layer - hostapd
[ 8285.260000] rtw_cfg80211_indicate_sta_assoc(wlan0)
[ 8285.270000] report_add_sta_event: add STA
[ 8285.270000] rtl8192c_dm_RF_Saving(): RF_Normal
[ 8285.280000] add_RATid=> mac_id:2 , raid:0 , bitmap=0xfffff, arg=0xa2
[ 8288.280000] OnDeAuth Reason code(3)
[ 8288.280000] OnDeAuth, STA:34:80:b3:f2:76:8a
[ 8288.290000] rtw_cfg80211_indicate_sta_disassoc(wlan0)
[ 8288.290000] report_del_sta_event: delete STA, mac_id=2
[ 8288.300000] update_bcn_fixed_ie
[ 8288.300000] bss_cap_update_on_sta_leave, updated=1
[ 8289.220000] rtl8192c_dm_RF_Saving(): RF_Save


List of Articles
번호 제목 글쓴이 날짜 조회 수sort
6328 이솦보드 palette세팅중 3번째 질문(kelp에서 kozicozi님의 질문... [4] 고현철 2006-04-05 6937
6327 커널패닉 - 묵혀놓은 보드 꺼내들고 집에 셋팅하는데 잘 안되네요... [10] 조준동 2006-04-24 6701
6326 RVDS 2.2 설치 [6] 한영민 2008-12-31 6528
6325 exynos 5250 Arndale board의 Generic Timer 사용에 대해 질문... [5] 흰둥아놀자 2013-07-24 6408
6324 linaro ubuntu 사용중입니다 춤선생 2013-12-24 6390
6323 그래픽 카드 혹은 컨트롤러 드라이버 개발 How-to [2] Journeyer 2009-12-11 6284
6322 NAND bad sector가 새로 발생했을 때… [1] 오르다 2015-07-31 6247
6321 [질문] u-boot 및 루트 파일 시스템 <= 완료 [4] 안정섭 2006-04-16 6234
6320 exynos5250 질문이여. [7] 해황 2012-12-06 6140
6319 wifi 에러 문제관련하여 질문드립니다. [1] 텅빈깡통 2010-08-27 6138
6318 풀업/풀다운 저항값은 왜 다른가요? [6] 비둘기사냥꾼 2012-09-14 6118
6317 S5PC111과 S5PC110의 차이점은 무엇인가요 [2] Nabula 2010-07-24 5999
6316 ODROID FROYU 업그레이드 문의 드립니다. [1] 추억만이 2010-10-08 5693
6315 [질문] LX-800 과 ARM의 차이...[완료] [8] 김성주 2007-03-27 5670
6314 [질문] LX800 을 처음 사용하기 위한 초기 준비 및 비용은?[완료... [6] 임은향 2007-04-09 5630
6313 Wifi 관련 문의드립니다. [3] Tommy 2010-07-24 5483
6312 S3C6410의 장단점에 대해... [10] 주의이름으로 2009-02-04 5401
6311 MP2530에 OpenOCD와 FT2232를 이용해 JTAG 연결중 [4] 박성철 2009-02-15 5292
6310 [Android] play 스토어 설치 관련 [2] wizard14 2013-03-21 5272
6309 DNW 관련 ... [1] 고도리 2007-10-31 5207

사용자 로그인