LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-26-2020, 09:48 AM   #1
nobahn
Member
 
Registered: Sep 2013
Location: Great Lakes region
Distribution: LinuxMint 20 | Cinnamon 4.6.7
Posts: 36
Blog Entries: 2

Rep: Reputation: 0
Unhappy WiFi Card Not Working


I'm having issues with a custom desktop and the technician is no longer available.....
This post is about the WiFi card.

I'll admit this upfront: I'm afraid to touch the hardware. This is the only computer that I trust to upload sensitive information to the web. I'm posting here because I cannot find another Linux computer technician in my area.

~$ /sbin/lspci
bash: /sbin/lspci: No such file or directory

The below comes from "System Info" which directed me to www.termbin.com
System: Kernel: 5.4.0-52-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.6.7
wm: muffin dm: LightDM Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal
Machine: Type: Desktop Mobo: ASRock model: AB350 Pro4 serial: <filter>
UEFI [Legacy]: American Megatrends v: P4.60 date: 01/15/2018
Battery: Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial: <filter>
charge: 55% (should be ignored) status: Discharging
CPU: Topology: Quad Core model: AMD Ryzen 3 1300X bits: 64 type: MCP arch: Zen rev: 1
L2 cache: 2048 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 27944
Speed: 1960 MHz min/max: 1550/3500 MHz Core speeds (MHz): 1: 1967 2: 2348 3: 1375
4: 1375
Graphics: Device-1: AMD Caicos PRO [Radeon HD 7450] vendor: Micro-Star MSI driver: radeon
v: kernel bus ID: 26:00.0 chip ID: 1002:677b
Display: x11 server: X.Org 1.20.8 driver: ati,radeon unloaded: fbdev,modesetting,vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: AMD CAICOS (DRM 2.50.0 / 5.4.0-52-generic LLVM 10.0.0)
v: 3.3 Mesa 20.0.8 compat-v: 3.1 direct render: Yes
Audio: Device-1: AMD Family 17h HD Audio vendor: ASRock driver: snd_hda_intel v: kernel
bus ID: 28:00.3 chip ID: 1022:1457
Sound Server: ALSA v: k5.4.0-52-generic
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock
driver: r8169 v: kernel port: d000 bus ID: 25:00.0 chip ID: 10ec:8168
IF: enp37s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 1.36 TiB used: 488.86 GiB (35.0%)
ID-1: /dev/sda vendor: Hitachi model: HUA722010CLA330 size: 931.51 GiB speed: 3.0 Gb/s
serial: <filter>
ID-2: /dev/sdb vendor: Crucial model: CT500MX500SSD1 size: 465.76 GiB speed: 6.0 Gb/s
serial: <filter>
Partition: ID-1: / size: 915.89 GiB used: 164.14 GiB (17.9%) fs: ext4 dev: /dev/sda1
Sensors: System Temperatures: cpu: 34.8 C mobo: N/A gpu: radeon temp: 43 C
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: //packages.linuxmint.com ulyana main upstream import backport #id:linuxmint_main
2: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse
3: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
4: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
6: deb http: //archive.canonical.com/ubuntu/ focal partner
Info: Processes: 393 Uptime: 16h 50m Memory: 19.55 GiB used: 8.06 GiB (41.3%) Init: systemd
v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 7/9 Client: Unknown python3.8 client
inxi: 3.0.38
 
Old 10-26-2020, 10:36 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
I don't see anything in your System Info to indicate you have a wifi card installed.

It is also curious to see the command, as a regular user, /sbin/lspci reporting "No such file or directory".

I don't run Mint, so things may be different on Mint than I know.

Try the command 'sudo lspci' and see if you get a more reasonable response. Also do a 'ls -l /sbin/lspci' and see if the binary is there. You may have an issue with your install.

Next, where is this wifi card plugged into your hardware? I in in an internal slot; or is it a usb device plugged into a usb2 or usb3 port?

Please post the results. We need to know what card you have before we can go much further.
 
1 members found this post helpful.
Old 10-26-2020, 11:10 AM   #3
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,969
Blog Entries: 32

Rep: Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464Reputation: 1464
nobahn,

That motherboard does not have built-in wifi, so unless you have a USB or Pci-e wifi card installed, it is not looking good from the info provided so far.

What is the output from these commands?

Code:
lspci
lsusb
ifconfig -a
sudo lshw -C network
 
Old 10-26-2020, 11:10 AM   #4
nobahn
Member
 
Registered: Sep 2013
Location: Great Lakes region
Distribution: LinuxMint 20 | Cinnamon 4.6.7
Posts: 36

Original Poster
Blog Entries: 2

Rep: Reputation: 0
camorri--
It's an internal slot. The card has two antennae.

~$ sudo lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7
03:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset USB 3.1 xHCI Controller (rev 02)
03:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset SATA Controller (rev 02)
03:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b2 (rev 02)
1d:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
1d:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
1d:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
1d:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
1d:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
1d:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02)
24:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)
25:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
26:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos PRO [Radeon HD 7450]
26:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM / R5 230/235/235X OEM]
27:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function
27:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor
27:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) USB 3.0 Host Controller
28:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function
28:00.2 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
28:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
~$ ls -l /sbin/lspci
ls: cannot access '/sbin/lspci': No such file or directory
~$ sudo ls -l /sbin/lspci
ls: cannot access '/sbin/lspci': No such file or directory
 
Old 10-26-2020, 11:17 AM   #5
nobahn
Member
 
Registered: Sep 2013
Location: Great Lakes region
Distribution: LinuxMint 20 | Cinnamon 4.6.7
Posts: 36

Original Poster
Blog Entries: 2

Rep: Reputation: 0
~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
~$ ifconfig -a
enp37s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.0.42 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 2601:405:4880:63a0::7304 prefixlen 128 scopeid 0x0<global>
inet6 2601:405:4880:63a0:a55a:6dbf:cb98:f1df prefixlen 64 scopeid 0x0<global>
inet6 fe80::7ebd:70ce:3b18:5983 prefixlen 64 scopeid 0x20<link>
inet6 2601:405:4880:63a0:e111:7c93:2f90:57f9 prefixlen 64 scopeid 0x0<global>
ether 70:85:c2:76:14:57 txqueuelen 1000 (Ethernet)
RX packets 3578001 bytes 4736620693 (4.7 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1923049 bytes 219409030 (219.4 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 28275 bytes 2764159 (2.7 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 28275 bytes 2764159 (2.7 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

~$ sudo lshw -C network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:25:00.0
logical name: enp37s0
version: 11
serial: 70:85:c2:76:14:57
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168g-2_0.0.1 02/06/13 ip=10.0.0.42 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:40 ioport:d000(size=256) memory:fe500000-fe500fff memory:f0000000-f0003fff
 
Old 10-26-2020, 12:23 PM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Either this card is dead, or it is not what you think it is. There is no sign of the device at in the output you have provided.

How long have you had this system? If its still under warranty, I would take it back to the distributor, and have them deal with it.

If not, can you take a look at the card, look for part numbers, or any other identification on it, post what you can find.
 
1 members found this post helpful.
Old 10-27-2020, 10:32 AM   #7
nobahn
Member
 
Registered: Sep 2013
Location: Great Lakes region
Distribution: LinuxMint 20 | Cinnamon 4.6.7
Posts: 36

Original Poster
Blog Entries: 2

Rep: Reputation: 0
Quote:
Originally Posted by camorri View Post
Either this card is dead, or it is not what you think it is. There is no sign of the device at in the output you have provided.

How long have you had this system? If its still under warranty, I would take it back to the distributor, and have them deal with it.

If not, can you take a look at the card, look for part numbers, or any other identification on it, post what you can find.
I was afraid of this outcome; I am going to have to physically remove the card because I cannot see the numbers. I'll get back to you on this one.
 
Old 10-27-2020, 01:03 PM   #8
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,342

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by nobahn View Post
~$ ls -l /sbin/lspci
ls: cannot access '/sbin/lspci': No such file or directory
~$ sudo ls -l /sbin/lspci
ls: cannot access '/sbin/lspci': No such file or directory
For you the command lspci worked but /sbin/lspci did not.

Try the command "which lspci" to see where lspci is actually located. On my system (fedora) it is /usr/sbin/lspci.
 
Old 01-12-2021, 02:11 AM   #9
nobahn
Member
 
Registered: Sep 2013
Location: Great Lakes region
Distribution: LinuxMint 20 | Cinnamon 4.6.7
Posts: 36

Original Poster
Blog Entries: 2

Rep: Reputation: 0
I am using a laptop to access the web. I have partially disassembled the desktop tower. I will reassemble it in order to try the command suggested by user: computersavvy.
So I pulled out the wireless card. "Made in China" (naturally).
Rosewill (manufacturer?) RNX-N250PCEv2
Wireless N300 PCI-E Adapter
300 Mbps / 2.4 Ghz
802.11 b/g/n standards
FCC ID: W6RRNX-N250PCEv2
SN: 33166073071801219
 
Old 01-12-2021, 03:13 AM   #10
nobahn
Member
 
Registered: Sep 2013
Location: Great Lakes region
Distribution: LinuxMint 20 | Cinnamon 4.6.7
Posts: 36

Original Poster
Blog Entries: 2

Rep: Reputation: 0
Unhappy

$ sudo which lspci
/usr/bin/lspci

So I entered:
$ /usr/bin/lspci

and got the same result as:
$ sudo lspci

I have a DVD with ASRock utilities on it; but the optical drive is disabled and it doesn't recognize a portable DVD player that I have. I was forced to move and I no longer have ethernet cable access to the cable modem -- which is why I am obliged to use this laptop to access the web. This is so frustrating.
 
Old 01-12-2021, 06:22 AM   #11
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
This is a link to the manufacturer, Rosewill, and the card you listed in post #9.

-->https://www.rosewill.com/product/ros...wi-fi-adapter/

If this is a match from what you can see with the card in hand, then there is a Download link that has the files you need to get this card seen in your system.

It requires firmware and a linux driver.

There are several manufacturers of cards with this chip set. It looks like a common enough card.
I'm surprised your system does not seem to 'see' the card.

Looking back through the thread, it appears you have Mint linux installed. Is that correct?

I would expect you could install the firmware and driver from Mint repos. I'm not familiar with Mint, so I can not guide you there.

I did donwload the zip file, and used ark to decompress the zip. Out popped two .gz files. I read the README.txt files. They contain firmware and the driver code as source code.

You would need to follow the instructions to install the code. The driver needs to be compiled, and I do not know if Mint comes with the linux tools installed to compile the software. My guess is no. You would have to install the tools from Mint repoes.

It would be much easier to install the firmware and drivers from Mint repos ( assuming they are there); no compiling required.

I run Slackware, I looked for the firmware, it comes installed on Slackware, and can be found in /lib/firmware/rtlwifi/ on Slack.

Have a look to see if you have the firmware.
 
Old 01-12-2021, 06:57 PM   #12
nobahn
Member
 
Registered: Sep 2013
Location: Great Lakes region
Distribution: LinuxMint 20 | Cinnamon 4.6.7
Posts: 36

Original Poster
Blog Entries: 2

Rep: Reputation: 0
camorri--
The laptop that I'm using is lubuntu 20.04LTS
I'm going to buy an external SSD to copy everything on the desktop before I try messing around with the firmware. I'm terrified that I could easily destroy the motherboard.

EDIT:
I created a live-boot USB of Kubuntu. Kubuntu could not find the WiFi card, either.

Last edited by nobahn; 01-12-2021 at 07:01 PM. Reason: Adding detail.
 
Old 01-13-2021, 05:41 AM   #13
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,213

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
FYI, most firmware comes as a .bin file. It is just installed in the correct location so it can be found when needed. It poses not harm to your hardware. It is not your BIOS or UEFI that is part of your hardware.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 20LTS dual boot Laptop Dell Inspiron 5548 I can not turn on wifi and in wifi settings indicates no wifi device was found Shra94 Linux - Hardware 1 05-19-2020 04:22 PM
Wifi not working in Parrot OS Linux . Wifi not show any devices Chhetri Debian 3 10-07-2019 11:56 AM
Wifi option is there but no wifi scanning or wifi not working Aakash447 Linux - Newbie 3 06-28-2018 11:48 PM
[SOLVED] PCI sata card not working when pci wifi card connected. Boot fails (HDD not found) tessx Linux - Hardware 3 01-16-2012 03:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration