Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242945 > unrolled thread

strange problem with usb wifi adapter

Started byLong Wind <longwind2@yahoo.com>
First post2021-12-11 06:40 +0100
Last post2021-12-12 13:00 +0100
Articles 8 on this page of 28 — 9 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  strange problem with usb wifi adapter Long Wind <longwind2@yahoo.com> - 2021-12-11 06:40 +0100
    Re: strange problem with usb wifi adapter <tomas@tuxteam.de> - 2021-12-11 08:50 +0100
      Re: strange problem with usb wifi adapter Long Wind <longwind2@yahoo.com> - 2021-12-11 09:20 +0100
        Re: strange problem with usb wifi adapter Long Wind <longwind2@yahoo.com> - 2021-12-11 09:20 +0100
        Re: strange problem with usb wifi adapter Cindy Sue Causey <butterflybytes@gmail.com> - 2021-12-11 09:30 +0100
          Re: strange problem with usb wifi adapter Long Wind <longwind2@yahoo.com> - 2021-12-11 10:00 +0100
            Re: strange problem with usb wifi adapter Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-11 10:30 +0100
        Re: strange problem with usb wifi adapter <tomas@tuxteam.de> - 2021-12-11 09:50 +0100
    Re: strange problem with usb wifi adapter "Andrew M.A. Cater" <amacater@einval.com> - 2021-12-11 13:20 +0100
      Re: strange problem with usb wifi adapter David Wright <deblis@lionunicorn.co.uk> - 2021-12-11 20:40 +0100
        Re: strange problem with usb wifi adapter Long Wind <longwind2@yahoo.com> - 2021-12-11 23:10 +0100
          Re: strange problem with usb wifi adapter David Wright <deblis@lionunicorn.co.uk> - 2021-12-12 00:20 +0100
            Re: strange problem with usb wifi adapter Long Wind <longwind2@yahoo.com> - 2021-12-12 01:20 +0100
              Re: strange problem with usb wifi adapter David Wright <deblis@lionunicorn.co.uk> - 2021-12-12 03:00 +0100
              Re: strange problem with usb wifi adapter "Andrew M.A. Cater" <amacater@einval.com> - 2021-12-12 11:10 +0100
                Re: strange problem with usb wifi adapter <tomas@tuxteam.de> - 2021-12-12 11:30 +0100
                  Re: strange problem with usb wifi adapter Long Wind <longwind2@yahoo.com> - 2021-12-12 14:10 +0100
                    Re: strange problem with usb wifi adapter Curt <curty@free.fr> - 2021-12-12 14:40 +0100
                      Re: strange problem with usb wifi adapter Long Wind <longwind2@yahoo.com> - 2021-12-15 11:10 +0100
                        Re: strange problem with usb wifi adapter Curt <curty@free.fr> - 2021-12-15 12:40 +0100
                          Re: strange problem with usb wifi adapter "Andrew M.A. Cater" <amacater@einval.com> - 2021-12-15 19:00 +0100
                          Re: strange problem with usb wifi adapter Long Wind <longwind2@yahoo.com> - 2021-12-16 02:30 +0100
                            Re: strange problem with usb wifi adapter Long Wind <longwind2@yahoo.com> - 2021-12-16 04:30 +0100
                    Re: strange problem with usb wifi adapter <tomas@tuxteam.de> - 2021-12-12 14:40 +0100
                Re: strange problem with usb wifi adapter Curt <curty@free.fr> - 2021-12-12 14:00 +0100
    Re: strange problem with usb wifi adapter Joe <joe@jretrading.com> - 2021-12-11 16:00 +0100
      Re: strange problem with usb wifi adapter Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-12 10:00 +0100
        Re: strange problem with usb wifi adapter Brian <ad44@cityscape.co.uk> - 2021-12-12 13:00 +0100

Page 2 of 2 — ← Prev page 1 [2]


#243147

From"Andrew M.A. Cater" <amacater@einval.com>
Date2021-12-15 19:00 +0100
Message-ID<DuGJk-1GS-5@gated-at.bofh.it>
In reply to#243135
On Wed, Dec 15, 2021 at 11:32:05AM -0000, Curt wrote:
> On 2021-12-15, Long Wind <longwind2@yahoo.com> wrote:
> > On Sunday, December 12, 2021, 8:31:17 AM EST, Curt <curty@free.fr> wrote: 
> > Does this mean the official Buster netinstall kernel contains a free driver for your wireless card but the subsequently installed Buster user kernel does not?
> >
> >
> > Sorry, Curt, I see your reply today, it's too late  
> >
> > i think official buster debian-10.11.0-i386-netinst.iso has non-free firmware, but it isn't installed to user's target device
> >
> > apparently both use non-free mt7601u firmware
> >
> > if they have free driver for my adapter, surely they shall install to my target device
> >
> 
> No problem; I was thinking later my remark was actually pretty stupid
> (ruining my stellar reputation here), but I'd seen this (believing if
> there was a kernel driver that meant it was open source or something)
> 
>  https://cateee.net/lkddb/web-lkddb/MT7601U.html
> 
> and also experienced mild incredulity in discovering the official netinstaller
> might contain a non-free entity (that it inexplicably deprives the
> obliviously "tainted" user once its job is done), which got me to
> wondering what in heaven's sake the *unofficial* netinstaller was for,
> the official one already being a little bit pregnant anyway, as it were.
> 
> 

So: if it works - you need firmware-linux-nonfree which pulls in 
firmware-misc-nonfree [For Bullseye]

  * MediaTek MT7601U firmware, version 34 (mt7601u.bin)

is in firmware-misc-nonfree.

If you use the unofficial non-free installer, that would be found on
boot, I think. If you then install a desktop environment, you would get
the ability to configure it with network-manager or whatever other utility.

Hope this helps, all the very best, as ever,

Andy Cater

[toc] | [prev] | [next] | [standalone]


#243156

FromLong Wind <longwind2@yahoo.com>
Date2021-12-16 02:30 +0100
Message-ID<DuNKN-5Zo-1@gated-at.bofh.it>
In reply to#243135
Curt, i have some good news, i try buster and bullseye *netinst.iso today, both ask me for  mt7601u.bin

it's not easy for me to explain why they don't last time

maybe installer find firmware somewhere in my PC
(i have installed linux before)
but why they don't install firmware to my target device?
maybe firmware happen to be in partition where debian 10/11 are to be installed

but installer has other bugs, it can't detect my netgear adapter though kernel support it, it can't proceed just because it's on 1st device.

i think i've been very unproductive bothering with these issues

[toc] | [prev] | [next] | [standalone]


#243158

FromLong Wind <longwind2@yahoo.com>
Date2021-12-16 04:30 +0100
Message-ID<DuPCW-7bu-1@gated-at.bofh.it>
In reply to#243156
i've been able to find out why official debian installer needn't non-freeware, 
thanks for David's explanation
  
run linux and set up my adapter with non-free mt7601u.bin
then reboot to start debian installer
this time installer can use my adapter without non-free firmware 
firmware loaded can survive reboot, as David explains

[toc] | [prev] | [next] | [standalone]


#243011

From<tomas@tuxteam.de>
Date2021-12-12 14:40 +0100
Message-ID<Dtxf4-CQ-11@gated-at.bofh.it>
In reply to#243009

[Multipart message — attachments visible in raw view] — view raw

On Sun, Dec 12, 2021 at 01:03:31PM +0000, Long Wind wrote:
> Thanks to all! i take tomás's advice and manage to copy buster installer's kernel message:
> 
> [   68.255616] usb 1-1.1: reset full-speed USB device number 6 using ehci-pci
> [   68.474958] mt7601u 1-1.1:1.0: ASIC revision: 76010001 MAC revision: 76010500
> [   68.531583] mt7601u 1-1.1:1.0: EEPROM ver:0d fae:00
> [   68.784552] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
> [   68.785518] usbcore: registered new interface driver mt7601u
> [   68.792412] mt7601u 1-1.1:1.0 wlx502b73d50a69: renamed from wlan0
> 
> and compare with buster's /var/log/messages:
> 
> [   86.341256] mt7601u 1-1.1:1.0: ASIC revision: 76010001 MAC revision: 76010500
> [   86.351154] mt7601u 1-1.1:1.0: firmware: direct-loading firmware mt7601u.bin
> [   86.351172] mt7601u 1-1.1:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____
> [   86.739115] mt7601u 1-1.1:1.0: EEPROM ver:0d fae:00
> [   87.021000] usbcore: registered new interface driver mt7601u
> [   87.066835] mt7601u 1-1.1:1.0 wlx502b73d50a69: renamed from wlan0
> 
> it seems to me that buster installer include non-free firmware, but it isn't installed to user's target device

That sounds plausible. What I miss in the comparison is the complaint
that it couldn't load the firmware, like in my case:

 [   54.996555] iwlwifi 0000:03:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)

But perhaps this driver is silent? I don't know.

Cheers
-- 
t

[toc] | [prev] | [next] | [standalone]


#243008

FromCurt <curty@free.fr>
Date2021-12-12 14:00 +0100
Message-ID<DtwCl-an-1@gated-at.bofh.it>
In reply to#243002
On 2021-12-12, Andrew M.A. Cater <amacater@einval.com> wrote:
>
> The fact of having trouble installing via wifi is one of the reasons why
> installer doesn't configure it - though you do get a prompt saying something 

The fact here, though, is the OP's wireless card was "configured" during
the installation process and worked perfectly. What we're trying to
discover is how and why his wireless worked with the official Debian
installer if it requires non-free firmware to function after a hard
reboot. 

[toc] | [prev] | [next] | [standalone]


#242964

FromJoe <joe@jretrading.com>
Date2021-12-11 16:00 +0100
Message-ID<Dtc0W-4vl-5@gated-at.bofh.it>
In reply to#242945
On Sat, 11 Dec 2021 05:33:05 +0000 (UTC)
Long Wind <longwind2@yahoo.com> wrote:

> buster installer can configure my usb wifi adapter without
> non-freeware it works well after installation, i install many
> packages by wifi i shutdown and power disconnect from pc
> then power return and i boot buster, 
> buster can't recognize wifi adapter, though i try many usb ports
> i install  firmware-misc-nonfree, wifi adapter works now
> 
> i bet bullseye has same problem
> 

This kind of problem is fairly normal with installers: they often use
features within their own code which they do not necessarily install in
the target system. The installer will have loaded the necessary firmware
for its own use, but will not assume that the installed system also
needs it, especially if you don't ask for non-free software.

I did my first netinstall without asking for expert mode (I assumed it
would do a decent job by itself, and I did not consider myself an
expert) and this was when I had only a couple of computers and used
hosts files and static addressing. Under those conditions, the
installer did not install Ethernet networking in the installed system,
despite having used it itself in order to make the installation. 

I reported this behaviour as a bug and was rather tersely told that it
was a feature. No expert + no DHCP = no Ethernet. OK, I could have been
building an isolated certificate authority machine, but surely then I'd
have used expert mode...

I don't know if installers still do that, it's many years since I ran a
network without DHCP, and I *always* use expert mode, even for routine
throwaway installations.

-- 
Joe

[toc] | [prev] | [next] | [standalone]


#242999

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2021-12-12 10:00 +0100
Message-ID<DtsS6-6ly-7@gated-at.bofh.it>
In reply to#242964

[Multipart message — attachments visible in raw view] — view raw

On Sb, 11 dec 21, 14:57:42, Joe wrote:
> 
> I did my first netinstall without asking for expert mode (I assumed it
> would do a decent job by itself, and I did not consider myself an
> expert) and this was when I had only a couple of computers and used
> hosts files and static addressing. Under those conditions, the
> installer did not install Ethernet networking in the installed system,
> despite having used it itself in order to make the installation. 
> 
> I reported this behaviour as a bug and was rather tersely told that it
> was a feature. No expert + no DHCP = no Ethernet. OK, I could have been
> building an isolated certificate authority machine, but surely then I'd
> have used expert mode...
> 
> I don't know if installers still do that, it's many years since I ran a
> network without DHCP, and I *always* use expert mode, even for routine
> throwaway installations.

The configuration used during the installation is passed on to the final 
system. It has been like this since at least sarge.


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [next] | [standalone]


#243006

FromBrian <ad44@cityscape.co.uk>
Date2021-12-12 13:00 +0100
Message-ID<DtvGh-82u-1@gated-at.bofh.it>
In reply to#242999
On Sun 12 Dec 2021 at 09:58:29 +0100, Andrei POPESCU wrote:

> On Sb, 11 dec 21, 14:57:42, Joe wrote:
> > 
> > I did my first netinstall without asking for expert mode (I assumed it
> > would do a decent job by itself, and I did not consider myself an
> > expert) and this was when I had only a couple of computers and used
> > hosts files and static addressing. Under those conditions, the
> > installer did not install Ethernet networking in the installed system,
> > despite having used it itself in order to make the installation. 
> > 
> > I reported this behaviour as a bug and was rather tersely told that it
> > was a feature. No expert + no DHCP = no Ethernet. OK, I could have been
> > building an isolated certificate authority machine, but surely then I'd
> > have used expert mode...
> > 
> > I don't know if installers still do that, it's many years since I ran a
> > network without DHCP, and I *always* use expert mode, even for routine
> > throwaway installations.
> 
> The configuration used during the installation is passed on to the final 
> system. It has been like this since at least sarge.

These days an exception to this is when the installation is done over a
wireless link and a DE is not selected. See the bug reports for netcfg.

-- 
Brian.

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | linux.debian.user


csiph-web