Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
MrOzwaldMan ( MrOzwaldMan@lemmy.ml )  to Linux@lemmy.ml · 4 years ago

I'm still stuck I don't know what to do, I have done make, automake and cmake, what "make" does this thing need in order for it to work? It's so infuriating.

www.lb-link.cn

external-link
message-square
25
link
fedilink
  • cross-posted to:
  • linux@lemmy.ml
1
external-link

I'm still stuck I don't know what to do, I have done make, automake and cmake, what "make" does this thing need in order for it to work? It's so infuriating.

www.lb-link.cn

MrOzwaldMan ( MrOzwaldMan@lemmy.ml )  to Linux@lemmy.ml · 4 years ago
message-square
25
link
fedilink
  • cross-posted to:
  • linux@lemmy.ml

Context

  • ksynwa ( ksynwa@lemmy.ml ) 
    link
    fedilink
    arrow-up
    3
    ·
    4 years ago

    You only need make and gcc. If you are using Ubuntu or Linux Mint you can try:

    sudo apt update
    sudo apt install make build-essential
    make
    sudo make install
    

    You have to perform the last two commands in the directory where the file called Makefile is.

    • MrOzwaldMan ( MrOzwaldMan@lemmy.ml ) OP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 years ago

      where do i put gcc?

      • Ephera ( Ephera@lemmy.ml ) 
        link
        fedilink
        arrow-up
        4
        ·
        4 years ago

        gcc will get installed as part of the build-essential package that @ksynwa@lemmy.ml listed. And gcc should get called automatically by the make-command.
        So, you actually don’t have to do a manual step to put gcc somewhere.

        Did you run those commands? Did it work?

        • MrOzwaldMan ( MrOzwaldMan@lemmy.ml ) OP
          link
          fedilink
          arrow-up
          1
          ·
          4 years ago

          I tried doing make it gives me an error. Also (if you have downloaded the file checked it out), if I do “sudo make install” even with the GCC compiler installed, it still does not work.

          • ksynwa ( ksynwa@lemmy.ml ) 
            link
            fedilink
            arrow-up
            3
            ·
            4 years ago

            why don’t you show or tell what this error is? people cannot telepathically know what is going wrong there.

            • MrOzwaldMan ( MrOzwaldMan@lemmy.ml ) OP
              link
              fedilink
              arrow-up
              1
              ·
              4 years ago

              make -C /home/uname/Downloads/mt7603_v1.16/os/linux -f Makefile.6 install make[1]: Entering directory ‘/home/uname/Downloads/mt7603_v1.16/os/linux’ mkdir: cannot create directory ‘/etc/Wireless’: File exists rm -rf /etc/Wireless/RT2870STA mkdir /etc/Wireless/RT2870STA cp /home/uname/Downloads/mt7603_v1.16/conf/RT2870STA.dat /etc/Wireless/RT2870STA/. install -d install: missing file operand Try ‘install --help’ for more information. make[1]: *** [Makefile.6:1736: install] Error 1 make[1]: Leaving directory ‘/home/uname/Downloads/mt7603_v1.16/os/linux’ make: *** [Makefile:351: install] Error 2

              • Helix 🧬 ( Helix@feddit.de ) 
                link
                fedilink
                arrow-up
                2
                ·
                4 years ago

                /home/uname/Downloads/mt7603_v1.16/os/linux

                this looks like a completely different driver than the one you posted in your top comment. In which folder did you run this?

                • MrOzwaldMan ( MrOzwaldMan@lemmy.ml ) OP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  4 years ago

                  This post has the latest

              • ksynwa ( ksynwa@lemmy.ml ) 
                link
                fedilink
                arrow-up
                1
                ·
                4 years ago

                Is this for make or make install?

                • MrOzwaldMan ( MrOzwaldMan@lemmy.ml ) OP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  4 years ago

                  also i found this while trying to figure out what i had to do, it’s a portion of it: https://pastebin.com/arbeKVvr

                  • ksynwa ( ksynwa@lemmy.ml ) 
                    link
                    fedilink
                    arrow-up
                    3
                    ·
                    4 years ago

                    Are you sure your adapter does not work out of the box? Ubuntu seems to have the driver for it already at:

                    /usr/lib/firmware/mt7601u.bin
                    

                    Maybe you can try sudo modprobe mt7601u and see if that makes it work.

                  • MrOzwaldMan ( MrOzwaldMan@lemmy.ml ) OP
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    4 years ago

                    Looks… complicated

                • MrOzwaldMan ( MrOzwaldMan@lemmy.ml ) OP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  4 years ago

                  both

Linux@lemmy.ml

linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 312 users / day
  • 1.21K users / week
  • 2.71K users / month
  • 6.27K users / 6 months
  • 1.31K local subscribers
  • 68.1K subscribers
  • 8.11K Posts
  • 109K Comments
  • Modlog
  • mods:
  • AgreeableLandscape ( AgreeableLandscape@lemmy.ml ) 
  • nooter692 ( nooter692@lemmy.ml ) 
  • MarcellusDrum ( MarcellusDrum@lemmy.ml ) 
  • Arthur Besse ( cypherpunks@lemmy.ml ) 
  • Cyclohexane ( cyclohexane@lemmy.ml ) 
  • d3Xt3r ( d3Xt3r@lemmy.nz ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code