Ask Your Question

F25 - Installing driver

asked 2017-09-07 07:09:05 -0500


I'm new to Fedo and Linux so sorry if i do some newbie errors.

I recently bought a TL-NW725N wireless adapter and i wanted to use it on my fedora's computer.

The trouble i have is when i try to launch the sudo make command.

This the message it returns : make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.11.12-200.fc25.x86_64/build M=/home/ME/Bureau/TL-WN725N_V2_150911_1480321613225x/Driver modules make[1]: *** /lib/modules/4.11.12-200.fc25.x86_64/build : No such file or directory. Arrêt. Makefile:1367 : la recette pour la cible « modules » a échouée make: *** [modules] Erreur 2

I dig on the internet and to try to figure out why it's not working. I found some documentations about the kernel-devel and kernel-headers param.

I executed thoses commands :

sudo dnf install kernel-devel, kernel-headers

and it installed me thoses packets :

  • kernel-devel-4.12.9-200.fc25.x86_64
  • kernel-headers-4.12.9-200.fc25.x86_64

I reboot the system. But when i'm trying to execute again the command sudo make the message keep to be the same. I went to look into the /lib/modules/4.11.12-200.fc25.x8664/build path for the file build. It is in here but when I try to open it i have a error message telling me it cant be open because there is no file in this path : /usr/src/kernels/4.11.12-200.fc25.x8664

And it seems like i can't install any kernel-devel or headers with 4.11.12-200 version.

I'm kinda stuck and I don't know if I were clear enought. I hope you can help me. Thanks

edit retag flag offensive close merge delete


Look at this guide

aeperezt gravatar imageaeperezt ( 2017-09-07 07:25:06 -0500 )edit

I did. Here the response for the fifth step : [root@localhost Theo]# modprobe 8192cu modprobe: FATAL: Module 8192cu not found in directory /lib/modules/4.11.12-200.fc25.x86_64

gebonimo gravatar imagegebonimo ( 2017-09-07 07:33:52 -0500 )edit

Did you do make install first?

aeperezt gravatar imageaeperezt ( 2017-09-07 12:06:18 -0500 )edit

I followed the guide. I change my kernel version and I start over your guide. I keep you updated.

I cd in the /usr/src directory and execute all command line from it right ?

gebonimo gravatar imagegebonimo ( 2017-09-07 12:17:11 -0500 )edit

right, correct

aeperezt gravatar imageaeperezt ( 2017-09-07 21:23:27 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2017-09-10 11:53:04 -0500

So I succeed to be able to activate my wifi adapter with this git :

I used dkms and reboot.

But now, I'm not able to detect any network (neither to connect obviously).

I try to find a solution but thanks for the help

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-09-07 07:09:05 -0500

Seen: 110 times

Last updated: Sep 07 '17