No Wifi with Realtek RTL8723BE on Ubuntu 16.04

philippe dalet philippe.dalet at ac-toulouse.fr
Sun Jul 30 13:14:48 UTC 2017


Le Sun, 30 Jul 2017 18:17:52 +0530,
Sreyan Chakravarty <sreyan.mailing at gmail.com> a écrit :

> I have installed Ubuntu 16.04 on my laptop alongside Windows 10. I am
> unable to access my home Wifi because of a very weak signal even if I
> keep the laptop near the router.
> 
> I have tried installing the driver as per the instructions over here
> 
> https://askubuntu.com/questions/635625/how-do-i-get-a-realtek-rtl8723be-wireless-card-to-work/635629#635629
> 
> But I keep getting the following error when I am installing my
> driver-:
> 
> (Reading database ... 174937 files and directories currently
> installed.) Preparing to unpack rtlwifi-new-dkms_0.10_all.deb ...
> 
> ------------------------------
> Deleting module version: 0.10
> completely from the DKMS tree.
> ------------------------------
> Done.
> Unpacking rtlwifi-new-dkms (0.10) over (0.10) ...
> Setting up rtlwifi-new-dkms (0.10) ...
> Loading new rtlwifi-new-0.10 DKMS files...
> First Installation: checking all kernels...
> Building only for 4.8.0-36-generic
> Building for architecture x86_64
> Building initial module for 4.8.0-36-generic
> Error! Bad return status for module build on kernel: 4.8.0-36-generic
> (x86_64) Consult /var/lib/dkms/rtlwifi-new/0.10/build/make.log for
> more information.
> 
> 
> The contents of make.log are as follows-:
> 
> DKMS make.log for rtlwifi-new-0.10 for kernel 4.8.0-36-generic
> (x86_64) Sun Jul 30 17:10:27 IST 2017
> make: Entering directory '/usr/src/linux-headers-4.8.0-36-generic'
>   LD      /var/lib/dkms/rtlwifi-new/0.10/build/built-in.o
>   CC [M]  /var/lib/dkms/rtlwifi-new/0.10/build/base.o
> In file included
> from /var/lib/dkms/rtlwifi-new/0.10/build/base.c:30:0: /var/lib/dkms/rtlwifi-new/0.10/build/wifi.h:1327:40:
> error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function)
>   struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS];
>                                         ^
> /var/lib/dkms/rtlwifi-new/0.10/build/base.c:138:10: error:
> ‘IEEE80211_BAND_2GHZ’ undeclared here (not in a function)
>   .band = IEEE80211_BAND_2GHZ,
>           ^
> /var/lib/dkms/rtlwifi-new/0.10/build/base.c:150:10: error:
> ‘IEEE80211_BAND_5GHZ’ undeclared here (not in a function)
>   .band = IEEE80211_BAND_5GHZ,
>           ^
> scripts/Makefile.build:289: recipe for target
> '/var/lib/dkms/rtlwifi-new/0.10/build/base.o' failed
> make[1]: *** [/var/lib/dkms/rtlwifi-new/0.10/build/base.o] Error 1
> Makefile:1491: recipe for target
> '_module_/var/lib/dkms/rtlwifi-new/0.10/build' failed
> make: *** [_module_/var/lib/dkms/rtlwifi-new/0.10/build] Error 2
> make: Leaving directory '/usr/src/linux-headers-4.8.0-36-generic'
> 
> 
> Is there any way I can get the wifi to work ? It works fine on
> Windows with the Realtek RTL8723BE driver.
> 
> Why is Wifi so buggy on linux ?
> 
> Let me know if any other info is needed from my side.
> 
> Regards,
> Sreyan

Hi,

On my computer, I have to compile the source with the new kernel.

for rtl8188eu I use this script

#!/bin/sh
echo "https://github.com/lwfinger/rtl8188eu"
echo "MUST be built with the new Kernel\n"
make clean
make all
sudo make install
echo ""
echo "test rtl8188eufw.bin"
cd /lib/firmware/rtlwifi/
ls
(echo 'Pause .....';read nom)



Philippe





More information about the ubuntu-users mailing list