pritambaral / hostapd-rtl871xdrv

Hostapd driver for RTL8188{C|CU|CUS} wifi chips.
176 stars 43 forks source link

Can #17

Closed NaotakaSaito closed 7 years ago

NaotakaSaito commented 7 years ago

I executed the way on raspberry Pi 2 with 8188CUS.

# Get rtl8192cu (rtl871xdrv) hostapd and build
sudo apt-get install -y libnl-dev libssl-dev

# Remove any previous hostapd files
sudo apt-get purge -y hostapd
sudo rm /usr/local/bin/hostapd*
sudo rm /usr/bin/hostapd*
sudo rm /usr/sbin/hostapd*

wget http://w1.fi/releases/hostapd-2.5.tar.gz
git clone https://github.com/pritambaral/hostapd-rtl871xdrv.git

tar -xzvf hostapd-2.5.tar.gz
cd hostapd-2.5
patch -Np1 -i ../hostapd-rtl871xdrv/rtlxdrv.patch

cd hostapd

vi .config
    CONFIG_DRIVER_HOSTAP=y
    CONFIG_DRIVER_RTW=y
    CONFIG_IAPP=y
    CONFIG_RSN_PREAUTH=y
    CONFIG_PEERKEY=y
    CONFIG_IEEE80211W=y
    CONFIG_EAP=y
    CONFIG_ERP=y
    CONFIG_EAP_MD5=y
    CONFIG_EAP_TLS=y
    CONFIG_EAP_MSCHAPV2=y
    CONFIG_EAP_PEAP=y
    CONFIG_EAP_GTC=y
    CONFIG_EAP_TTLS=y
    CONFIG_WPS=y
    CONFIG_PKCS12=y
    CONFIG_IPV6=y
    CONFIG_IEEE80211N=y
    CONFIG_IEEE80211AC=y

make
sudo make install DESTDIR= BINDIR=/usr/sbin

At the editing of .config, I also add "CONFIG_DRIVER_RTW=y".

Then two errors have arisen. First one is not to find following definition. I can solve it with the definition in source code.

#ifdef CONFIG_DRIVER_RTW
extern const struct wpa_driver_ops wpa_driver_rtw_ops; /* driver_rtw.c */
#endif /* CONFIG_DRIVER_RTW */

Second one is not to fine function of get_ie(). I can not solve the problem. Please give me any advice.

pritambaral commented 7 years ago

Did you read the README?

pritambaral commented 7 years ago

Closing due to inactivity.