OS : ubuntu 24.05 LTS
Rancard : A3000UA
Wifi driver : Realtek RTL88x2bu
우분투가 설치되어 있는 PC에 무선 랜카드를 연결 시 네트워크 장치로
인식하지 않아 인터넷 연결이 불가능한 상태
(윈도우와 달리 우분투 환경에서는
무선 랜카드의 드라이버를 직접 설치해줘야 하는 듯하다)
우선 무선 랜카드, 외부 인터넷을 이용하는 유선랜을 PC에 연결 후
다음과 같은 명령어로 연결되어 있는 USB 목록들을 확인한다.
lsusb
// 출력
Bus 004 - - -
Bus 005 Device 003: ID 0bda:b812 Realtek Semiconductor Corp. RTL88x2bu
Bus 006 - - -
본인은 깃허브 페이지를 이용하여 다음과 같이 해당 드라이버를 설치했다.
https://github.com/RinCat/RTL88x2BU-Linux-Driver
sudo apt update
sudo apt install dkms bc git
git clone https://github.com/RinCat/RTL88x2BU-Linux-Driver
cd RTL88x2BU-Linux-Driver
sudo apt install build-essential dkms // tool chain 설치
make clean %% make // 커널 드라이버 컴파일
sudo make install // 커널 드라이버 설치
무선 네트워크를 연결하는 여러가지 방법중 본인은 yaml을 통해 네트워크에 연결했다.
sudo apt-get install wireless-tools wpasupplicant // iwlist등 명령어 사용을 위한 패키지 다운로드
iwconfig // 기기 인터페이스 확인
sudo vi /etc/netplan/50-cloud-init.yaml // vi 편집
network:
ethernets:
enp7s0:
dhcp4: true
optional: true
version: 2
wifis:
wlx588694fc889f:
optional: true
access-points:
"wifi-name"
password: "password"
dhcp4: true
설정 후 재부팅
sudo reboot