Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #232846 > unrolled thread
| Started by | Cmdte Alpha Tigre Z <santiagopinth@gmail.com> |
|---|---|
| First post | 2021-03-12 01:40 +0100 |
| Last post | 2021-03-16 04:50 +0100 |
| Articles | 17 — 9 participants |
Back to article view | Back to linux.debian.user
How to manually install WiFi firmware on Debian Live? Cmdte Alpha Tigre Z <santiagopinth@gmail.com> - 2021-03-12 01:40 +0100
Re: How to manually install WiFi firmware on Debian Live? IL Ka <kazakevichilya@gmail.com> - 2021-03-12 02:00 +0100
Re: How to manually install WiFi firmware on Debian Live? Anssi Saari <as@sci.fi> - 2021-03-12 10:20 +0100
Re: How to manually install WiFi firmware on Debian Live? Charles Curley <charlescurley@charlescurley.com> - 2021-03-12 04:40 +0100
Re: How to manually install WiFi firmware on Debian Live? Cmdte Alpha Tigre Z <santiagopinth@gmail.com> - 2021-03-12 14:10 +0100
Re: How to manually install WiFi firmware on Debian Live? Brian <ad44@cityscape.co.uk> - 2021-03-12 15:10 +0100
Re: How to manually install WiFi firmware on Debian Live? Brian <ad44@cityscape.co.uk> - 2021-03-12 15:30 +0100
Re: How to manually install WiFi firmware on Debian Live? Cmdte Alpha Tigre Z <santiagopinth@gmail.com> - 2021-03-12 17:30 +0100
Re: How to manually install WiFi firmware on Debian Live? Anssi Saari <as@sci.fi> - 2021-03-12 19:20 +0100
Re: How to manually install WiFi firmware on Debian Live? deloptes <deloptes@gmail.com> - 2021-03-13 00:20 +0100
Re: How to manually install WiFi firmware on Debian Live? David Wright <deblis@lionunicorn.co.uk> - 2021-03-13 01:20 +0100
Re: How to manually install WiFi firmware on Debian Live? Anssi Saari <as@sci.fi> - 2021-03-13 09:10 +0100
Re: How to manually install WiFi firmware on Debian Live? Tixy <tixy@yxit.co.uk> - 2021-03-13 11:10 +0100
Re: How to manually install WiFi firmware on Debian Live? Anssi Saari <as@sci.fi> - 2021-03-15 17:50 +0100
Re: How to manually install WiFi firmware on Debian Live? Kenneth Parker <sea7kenp@gmail.com> - 2021-03-15 18:10 +0100
Re: How to manually install WiFi firmware on Debian Live? Anssi Saari <as@sci.fi> - 2021-03-15 21:50 +0100
Re: How to manually install WiFi firmware on Debian Live? Kenneth Parker <sea7kenp@gmail.com> - 2021-03-16 04:50 +0100
| From | Cmdte Alpha Tigre Z <santiagopinth@gmail.com> |
|---|---|
| Date | 2021-03-12 01:40 +0100 |
| Subject | How to manually install WiFi firmware on Debian Live? |
| Message-ID | <BRE0q-1pZ-9@gated-at.bofh.it> |
Hello. I tried to make a "Realtek RTL8191SU Wireless LAN 802.11n USB 2.0 Network Adapter" work on Debian 10 Live with LXDE, but I couldn't. Here is what I already have tried: 1-. Downloaded package firmware-realtek from package.debian.org. 2-. Booted Debian Live. 3-. Copied package from hard disk to the desktop (apt complains when I load it directly). 4-. Executed: sudo apt install firmware-realtek 5-. Executed: sudo depmod -a 6-. Executed: sudo modprobe r8712u Then, Wicd didn't show anything. I ran udevadm, I don't remember how, to see if the USB WiFi adapter was detected; it was and also the module r8712u was loaded for it. I need some help here, please. I don't want to use a non-free firmware live image. Thanks.
[toc] | [next] | [standalone]
| From | IL Ka <kazakevichilya@gmail.com> |
|---|---|
| Date | 2021-03-12 02:00 +0100 |
| Message-ID | <BREjM-1wg-1@gated-at.bofh.it> |
| In reply to | #232846 |
[Multipart message — attachments visible in raw view] — view raw
> > 1-. Downloaded package firmware-realtek from package.debian.org. > 2-. Booted Debian Live. > 3-. Copied package from hard disk to the desktop (apt complains when > I load it directly). > 4-. Executed: sudo apt install firmware-realtek > 5-. Executed: sudo depmod -a > 6-. Executed: sudo modprobe r8712u > Lets see if driver was able to run your card: Check output of $ lspci $ iw dev $ ip link show If everything is ok, check if your card can see any network $ iw dev [YOUR_CARD_DEVICE] scan (I do not remember exact syntax, try "man iw" or "iw help") There is a good tutorial here: https://wiki.debian.org/WiFi/HowToUse
[toc] | [prev] | [next] | [standalone]
| From | Anssi Saari <as@sci.fi> |
|---|---|
| Date | 2021-03-12 10:20 +0100 |
| Message-ID | <BRM7D-6BT-1@gated-at.bofh.it> |
| In reply to | #232847 |
IL Ka <kazakevichilya@gmail.com> writes: > 1-. Downloaded package firmware-realtek from package.debian.org. > 2-. Booted Debian Live. > 3-. Copied package from hard disk to the desktop (apt complains when > I load it directly). > 4-. Executed: sudo apt install firmware-realtek > 5-. Executed: sudo depmod -a > 6-. Executed: sudo modprobe r8712u > > Lets see if driver was able to run your card: > > Check output of > $ lspci lsusb is going to be more useful with a USB device.
[toc] | [prev] | [next] | [standalone]
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Date | 2021-03-12 04:40 +0100 |
| Message-ID | <BRGOC-3bi-3@gated-at.bofh.it> |
| In reply to | #232846 |
On Thu, 11 Mar 2021 20:38:04 -0400 Cmdte Alpha Tigre Z <santiagopinth@gmail.com> wrote: > I tried to make a "Realtek RTL8191SU Wireless LAN 802.11n USB 2.0 > Network Adapter" work on Debian 10 Live with LXDE, but I couldn't. > Here is what I already have tried: > > 1-. Downloaded package firmware-realtek from package.debian.org. Erm, possibly because firmware-realtek doesn't support that particular adapter (??). It supports variants of the 8191, but I don't see the SU. root@orca:~# apt-cache show firmware-realtek | grep -i RTL8191SU root@orca:~# apt-cache show firmware-realtek | grep -i RTL8191 * Realtek RTL8192SE/RTL8191SE firmware, version 4.816.2011 root@orca:~# I say, possibly, because Realtek firmware is screwy. There are also USB WiFi adapters that simply don't play with Linux. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
[toc] | [prev] | [next] | [standalone]
| From | Cmdte Alpha Tigre Z <santiagopinth@gmail.com> |
|---|---|
| Date | 2021-03-12 14:10 +0100 |
| Message-ID | <BRPId-qz-9@gated-at.bofh.it> |
| In reply to | #232846 |
Here are some corrections, I did not really run these commands that way.
2021-03-11 20:38 GMT-04:00, Cmdte Alpha Tigre Z <santiagopinth@gmail.com>:
> 4-. Executed: sudo apt install firmware-realtek
sudo apt install <path-to-firmware-realtek>
> 5-. Executed: sudo depmod -a
sudo /sbin/depmod -a
> 6-. Executed: sudo modprobe r8712u
sudo /sbin/modprobe r8712u
2021-03-11 20:55 GMT-04:00, IL Ka <kazakevichilya@gmail.com>:
> Lets see if driver was able to run your card:
>
> Check output of
> $ lspci
bash: lspci: command not found :)
It was not under /bin nor /sbin
> $ iw dev
This didn't show anything
> $ ip link show
user@debian:/sbin$ ./ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 00:1e:4f:d6:1e:70 brd ff:ff:ff:ff:ff:ff
> If everything is ok, check if your card can see any network
>
> $ iw dev [YOUR_CARD_DEVICE] scan
There are no devices so I didn't run this.
2021-03-12 5:16 GMT-04:00, Anssi Saari <as@sci.fi>:
> lsusb is going to be more useful with a USB device.
bash: lsusb: command not found
:)
2021-03-11 23:14 GMT-04:00, Charles Curley <charlescurley@charlescurley.com>:
> Erm, possibly because firmware-realtek doesn't support that particular
> adapter (??). It supports variants of the 8191, but I don't see the SU.
>
> I say, possibly, because Realtek firmware is screwy.
I don't know:
https://wiki.debian.org/rtl819x
https://wiki.debian.org/rtl819x#supported-r8712u
> There are also USB WiFi adapters that simply don't play with Linux.
I wish this is not the case.
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2021-03-12 15:10 +0100 |
| Message-ID | <BRQEh-14i-1@gated-at.bofh.it> |
| In reply to | #232846 |
On Thu 11 Mar 2021 at 20:38:04 -0400, Cmdte Alpha Tigre Z wrote: > Hello. > > I tried to make a "Realtek RTL8191SU Wireless LAN 802.11n USB 2.0 > Network Adapter" work on Debian 10 Live with LXDE, but I couldn't. > Here is what I already have tried: > > 1-. Downloaded package firmware-realtek from package.debian.org. Ok. May also be done with 'apt download firmware-realtek'. > 2-. Booted Debian Live. > 3-. Copied package from hard disk to the desktop (apt complains when > I load it directly). > 4-. Executed: sudo apt install firmware-realtek I think that is incorrect. If you are in the same directory as firmware-realtek, I'd do 'sudo apt install ./firmware-realtek'. > 5-. Executed: sudo depmod -a > 6-. Executed: sudo modprobe r8712u According to https://wiki.debian.org/rtl819x#Realtek_RTL8188CE.2C_RTL8188CUS.2C_RTL8188DE.2C_RTL8188EE.2C_RTL8188ETV.2C_RTL8188EU.2C_RTL8188SU.2C_RTL8191SE.2C_RTL8191SU.2C_RTL8192CE.2C_RTL8192CU.2C_RTL8192DE.2C_RTL8192E.2C_RTL8192EE.2C_RTL8192SE.2C_RTL8192SU.2C_RTL8192U.2C_RTL8723AE.2C_RTL8723AU.2C_RTL8723BE.2C_RTL8812AE.2C_RTL8821AE_devices this is the correct kernel module. > Then, Wicd didn't show anything. I ran udevadm, I don't remember how, > to see if the USB WiFi adapter was detected; it was and also > the module r8712u was loaded for it. > > I need some help here, please. I don't want to use a non-free firmware > live image. Thanks. 'ip a' should show all available interfaces. -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2021-03-12 15:30 +0100 |
| Message-ID | <BRQXD-1bC-3@gated-at.bofh.it> |
| In reply to | #232890 |
On Fri 12 Mar 2021 at 14:04:14 +0000, Brian wrote: > On Thu 11 Mar 2021 at 20:38:04 -0400, Cmdte Alpha Tigre Z wrote: > > > 4-. Executed: sudo apt install firmware-realtek > > I think that is incorrect. If you are in the same directory as > firmware-realtek, I'd do 'sudo apt install ./firmware-realtek'. Correction: sudo apt install ./firmware-realtek_20190114-2_all.deb -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Cmdte Alpha Tigre Z <santiagopinth@gmail.com> |
|---|---|
| Date | 2021-03-12 17:30 +0100 |
| Message-ID | <BRSPM-2jf-11@gated-at.bofh.it> |
| In reply to | #232891 |
El vie, 12 mar 2021 a las 10:22, Brian (<ad44@cityscape.co.uk>) escribió: > > On Fri 12 Mar 2021 at 14:04:14 +0000, Brian wrote: > > > On Thu 11 Mar 2021 at 20:38:04 -0400, Cmdte Alpha Tigre Z wrote: > > > > > 4-. Executed: sudo apt install firmware-realtek > > > > I think that is incorrect. If you are in the same directory as > > firmware-realtek, I'd do 'sudo apt install ./firmware-realtek'. > > Correction: > > sudo apt install ./firmware-realtek_20190114-2_all.deb Yes, thanks for noting it. This is what I wrote here: El vie, 12 mar 2021 a las 9:00, Cmdte Alpha Tigre Z (<santiagopinth@gmail.com>) escribió: > Here are some corrections, I did not really run these commands that way. > > 2021-03-11 20:38 GMT-04:00, Cmdte Alpha Tigre Z <santiagopinth@gmail.com>: > > 4-. Executed: sudo apt install firmware-realtek > > sudo apt install <path-to-firmware-realtek> <path-to-firmware-realtek> is /home/user/Desktop/firmware-realtek_20190114-2_all.deb El vie, 12 mar 2021 a las 10:04, Brian (<ad44@cityscape.co.uk>) escribió: > > On Thu 11 Mar 2021 at 20:38:04 -0400, Cmdte Alpha Tigre Z wrote: > > I tried to make a "Realtek RTL8191SU Wireless LAN 802.11n USB 2.0 > > Network Adapter" work on Debian 10 Live with LXDE, but I couldn't. > > Here is what I already have tried: > > > > 1-. Downloaded package firmware-realtek from package.debian.org. > > Ok. May also be done with 'apt download firmware-realtek'. That would work if I already had Debian with internet connection. I can't use apt for anything because I don't have WiFi connection. El vie, 12 mar 2021 a las 10:04, Brian (<ad44@cityscape.co.uk>) escribió: > 'ip a' should show all available interfaces. Ok, I'll try that.
[toc] | [prev] | [next] | [standalone]
| From | Anssi Saari <as@sci.fi> |
|---|---|
| Date | 2021-03-12 19:20 +0100 |
| Message-ID | <BRUye-3qg-11@gated-at.bofh.it> |
| In reply to | #232846 |
Cmdte Alpha Tigre Z <santiagopinth@gmail.com> writes: > Hello. > > I tried to make a "Realtek RTL8191SU Wireless LAN 802.11n USB 2.0 > Network Adapter" work on Debian 10 Live with LXDE, but I couldn't. > Here is what I already have tried: > > 1-. Downloaded package firmware-realtek from package.debian.org. > 2-. Booted Debian Live. > 3-. Copied package from hard disk to the desktop (apt complains when > I load it directly). > 4-. Executed: sudo apt install firmware-realtek > 5-. Executed: sudo depmod -a > 6-. Executed: sudo modprobe r8712u > > Then, Wicd didn't show anything. I ran udevadm, I don't remember how, > to see if the USB WiFi adapter was detected; it was and also > the module r8712u was loaded for it. udevadm trigger is the command to run to simulate plugging in the wifi adapter after you have the firmware available. I don't think modprobe loads firmware. Alternatively you can just unplug and plug the adapter after installing the firmware. But if you did this and it still doesn't work I'm pretty much out of ideas. Does dmesg report anything relevant to network or realtek? For example I get this when my new system boots: r8169 0000:03:00.0: firmware: direct-loading firmware rtl_nic/rtl8125b-2.fw
[toc] | [prev] | [next] | [standalone]
| From | deloptes <deloptes@gmail.com> |
|---|---|
| Date | 2021-03-13 00:20 +0100 |
| Message-ID | <BRZex-6qR-1@gated-at.bofh.it> |
| In reply to | #232921 |
Anssi Saari wrote: > udevadm trigger is the command to run to simulate plugging in the wifi > adapter after you have the firmware available. I don't think modprobe > loads firmware. loading the driver, loads the firmware unloading the driver, unloads the firmware both done with modprobe. How do you load firmware manually, please?
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2021-03-13 01:20 +0100 |
| Message-ID | <BS0aB-6YR-1@gated-at.bofh.it> |
| In reply to | #232939 |
On Sat 13 Mar 2021 at 00:11:36 (+0100), deloptes wrote: > Anssi Saari wrote: > > > udevadm trigger is the command to run to simulate plugging in the wifi > > adapter after you have the firmware available. I don't think modprobe > > loads firmware. > > loading the driver, loads the firmware > unloading the driver, unloads the firmware > > both done with modprobe. How do you load firmware manually, please? I've always assumed that each driver (module) knows how to load its own firmware into its own hardware in its own special way. I've never tried going back and forth, but even if the firmware remains in the device, there's little to be gained by not reloading it, and a lot more to be gained by refreshing it (like updating it). Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Anssi Saari <as@sci.fi> |
|---|---|
| Date | 2021-03-13 09:10 +0100 |
| Message-ID | <BS7vr-3fU-5@gated-at.bofh.it> |
| In reply to | #232939 |
deloptes <deloptes@gmail.com> writes: > Anssi Saari wrote: > >> udevadm trigger is the command to run to simulate plugging in the wifi >> adapter after you have the firmware available. I don't think modprobe >> loads firmware. > > loading the driver, loads the firmware > unloading the driver, unloads the firmware > both done with modprobe. Are they? Show me. What I'm saying is modprobe doesn't load firmware and udev does since that was the observed behavior here. The OP in this very thread installed firmware and modprobed the driver but wifi device still didn't work. > How do you load firmware manually, please? I don't know, feel free look it up and share. All I know there was once a specific command to load fw for an old 3G modem I have in an old laptop but today that seems to happen automatically.
[toc] | [prev] | [next] | [standalone]
| From | Tixy <tixy@yxit.co.uk> |
|---|---|
| Date | 2021-03-13 11:10 +0100 |
| Message-ID | <BS9nA-4tM-9@gated-at.bofh.it> |
| In reply to | #232966 |
On Sat, 2021-03-13 at 10:04 +0200, Anssi Saari wrote: > deloptes <deloptes@gmail.com> writes: > > > Anssi Saari wrote: > > > > > udevadm trigger is the command to run to simulate plugging in the wifi > > > adapter after you have the firmware available. I don't think modprobe > > > loads firmware. > > > > loading the driver, loads the firmware > > unloading the driver, unloads the firmware > > > both done with modprobe. > > Are they? Show me. What I'm saying is modprobe doesn't load firmware and > udev does since that was the observed behavior here. That doesn't seem to be the standard method for the last 9 years, see... https://lwn.net/Articles/518942/ https://lkml.org/lkml/2013/8/5/175 >From reading those it appears that if firmware is in the correct filesystem location, then user space won't be involved any more with its loading. Maybe the old ways are still enabled in Debian and used in some cases? My bullseye kernel does have the kernel config enabled for user side firmware loaders, I've not looked at udev. -- Tixy
[toc] | [prev] | [next] | [standalone]
| From | Anssi Saari <as@sci.fi> |
|---|---|
| Date | 2021-03-15 17:50 +0100 |
| Message-ID | <BSYzM-bl-5@gated-at.bofh.it> |
| In reply to | #232971 |
Tixy <tixy@yxit.co.uk> writes: > That doesn't seem to be the standard method for the last 9 years, > see... > > https://lwn.net/Articles/518942/ > https://lkml.org/lkml/2013/8/5/175 Thanks. > Maybe the old ways are still enabled in Debian and used in some cases? > My bullseye kernel does have the kernel config enabled for user side > firmware loaders, I've not looked at udev. I seriously doubt that. udev is part of systemd now and it seems crazy Debian would maintain old code like that. With a quick look at the the patches Debian applies to udev there are six but none of them seem relevant to firmware loading.
[toc] | [prev] | [next] | [standalone]
| From | Kenneth Parker <sea7kenp@gmail.com> |
|---|---|
| Date | 2021-03-15 18:10 +0100 |
| Message-ID | <BSYT7-Ay-5@gated-at.bofh.it> |
| In reply to | #233118 |
[Multipart message — attachments visible in raw view] — view raw
On Mon, Mar 15, 2021, 12:45 PM Anssi Saari <as@sci.fi> wrote: > Tixy <tixy@yxit.co.uk> writes: > > > That doesn't seem to be the standard method for the last 9 years, > > see... > > > > https://lwn.net/Articles/518942/ > > https://lkml.org/lkml/2013/8/5/175 > > Thanks. > > > Maybe the old ways are still enabled in Debian and used in some cases? > > My bullseye kernel does have the kernel config enabled for user side > > firmware loaders, I've not looked at udev. > > I seriously doubt that. udev is part of systemd now and it seems crazy > Debian would maintain old code like that. With a quick look at the the > patches Debian applies to udev there are six but none of them seem > relevant to firmware loading. > That brings up a question: Do Debian and Devuan (Debian fork without SystemD) use the same Kernels? (And I may be able to answer my own question when I get home, as I run both). Kenneth Parker >
[toc] | [prev] | [next] | [standalone]
| From | Anssi Saari <as@sci.fi> |
|---|---|
| Date | 2021-03-15 21:50 +0100 |
| Message-ID | <BT2k1-2su-13@gated-at.bofh.it> |
| In reply to | #233121 |
Kenneth Parker <sea7kenp@gmail.com> writes: > That brings up a question: Do Debian and Devuan (Debian fork without SystemD) use the same Kernels? > > (And I may be able to answer my own question when I get home, as I run both). At least the versions look similar, 4.19 in stable and 5.10 from backports.
[toc] | [prev] | [next] | [standalone]
| From | Kenneth Parker <sea7kenp@gmail.com> |
|---|---|
| Date | 2021-03-16 04:50 +0100 |
| Message-ID | <BT8St-6rq-1@gated-at.bofh.it> |
| In reply to | #233133 |
[Multipart message — attachments visible in raw view] — view raw
On Mon, Mar 15, 2021, 4:44 PM Anssi Saari <as@sci.fi> wrote: > Kenneth Parker <sea7kenp@gmail.com> writes: > > > That brings up a question: Do Debian and Devuan (Debian fork without > SystemD) use the same Kernels? > > > > (And I may be able to answer my own question when I get home, as I run > both). > > At least the versions look similar, 4.19 in stable and 5.10 from > backports. > I didn't find what I was looking for (same Kernel in Debian and Devuan, where I could compare files) but, as Anssi found, they seem to come from the same place. Kenneth Parker >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web