Author Topic: My Peppermint OS 10 Respin did not detect my USB WiFI, how can I detect it?  (Read 1125 times)

Offline tybuzz67

  • Newly Subscribed
  • *
  • Posts: 7
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint OS 10 Respin
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.

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2180
  • Karma: 457
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Try
Code: [Select]
lsusb

Offline tybuzz67

  • Newly Subscribed
  • *
  • Posts: 7
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint OS 10 Respin
@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.
 

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2373
  • Karma: 623
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
So ... did it work ??  :-\
Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline tybuzz67

  • Newly Subscribed
  • *
  • Posts: 7
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint OS 10 Respin
@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.
« Last Edit: March 28, 2020, 04:21:34 am by tybuzz67 »

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 2974
  • Karma: 337
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): PMVII, PMVIII, PMIX, PMX Respins
@Slim.Fatz,

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.
 

Welcome to our forum @tybuzz67!

To help us help you, please provide us the terminal output from:


Code: [Select]
inxi -Fz
Using the forum tools above the message composition box. Copying and pasting terminal outputs after selecting the # button above the laughing and angry emojis...  it helps keep the readout formatted properly.


 


spence
PeppermintOS 8,9 & 10 Respins currently installed  on:
'16 Antec Aria rebuild
PMX Respin on '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline tybuzz67

  • Newly Subscribed
  • *
  • Posts: 7
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint OS 10 Respin
@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
« Last Edit: March 28, 2020, 03:53:24 am by tybuzz67 »

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2180
  • Karma: 457
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Ahhh... the dreaded RealTek drivers once again...

No!

looked it up on the Network and got the device name

You got the wrong one, that's your ethernet card. See here instead for the Ralink wireless:

https://askubuntu.com/questions/457061/ralink-mt7601u-148f7601-wi-fi-adapter-installation

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 2974
  • Karma: 337
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): PMVII, PMVIII, PMIX, PMX Respins
Ahhh... the dreaded RealTek drivers once again...

No!




Ahhh... thanks for that catch @murraymint ... I must need more coffee


 :-X
« Last Edit: March 30, 2020, 12:25:21 pm by spence »
spence
PeppermintOS 8,9 & 10 Respins currently installed  on:
'16 Antec Aria rebuild
PMX Respin on '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline tybuzz67

  • Newly Subscribed
  • *
  • Posts: 7
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint OS 10 Respin
@murraymint, spence,

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

Offline tybuzz67

  • Newly Subscribed
  • *
  • Posts: 7
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint OS 10 Respin
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?

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2180
  • Karma: 457
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
I don't know. It's generally accepted that that wifi adapter will work in the latest kernels without having to do anything. It might be easier to get a new adapter, they can often be had for about £5.

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2180
  • Karma: 457
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
This seems to be a similar error with a solution suggested:

https://github.com/kuba-moo/mt7601u/issues/64#issuecomment-553502997

I'm not sure exactly how to apply it and I don't have time to try now. Maybe someone can help to figure it out ;)

Offline tybuzz67

  • Newly Subscribed
  • *
  • Posts: 7
  • Karma: 1
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint OS 10 Respin
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.