Introduction, firmware updates?

Kernels & Hardware, configuring network, installing services

Introduction, firmware updates?

Postby DKCorl » 2019-08-10 14:59

Hi all, here is a little info that may be interesting. Been an on and off user of Linux for a long time, best I can remember started 1996. Never really felt I mastered it, Spend most of my free time on other interest but still like to dabble with computers from time to time. My most recent endeavor was the Raspberry Pi Zero W. and it got me thinking of Linux again. Decided to try and see if I could fix an old computer that got hit by lightning that killed the motherboard. Found a low cost replacement online and installed the new MB and CPU reusing the rest of the components not knowing if they had survived the lightning hit. To my surprise it booted to the BIOS screen on the first try even with the reused memory cards. WOW! did not expect to get that far that fast. The install of the Buster CD image from a USB stick went with no errors. Again, did not expect to get that far. Now have a fresh install of Buster working well on the rebuilt computer. One of my priority's is to get the WiFi working as the lightning strike came down the Ethernet cable and that is what killed the former MB. That's what brings me to this forum. I think the driver for the USB WiFi adapter needs updating but I could not get fwupdmgr to update. It just returns to the command line with no info or errors.
---
root@Buster10:/home/dkc# dmesg -H
[Aug10 07:47] Linux version 4.19.0-5-amd64 (debia
---
firmware: failed to load rtl_nic/rtl8168g-2.fw (-2)
---
firmware: failed to load rt73.bin (-2)
---
root@Buster10:/home/dkc# fwupdmgr refresh
Fetching metadata https://cdn.fwupd.org/downloads/firmware.xml.gz

Downloading… [**************************Downloading… [***************************************]
Fetching signature https://cdn.fwupd.org/downloads/firmware.xml.gz.asc

Thanks for any help, Dale
DKCorl
 
Posts: 15
Joined: 2019-08-10 14:22

Re: Introduction, firmware updates?

Postby stevepusser » 2019-08-10 17:06

Since you do have a wired connection now, update your USB and PCI ID database as root or with sudo:

Code: Select all
update-pciids
update-usbids


Then give us the output of
Code: Select all
lsusb


So we have an idea of what non-free firmware package your device might need, or if you have to build a driver for it from source.

Are you sure that fwupd handles wi-fi firmware? I thought it was just motherboards.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Calibre 3.48.0, QMPlay2 19.09.03, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11097
Joined: 2009-10-06 05:53

Re: Introduction, firmware updates?

Postby DKCorl » 2019-08-11 09:38

Thanks for the reply. Looks like update-pciids is not installed on my system so I just ran the lsusb command and it is finding the correct WiFi adapter.
---
root@Buster10:/home/dkc# lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 13b1:0020 Linksys WUSB54GC v1 802.11g Adapter [Ralink RT73]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 1a2c:2124 China Resource Semico Co., Ltd
Bus 002 Device 002: ID 2188:0ae1
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@Buster10:/home/dkc#
---
cut from output of dmesg below
[ 1221.028343] usb 1-3: new high-speed USB device number 2 using ehci-pci
[ 1221.371113] usb 1-3: New USB device found, idVendor=13b1, idProduct=0020, bcdDevice= 0.01
[ 1221.371118] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1221.371121] usb 1-3: Product: Compact Wireless-G USB Adapter
[ 1221.371123] usb 1-3: Manufacturer: Cisco-Linksys
[ 1221.948376] usb 1-3: reset high-speed USB device number 2 using ehci-pci
[ 1222.435074] ieee80211 phy0: rt2x00_set_chip: Info - Chipset detected - rt: 2573, rf: 0002, rev: 000a
[ 1222.468812] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 1222.471813] usbcore: registered new interface driver rt73usb
[ 1222.515209] rt73usb 1-3:1.0 wlx00226ba5130b: renamed from wlan0
[ 1222.552248] IPv6: ADDRCONF(NETDEV_UP): wlx00226ba5130b: link is not ready
[ 1222.552299] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt73.bin'
[ 1222.552317] rt73usb 1-3:1.0: firmware: failed to load rt73.bin (-2)
[ 1222.552321] rt73usb 1-3:1.0: Direct firmware load for rt73.bin failed with error -2
[ 1222.552773] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt73.bin'
[ 1222.552784] rt73usb 1-3:1.0: firmware: failed to load rt73.bin (-2)
[ 1222.552787] rt73usb 1-3:1.0: Direct firmware load for rt73.bin failed with error -2
root@Buster10:/home/dkc#
---
Some google searches make me think it is going to be involved to get this sorted out so I decided to simply try a different USB WiFi adapter I had laying around. Output of dmesg below after unplugging and plugging in the second.
---
[ 2426.787102] usb 1-3: USB disconnect, device number 2
[ 2495.760563] usb 4-3: new high-speed USB device number 2 using ehci-pci
[ 2495.924603] usb 4-3: New USB device found, idVendor=0bda, idProduct=8187, bcdDevice= 1.00
[ 2495.924608] usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2495.924611] usb 4-3: Product: RTL8187_Wireless_LAN_Adapter
[ 2495.924614] usb 4-3: Manufacturer: Manufacturer_Realtek_RTL8187_
[ 2495.924616] usb 4-3: SerialNumber: 00C0CA1E10D3
[ 2496.196612] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 2496.197559] ieee80211 phy1: hwaddr 00:c0:ca:1e:10:d3, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
[ 2496.211419] rtl8187: Customer ID is 0xFF
[ 2496.211908] rtl8187: wireless switch is on
[ 2496.211953] usbcore: registered new interface driver rtl8187
[ 2496.227218] rtl8187 4-3:1.0 wlx00c0ca1e10d3: renamed from wlan0
[ 2496.263151] IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca1e10d3: link is not ready
[ 2498.301181] IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca1e10d3: link is not ready
[ 2500.517611] IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca1e10d3: link is not ready
[ 2500.628677] IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca1e10d3: link is not ready
[ 2505.077586] IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca1e10d3: link is not ready
[ 2505.096154] wlx00c0ca1e10d3: authenticate with 58:6d:8f:74:3a:77
[ 2505.238361] wlx00c0ca1e10d3: send auth to 58:6d:8f:74:3a:77 (try 1/3)
[ 2505.240005] wlx00c0ca1e10d3: authenticated
[ 2510.240744] wlx00c0ca1e10d3: aborting authentication with 58:6d:8f:74:3a:77 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 2512.542202] wlx00c0ca1e10d3: authenticate with 58:6d:8f:74:3a:77
[ 2512.822342] wlx00c0ca1e10d3: send auth to 58:6d:8f:74:3a:77 (try 1/3)
[ 2512.829420] wlx00c0ca1e10d3: authenticated
[ 2517.823538] wlx00c0ca1e10d3: aborting authentication with 58:6d:8f:74:3a:77 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 2520.550157] wlx00c0ca1e10d3: authenticate with 58:6d:8f:74:3a:77
[ 2520.830527] wlx00c0ca1e10d3: send auth to 58:6d:8f:74:3a:77 (try 1/3)
[ 2520.836760] wlx00c0ca1e10d3: authenticated
[ 2525.832831] wlx00c0ca1e10d3: aborting authentication with 58:6d:8f:74:3a:77 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 2529.038336] wlx00c0ca1e10d3: authenticate with 58:6d:8f:74:3a:77
[ 2529.314640] wlx00c0ca1e10d3: send auth to 58:6d:8f:74:3a:77 (try 1/3)
[ 2529.320580] wlx00c0ca1e10d3: authenticated
[ 2530.052052] wlx00c0ca1e10d3: aborting authentication with 58:6d:8f:74:3a:77 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 2530.233424] IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca1e10d3: link is not ready
[ 2532.437854] IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca1e10d3: link is not ready
root@Buster10:/home/dkc#
---
A quick search on (Reason: 3=DEAUTH_LEAVING) pulls up

"As root, run:
ln -s /dev/null /etc/systemd/network/99-default.link

This will prevent systemd to create the long network interfaces names. It seems some firmwares don't play well with them. You must unplug-plug the USB dongle (or restart of it is internal).

This has worked for me. I'm using a TL-WN821N (atheros firmware) Wifi USB dongle."
---
Have not tried it yet as I'm trying to understand what is going on with the second WiFi adapter. Looks like the second WiFi adapter is almost working, just have to sort out the aborting authentication issue.
DKCorl
 
Posts: 15
Joined: 2019-08-10 14:22

Re: Introduction, firmware updates?

Postby Bloom » 2019-08-11 09:45

Have you installed the Realtek firmware?
Code: Select all
sudo apt install firmware-realtek

That's in the non-free repository.
User avatar
Bloom
 
Posts: 177
Joined: 2017-11-11 12:23

Re: Introduction, firmware updates?

Postby DKCorl » 2019-08-11 15:07

Bloom wrote:Have you installed the Realtek firmware?
Code: Select all
sudo apt install firmware-realtek

That's in the non-free repository.

Thanks, was able to add the non-free repository and installed the realtek firmware. It did change the output of dmesg.

[ 419.178559] usb 2-3: new high-speed USB device number 2 using ehci-pci
[ 419.342752] usb 2-3: New USB device found, idVendor=0bda, idProduct=8187, bcdDevice= 1.00
[ 419.342758] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 419.342761] usb 2-3: Product: RTL8187_Wireless_LAN_Adapter
[ 419.342763] usb 2-3: Manufacturer: Manufacturer_Realtek_RTL8187_
[ 419.342765] usb 2-3: SerialNumber: 00C0CA1E10D3
[ 419.927003] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 419.927391] ieee80211 phy0: hwaddr 00:c0:ca:1e:10:d3, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
[ 419.947624] rtl8187: Customer ID is 0xFF
[ 419.948236] rtl8187: wireless switch is on
[ 419.948282] usbcore: registered new interface driver rtl8187
[ 419.958070] rtl8187 2-3:1.0 wlx00c0ca1e10d3: renamed from wlan0
[ 419.990598] IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca1e10d3: link is not ready
[ 422.059136] IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca1e10d3: link is not ready
[ 424.283370] IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca1e10d3: link is not ready
[ 424.397789] IPv6: ADDRCONF(NETDEV_UP): wlx00c0ca1e10d3: link is not ready
root@Buster10:/home/dkc#
---
The IPv6 is not supported by my old WRT54GL router, at least not with the old firmware. Not sure what to do yet.
DKCorl
 
Posts: 15
Joined: 2019-08-10 14:22

Re: Introduction, firmware updates?

Postby stevepusser » 2019-08-11 18:08

The built-in wi-fi needs firmware-misc-nonfree in Buster for its Ralink chipset...
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Calibre 3.48.0, QMPlay2 19.09.03, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11097
Joined: 2009-10-06 05:53

Re: Introduction, firmware updates?

Postby DKCorl » 2019-08-11 18:10

Still don't have the WiFi working; however, while looking over the output of dmesg I found errors
---
[ 1.572412] [drm:radeon_pci_probe [radeon]] *ERROR* radeon kernel modesetting for R600 or later requires firmware installed
[ 1.572479] See https://wiki.debian.org/Firmware for information about missing firmware
---
[ 1.690400] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires firmware installed
[ 1.690499] See https://wiki.debian.org/Firmware for information about missing firmware
---
https://linuxconfig.org/how-to-install- ... etch-linux (good page on amdgpu)
---
root@Buster10:/home/dkc# apt install firmware-linux (this fixed a lot of things, sound now working, graphics working better)

Still need to figure out the WiFi but I feel I'm getting close.
DKCorl
 
Posts: 15
Joined: 2019-08-10 14:22

Re: Introduction, firmware updates?

Postby Bloom » 2019-08-11 19:26

Code: Select all
sudo apt install firmware-amd-graphics
User avatar
Bloom
 
Posts: 177
Joined: 2017-11-11 12:23

Re: Introduction, firmware updates?

Postby Bloom » 2019-08-11 19:28

Or perhaps
Code: Select all
sudo apt install firmware-linux-free firmware-linux-nonfree
User avatar
Bloom
 
Posts: 177
Joined: 2017-11-11 12:23

Re: Introduction, firmware updates?

Postby DKCorl » 2019-08-13 12:00

Hi all, decided to buy a small USB WiFi adapter ( Panda PAU05) that's suppose to be supported by linux. I only need a few feet of range and the other one I was trying to setup runs warm and is way overkill so I will re-try as soon as the new adapter comes in.
DKCorl
 
Posts: 15
Joined: 2019-08-10 14:22

Re: Introduction, firmware updates?

Postby DKCorl » 2019-08-13 17:42

My new USB WiFi adapter came in and still no go. I think I need to start over and start a new post as this one is getting confusing.
DKCorl
 
Posts: 15
Joined: 2019-08-10 14:22

Re: Introduction, firmware updates?

Postby Bloom » 2019-08-15 12:24

You should have looked for an usb wifi adapter that's compatible with linux out of the box. This Panda adapter requires closed source non-free firmware, just like the one that was already in your computer.
One that is cheap and that will work out of the box: https://www.amazon.com/dp/B018GH96Z8
User avatar
Bloom
 
Posts: 177
Joined: 2017-11-11 12:23

Re: Introduction, firmware updates?

Postby stevepusser » 2019-08-15 19:10

Are you certain about that adapter's rtl8192eu chipset not needing non-free firmware? If so, let me know, since I can count the ones that don't on the fingers of one hand, and most of those are no longer manufactured.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Calibre 3.48.0, QMPlay2 19.09.03, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11097
Joined: 2009-10-06 05:53

Re: Introduction, firmware updates?

Postby Bloom » 2019-08-15 21:40

I checked it and it needs firmware-realtek.
User avatar
Bloom
 
Posts: 177
Joined: 2017-11-11 12:23

Re: Introduction, firmware updates?

Postby DKCorl » 2019-08-17 12:26

Update - got it working. Perhaps because I installed using the smaller CD image instead of the DVD or Net-install and or because there was no WiFi adapter installed in the computer when I first installed Buster I had no front end to the network-manager. Tried to bring up the WiFi adapter using the nmcli from root in a terminal but could not get the syntax correct. It was only after I installed WICD, unplugged the wired Ethernet and forced WICD to connect to my WiFi router that I got it to work.

BTW - I did think the Panda PAU05 was supported by linux. The listing on amazon said over and over it was but it does use the non-free firmware. Will cross post this in the other post I started on WiFi.

Thanks for all the help and ideas :-)
DKCorl
 
Posts: 15
Joined: 2019-08-10 14:22


Return to System configuration

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable