Lenovo E480 with realtek RTL8168 /8111 cant connect to wifi :(

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
User avatar
javiDLG
Level 2
Level 2
Posts: 79
Joined: Fri Jan 16, 2015 10:12 am

Lenovo E480 with realtek RTL8168 /8111 cant connect to wifi :(

Post by javiDLG » Mon Jul 09, 2018 6:49 pm

I´ve followed this https://medium.com/@lgobinath/no-ether ... e2779dc9b8 but didn't work. I'm going crazy. Please somebody help me. I dont have wifi connection...thank you lenovo :(

JeremyB
Level 19
Level 19
Posts: 9153
Joined: Fri Feb 21, 2014 8:17 am

Re: Lenovo E480 with realtek RTL8168 /8111 cant connect to wifi :(

Post by JeremyB » Mon Jul 09, 2018 6:50 pm

Can you connect to ethernet? If so see the wireless script link in my signature and post results.

The RTL8168 is actually an ethernet device, not wifi

User avatar
javiDLG
Level 2
Level 2
Posts: 79
Joined: Fri Jan 16, 2015 10:12 am

Re: Lenovo E480 with realtek RTL8168 /8111 cant connect to wifi :(

Post by javiDLG » Mon Jul 09, 2018 7:10 pm

Thank you so much jeremy for the quick answer. Here it is:

Code: Select all

########## wireless info START ##########

Report from: 09 Jul 2018 20:08 -03 -0300

Booted last: 09 Jul 2018 00:00 -03 -0300

Script from: 10 Jan 2018 20:04 UTC +0000

##### release ###########################

Distributor ID:	LinuxMint
Description:	Linux Mint 18.2 Sonya
Release:	18.2
Codename:	sonya

##### kernel ############################

Linux 4.8.0-53-generic #56~16.04.1-Ubuntu SMP Tue May 16 01:18:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=7

##### desktop ###########################

MATE

##### lspci #############################

03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
	Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:5068]
	Kernel driver in use: r8168

05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b822]
	Subsystem: Lenovo Device [17aa:b024]

06:00.0 SD Host controller [0805]: O2 Micro, Inc. Device [1217:8621] (rev 01)

##### lsusb #############################

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 04f2:b604 Chicony Electronics Co., Ltd 
Bus 001 Device 006: ID 0bda:b023 Realtek Semiconductor Corp. 
Bus 001 Device 003: ID 045e:07b2 Microsoft Corp. 
Bus 001 Device 002: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 102/2.0 / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

1: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: yes
	Hard blocked: no
3: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

##### lsmod #############################

wmi                    16384  0

##### interfaces ########################

[/etc/network/interfaces]
auto lo
iface lo inet loopback

##### ifconfig ##########################

enp3s0    Link encap:Ethernet  HWaddr <MAC 'enp3s0' [IF1]>  
          inet addr:192.168.1.8  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::cdcc:5a3f:125:ee2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3456 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2966 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2639613 (2.6 MB)  TX bytes:626341 (626.3 KB)
          Interrupt:130 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1289 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1289 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:109746 (109.7 KB)  TX bytes:109746 (109.7 KB)

##### iwconfig ##########################

enp3s0    no wireless extensions.

lo        no wireless extensions.

##### route #############################

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    100    0        0 enp3s0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 enp3s0
192.168.1.0     0.0.0.0         255.255.255.0   U     100    0        0 enp3s0

##### resolv.conf #######################

nameserver 127.0.1.1
search Home

##### network managers ##################

Installed:

	NetworkManager

Running:

root       951     1  0 19:20 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE:                         enp3s0
GENERAL.TYPE:                           ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.VENDOR:                         Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT:                        RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
GENERAL.DRIVER:                         r8168
GENERAL.DRIVER-VERSION:                 8.045.08-NAPI
GENERAL.FIRMWARE-VERSION:               
GENERAL.HWADDR:                         <MAC 'enp3s0' [IF1]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/net/enp3s0
GENERAL.IP-IFACE:                       enp3s0
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     Conexión cableada 1
GENERAL.CON-UUID:                       3d90a2b4-f546-3195-a43e-54797e7b3c51
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/2
GENERAL.METERED:                        no (guessed)
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                     100 Mb/s
CAPABILITIES.IS-SOFTWARE:               no
WIRED-PROPERTIES.CARRIER:               on
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{16}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   3d90a2b4-f546-3195-a43e-54797e7b3c51 | Conexión cableada 1
IP4.ADDRESS[1]:                         192.168.1.8/24
IP4.GATEWAY:                            192.168.1.1
IP4.ROUTE[1]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             192.168.1.1
IP4.DOMAIN[1]:                          Home
DHCP4.OPTION[1]:                        requested_routers = 1
DHCP4.OPTION[2]:                        requested_domain_search = 1
DHCP4.OPTION[3]:                        requested_time_offset = 1
DHCP4.OPTION[4]:                        requested_domain_name = 1
DHCP4.OPTION[5]:                        requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[6]:                        requested_broadcast_address = 1
DHCP4.OPTION[7]:                        requested_netbios_scope = 1
DHCP4.OPTION[8]:                        requested_wpad = 1
DHCP4.OPTION[9]:                        next_server = 0.0.0.0
DHCP4.OPTION[10]:                       expiry = 1531263996
DHCP4.OPTION[11]:                       requested_interface_mtu = 1
DHCP4.OPTION[12]:                       requested_subnet_mask = 1
DHCP4.OPTION[13]:                       routers = 192.168.1.1
DHCP4.OPTION[14]:                       dhcp_message_type = 5
DHCP4.OPTION[15]:                       ip_address = 192.168.1.8
DHCP4.OPTION[16]:                       requested_static_routes = 1
DHCP4.OPTION[17]:                       domain_name = Home
DHCP4.OPTION[18]:                       requested_domain_name_servers = 1
DHCP4.OPTION[19]:                       broadcast_address = 192.168.1.255
DHCP4.OPTION[20]:                       requested_ntp_servers = 1
DHCP4.OPTION[21]:                       requested_netbios_name_servers = 1
DHCP4.OPTION[22]:                       dhcp_lease_time = 86400
DHCP4.OPTION[23]:                       domain_name_servers = 192.168.1.1
DHCP4.OPTION[24]:                       requested_ms_classless_static_routes = 1
DHCP4.OPTION[25]:                       subnet_mask = 255.255.255.0
DHCP4.OPTION[26]:                       network_number = 192.168.1.0
DHCP4.OPTION[27]:                       requested_host_name = 1
DHCP4.OPTION[28]:                       dhcp_server_identifier = 192.168.1.1
IP6.ADDRESS[1]:                         fe80::cdcc:5a3f:125:ee2/64
IP6.GATEWAY:                            

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/Javi Wifi 1]] (600 root)
[connection] id=Javi Wifi 1 | type=wifi | permissions=user:javi:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=Javi Wifi
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/UTDT]] (600 root)
[connection] id=UTDT | type=wifi | permissions=user:javi:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=UTDT
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/EXACTAS-UBA]] (600 root)
[connection] id=EXACTAS-UBA | type=wifi | permissions=user:javi:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=EXACTAS-UBA
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/c329b8]] (600 root)
[connection] id=c329b8 | type=wifi | permissions=user:javi:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=c329b8
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/cbc-docentes]] (600 root)
[connection] id=cbc-docentes | type=wifi | permissions=user:javi:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=cbc-docentes
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/ALUMNOS]] (600 root)
[connection] id=ALUMNOS | type=wifi | permissions=user:javi:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=ALUMNOS
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Javi Wifi cel]] (600 root)
[connection] id=Javi Wifi cel | type=wifi | permissions=user:javi:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=Javi Wifi cel
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/TP-LINK_616246]] (600 root)
[connection] id=TP-LINK_616246 | type=wifi | permissions=user:javi:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=TP-LINK_616246
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/ELEUTERIO]] (600 root)
[connection] id=ELEUTERIO | type=wifi | permissions=user:javi:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=ELEUTERIO
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/yamib16]] (600 root)
[connection] id=yamib16 | type=wifi | permissions=user:javi:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=yamib16
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Javi-WiFi]] (600 root)
[connection] id=Javi-WiFi | type=wifi | permissions=user:javi:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=Javi-WiFi
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/WiFi-Arnet-61d1]] (600 root)
[connection] id=WiFi-Arnet-61d1 | type=wifi | permissions=user:javi:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=WiFi-Arnet-61d1
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/CECEN]] (600 root)
[connection] id=CECEN | type=wifi | permissions=user:javi:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=CECEN
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/YPF FULL - El Mejor Café]] (600 root)
[connection] id=YPF FULL - El Mejor Café | type=wifi | permissions=user:javi:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=89;80;70;32;70;85;76;76;32;45;32;69;108;32;77;101;106;111;114;32;67;97;102;195;169;
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Javi Wifi]] (600 root)
[connection] id=Javi Wifi | type=wifi | permissions=user:mint:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=Javi Wifi
[ipv4] method=auto
[ipv6] method=auto

##### Netplan config ####################

##### iw reg get ########################

Region: America/Argentina/Buenos_Aires (based on set time zone)

country 00: DFS-UNSET
	(2402 - 2472 @ 40), (6, 20), (N/A)
	(2457 - 2482 @ 20), (6, 20), (N/A), PASSIVE-SCAN
	(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
	(5170 - 5250 @ 80), (6, 20), (N/A), PASSIVE-SCAN
	(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, PASSIVE-SCAN
	(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
	(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
	(57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################

enp3s0    no frequency information.

lo        no frequency information.

##### iwlist scan #######################

enp3s0    Interface doesn't support scanning.

lo        Interface doesn't support scanning.

##### module infos ######################

##### module parameters #################

##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en

##### rc.local ##########################

exit 0

##### pm-utils ##########################

##### udev rules ########################

##### dmesg #############################

[ 1851.823777] [drm] GuC firmware load skipped
[ 1852.672266] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
[ 1852.672268] Bluetooth: rtl: assuming no firmware upload needed.
[ 1852.734362] Bluetooth: hci0: rtl: examining hci_ver=07 hci_rev=000b lmp_ver=07 lmp_subver=8822
[ 1852.734364] Bluetooth: rtl: assuming no firmware upload needed.
[ 1853.285817] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[ 1853.286364] enp3s0: 0xffffbfc040032000, <MAC 'enp3s0' [IF1]>, IRQ 130
[ 1853.338251] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[ 1856.408261] r8168: enp3s0: link up
[ 1856.408283] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready

########## wireless info END ############
Last edited by JeremyB on Mon Jul 09, 2018 7:12 pm, edited 1 time in total.
Reason: code tags added

JeremyB
Level 19
Level 19
Posts: 9153
Joined: Fri Feb 21, 2014 8:17 am

Re: Lenovo E480 with realtek RTL8168 /8111 cant connect to wifi :(

Post by JeremyB » Mon Jul 09, 2018 7:22 pm

I think the first issue is to get you on a supported kernel with the latest security updates. Go into the Update Manager, click View/Linux kernels, select 4.4 on the left and find the highest numbered version on the right side, choose install. After that is done, reboot, hold Shift key or ESC depending on install until Grub Menu appears, choose Advanced Options and scroll down to the first 4.4 kernel entry and press enter. Once booted into 4.4, if everything except wifi is ok, then use the Update Manager view/linux kernels, click on 4.8 and remove the old 4.8 kernel.

If 4.4 doesn't work correctly, install 4.15.0-23 and reboot, it should boot into 4.15.0-23 by default.

After finding a kernel that supports the other hardware, I think 4.4 would then in terminal do

Code: Select all

sudo apt-get install git dkms build-essential
git clone -b extended https://github.com/lwfinger/rtlwifi_new.git
sudo dkms add ./rtlwifi_new
sudo dkms install rtlwifi-new/0.6
cd /lib/firmware/rtlwifi
sudo wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtlwifi/rtl8822befw.bin
If this computer is EFI, then go into BIOS/UEFI settings after reboot and disable Secure Boot, it should work fine then

User avatar
javiDLG
Level 2
Level 2
Posts: 79
Joined: Fri Jan 16, 2015 10:12 am

Re: Lenovo E480 with realtek RTL8168 /8111 cant connect to wifi :(

Post by javiDLG » Mon Jul 09, 2018 7:45 pm

Thank you Jeremy! Can this be done with a live bootable USB? I meant, I have a booteable for mate 18.3 . Thus I can skip the upgrading kernel step?

I was planning to make a fresh install because this is my old disk and is a kind of a mess.

JeremyB
Level 19
Level 19
Posts: 9153
Joined: Fri Feb 21, 2014 8:17 am

Re: Lenovo E480 with realtek RTL8168 /8111 cant connect to wifi :(

Post by JeremyB » Mon Jul 09, 2018 7:52 pm

It can't be done in Live USB as the process needs a reboot. I would try installing LM 18(original) or LM 19. If Linux Mint 19 works for you, I would use it
After a reboot into the installed version run

Code: Select all

sudo apt update
before the commands in posting.php?mode=reply&f=53&t=272876#pr1492981

User avatar
javiDLG
Level 2
Level 2
Posts: 79
Joined: Fri Jan 16, 2015 10:12 am

Re: Lenovo E480 with realtek RTL8168 /8111 cant connect to wifi :(

Post by javiDLG » Mon Jul 09, 2018 8:29 pm

YEEEEEEEEESSSS JEREMY!! It worked :D :D :D :D . I followed the changing to the 4.4 kernel way. Now that I know that the problem has a solution, I want to upgrade to mint 18.3 (I would say 19 but read several people having trouble :( ). Let me know if I understood this: After the install, run

Code: Select all

sudo apt update
Then fallow the same steps. It this right?

Thank you so much for your help! It was priceless to me!

JeremyB
Level 19
Level 19
Posts: 9153
Joined: Fri Feb 21, 2014 8:17 am

Re: Lenovo E480 with realtek RTL8168 /8111 cant connect to wifi :(

Post by JeremyB » Mon Jul 09, 2018 8:56 pm

I think it will not be an issue updating to LM 18.3 and wifi should work after you reboot

User avatar
javiDLG
Level 2
Level 2
Posts: 79
Joined: Fri Jan 16, 2015 10:12 am

Re: Lenovo E480 with realtek RTL8168 /8111 cant connect to wifi :(

Post by javiDLG » Tue Jul 10, 2018 11:06 am

Jeremy I now confirm it: I was able to make a fresh install of mint 18.3 and fallowing the steps finally worked!! Bravo clap clap clap :D

Post Reply

Return to “Wireless”