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.
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.
gcc
will get installed as part of thebuild-essential
package that @ksynwa@lemmy.ml listed. Andgcc
should get called automatically by themake
-command.So, you actually don’t have to do a manual step to put
gcc
somewhere.Did you run those commands? Did it work?
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.
why don’t you show or tell what this error is? people cannot telepathically know what is going wrong there.
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
Is this for
make
ormake install
?also i found this while trying to figure out what i had to do, it’s a portion of it: https://pastebin.com/arbeKVvr
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.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
this looks like a completely different driver than the one you posted in your top comment. In which folder did you run this?