Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tybuzz67

Pages: [1]
1
whew. this is harder than i thought.  I tried more than a dozen solutions and none worked. 

yes, I guess ur right @murraymint.  The easiest is just to change the adapter that will work, which i did when I did this post just now.  but this is going to give me and my sister a bit of discomfort because this dongle which I am using now actually does not work well with the dual-boot Win10 and so eveytime I get to work on this desktop I usually insert this dongle and when I log off I take it out so the other one (that doesn't work in Linux) works quite well in windows and my sister (me and my sister like to work in this desktop coz it has a bigger monitor than the laptops) won't have trouble.

thanks @murraymint, spence for your help.  God bless you guys.

2
Ok I went to the url as suggested by @murrymint and quite followed the instructions

Code: [Select]
sudo apt-get install linux-headers-generic build-essential git
git clone https://github.com/art567/mt7601usta.git
cd mt7601usta/src
make

when I got the tommand "make" I got errors:

Code: [Select]
rex@rex-A68M-C4DL ~/mt7601usta/src $ make
make -C tools
make[1]: Entering directory '/home/rex/mt7601usta/src/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/rex/mt7601usta/src/tools'
/home/rex/mt7601usta/src/tools/bin2h
cp -f os/linux/Makefile.6 /home/rex/mt7601usta/src/os/linux/Makefile
make -C /lib/modules/5.0.0-37-generic/build SUBDIRS=/home/rex/mt7601usta/src/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-5.0.0-37-generic'
Makefile:223: ================= WARNING ================
Makefile:224: 'SUBDIRS' will be removed after Linux 5.3
Makefile:225: Please use 'M=' or 'KBUILD_EXTMOD' instead
Makefile:226: ==========================================
  CC [M]  /home/rex/mt7601usta/src/os/linux/../../os/linux/sta_ioctl.o
/home/rex/mt7601usta/src/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt28xx_sta_ioctl’:
/home/rex/mt7601usta/src/os/linux/../../os/linux/sta_ioctl.c:2600:72: error: macro "access_ok" passed 3 arguments, but takes just 2
     if ( access_ok(VERIFY_WRITE, wrqin->u.data.pointer, sizeof(privtab)) != TRUE)
                                                                        ^
/home/rex/mt7601usta/src/os/linux/../../os/linux/sta_ioctl.c:2600:10: error: ‘access_ok’ undeclared (first use in this function)
     if ( access_ok(VERIFY_WRITE, wrqin->u.data.pointer, sizeof(privtab)) != TRUE)
          ^~~~~~~~~
/home/rex/mt7601usta/src/os/linux/../../os/linux/sta_ioctl.c:2600:10: note: each undeclared identifier is reported only once for each function it appears in
/home/rex/mt7601usta/src/os/linux/../../os/linux/sta_ioctl.c:2613:73: error: macro "access_ok" passed 3 arguments, but takes just 2
    if(access_ok(VERIFY_READ, wrqin->u.data.pointer, wrqin->u.data.length) != TRUE)
                                                                         ^
scripts/Makefile.build:284: recipe for target '/home/rex/mt7601usta/src/os/linux/../../os/linux/sta_ioctl.o' failed
make[2]: *** [/home/rex/mt7601usta/src/os/linux/../../os/linux/sta_ioctl.o] Error 1
Makefile:1614: recipe for target '_module_/home/rex/mt7601usta/src/os/linux' failed
make[1]: *** [_module_/home/rex/mt7601usta/src/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.0.0-37-generic'
Makefile:418: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2

uhm...what did I do wrong guys?

3
@murraymint, spence,

oh yeah I did install the wrong driver for Ethernet not WiFi.  Thanks. Now I go and look for it

4
@spence,

Thank you sir for welcoming me into this forum.  I really appreciate it. Here is my system output you requested:

Code: [Select]
System:    Host: rex-A68M-C4DL Kernel: 5.3.0-42-generic x86_64 bits: 64
           Desktop: N/A Distro: Peppermint Ten
Machine:   Device: desktop Mobo: ECS model: A68M-C4DL v: 2.0 serial: N/A
           UEFI [Legacy]: American Megatrends v: 2.0 date: 06/30/2015
CPU:       Dual core AMD A6-6400K APU with Radeon HD Graphics (-MCP-)
           cache: 2048 KB
           clock speeds: max: 3900 MHz 1: 1828 MHz 2: 2163 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Richland [Radeon HD 8470D]
           Display Server: x11 (X.Org 1.20.5 )
           drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
           Resolution: 1366x768@59.79hz
           OpenGL: renderer: AMD ARUBA (DRM 2.50.0 / 5.3.0-42-generic, LLVM 9.0.0)
           version: 4.3 Mesa 19.2.8
Audio:     Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller
           driver: snd_hda_intel
           Card-2 Advanced Micro Devices [AMD/ATI] Trinity HDMI Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k5.3.0-42-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8168
           IF: enp3s0 state: down mac: <filter>
           Card-2: Ralink MT7601U Wireless Adapter driver: mt7601u
           IF: wlxaca2131d4467 state: N/A mac: N/A
Drives:    HDD Total Size: 500.1GB (9.9% used)
           ID-1: /dev/sda model: WDC_WD5000AAKX size: 500.1GB
Partition: ID-1: / size: 49G used: 9.6G (21%) fs: ext4 dev: /dev/sda6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 14.5C mobo: N/A gpu: 6.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 179 Uptime: 17 min Memory: 901.0/3183.8MB
           Client: Shell (bash) inxi: 2.3.56

5
@Slim.Fatz,

It it worked.  BUT for only a while then suddenly it won't detect the WIFI.  I quite mystified.  I looked at the network connections and my ISP is listed but Peppermint can't detect it.  My solution is I have to reboot the computer so the OS can detect it again. 

My computer has dual boot PeppermintOS and Win10 and in Windows I don't have this problem.  I wish I like to use Windows10 but I really prefer working with Linux but this kind of incompatibility with drivers just drive me crazy.
 
I am thinking of switching back to Ubuntu Mate 16.04 because that was what I used 2 years ago and I didn't have this kind of problem.

6
@murraymint,

thanks for helping.  I did your suggestion and I also went to windows10 device manager and looked it up on the Network and got the device name.  Then I did:

mkdir -p ~/build
cd ~/build
mkdir ~/rtl8821CU


then download the driver from https://github.com/brektrou/rtl8821CU.git  into the /build/rtl8821CU folder I just made.
then used these following command lines:

cd ~/build/rtl8821CU
make
sudo make install

then rebooted my computer.
 

7
Good day everyone.  I am not a noobie with Linux as I have used ZorinOS, LinuxLite, Mx Linux, Fedora, OpenSuse plus more and recently about two years ago, Ubuntu Mate.  Though I am not an expert, just an able user if I may say so.  This is the first time I used Peppermint and I do like it...but during installation unlike the others I used in the past it did not automatically detect my USB Wifi dongle/antenna. I tried  in the terminal:
  lspci | grep -1 wireless

But didn't register anything...did I do something wrong. Please help.

Pages: [1]