motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.84k stars 898 forks source link

RT5370 for RPI 3 #2720

Closed straytachyon closed 3 years ago

straytachyon commented 3 years ago

Hi, can you please tell me how to turn on wlan01? I added the following lines to /boot/config.txt

wifi

blacklist brcmfmac blacklist brcmutil

but the driver for the built-in wifi adapter still gets loaded and wlan01 still don't connect to the network

Thanks

Preliminary Docs

I confirm that I have read the CONTRIBUTING guide before opening this issue.

I confirm that I have read the FAQ before opening this issue.

motionEyeOS Version

I am running motionEyeOS version: 20200606.

Board Model

I am using the following board/model: Raspberry PI 3B+

Camera

I am using the following type of camera:

My camera model is: https://www.aliexpress.com/item/Raspberry-Pi3-Camera-Fisheye-Wide-angle-175-Degree-Camera-5MP-OV5647-Webcam-with-IR-CUT-Automatically/32982250982.html

Network Connection

My motionEyeOS unit is connected to the network via: WiFI

Peripherals

I am using the following peripherals that I consider relevant to this issue:

USB WiFi adapter https://www.aliexpress.com/item/W90-Wireless-WiFi-USB-Dongle-Adapter-Stick-RT5370-Skybox-Openbox-Vu-plus-Cloud-iBox-Adapter-WiFi/1005001471004481.html

Log Files

[root@rpi3 etc]# lsusb Bus 001 Device 001: ID 1d6b:0002 Bus 001 Device 003: ID 0424:ec00 Bus 001 Device 002: ID 0424:9514 Bus 001 Device 004: ID 148f:5370

[root@rpi3 ~]# lsmod Module Size Used by Tainted: G ipv6 458752 26 [permanent] arc4 16384 2 rt2800usb 28672 0 rt2800lib 106496 1 rt2800usb rt2x00usb 24576 1 rt2800usb rt2x00lib 57344 3 rt2800usb,rt2800lib,rt2x00usb brcmfmac 315392 0 mac80211 708608 3 rt2800lib,rt2x00usb,rt2x00lib cfg80211 643072 3 rt2x00lib,brcmfmac,mac80211 crc_ccitt 16384 1 rt2800lib

[root@rpi3 etc]# iwconfig eth0 no wireless extensions.

wlan1 IEEE 802.11 ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm Retry short long limit:2 RTS thr:off Fragment thr:off Encryption key:off Power Management:off

wlan0 IEEE 802.11 ESSID:"RCMP_van" Mode:Managed Frequency:2.412 GHz Access Point: 2C:FD:A1:62:71:12 Bit Rate=65 Mb/s Tx-Power=31 dBm Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=52/70 Signal level=-58 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0

straytachyon commented 3 years ago

Never mind,

mount -o remount,rw / nano /etc/modprobe.d/raspi-blacklist.conf

added

wifi

blacklist brcmfmac blacklist brcmutil

reboot and now the wifi is using the dongle