Score:0

"sudo make" Not Working When Installing Network Driver

jp flag

I am very new to Linux and would like help installing a driver as whilst following a guide to install a driver for a Cudy AC1300 I was unable to progress after receiving this:

wardrobe@wardrobe-System-Product-Name:~/Driver EXT/rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777$ sudo make

[sudo] password for wardrobe: 

/bin/sh: 1: cc: not found

(standard_in) 1: syntax error

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.11.0-38-generic/build M=/home/wardrobe/Driver EXT/rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777  modules

make[1]: Entering directory '/usr/src/linux-headers-5.11.0-38-generic'

arch/x86/Makefile:140: CONFIG_X86_X32 enabled but no binutils support

make[1]: gcc: Command not found

make[1]: *** No rule to make target 'EXT/rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777'. Stop.

make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-38-generic'

make: *** [Makefile:2373: modules] Error 2

I am hoping someone can make sense of this as I am highly inexperienced with terminal and would be very grateful for any help.

Guide:

How to install RTL88x2BU with Ubuntu 18.04/20.04 (WU1200/WU1300/ WU1300S/WU1400)

  1. Check your driver. Make sure your Linux driver is: rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777.tar.gz If it is not, write email to [email protected] and ask for this driver.

  2. Login your Ubuntu 18.04/20.04, and enter your working directory.
    For example: root@ubuntu:/home/colin/project# Don’t use the complex directory name.
    Especially don’t use a directory whose name include BLANK.
    Maybe you can create the same directory as “/home/colin/project”.

  3. Copy the driver into your working directory. And unpack this file with command of tar -xzvf.
    For example: root@ubuntu:/home/colin/project# tar -xzvf rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777.tar.gz

  4. You will find a new folder “rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777” created in /home/colin/project.

  5. Enter the directory of “rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777”, and run sudo make with root authority.
    For example:

    root@ubuntu:/home/colin/project# cd rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777

    root@ubuntu:/home/colin/project/rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777# sudo make

  6. After the above step succeeds, run sudo make install. For example:

    root@ubuntu:/home/colin/project/rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777# sudo make install

  7. Run sudo modprobe -r 88x2bu. For example:

    root@ubuntu:/home/colin/project/rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777# sudo modprobe -r 88x2bu

  8. Run sudo modprobe 88x2bu. For example:

    root@ubuntu:/home/colin/project/rtl88x2BU_WiFi_linux_v5.8.7.4_37264.20200922_COEX20191120-7777# sudo modprobe 88x2bu

  9. Done

Pilot6 avatar
cn flag
`sudo make` is a wrong command anyway. Where did you get the manual. There are a lot of answers about these drivers.
jp flag
Oh, I was just following the guide. Do you know an alternative?
chili555 avatar
cn flag
Please check here: https://askubuntu.com/questions/1358383/how-can-i-get-drivers-for-my-linksys-wusb6300-on-ubuntu-20-04-2-lts You probably also need to install build-essential. Welcome to Ask Ubuntu.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.