https://github.com/lwfinger/rtl8188eu
목적
라즈베리파이에 내장 무선 랜카드를 사용하지 않고, 무선랜카드 어댑터를 사용해서
조금 더 나은환경의 WiFi 를 만들어서 사용하기 위함.
오류
무선랜카드 종류중에 rtl8188eu 사용하는 것이 호환성문제로 안됨
해결방법
위의 해당 git 에서 드라이브를 받아서 해결(드라이브는 커널의 버전과 맞춰야한다.)
자세한 설명은 git 안에 있는데 terminal 에서 쓰이는 명령어 정도만 적어놓겠다.
git 에서 down 받기.
git clone https://github.com/lwfinger/rtl8188eu.git
cd rtl8388eu/
make 를 통한 complie 을 해줘야하기 때문에 커널헤더가 필요함.
sudo apt-get update
sudo apt-get install raspberrypi-kernel-headers or sudo apt-get install bc build-essential
이제 compile 과 install 의 준비는 끝
Compiling
make all
Installing
sudo make install
해주고 나서,
Frequently asked Questions
The network manager says: "Device is not ready"!
Make sure you copied the firmware (rtl8188eufw.bin) to /lib/firmware/rtlwifi/
해당 문제는 rtl8188uefw.bin 이라는 bin 파일이 설치가 안되면 생기는 문제로 보통은
/lib/firmware/rtlwifi/
위의 폴더안에 설치가 되어있는데 만~약에 설치가 안되어있다면,
sudo apt-get update
sudo apt-get install firmware-realtek
을 해줘서 설치해준다.
NetworkManager does not list SSID
NetworkManager changes the Wi-Fi MAC address during scanning to improve privacy but this adapter does not support it. To address this issue, please create /etc/NetworkManager/conf.d/80-wifi.conf with content:
그리고 간혹가다 SSID 주소가 나열이 되지 않는데,
sudo nano /etc/NetworkManager/conf.d/80-wifi.conf 를 통해서 wifi config 파일을 만들어 아래의 내용을 채워넣어준다.
[device]
wifi.scan-rand-mac-address=no
and run systemctl restart NetworkManager
그리고나서 sudo systemctl restart NetworManager 를 해준다.
ps. 해당 드라이버를 찾아서 git 으로 깐거만 3개이상은 된거같다. 안되면 과감하게 다른 드라이버를 찾아서 설치하는게 맞는거 같다.