Ask Your Question
0

Fedora 24 MediaTek Mt7630e driver issues

asked 2016-07-21 17:59:12 -0600

contortedtrash gravatar image

Hi all. I'm a bit of a Linux noob. I know my way around and have been using Ubuntu for a while but am no where near experienced (though my goal is to be wizard status). I just installed Fedora 24 on my Asus x555l laptop last night. I am aware this laptop has known hardware issues with Linux and have had issues with the WiFi adapter in Ubuntu as well. I tried multiple drivers I found from googling around, the most recommended one was: https://github.com/kuba-moo/mt7630e . When trying to make I get this error:

$sudo make
make -C /lib/modules/'uname -r'/build M=/rt2x00 modules
make[1]: Entering directory 'usr/src/kernels/4.6.4-301.fc24.x86_64'
Makefile:667: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strcng not supported by compiler
scripts/Makefile.build:44: /rt2x00/Makefile: No such file or directory
make[2]: *** No rule to make target '_module_/rt2x00/Makefile'. Stop.
Makefile:1443: recipe for target '_module_/rt2x00' failed
make[1]: *** [_module_/rt2x00] Error 2
make[1]:7: recipe for target 'all' failed
make: *** [all] Error 2

I found someone else with a similar problem, and the only response was to run this sudo dnf group install "Development-Tools" but after doing that I still got this error. I also tried installing an older driver I found on github but had the same issue. I guess I could try using an older kernel version but would rather not.

Thanks in advance

edit retag flag offensive close merge delete

Comments

Do you have installed kernel-devel ?

aeperezt gravatar imageaeperezt ( 2016-07-21 19:54:04 -0600 )edit

I do now. Thanks for the reply

contortedtrash gravatar imagecontortedtrash ( 2016-07-21 21:03:26 -0600 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2016-07-21 20:10:33 -0600

aeperezt gravatar image

You need to install kernel-devel but with that git repo there is an issue compiling the module, look at this https://github.com/kuba-moo/mt7630e/i... , however that is solve on this fork https://github.com/neurobin/MT7630E compiled with no issue but not tested as I do not have the wifi card.

Please try it

Good Luck.

edit flag offensive delete link more

Comments

Thanks for the reply. Everything seemed to work but it gave this error:

modprobe: ERROR: could not insert 'mt7630e': Required key not available

So I take it it installed correctly it just couldn't insert the new driver? How could I fix this?

contortedtrash gravatar imagecontortedtrash ( 2016-07-21 20:52:21 -0600 )edit

Do you have UEFI boot secure mode enable, if so you will need to figured out a way to generate a signing key or simple solution will be to disable it. But if you have Windows on it is going to be an issue.

aeperezt gravatar imageaeperezt ( 2016-07-21 22:35:26 -0600 )edit

Oh geez, I have win8 on another partition. Is this a worthwhile endeavor or should I just decide which OS to use? I absolutely hate windows but I want to keep it in case. I'm a student and you never know what weird educational software will just not work on *nix

contortedtrash gravatar imagecontortedtrash ( 2016-07-21 22:57:44 -0600 )edit

Well, there are different approach to your issue:

  1. You can get a usb wifi card that work for Linux will cost you around 15 dls
  2. You can get into the bios and disable UEFI secure boot, you will not be able to use Windows but you can use it back again if you enabled it.
  3. You can disabled UEFI secure boot reinstall Windows and the re install Fedora, that way all will work without needed to change bios back, but is more work at first.

Do not see other way around this. UEFI secure boot mode make adding custom kernels and modules really hard if you do not have sign key.

aeperezt gravatar imageaeperezt ( 2016-07-21 23:29:29 -0600 )edit

While creating the kernel mode and sign your own key into UEFI secure boot seems like posible you have to keep in mind that you need to do this every kernel update.

aeperezt gravatar imageaeperezt ( 2016-07-21 23:31:04 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-07-21 17:57:16 -0600

Seen: 1,494 times

Last updated: Jul 21 '16