disable random mac address in NetworkManager configuration to fix driver unsupported set-hw-addr [release 20161026git-3mamba;Thu Mar 02 2017]

This commit is contained in:
Silvan Calarco 2024-01-05 17:31:40 +01:00
parent 52f7bfbdf0
commit ac2fa19f35

View File

@ -1,6 +1,6 @@
Name: rtl8723bs
Version: 20161026git
Release: 2mamba
Release: 3mamba
Summary: Realtek SDIO Wi-Fi driver
Group: System/Kernel and Hardware
Vendor: openmamba
@ -59,6 +59,12 @@ REMAKE_INITRD=no
AUTOINSTALL=yes
_EOF
install -d -m0755 %{buildroot}%{_sysconfdir}/NetworkManager/conf.d
cat > %{buildroot}%{_sysconfdir}/NetworkManager/conf.d/20-r8723bs-no-rand-mac-address.conf << _EOF
[device]
wifi.scan-rand-mac-address=no
_EOF
%check
for d in /lib/modules/4.*/build; do
kver=`echo $d|sed "s|/lib/modules/\(.*\)/build.*|\1|"`
@ -90,11 +96,15 @@ fi
%files
%defattr(-,root,root)
%{_sysconfdir}/NetworkManager/conf.d/20-r8723bs-no-rand-mac-address.conf
%dir %{_prefix}/src/%{name}-%{version}
%{_prefix}/src/%{name}-%{version}/*
/lib/firmware/rtlwifi/rtl8723bs_*.bin
%changelog
* Thu Mar 02 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 20161026git-3mamba
- disable random mac address in NetworkManager configuration to fix driver unsupported set-hw-addr
* Tue Jan 31 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 20161026git-2mamba
- install firmware files in /lib/firwmare/rtlwifi