this post was submitted on 24 May 2022
0 points (NaN% liked)

Linux

47887 readers
1086 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 
top 18 comments
sorted by: hot top controversial new old
[–] Helix@feddit.de 0 points 2 years ago (1 children)

Please just try what @gyrfalcon@beehaw.org suggested in their top comment in your other thread.

Just go to the WIFI-FE-2(Other Driver)/Linux Driver/DPA_MT7601U_LinuxSTA_3.0.0.3_20130313/ folder and type make. What happens?

The instructions you gave in your other thread are for a different driver.

[–] MrOzwaldMan@lemmy.ml 0 points 2 years ago* (last edited 2 years ago) (1 children)

This happens: $ sudo make install make: *** No rule to make target 'install'. Stop.

This is what the MakeFile contains:

all: make -C UTIL/ osutil $(SHELL) cp_util.sh make -C MODULE/ build_tools make -C MODULE/ osdrv $(SHELL) cp_module.sh make -C NETIF/ osnet

clean: make -C UTIL/ clean make -C MODULE/ clean make -C NETIF/ clean

install: make -C UTIL/ install make -C MODULE/ install make -C NETIF/ install

uninstall: make -C UTIL/ uninstall make -C MODULE/ uninstall make -C NETIF/ uninstall- -

[–] Helix@feddit.de 0 points 2 years ago (1 children)

Just type make. Why do you type make install? If you can't follow simple instructions, you won't be happy with Linux.

[–] MrOzwaldMan@lemmy.ml 0 points 2 years ago (1 children)

I already told you the error here.

[–] Helix@feddit.de 0 points 2 years ago* (last edited 2 years ago) (1 children)

This is the output for make install, or why is there an install keyword in the error?

The full command you posted is make -C /home/uname/Downloads/mt7603_v1.16/os/linux -f Makefile.6 install, which is something completely different to make without any parameters.

Just type make and nothing else.

[–] MrOzwaldMan@lemmy.ml 0 points 2 years ago (1 children)
[–] Helix@feddit.de 0 points 2 years ago

Okay, that looks different. Does that folder in /opt exist at all?

[–] ksynwa@lemmy.ml 0 points 2 years ago (1 children)

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@lemmy.ml 0 points 2 years ago* (last edited 2 years ago) (1 children)
[–] Ephera@lemmy.ml 0 points 2 years ago* (last edited 2 years ago) (1 children)

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@lemmy.ml 0 points 2 years ago (1 children)

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@lemmy.ml 0 points 2 years ago (1 children)

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

[–] MrOzwaldMan@lemmy.ml 0 points 2 years ago* (last edited 2 years ago) (2 children)

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@feddit.de 0 points 2 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?

[–] ksynwa@lemmy.ml 0 points 2 years ago (1 children)

Is this for make or make install?

[–] MrOzwaldMan@lemmy.ml 0 points 2 years ago (1 children)

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@lemmy.ml 0 points 2 years ago (1 children)

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.

[–] Helix@feddit.de 0 points 2 years ago

That's the firmware, not the driver.

The driver seems to be the Ralink rt2870sta.

Even Debian, which is fairly restrictive, has a way easier process to load the firmware with the Kernel driver: https://wiki.debian.org/rt2870sta