Re: [qubes-users] Driver for usb wifi MT7610U

2019-03-19 Thread 'Christophe' via qubes-users
Hi, yes the error in the VM is about bad usb cable when I use the 4.20 kernel.

[   50.803667] cfg80211: Loading compiled-in X.509 certificates for regulatory 
database
[   50.840384] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   51.761645] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[   54.425794] mt76x0u: probe of 1-1:1.0 failed with error -110

It seems that the problem is specific to kernel 4.20 according this bug report 
https://bugzilla.kernel.org/show_bug.cgi?id=202243

There seem to be a patch, but it's still not clear for me how to apply it. They 
also say it's working fine with 4.19 kernel.

I'm trying to install the 4.19 kernel, but there seem to still be some wrong 
repo config on my system, when I run 'sudo qubes-dom0-update 
kernel-latest-devel-4.19.2-3.pvops.qubes.x86_64' the package is downloaded but 
then it returns an Error : Unable to find a match.

Best regards,

Christophe

On 3/19/19 10:08 AM, Frédéric Pierret wrote:

> Hi,
>
> Sorry for the few trouble you had with the .repo files which has been 
> corrected in recent updates.
>
> Have a look into your VM where you attached your wifi adapter. Does something 
> like 'bad usb cable' appear?
>
> Best,
>
> Frédéric
>
> On 3/18/19 3:32 PM, Christophe wrote:
>
>> Hello, thank you for your help.
>>
>> sudo qubes-dom0-update kernel-latest-qubes-vm, did not find any package, by 
>> running sudo qubes-dom0-update -v I found out something was pointing to some 
>> non existing URL.
>>
>> https://yum.qubes-os.org/r25-5/current/dom0/fc25/repodata/repomd.xml.metalink
>>
>> After some research I did some changes in /etc/yum.repos.d/qubes-dom0.repo, 
>> I replaced all the $releasever by 4.0, I got an important amount of updates 
>> after this and I was finally able to user kernel 4.20.3-1 in my VMs.
>>
>> Unfortunately this still didn't solve my wifi adapter problem. When I now 
>> assign the wifi adapter to a vm with the qvm-usb attach command, it appears 
>> briefly in the lsusb results of the vm, but then just disappears.
>>
>> Best regards,
>>
>> Christophe
>>
>> On 3/17/19 10:15 PM, Frédéric Pierret wrote:
>>
>>> Hi,
>>>
>>> I just googled (https://wireless.wiki.kernel.org/en/users/drivers/mediatek) 
>>> that it seems to be in 4.19+ kernels. From your error, you seem to run 4.14 
>>> kernel into you vm. Or we provide 4.19+ kernels. You need to update your 
>>> dom0 (if it is not done) and change your vm settings to use kernel-4.19.15 
>>> which is the current LTS. We also provide mainline stable kernel by 
>>> installing 'kernel-latest'. So if you are only interested in having more 
>>> updated kernels only in your VM, install the package 
>>> 'kernel-latest-qubes-vm' (in dom0: sudo qubes-dom0-update 
>>> kernel-latest-qubes-vm) and change your vm settings to the more recent one.
>>>
>>> Best regards,
>>>
>>> Frédéric
>>>
>>> On 3/17/19 9:59 PM, 'Christophe Vial' via qubes-users wrote:
>>>
 Hi all, I'm trying to use a usb wifi adapter (TP-Link archer T2U).

 the lsusb command returns

 Bus 002 Device 002: ID 148f:761a Ralink Technology, Corp. MT7610U
 ("Archer T2U" 2.4G+5G WLAN Adapter

 After some research I found the driver to install from
 https://github.com/ulli-kroll/mt7610u

 But the make command fails. I tried both in fedora-29 and debian9 vm,
 but in both cases I get the same error :

 make ARCH=x86_64 CROSS_COMPILE= -C
 /lib/modules/4.14.74-1.pvops.qubes.x86_64/build M=/home/user/src/mt7610u
 modules
 make[1]: Entering directory
 '/usr/lib/modules/4.14.74-1.pvops.qubes.x86_64/build'
 make[2]: *** No rule to make target
 '/home/user/src/mt7610u/os/linux/rt_profile.o', needed by
 '/home/user/src/mt7610u/mt7610u.o'.  Stop.
 make[1]: *** [Makefile:1527: _module_/home/user/src/mt7610u] Error 2
 make[1]: Leaving directory
 '/usr/lib/modules/4.14.74-1.pvops.qubes.x86_64/build'
 make: *** [Makefile:370: modules] Error 2

 Does anyone knows how to fix it ?

 And if not, any recommendations for some usb wifi adapters working out
 of the box ? I still have few days to return this one if I can't get it
 working.

 --
 You received this message because you are subscribed to the Google Groups 
 "qubes-users" group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to qubes-users+unsubscr...@googlegroups.com.
 To post to this group, send email to qubes-users@googlegroups.com.
 To view this discussion on the web visit 
 [https://groups.google.com/d/msgid/qubes-users/Z0glcPBTr8ysTLe7JJX_K95S3BruPuVKAeqHIB2nPad1ANzOYUpWDhDmVTcRN56JaptfUPAKUySJ6iTNHxCy8e1AhKi4XnNkL_JRlh3kXq4%3D%40protonmail.com](https://groups.google.com/d/msgid/qubes-users/Z0glcPBTr8ysTLe7JJX_K95S3BruPuVKAeqHIB2nPad1ANzOYUpWDhDmVTcRN56JaptfUPAKUySJ6iTNHxCy8e1AhKi4XnNkL_JRlh3kXq4%3D%40protonmail.com?utm_medium=email_source=footer).
 For more options, visit 

Re: [qubes-users] Driver for usb wifi MT7610U

2019-03-19 Thread Frédéric Pierret
Hi,

Sorry for the few trouble you had with the .repo files which has been
corrected in recent updates.

Have a look into your VM where you attached your wifi adapter. Does
something like 'bad usb cable' appear?

Best,

Frédéric

On 3/18/19 3:32 PM, Christophe wrote:
>
> Hello, thank you for your help.
>
> sudo qubes-dom0-update kernel-latest-qubes-vm, did not find any
> package, by running sudo qubes-dom0-update -v I found out something
> was pointing to some non existing URL.
>
> https://yum.qubes-os.org/r25-5/current/dom0/fc25/repodata/repomd.xml.metalink
>
> After some research I did some changes in
> /etc/yum.repos.d/qubes-dom0.repo, I replaced all the $releasever by
> 4.0, I got an important amount of updates after this and I was finally
> able to user kernel 4.20.3-1 in my VMs.
>
> Unfortunately this still didn't solve my wifi adapter problem. When I
> now assign the wifi adapter to a vm with the qvm-usb attach command,
> it appears briefly in the lsusb results of the vm, but then just
> disappears.
>
> Best regards,
>
> Christophe
>
> On 3/17/19 10:15 PM, Frédéric Pierret wrote:
>>
>> Hi,
>>
>> I just googled
>> (https://wireless.wiki.kernel.org/en/users/drivers/mediatek) that it
>> seems to be in 4.19+ kernels. From your error, you seem to run 4.14
>> kernel into you vm. Or we provide 4.19+ kernels. You need to update
>> your dom0 (if it is not done) and change your vm settings to use
>> kernel-4.19.15 which is the current LTS. We also provide mainline
>> stable kernel by installing 'kernel-latest'. So if you are only
>> interested in having more updated kernels only in your VM, install
>> the package 'kernel-latest-qubes-vm' (in dom0: sudo qubes-dom0-update
>> kernel-latest-qubes-vm) and change your vm settings to the more
>> recent one.
>>
>> Best regards,
>>
>> Frédéric
>>
>> On 3/17/19 9:59 PM, 'Christophe Vial' via qubes-users wrote:
>>> Hi all, I'm trying to use a usb wifi adapter (TP-Link archer T2U).
>>>
>>> the lsusb command returns
>>>
>>> Bus 002 Device 002: ID 148f:761a Ralink Technology, Corp. MT7610U
>>> ("Archer T2U" 2.4G+5G WLAN Adapter
>>>
>>> After some research I found the driver to install from
>>> https://github.com/ulli-kroll/mt7610u
>>>
>>> But the make command fails. I tried both in fedora-29 and debian9 vm,
>>> but in both cases I get the same error :
>>>
>>> make ARCH=x86_64 CROSS_COMPILE= -C
>>> /lib/modules/4.14.74-1.pvops.qubes.x86_64/build M=/home/user/src/mt7610u
>>> modules
>>> make[1]: Entering directory
>>> '/usr/lib/modules/4.14.74-1.pvops.qubes.x86_64/build'
>>> make[2]: *** No rule to make target
>>> '/home/user/src/mt7610u/os/linux/rt_profile.o', needed by
>>> '/home/user/src/mt7610u/mt7610u.o'.  Stop.
>>> make[1]: *** [Makefile:1527: _module_/home/user/src/mt7610u] Error 2
>>> make[1]: Leaving directory
>>> '/usr/lib/modules/4.14.74-1.pvops.qubes.x86_64/build'
>>> make: *** [Makefile:370: modules] Error 2
>>>
>>> Does anyone knows how to fix it ?
>>>
>>> And if not, any recommendations for some usb wifi adapters working out
>>> of the box ? I still have few days to return this one if I can't get it
>>> working.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "qubes-users" group.
>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an email to qubes-users+unsubscr...@googlegroups.com
>>> .
>>> To post to this group, send email to qubes-users@googlegroups.com
>>> .
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/qubes-users/Z0glcPBTr8ysTLe7JJX_K95S3BruPuVKAeqHIB2nPad1ANzOYUpWDhDmVTcRN56JaptfUPAKUySJ6iTNHxCy8e1AhKi4XnNkL_JRlh3kXq4%3D%40protonmail.com
>>> .
>>> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f644ca4f-7486-9e08-325e-d063bc5cb3cc%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: [qubes-users] Driver for usb wifi MT7610U

2019-03-18 Thread 'Christophe' via qubes-users
Hello, thank you for your help.

sudo qubes-dom0-update kernel-latest-qubes-vm, did not find any package, by 
running sudo qubes-dom0-update -v I found out something was pointing to some 
non existing URL.

https://yum.qubes-os.org/r25-5/current/dom0/fc25/repodata/repomd.xml.metalink

After some research I did some changes in /etc/yum.repos.d/qubes-dom0.repo, I 
replaced all the $releasever by 4.0, I got an important amount of updates after 
this and I was finally able to user kernel 4.20.3-1 in my VMs.

Unfortunately this still didn't solve my wifi adapter problem. When I now 
assign the wifi adapter to a vm with the qvm-usb attach command, it appears 
briefly in the lsusb results of the vm, but then just disappears.

Best regards,

Christophe

On 3/17/19 10:15 PM, Frédéric Pierret wrote:

> Hi,
>
> I just googled (https://wireless.wiki.kernel.org/en/users/drivers/mediatek) 
> that it seems to be in 4.19+ kernels. From your error, you seem to run 4.14 
> kernel into you vm. Or we provide 4.19+ kernels. You need to update your dom0 
> (if it is not done) and change your vm settings to use kernel-4.19.15 which 
> is the current LTS. We also provide mainline stable kernel by installing 
> 'kernel-latest'. So if you are only interested in having more updated kernels 
> only in your VM, install the package 'kernel-latest-qubes-vm' (in dom0: sudo 
> qubes-dom0-update kernel-latest-qubes-vm) and change your vm settings to the 
> more recent one.
>
> Best regards,
>
> Frédéric
>
> On 3/17/19 9:59 PM, 'Christophe Vial' via qubes-users wrote:
>
>> Hi all, I'm trying to use a usb wifi adapter (TP-Link archer T2U).
>>
>> the lsusb command returns
>>
>> Bus 002 Device 002: ID 148f:761a Ralink Technology, Corp. MT7610U
>> ("Archer T2U" 2.4G+5G WLAN Adapter
>>
>> After some research I found the driver to install from
>> https://github.com/ulli-kroll/mt7610u
>>
>> But the make command fails. I tried both in fedora-29 and debian9 vm,
>> but in both cases I get the same error :
>>
>> make ARCH=x86_64 CROSS_COMPILE= -C
>> /lib/modules/4.14.74-1.pvops.qubes.x86_64/build M=/home/user/src/mt7610u
>> modules
>> make[1]: Entering directory
>> '/usr/lib/modules/4.14.74-1.pvops.qubes.x86_64/build'
>> make[2]: *** No rule to make target
>> '/home/user/src/mt7610u/os/linux/rt_profile.o', needed by
>> '/home/user/src/mt7610u/mt7610u.o'.  Stop.
>> make[1]: *** [Makefile:1527: _module_/home/user/src/mt7610u] Error 2
>> make[1]: Leaving directory
>> '/usr/lib/modules/4.14.74-1.pvops.qubes.x86_64/build'
>> make: *** [Makefile:370: modules] Error 2
>>
>> Does anyone knows how to fix it ?
>>
>> And if not, any recommendations for some usb wifi adapters working out
>> of the box ? I still have few days to return this one if I can't get it
>> working.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "qubes-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to qubes-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to qubes-users@googlegroups.com.
>> To view this discussion on the web visit 
>> [https://groups.google.com/d/msgid/qubes-users/Z0glcPBTr8ysTLe7JJX_K95S3BruPuVKAeqHIB2nPad1ANzOYUpWDhDmVTcRN56JaptfUPAKUySJ6iTNHxCy8e1AhKi4XnNkL_JRlh3kXq4%3D%40protonmail.com](https://groups.google.com/d/msgid/qubes-users/Z0glcPBTr8ysTLe7JJX_K95S3BruPuVKAeqHIB2nPad1ANzOYUpWDhDmVTcRN56JaptfUPAKUySJ6iTNHxCy8e1AhKi4XnNkL_JRlh3kXq4%3D%40protonmail.com?utm_medium=email_source=footer).
>> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/nYdtvxG25fX7nyZ0x-i9J8ytpWnJOW5qFt9M5MdZxhGaQyxwn358pZJVLaWsE_mEWUsipwK1HavURiqeOaaUU8sXHReTn27e8P2pT0XMGXg%3D%40protonmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Driver for usb wifi MT7610U

2019-03-17 Thread Frédéric Pierret
Hi,

I just googled
(https://wireless.wiki.kernel.org/en/users/drivers/mediatek) that it
seems to be in 4.19+ kernels. From your error, you seem to run 4.14
kernel into you vm. Or we provide 4.19+ kernels. You need to update your
dom0 (if it is not done) and change your vm settings to use
kernel-4.19.15 which is the current LTS. We also provide mainline stable
kernel by installing 'kernel-latest'. So if you are only interested in
having more updated kernels only in your VM, install the package
'kernel-latest-qubes-vm' (in dom0: sudo qubes-dom0-update
kernel-latest-qubes-vm) and change your vm settings to the more recent one.

Best regards,

Frédéric

On 3/17/19 9:59 PM, 'Christophe Vial' via qubes-users wrote:
> Hi all, I'm trying to use a usb wifi adapter (TP-Link archer T2U).
>
> the lsusb command returns
>
> Bus 002 Device 002: ID 148f:761a Ralink Technology, Corp. MT7610U
> ("Archer T2U" 2.4G+5G WLAN Adapter
>
> After some research I found the driver to install from
> https://github.com/ulli-kroll/mt7610u
>
> But the make command fails. I tried both in fedora-29 and debian9 vm,
> but in both cases I get the same error :
>
> make ARCH=x86_64 CROSS_COMPILE= -C
> /lib/modules/4.14.74-1.pvops.qubes.x86_64/build M=/home/user/src/mt7610u
> modules
> make[1]: Entering directory
> '/usr/lib/modules/4.14.74-1.pvops.qubes.x86_64/build'
> make[2]: *** No rule to make target
> '/home/user/src/mt7610u/os/linux/rt_profile.o', needed by
> '/home/user/src/mt7610u/mt7610u.o'.  Stop.
> make[1]: *** [Makefile:1527: _module_/home/user/src/mt7610u] Error 2
> make[1]: Leaving directory
> '/usr/lib/modules/4.14.74-1.pvops.qubes.x86_64/build'
> make: *** [Makefile:370: modules] Error 2
>
> Does anyone knows how to fix it ?
>
> And if not, any recommendations for some usb wifi adapters working out
> of the box ? I still have few days to return this one if I can't get it
> working.
>
>
>
>
>
>
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "qubes-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to qubes-users+unsubscr...@googlegroups.com
> .
> To post to this group, send email to qubes-users@googlegroups.com
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qubes-users/Z0glcPBTr8ysTLe7JJX_K95S3BruPuVKAeqHIB2nPad1ANzOYUpWDhDmVTcRN56JaptfUPAKUySJ6iTNHxCy8e1AhKi4XnNkL_JRlh3kXq4%3D%40protonmail.com
> .
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f475e830-8314-8dfe-f961-20df737f42c7%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


[qubes-users] Driver for usb wifi MT7610U

2019-03-17 Thread 'Christophe Vial' via qubes-users
Hi all, I'm trying to use a usb wifi adapter (TP-Link archer T2U).

the lsusb command returns

Bus 002 Device 002: ID 148f:761a Ralink Technology, Corp. MT7610U
("Archer T2U" 2.4G+5G WLAN Adapter

After some research I found the driver to install from
https://github.com/ulli-kroll/mt7610u

But the make command fails. I tried both in fedora-29 and debian9 vm,
but in both cases I get the same error :

make ARCH=x86_64 CROSS_COMPILE= -C
/lib/modules/4.14.74-1.pvops.qubes.x86_64/build M=/home/user/src/mt7610u
modules
make[1]: Entering directory
'/usr/lib/modules/4.14.74-1.pvops.qubes.x86_64/build'
make[2]: *** No rule to make target
'/home/user/src/mt7610u/os/linux/rt_profile.o', needed by
'/home/user/src/mt7610u/mt7610u.o'.  Stop.
make[1]: *** [Makefile:1527: _module_/home/user/src/mt7610u] Error 2
make[1]: Leaving directory
'/usr/lib/modules/4.14.74-1.pvops.qubes.x86_64/build'
make: *** [Makefile:370: modules] Error 2

Does anyone knows how to fix it ?

And if not, any recommendations for some usb wifi adapters working out
of the box ? I still have few days to return this one if I can't get it
working.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/Z0glcPBTr8ysTLe7JJX_K95S3BruPuVKAeqHIB2nPad1ANzOYUpWDhDmVTcRN56JaptfUPAKUySJ6iTNHxCy8e1AhKi4XnNkL_JRlh3kXq4%3D%40protonmail.com.
For more options, visit https://groups.google.com/d/optout.