Closed abc123me closed 7 years ago
@abc123me Did you ever get this working? I have the same wifi adapter, but can't get the adapter to use 5Ghz at all.
I finally got it working, but I had to change the regulatory domain to US using sudo iw reg set US
to enable 5Ghz channels
No luck
From: Jordan Baczuk notifications@github.com Sent: Saturday, May 27, 2017 12:16 PM To: xtknight/mt7610u-linksys-ae6000-wifi-fixes Cc: Jeremiah Lowe; Mention Subject: Re: [xtknight/mt7610u-linksys-ae6000-wifi-fixes] Won't build for raspberry pi (#19)
@abc123mehttps://github.com/abc123me Did you ever get this working? I have the same wifi adapter, but can't get the adapter to use 5Ghz at all.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/xtknight/mt7610u-linksys-ae6000-wifi-fixes/issues/19#issuecomment-304461490, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHs5LZVH4qsQXxEkYmbNbT5-DbuHmYIoks5r-ExhgaJpZM4NE_WV.
I think the problem is the kernel headers are out of date. Before you do make
try running sudo apt-get upgrade raspberrypi-kernel-headers
It worked, Thank you helped alot!
I thought it worked, the adapter lights up and the kernel module is there, but no wifi looking in boot log I found this:
Jun 1 23:17:12 raspberrypi kernel: [ 2.482213] usb 1-1.2: New USB device found, idVendor=13b1, idProduct=003e
Jun 1 23:17:12 raspberrypi kernel: [ 2.485369] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 1 23:17:12 raspberrypi kernel: [ 2.488471] usb 1-1.2: Product: Linksys AE6000
Jun 1 23:17:12 raspberrypi kernel: [ 2.491534] usb 1-1.2: Manufacturer: Cisco
Jun 1 23:17:12 raspberrypi kernel: [ 2.494428] usb 1-1.2: SerialNumber: 0009
Jun 1 23:17:12 raspberrypi kernel: [ 3.536862] i2c /dev entries driver
Jun 1 23:17:12 raspberrypi kernel: [ 5.767398] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
Jun 1 23:17:12 raspberrypi kernel: [ 6.663934] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Jun 1 23:17:12 raspberrypi kernel: [ 9.853096] mt7610u_sta: loading out-of-tree module taints kernel.
Jun 1 23:17:12 raspberrypi kernel: [ 9.870991] rtusb init rt2870 --->
Jun 1 23:17:12 raspberrypi kernel: [ 9.871680]
Jun 1 23:17:12 raspberrypi kernel: [ 9.871680]
Jun 1 23:17:12 raspberrypi kernel: [ 9.871680] === pAd = dcd0c000, size = 855480 ===
Jun 1 23:17:12 raspberrypi kernel: [ 9.871680]
Jun 1 23:17:12 raspberrypi kernel: [ 9.871750] <-- RTMPAllocTxRxRingMemory, Status=0
Jun 1 23:17:12 raspberrypi kernel: [ 9.872695] <-- RTMPAllocAdapterBlock, Status=0
Jun 1 23:17:12 raspberrypi kernel: [ 9.872853] ==>RT65xx_WLAN_ChipOnOff(): OnOff:1, Reset= 0, pAd->WlanFunCtrl:0x0, Reg-WlanFunCtrl=0xff000002
Jun 1 23:17:12 raspberrypi kernel: [ 9.875258] MCUType = 2
Jun 1 23:17:12 raspberrypi kernel: [ 9.875504] NVM is EFUSE
Jun 1 23:17:12 raspberrypi kernel: [ 9.875513] Endpoint(8) is for In-band Command
Jun 1 23:17:12 raspberrypi kernel: [ 9.875518] Endpoint(4) is for WMM0 AC0
Jun 1 23:17:12 raspberrypi kernel: [ 9.875522] Endpoint(5) is for WMM0 AC1
Jun 1 23:17:12 raspberrypi kernel: [ 9.875525] Endpoint(6) is for WMM0 AC2
Jun 1 23:17:12 raspberrypi kernel: [ 9.875528] Endpoint(7) is for WMM0 AC3
Jun 1 23:17:12 raspberrypi kernel: [ 9.875533] Endpoint(9) is for WMM1 AC0
Jun 1 23:17:12 raspberrypi kernel: [ 9.875536] Endpoint(84) is for Data-In
Jun 1 23:17:12 raspberrypi kernel: [ 9.875539] Endpoint(85) is for Command Rsp
Jun 1 23:17:12 raspberrypi kernel: [ 9.888235] usbcore: registered new interface driver rt2870
Jun 1 23:17:12 raspberrypi kernel: [ 10.333139] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Jun 1 23:17:12 raspberrypi kernel: [ 11.962192] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Jun 1 23:17:12 raspberrypi kernel: [ 14.345565] Adding 102396k swap on /var/swap. Priority:-1 extents:5 across:200700k SSFS
Using ifconfig -a
I got a list of all network interfaces
eth0 Link encap:Ethernet HWaddr b8:27:eb:df:4b:0b
inet addr:192.168.2.199 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::2022:e616:3a06:968b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:710 errors:0 dropped:0 overruns:0 frame:0
TX packets:647 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:58705 (57.3 KiB) TX bytes:91180 (89.0 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ra0 Link encap:Ethernet HWaddr 14:91:82:b9:01:d0
inet addr:169.254.185.103 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::24b:5bfc:8a9e:b148/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
And my /etc/network/interfaces file
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.2.199
netmask 255.255.255.0
gateway 192.168.2.1
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "insert SSID here"
wpa-psk "bestPasswordEverMadeInTheWholeUniverse2015"
I found another interesting error that may be the cause of it not working:
Jun 1 23:17:13 raspberrypi kernel: [ 15.236135] no file read method
Jun 1 23:17:13 raspberrypi kernel: [ 15.236149] Read file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed(errCode=-1)!
Jun 1 23:17:13 raspberrypi kernel: [ 15.236164] 1. Phy Mode = 6
Jun 1 23:17:13 raspberrypi kernel: [ 15.236170] 2. Phy Mode = 6
Jun 1 23:17:13 raspberrypi kernel: [ 15.236177] NVM is Efuse and its size =1d[1e0-1fc]
Jun 1 23:17:13 raspberrypi kernel: [ 15.258807] /home/pi/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../chips/mt76x0.c:2114 assert (pAd->TxPower[choffset].Channel == 36)failed
Jun 1 23:17:13 raspberrypi kernel: [ 15.278176] mt76x0_read_tx_alc_info_from_eeprom: EEPROM_MT76x0_TEMPERATURE_OFFSET (0xD1) = 0xff
Jun 1 23:17:13 raspberrypi kernel: [ 15.278187] mt76x0_read_tx_alc_info_from_eeprom: TemperatureOffset = 0xfffffff6
Jun 1 23:17:13 raspberrypi kernel: [ 15.278190] Temperature Tx ALC not enabled
Jun 1 23:17:13 raspberrypi kernel: [ 15.299230] 3. Phy Mode = 6
Jun 1 23:17:13 raspberrypi kernel: [ 15.299245] AntCfgInit: primary/secondary ant 0/1
Jun 1 23:17:13 raspberrypi kernel: [ 15.307173] RTMPSetPhyMode: channel is out of range, use first channel=1
Jun 1 23:17:13 raspberrypi kernel: [ 15.307189] MCS Set = 00 00 00 00 00
Jun 1 23:17:13 raspberrypi kernel: [ 15.317312] <==== rt28xx_init, Status=0
Jun 1 23:17:13 raspberrypi kernel: [ 15.319822] 0x1300 = 00073200
Jun 1 23:17:13 raspberrypi kernel: [ 15.319834] RTMPDrvSTAOpen(1):Check if PDMA is idle!
Jun 1 23:17:13 raspberrypi kernel: [ 15.320015] RTMPDrvSTAOpen(2):Check if PDMA is idle!
Jun 1 23:17:20 raspberrypi kernel: [ 22.336423] random: crng init done
My /etc/Wireless/RT2870STA/RT2870STA.dat file:
#The word of "Default" must not be removed
Default
CountryRegion=5
CountryRegionABand=7
CountryCode=
ChannelGeography=1
SSID=11n-AP
NetworkType=Infra
WirelessMode=8
EfuseBufferMode=0
Channel=0
BeaconPeriod=100
TxPower=100
BGProtection=0
TxPreamble=0
RTSThreshold=2347
FragThreshold=2346
TxBurst=1
PktAggregate=0
WmmCapable=0
AckPolicy=0;0;0;0
AuthMode=OPEN
EncrypType=NONE
WPAPSK=
DefaultKeyID=1
Key1Type=0
Key1Str=
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
PSMode=CAM
AutoRoaming=0
RoamThreshold=70
APSDCapable=0
APSDAC=0;0;0;0
HT_RDG=1
HT_EXTCHA=0
HT_OpMode=0
HT_MpduDensity=4
HT_BW=1
HT_BADecline=0
HT_AutoBA=1
HT_AMSDU=0
HT_BAWinSize=64
HT_GI=1
HT_MCS=33
HT_MIMOPSMode=3
HT_DisallowTKIP=1
HT_STBC=0
VHT_BW=1
VHT_SGI=1
VHT_STBC=0
EthConvertMode=
EthCloneMac=
IEEE80211H=0
TGnWifiTest=0
WirelessEvent=0
MeshId=MESH
MeshAutoLink=1
MeshAuthMode=OPEN
MeshEncrypType=NONE
MeshWPAKEY=
MeshDefaultkey=1
MeshWEPKEY=
CarrierDetect=0
AntDiversity=0
BeaconLostTime=4
FtSupport=0
Wapiifname=ra0
WapiPsk=
WapiPskType=
WapiUserCertPath=
WapiAsCertPath=
PSP_XLINK_MODE=0
WscManufacturer=
WscModelName=
WscDeviceName=
WscModelNumber=
WscSerialNumber=
RadioOn=1
WIDIEnable=1
P2P_L2SD_SCAN_TOGGLE=3
Wsc4digitPinCode=0
P2P_WIDIEnable=0
PMFMFPC=0
PMFMFPR=0
PMFSHA256=0
Currently, I'm f*cking around with it until it works
Nevermind, I had a complete retard moment, see I was thinking it would register as wlan0, but instead it showed as ra0, Well anyways for the next person who has to do this here's how:
sudo apt-get upgrade raspberrypi-kernel-headers
wget https://allanbogh.com/wp-content/uploads/2016/01/AE6000.tar.gz
tar -xf AE6000.tar.gz
cd AE6000/mediatek_mt7610u_sta_driver_linux-64bit
make clean
sudo make
sudo make install (if it fails try sudo make again)
# add this to /etc/network/interfaces
# allow-hotplug ra0
# iface ra0 inet dhcp
# wpa-ssid "your-ssid"
# wpa-psk "your-password"
sudo reboot
And, don't start looking at kernel logs until you know thats your not being retarded
Whenever building it exits with an error of: I am using a raspberry pi running raspbian with a Linksys AE6000 wifi adapter
make clean
worked