last day (15 days later) » 

4:12 PM
0
A: lenovo e540 RTL8723be wifi not working

chili555The system natively includes the driver rtl8723be. We need to troubleshoot the native driver. Before we do so, please uninstall the two drivers you installed that caused kernel panics. Follow the process you followed previously for both, except instead of make and sudo make install, do sudo make ...

 
thanks, I uninstalled both drivers. No kernel panic now. But now I'm missing rtl8723be driver. modprobe: FATAL: Module rtl8723be not found.. How do I install it?
 
If you are running 14.04.1, it should be present by default. Let's see if we can locate it: sudo updatedb This will take a few moments, please be patient. Then: locate rtl8723be.ko In my case, among others: /lib/modules/3.13.0-35-generic/kernel/drivers/net/wireless/rtlwifi/rtl8723be/rtl‌​‌​8723be.ko
 
yep, its there: /lib/modules/3.13.0-32-generic/kernel/drivers/net/wireless/rtlwifi/rtl8723be/rt‌​‌​l8723be.ko
 
And is 3.13.0-32 the kernel you are running right now? uname -r Do you have temporary ethernet or other connectivity so you can update?
 
no, i'm running 3.13.0-35-generic.
 
4:12 PM
Please see my edit above.
 
after that reinstall I run locale rtl8723be and only on same kernel version was found :(
 
Did you first: sudo updatedb? What about sudo modprobe rtl8723be?
 
I tried it now, no change. Updated question with output of locate rtl8723be.
 
4:31 PM
Are you here, Lucas?
 
yes
 
So, after you reinstalled linux-image and did an updatedb, there is still bo rtl8723be???
*no
 
yes
there are some files, like you could see in my question, but not .ko file.
 
You see it in -32 but not -35?
 
yes
I edited my question with 'locate rtl8723be'
 
4:36 PM
And, when you did the reinstall of linux-image, you were connected to the internet and there were no errors, warnings, etc.?
no smoke? sparks? grinding noises? (just kidding!)
 
:D
no, didnt notice anything
I'll do it again and share output with you
 
I actually ran the reinstall myself and I have:
/lib/modules/3.13.0-27-generic/kernel/drivers/net/wireless/rtlwifi/rtl8723be/rtl8723be.ko
/lib/modules/3.13.0-29-generic/kernel/drivers/net/wireless/rtlwifi/rtl8723be/rtl8723be.ko
/lib/modules/3.13.0-30-generic/kernel/drivers/net/wireless/rtlwifi/rtl8723be/rtl8723be.ko
/lib/modules/3.13.0-32-generic/kernel/drivers/net/wireless/rtlwifi/rtl8723be/rtl8723be.ko
/lib/modules/3.13.0-33-generic/kernel/drivers/net/wireless/rtlwifi/rtl8723be/rtl8723be.ko
/lib/modules/3.13.0-34-generic/kernel/drivers/net/wireless/rtlwifi/rtl8723be/rtl8723be.ko
OK, thatnks. Since the output is likely to be lengthy, paste it here and give me the link: paste.ubuntu.com
 
Looks perfect. Now please do: sudo updatedb
 
no output there
 
4:46 PM
perfect. Now locate rtl8723be.ko
 
lucas03@alfonz:/etc/modprobe.d$ locate rtl8723be.ko
/lib/modules/3.13.0-32-generic/kernel/drivers/net/wireless/rtlwifi/rtl8723be/rtl8723be.ko
 
KK-KK-Krazy!
and you are booted into -35? uname -r
I know you are, actually
 
yep, I am
 
please show me: ls /lib/modules/3.13.0-35-generic/kernel/drivers/net/wireless/rtlwifi/
That's lower case for LS
ls
 
ls /lib/modules/3.13.0-35-generic/kernel/drivers/net/wireless/rtlwifi/
ls: cannot access /lib/modules/3.13.0-35-generic/kernel/drivers/net/wireless/rtlwifi/: No such file or directory
 
4:51 PM
Wow.
ls /lib/modules/3.13.0-35-generic/kernel/drivers/net/wireless/
Let's see how far up the chain has been deleted!
 
ls /lib/modules/3.13.0-35-generic/kernel/drivers/net/wireless/rtlwifi/
ls: cannot access /lib/modules/3.13.0-35-generic/kernel/drivers/net/wireless/rtlwifi/: No such file or directory
lucas03@alfonz:/etc/modprobe.d$ ls: cannot access /lib/modules/3.13.0-35-generic/kernel/drivers/net/wireless/rtlwifi/: No such file or directory
No command 'ls:' found, did you mean:
Command 'lsw' from package 'suckless-tools' (universe)
Command 'lsh' from package 'lsh-client' (universe)
Command 'ls' from package 'coreutils' (main)
sorry for those extra lines
I accidently copied them
 
Wow! coreutils isn't installed?? sudo apt-get install coreutils
Is this a minimal install or...what??
 
it is
Reading package lists... Done
Building dependency tree
Reading state information... Done
coreutils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
 
You didn't accidently type upper case I did you, instead of lower case L?
It looks like you found the command ls here: ls: cannot access /lib/modules/3.13.0-35-generic/kernel/drivers/net/wireless/rtlwifi/: No such file or directory
 
I don't understand
where should I type upper case L?
 
4:59 PM
You got a notification here: No command 'ls:' found, did you mean:
Command 'lsw' from package 'suckless-tools' (universe)
Command 'lsh' from package 'lsh-client' (universe)
Command 'ls' from package 'coreutils' (main)
Command 'lsx' from package 'suckless-tools' (universe)
ls:: command not found
 
I accidently paste output that I was copying for you
 
Oh, OK, I am relieved!
 
no
wait
sorry
I did not copy it correctly
 
No problem, go ahead.
 
lucas03@alfonz:/etc/modprobe.d$ ls /lib/modules/3.13.0-35-generic/kernel/drivers/net/wireless/
adm8211.ko at76c50x-usb.ko atmel.ko b43legacy hostap iwlwifi mac80211_hwsim.ko orinoco rndis_wlan.ko ti zd1211rw
airo_cs.ko ath atmel_pci.ko brcm80211 ipw2x00 libertas mwifiex p54 rt2x00 wl3501_cs.ko
airo.ko atmel_cs.ko b43 cw1200 iwlegacy libertas_tf mwl8k.ko ray_cs.ko rtl818x zd1201.ko
 
5:02 PM
So it seems that you have everything BUT what you need!
 
yep
rtlwifi is missing
 
Do you have linux-headers, do you know?
 
I think so
should I reinstall those?
 
sudo dpkg -s linux-headers-generic
-s is for 'status'
 
lucas03@alfonz:/etc/modprobe.d$ sudo dpkg -s linux-headers-generic
Package: linux-headers-generic
Status: install ok installed
Priority: optional
Section: kernel
Installed-Size: 28
Maintainer: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com>
Architecture: amd64
Source: linux-meta
Version: 3.13.0.35.42
Depends: linux-headers-3.13.0-35-generic
Description: Generic Linux kernel headers
This package will always depend on the latest generic kernel headers
available.
 
5:07 PM
awesome! Get this file and drag and drop it to your desktop: kernel.org/pub/linux/kernel/projects/backports/stable/v3.14/…
Right-click it and select 'Extract Here.'
Now,in a terminal:
cd ~/Desktop/backports-3.14-1
make defconfig-rtlwifi
make
and if all goes well, that is without error:
sudo make install
I will munch on my pizza while you proceed.
 
I installed that
but there is no rtl8723be
 
Checking...
 
5:24 PM
So why, oh why, is it present in 3.13 but not 3.14?? (A rhetorical question)
 
:)
can't I just copy that file from kernel 32?
 
Probably not. Did you already ty any backports package?
 
no
(don't know what that is actually)
 
I mean, you can certainly try, but who knows what might happen. Nothing harmful, but it just might spit out an error and refuse to work
Let's try, just for fun
sudo mkdir /lib/modules/3.13.0-35-generic/kernel/drivers/net/wireless/rtlwifi
sudo cp /lib/modules/3.13.0-32-generic/kernel/drivers/net/wireless/rtlwifi/rtl8723be.ko /lib/modules/3.13.0-35-generic/kernel/drivers/net/wireless/rtlwifi
sudo modprobe rtl8723be
note and post any errors or warnings
Nope, I have that wrong
stop
 
ok
but there are more files
shouldnt I copy them all?
lucas03@alfonz:/lib/modules/3.13.0-32-generic/kernel/drivers/net/wireless/rtlwifi$ ls
btcoexist rtl8723be rtlwifi.ko
 
5:32 PM
no, stop. I will start over.
 
first two are directories
ok
 
rtl8723be has many dependencies. depends: rtlwifi,rtl8723-common,rtl_pci,btcoexist,mac80211
we'd have to copy all and their directories.
 
may be it would be better to just delete kernel 35
 
in less time, we can compile the right package
no
I already compiled it and it does contain rtl8723be
cd ~/Desktop/backports-3.16-1
make defconfig-rtlwifi
make
and if all goes well, that is without error:
sudo make install
/home/chili/Downloads/backports-3.16-1/drivers/net/wireless/rtlwifi/rtl8723ae/rt‌​l8723ae.ko
sorry, I meant:
/home/chili/Downloads/backports-3.16-1/drivers/net/wireless/rtlwifi/rtl8723be/rt‌​l8723be.ko
After sudo make install, try:
sudo modprobe rtl8723be
It will install the driver and all it's little dependencies the right way in the right places
 
no errors, so I'm running sudo make install
 
5:41 PM
woohoo!
 
but I don't get your reply with filepaths.
 
just to show that the 3.16 package DOES include rtl8723be
 
cant read private key?
 
no prob
sudo modprobe rtl8723be
 
no error :)
no output
 
5:44 PM
when you click the Network Manager icon, can you see wireless networks?
 
no
 
any clues showing here: dmesg | grep rtl
 
yep, error
[16863.848013] rtl8723be: Using firmware rtlwifi/rtl8723befw.bin
[16863.848298] rtl8723be 0000:05:00.0: Direct firmware load failed with error -2
[16863.848301] rtl8723be 0000:05:00.0: Falling back to user helper
[16863.848718] rtlwifi: Firmware rtlwifi/rtl8723befw.bin not available
 
That's an easy one! Jus sec
sudo apt-get install --reinstall linux-firmware
did that go OK?
 
yes
just installed
 
5:51 PM
sudo modprobe -r rtl8723be && sudo modprobe rtl8723be
 
wifi appeared! Thanks!
 
dmesg | grep rtl <--did iy find and load the firmware?
woohoo!
 
[17375.726277] rtl8723be: Using firmware rtlwifi/rtl8723befw.bin
[17375.730394] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[17375.730635] rtlwifi: wireless switch is on
i'm going to try it out
 
Please detach the ethernet and connect with wireless, tell me if it's stable
 
it works. But I had problems, that after few minutes or hours I got disconnected
should I disable sleep mode or something like that?
In case I ran into these problems again, should I create new question?
 
5:55 PM
There are a couple of things to look at. Is power management on or off? iwconfig
 
eth0 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"Lolco-home ;)"
Mode:Managed Frequency:2.452 GHz Access Point: 00:25:9C:BD:15:FA
Bit Rate=150 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-10 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:30 Missed beacon:0
 
If you have the problem again, email me and we'll come back to this chat and work on it: wrweston@ubuntu.com
 
ok, thanks a lot! have a good day!
 
you are using a newer driver version, from kernel 3.16 updated from the kernel you are running 3.13
See ya, Lucas! Good luck!
 

last day (15 days later) »