Open mexon opened 5 years ago
Same problem here to on rp3. $ uname -a Linux oagv_node 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l GNU/Linux
$ lsusb Bus 001 Device 005: ID 045e:0800 Microsoft Corp. Bus 001 Device 004: ID 0e8d:7610 MediaTek Inc.
$ dmesg | grep -i mt76 [ 4.642994] mt76x0 1-1.2:1.0: ASIC revision: 76100002 MAC revision: 76502000 [ 4.644185] mt76x0 1-1.2:1.0: Direct firmware load for mediatek/mt7610u.bin failed with error -2 [ 4.646495] mt76x0: probe of 1-1.2:1.0 failed with error -2 [ 4.646755] usbcore: registered new interface driver mt76x0 [ 6.012631] mt7610u_sta: loading out-of-tree module taints kernel. [ 8.211090] /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/../../chips/mt76x0.c:2114 assert (pAd->TxPower[choffset].Channel == 36)failed [ 8.226889] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xf8 [ 8.226898] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff8
ifconfig shows ra0 only assigned 169.254.x.x instead of 192.168.x.x
Any updates?
Hey, thanks for reminding me that this adapter is still lying around in a drawer. The good news is, there's a native driver baked into recent kernels that works! Almost! I just tried it on Raspbian 10, kernel 4.19.118-v7+. With the hackery from that second link, plus a reboot, it associates fine. So looks like it's time for me to try to remember why I bought that adapter all those years ago...
I am trying to get this driver working with an Archer T2UH plugged into a Raspberry Pi 3. It works fine if I give it a static IP address. But it can't connect using DHCP. If I do a tcpdump on both sides during the DHCP phase, on the DHCP server side I can see it receiving the request and sending a response. But on the Raspberry Pi I can only see the request, not the response.
In Wireshark I can see that the DHCP response is addressed to 192.168.3.103, the new address of the T2UH. So I'm guessing that the driver is ignoring packets that are not broadcast and are not sent to the existing IP address of the adapter. I don't know a lot about the details of DHCP, but it seems like it shouldn't work that way.
To reproduce, install 2018-11-13-raspbian-stretch-lite.img on the Raspberry Pi. Then...