본문 바로가기
기술자료/라즈베리 파이

라즈베리파이3 B+ 내장(Built in) WIFI 끊김

by 와이즈캣 2020. 1. 10.
728x90
반응형

라즈베리파이3 B+의 경우 내장된 wifi를 쓸 수 있다.
그런데 이게 시간이 지나면 자동으로 끊긴다.
이유는 전력 관리 때문인데 이게 불편할 때가 있다.
설정으로 꺼 보려 했는데 빌트인 정보가 적다.
그러다 아래 정보를 찾았다.

https://www.raspberrypi.org/forums/viewtopic.php?t=194619
For the RPF built-in Broadcom (aka Cypress) WiFi/BT
there's no control for power management.
It's disabled by the kernel and the only thing you're seeing
is a bug in the iw / iwlist / iwconfig commands.

 

Disable power management in Stretch - Raspberry Pi Forums

Sat Nov 25, 2017 3:51 pm amcdonley wrote: ↑Sat Nov 25, 2017 3:04 pm added to /etc/rc.local: iwconfig wlan0 power off resulted in my Stretch Pi3 onboard wifi power management being permanently off. For my robot, this reduces the tx excessive retries by a fa

www.raspberrypi.org

커널에 의해 비활성화 되어 있다고 한다.
즉 수동으로 끄거나 커널 소스를 받아서 수정하고 재빌드해야 한다.
그래서 수동으로 끄고 이걸 반복하려면 스크립트화 시켜야 한다.

아래 방법으로 마무리했다.

vi /etc/rc.local 파일을 수정모드로 연다(root 권한 필요)

아래 코드를 exit 전에 삽입한다.

iwconfig wlan0 power off

라즈베리파이 유저들에게 조금이나마 도움이 되길 바랍니다.

728x90