I am attempting to get an external wireless adapter working but I am running into an issue. I downloaded the driver and successfully *tar-*ed it. I then go to the newly created folder and execute the make command. The error I receive is:
/lib/modules/4.1.20-11-default/build: No such file or directory.
I am not sure what I am missing for this. Also, I am definitely in the novice linux user category so any and all help as well as criticism is welcome. Thanks!
ryan@sigmund:~/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916> lsusb
Bus 002 Device 005: ID 05e3:0612 Genesys Logic, Inc.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 04f3:2044 Elan Microelectronics Corp.
Bus 001 Device 006: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 005: ID 048d:8350 Integrated Technology Express, Inc.
Bus 001 Device 004: ID 058f:6259 Alcor Micro Corp.
Bus 001 Device 003: ID 04f2:b446 Chicony Electronics Co., Ltd
Bus 001 Device 002: ID 0930:0222 Toshiba Corp.
Bus 001 Device 029: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0
Bus 001 Device 028: ID 0e8d:7610 MediaTek Inc.
Bus 001 Device 027: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 026: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Took me a couple of minutes but I did find the “linux kernel development” pattern within YaST. Installed with no errors. Afterwards I tried the make command once again in the folder but failed with the same error. Here is the total output:
ryan@sigmund:~/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916> make
make -C tools
make[1]: Entering directory '/home/ryan/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/ryan/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
/home/ryan/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916/tools/bin2h
chipset = mt7650u
chipset = mt7630u
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/ryan/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/Makefile
make -C /lib/modules/4.1.20-11-default/build SUBDIRS=/home/ryan/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux modules
make[1]: *** /lib/modules/4.1.20-11-default/build: No such file or directory. Stop.
Makefile:393: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
As with my last post, lsusb did show the me that there is a mediatek device connected. Does this mean that my system recognises it? I had previously ran the *lsusb *command prior to posting and installing the pattern on here and it showed it in that list as well. If it does see it and recognise it, how do I go about telling linux to start utilising the mediatek wireless adapter over the integrated wireless card?
It is complaining about Kernel 4.1.20-11-default, but the latest kernel in Leap 42.1 is 4.1.21.
So YaST probably only installed the newer versions of the devel packages.
I would suggest to update your system (e.g. YaST->Online Update), and reboot so that you are using the newer kernel that matches the installed devel packages, and try again.
As with my last post, lsusb did show the me that there is a mediatek device connected. Does this mean that my system recognises it?
It does mean that your system recognizes it, yes, but it doesn’t mean that there is a working driver.