Code: Select all
by JeremyB » Sat May 12, 2018 4:58 pm This is the new way..never build again for a 4.13 kernel
Sat May 12 17:03:51 CDT 2018 this is for the ASUS laptop
sudo apt-get install git dkms
git clone https://github.com/neurobin/MT7630E.git
sudo dkms add ./MT7630E
sudo dkms install mt7630e/2.1.0
Kernel: 4.13.0-45-generic x86_64 (64 bit)
WiFi is broke again.This is what transpired in Terminal:
Code: Select all
#
john@john-TP500LA ~/Documents/WiFi/MT7630E-release $ sudo apt-get install git dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
dkms is already the newest version (2.2.0.3-2ubuntu11.5).
git is already the newest version (1:2.7.4-0ubuntu1.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
john@john-TP500LA ~/Documents/WiFi/MT7630E-release $ git clone https://github.com/neurobin/MT7630E.git
Cloning into 'MT7630E'...
remote: Counting objects: 523, done.
remote: Total 523 (delta 0), reused 0 (delta 0), pack-reused 523
Receiving objects: 100% (523/523), 885.19 KiB | 1.23 MiB/s, done.
Resolving deltas: 100% (285/285), done.
Checking connectivity... done.
#
#so far, so good
#
#
john@john-TP500LA ~/Documents/WiFi/MT7630E-release $ sudo dkms add ./MT7630E
Error! DKMS tree already contains: mt7630e-2.1.0
You cannot add the same module/version combo more than once.
john@john-TP500LA ~/Documents/WiFi/MT7630E-release $
#
#
john@john-TP500LA ~/Documents/WiFi/MT7630E-release $ sudo dkms install mt7630e/2.1.0
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=4.13.0-45-generic KDIR=/lib/modules/4.13.0-45-generic/build.........
cleaning build area....
DKMS: build completed.
mt7630e.ko:
Running module version sanity check.
Good news! Module version 2.3.8 for mt7630e.ko
exactly matches what is already found in kernel 4.13.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
mt76xx.ko:
Running module version sanity check.
Good news! Module version 2.0.4 for mt76xx.ko
exactly matches what is already found in kernel 4.13.0-45-generic.
DKMS will not replace this module.
You may override by specifying --force.
depmod....
Backing up initrd.img-4.13.0-45-generic to /boot/initrd.img-4.13.0-45-generic.old-dkms
Making new initrd.img-4.13.0-45-generic
(If next boot fails, revert to initrd.img-4.13.0-45-generic.old-dkms image)
update-initramfs...........
DKMS: install completed.
john@john-TP500LA ~/Documents/WiFi/MT7630E-release $
the MT7630E adapter is not working, I am using my Panda PA06 USB WiFi adapter which the new kernel recognizes and is using.
This is the current ASUS TP500L stats:
Code: Select all
john@john-TP500LA ~ $ inxi -Fd
System: Host: john-TP500LA Kernel: 4.13.0-45-generic x86_64 (64 bit)
Desktop: Cinnamon 3.6.7 Distro: Linux Mint 18.3 Sylvia
Machine: System: ASUSTeK (portable) product: TP500LA v: 1.0
Mobo: ASUSTeK model: TP500LA v: 1.0
Bios: American Megatrends v: TP500LA.203 date: 06/11/2014
CPU: Dual core Intel Core i3-4030U (-HT-MCP-) cache: 3072 KB
clock speeds: max: 1800 MHz 1: 1147 MHz 2: 920 MHz 3: 1063 MHz
4: 1023 MHz
Graphics: Card: Intel Haswell-ULT Integrated Graphics Controller
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1366x768@60.01hz
GLX Renderer: Mesa DRI Intel Haswell Mobile
GLX Version: 3.0 Mesa 17.2.8
Audio: Card-1 Intel 8 Series HD Audio Controller driver: snd_hda_intel
Card-2 Intel Haswell-ULT HD Audio Controller driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k4.13.0-45-generic
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169
IF: enp2s0f1 state: down mac: ac:9e:17:97:7b:df
Card-2: MEDIATEK MT7630e 802.11bgn Wireless Network Adapter
IF: N/A state: N/A mac: N/A
Card-3: Ralink RT5372 Wireless Adapter driver: rt2800usb
IF: wlx9cefd5fd2968 state: N/A mac: N/A
Drives: HDD Total Size: 500.1GB (19.8% used)
ID-1: /dev/sda model: Samsung_SSD_860 size: 500.1GB
Optical: No optical drives detected.
Partition: ID-1: / size: 28G used: 7.0G (27%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 184G used: 86G (50%) fs: ext4 dev: /dev/sda5
ID-3: swap-1 size: 0.01GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 37.0C mobo: N/A
Fan Speeds (in rpm): cpu: 2600
Info: Processes: 193 Uptime: 14 min Memory: 1035.5/11893.2MB
Client: Shell (bash) inxi: 2.2.35
john@john-TP500LA ~ $
I have rebooted the laptop as per the suggestion.... MT7630E is not working.