logo

English

이곳의 프로그래밍관련 정보와 소스는 마음대로 활용하셔도 좋습니다. 다만 쓰시기 전에 통보 정도는 해주시는 것이 예의 일것 같습니다. 질문이나 오류 수정은 siseong@gmail.com 으로 주세요. 감사합니다.

WPA_SUPPLICANT 빌드 방법

by digipine posted Nov 01, 2017
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

Build wpa_supplicant 2.0 with libnl 3.2.21

Step 1: build libnl
1. untar libnl-3.2.21 to /usr/src
2. cd /usr/src/libnl-3.2.21
3. ./configure
    - Headers will be installed in ${prefix}/include/libnl3, therefore
      you will need to add "-I/usr/include/libnl3" to CFLAGS

    - The library basename was renamed to libnl-3, i.e. the SO names become
      libnl-3.so., libnl-route-3.so, etc.

    - libtool versioning was assumed, to ease detection of compatible library
      versions.
4. make
5. sudo make install

Step 2: build wpa_supplicant
1. cd to wpa_supplicant-2.0 folder
2. cd wpa_supplicant folder
3. Modify .config
CONFIG_LIBNL20=y
CONFIG_LIBNL32=y 
4. modify ../src/drivers/drivers.mak
ifdef CONFIG_LIBNL32
  DRV_LIBS += -lnl-3
  DRV_LIBS += -lnl-genl-3
  DRV_CFLAGS += -DCONFIG_LIBNL20 -I/usr/src/libnl-3.2.21/include
else

4. make
5. make install
6. cp /etc/local/lib/libnl* /etc/lib/.

 
TAG •

List of Articles
No. Subject Author Date Views
113 NAT 상태에서 P2P 통신하는 방법 digipine 2024.08.08 546
112 UDP 핀홀 트래버설 과정 요약, UDP pinhole traversal digipine 2024.08.08 558
111 OpenSSL Build for Windows digipine 2024.08.30 578
110 Python email 보내는 예제 코드 digipine 2024.08.27 643
109 윈도우에서 패스워드 입력 실패로 잠금 상태인지 확인 하는 방법 lizard2019 2024.11.05 668
108 Visual Studio 단축키 정리 digipine 2024.03.28 747
107 프로그래밍 언어 순위 2023년 file digipine 2023.10.30 805
106 Direct X 11에서 그래픽 카드의 정보 가져오는 예제 digipine 2024.08.27 820
105 Python Slack 메시지 발송하는 예제 digipine 2024.08.27 833
104 ALM의 등장 배경, 오해와 진실 digipine 2017.10.28 853
103 이벤트 텍소노미(Event Taxonomy)란 무엇인가요? digipine 2023.08.11 858
102 FFServer RTSP Audio Server Config digipine 2023.05.12 871
101 OBS Studio for Http Interface EXE lizard2019 2023.02.15 888
» WPA_SUPPLICANT 빌드 방법 digipine 2017.11.01 934
99 Windows API - 안전한 문자열 함수들 digipine 2017.10.28 943
98 Git Commnd 사용법 정리 digipine 2017.11.02 952
97 윈도우 한영 전환 쉬프트 스페이스로 변경 digipine 2017.11.03 977
96 포렌식을 활용한 정보보호 digipine 2017.11.02 995
95 Git 서버 구축 - 우분투[Ubuntu] digipine 2017.11.02 1003
94 mongoose 3.8 싱글 파일 소스 코드 file digipine 2020.09.01 1025
Board Pagination Prev 1 2 3 4 5 6 Next
/ 6