COSMOSRKSI
방명록 RSS 태그 글쓰기 관리자
 
우분투 20.04 rtl8825be 와이파이, 블루투스 드라이버 설치 방법
Linux 2024-02-05 22:28:05

legion LOQ 노트북에 ROS noetic을 사용하기 위해 우분투 20.04 버전을 설치하고 보니 와이파이와 블루투스가 안잡힌다....

 

찾아보니, rtl8825be는 커널 버전이 5.18이상 부터 지원이 되는거 같다.

 

하지만 내가 설치한 20.04의 커널 버전은 5.15이다....

 

아래는 커널 버전이 달라도 우분투 20.04에서 rtl8825be 드라이버 설치 방법을 소개한다.

 

1.

build-essential 설치

 

2.

BIOS에서 security boot 끄기(disable)

 

3. 와이파이 드라이버 설치

커널 버전이 5.18보다 낮으면

git clone https://github.com/HRex39/rtl8852be.git
cd rtl8852be
make -j8
sudo make install
sudo modprobe 8852be

 

커널 버전이 5.18보다 높으면

git clone https://github.com/HRex39/rtl8852be.git -b dev
cd rtl8852be
make -j8
sudo make install
sudo modprobe 8852be

 

4. 재부팅

sudo reboot

 

5. 블루투스 드라이버 설치

git clone https://github.com/HRex39/rtl8852be_bt.git

cd rtl8852be_bt

make

sudo make install

 

6. 재부팅

sudo reboot

 

아마 일련의 과정을 잘 따라 했다면 해결 되었을 것이다.

 

참고자료

1. https://askubuntu.com/questions/1412219/how-to-solve-no-wi-fi-adapter-found-error-with-realtek-rtl8852be-wifi-6-802-11

 

How to solve "No Wi-Fi Adapter Found" error with Realtek RTL8852BE WiFi 6 802.11ax PCIe in Ubuntu 22.04?

I have a dual boot with Ubuntu 22.04 and Windows 11 freshly installed, but my Wi-Fi is not working. It states that "No Wi-Fi Adapter Found". The card is a Realtek RTL8852BE WiFi 6 802.11a...

askubuntu.com

2. https://github.com/HRex39/rtl8852be?tab=readme-ov-file

 

GitHub - HRex39/rtl8852be: Realtek Linux WLAN Driver for RTL8852BE

Realtek Linux WLAN Driver for RTL8852BE. Contribute to HRex39/rtl8852be development by creating an account on GitHub.

github.com

3. https://github.com/HRex39/rtl8852be_bt

 

GitHub - HRex39/rtl8852be_bt: Realtek Linux Bluetooth Driver for RTL8852BE

Realtek Linux Bluetooth Driver for RTL8852BE . Contribute to HRex39/rtl8852be_bt development by creating an account on GitHub.

github.com

 



ROS_DISTRO was set to 'noetic' before 문제 해결 방법
ROS(Robot Operating System) 2024-01-24 16:10:53

ros1과 ros2를 같이 설치하였을 때 생기는 문제이다.

 

해결 방법은 아래와 같이 bashrc에서 ros1과 ros2를 source하는 부분을 주석 처리하는 방법이다.



[vscode] cygwin으로 설치한 gdb로 c++ 디버깅 안될 때 해결방법
Program language/C++ 2023-07-24 18:20:37

gdb 버전을 9.2.1로 다운그레이드 하면 해결됨

 


turtlebot3(터틀봇3)에 Humble 설치 시 유의사항
ROS(Robot Operating System) 2023-06-27 10:35:15

robotis에서 제공하는 e-manual 있는 것 처럼 설치 시 터틀봇에 험블이 설치가 안되는 경우가 있을 수 있다.

 

SBC setup에서 13번 항 파이썬 관련 패키지 설치 시 

 

python3-colcon-common-extensions에서 아래와 같은 오류가 발생하면

 

unable to locate package python3-colcon-common-extensions

 

다음과 같은 절차를 걸처 해결할 수 있다.

 

pip3 install -U colcon-common-extensions

 

만약 pip가 설치되어 있지 않다고 하면 설치하면 된다.

 

 

다시 13번항에서 

 

sudo apt install ros-humble-hls-lfcd-lds-driver 등 ros관련 패키지가 설치가 안된다면 터틀봇의 repository를 업데이트 해야한다.

 

ROS의 공식 문서에 나온 것 처럼 아래 상기 절차를 걸치면 설치가 가능하다.

 

sudo apt install software-properties-common
sudo add-apt-repository universe

 

sudo apt update && sudo apt install curl -y
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg

 

echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null

 

sudo apt update

sudo apt upgrade

 

13번 항에서 colcon build 시 에러가 나는 경우 파이썬 3.10을 설치 해야한다. 

아래 주소에서 설치 하면 된다.

https://computingforgeeks.com/how-to-install-python-on-ubuntu-linux-system/

 

[레퍼런스]

1. https://answers.ros.org/question/345846/installing-ros2-dashing-from-source-fails-ubuntu-1910-eoan/

 

Installing ROS2-Dashing from source fails (Ubuntu 19.10 eoan) - ROS Answers: Open Source Q&A Forum

Installing ROS2-Dashing from source fails (Ubuntu 19.10 eoan) edit I'm interested in working with rclcpp, so I've decided to install ROS2 (Dashing) by building it from source, on a system with a fresh upgrade to Ubuntu 19.10 eoan. I am using this guide fro

answers.ros.org

2. https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html

 



이 사이트에는
넥슨코리아에서 제공한 넥슨 Lv.1 고딕 Regular체,
카페24가 제작한 아네모네체,
Cadson Demak가 디자인한 Kanit체,
Sandoll이 디자인한 나눔고딕체가
적용되어 있습니다.
멋진 폰트를 무료로 제공해주셔서 감사합니다.

Copyleft ⓒ bskyvision (블루스킨 v1.2)