Second Opinion
Folosind serviciul second opinion ne puteți trimite RMN-uri, CT -uri, angiografii, fișiere .pdf, documente medicale. Astfel vă vom putea da o opinie neurochirurgicală, fără ca aceasta să poată înlocui un consult de specialitate. Răspunsurile vor fi date prin e-mail în cel mai scurt timp posibil (de obicei în mai putin de 24 de ore, dar nu mai mult de 48 de ore). Second opinion – Neurohope este un serviciu gratuit. www.neurohope.ro |
Mediatek MT6712U si Hostapd
Last Updated: Nov 11 2020 15:15, Started by
dagobar
, Nov 10 2020 11:04
·
0
#1
Posted 10 November 2020 - 11:04
Salut all
Incerc sa folosesc Hostapd impreuna cu Mediatek MT7612U insa primesc urmatoarea eroare: Configuration file: /etc/hostapd/2g.conf nl80211: Could not configure driver mode nl80211: deinit ifname=wlx0013ef6f0af7 disabled_11b_rates=0 nl80211 driver initialization failed. wlx0013ef6f0af7: interface state UNINITIALIZED->DISABLED wlx0013ef6f0af7: AP-DISABLED wlx0013ef6f0af7: CTRL-EVENT-TERMINATING hostapd_free_hapd_data: Interface wlx0013ef6f0af7 wasn't started Cu toate acestea inainte de a incerca sa pornesc hostapd am verificat ca interfata este in monitor mode, este up si cu IP static, isc-dhcpd vede interfata fara probleme. modulele care vin cu kernel 4.19 sunt incarcate mac80211 835584 4 mt76,mt76_usb,mt76x2u,mt76x2_common cfg80211 774144 4 mac80211,mt76x2u,mt76x2_common,88XXau Aceiasi configuratie hostapd functioneaza fara probleme cu RTL88XXau (alt adaptor). Sa inteleg ca nu suporta driverele nl80211 ? Sugestii ? Mersi. Edited by dagobar, 10 November 2020 - 11:04. |
#2
Posted 10 November 2020 - 13:54
Ai rulat
airmon-ng check kill? Poate sunt procese care folosesc încă interfața. Edited by red46, 10 November 2020 - 13:56. |
#3
Posted 10 November 2020 - 15:48
Am rulat insa cu acelasi rezultat.
A pus pe debug: hostapd -d /etc/hostapd/2g.conf random: Trying to read entropy from /dev/random Configuration file: /etc/hostapd/2g.conf nl80211: Supported cipher 00-0f-ac:1 nl80211: Supported cipher 00-0f-ac:5 nl80211: Supported cipher 00-0f-ac:2 nl80211: Supported cipher 00-0f-ac:4 nl80211: Supported cipher 00-0f-ac:10 nl80211: Supported cipher 00-0f-ac:8 nl80211: Supported cipher 00-0f-ac:9 nl80211: Supported cipher 00-0f-ac:6 nl80211: Supported cipher 00-0f-ac:13 nl80211: Supported cipher 00-0f-ac:11 nl80211: Supported cipher 00-0f-ac:12 nl80211: Using driver-based off-channel TX nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 00 00 00 00 00 00 00 40 nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 00 00 00 00 00 00 00 40 nl80211: interface wlx0013ef6f0af7 in phy phy0 nl80211: Set mode ifindex 5 iftype 3 (AP) nl80211: Failed to set interface 5 to mode 3: -95 (Operation not supported) nl80211: Try mode change after setting interface down nl80211: Set mode ifindex 5 iftype 3 (AP) nl80211: Failed to set interface 5 to mode 3: -95 (Operation not supported) nl80211: Interface mode change to 3 from 0 failed nl80211: Could not configure driver mode nl80211: deinit ifname=wlx0013ef6f0af7 disabled_11b_rates=0 nl80211: Remove monitor interface: refcount=0 netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP) nl80211: Set mode ifindex 5 iftype 2 (STATION) nl80211: Failed to set interface 5 to mode 2: -16 (Device or resource busy) nl80211: Try mode change after setting interface down nl80211: Set mode ifindex 5 iftype 2 (STATION) nl80211: Mode change succeeded while interface is down nl80211 driver initialization failed. hostapd_interface_deinit_free(0x55d55f41e840) hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1 hostapd_interface_deinit(0x55d55f41e840) wlx0013ef6f0af7: interface state UNINITIALIZED->DISABLED hostapd_bss_deinit: deinit bss wlx0013ef6f0af7 wlx0013ef6f0af7: AP-DISABLED hostapd_cleanup(hapd=0x55d55f41fc30 (wlx0013ef6f0af7)) wlx0013ef6f0af7: CTRL-EVENT-TERMINATING hostapd_free_hapd_data: Interface wlx0013ef6f0af7 wasn't started hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit hostapd_interface_free(0x55d55f41e840) hostapd_interface_free: free hapd 0x55d55f41fc30 hostapd_cleanup_iface(0x55d55f41e840) hostapd_cleanup_iface_partial(0x55d55f41e840) hostapd_cleanup_iface: free iface=0x55d55f41e840 Edited by dagobar, 10 November 2020 - 16:02. |
#4
Posted 10 November 2020 - 16:40
Am gasit problema... insa nu si rezolvarea... inca...
Problema: Am gasit in comparatie cu alt adaptor wifi care functioneaza cu hostapd Cel care functioneaza are: Supported interface modes: * IBSS * managed * AP * monitor * P2P-client * P2P-GO Cel care nu functioneaza are: Supported interface modes: * managed * monitor Cand initializeaza hostapd incearca sa treaca interfata in mod ap si evident ca apare eroare pentru ca nu suporta modul respectiv. Partea nostima este daca incerc sa setez manual in mod ap primesc mesajul ca sa folosesc un soft precum hostapd /etc/hostapd# iw wlx0013ef6f0af7 set type ap You need to run a management daemon, e.g. hostapd, see http://wireless.kern...ntation/hostapd for more information on how to do that. Adica ma sfatuieste sa folosesc un soft ca hostapd insa driverul nu suporta modul ap Sugestii ? |
#5
Posted 10 November 2020 - 18:30
#6
Posted 11 November 2020 - 10:22
Nu are documentatie... nici macar un readme.
~/mediatek/mt76# make make: *** No targets. Stop. |
#7
Posted 11 November 2020 - 13:37
E prima data cand compilezi ad-labam un soft sub GNU/Linux?
Ca sa compilezi ad-labam rahatul ala pentru GNU/Linux nu e asa simplu cum te astepti. Ca ai niste modificari de facut inainte de a il compila. |
#8
Posted 11 November 2020 - 14:20
LE: Sigur e MT6712U sau e MT7612U? Ca e o mica diferenta intre 67 si 76.
|
#9
Posted 11 November 2020 - 14:36
@Kagaroth
Din cate stiu eu asta intra la documentatie... macar un readme... sau se presupune ca trebuie sa stiu ce gandesc programatorii ? Daca stii cum te rog precizeaza. Ai dreptate am trecut gresit... este vorba de MT7612U. Intre timp am gasit o informatie care ar lamurii problema insa nu stiu daca este si reala: https://archlinuxarm...hp?f=65&t=14058 Eu folosesc kernel 4.19 |
#10
Posted 11 November 2020 - 15:15
Link-ul de mai sus, postul #5, are un Makefile asociat dar acolo se presupune ca se compileaza modulul ala la pachet cu openwrt. din acest motiv lipseste sectiunea necesara din acel Makefile. Gasesti modulul pe site-ul Mediatek, pentru 7612U, la fel gasesti si prin kernel modulul inclusiv un link pentru a se descarca firmware-ul. Sub Arch in AUR vad doar 7610U si un 7630e, banuiesc ca e vorba de 7610U. Nu stiu pentru ce distro vrei tu pachetul sau pe ce distro vrei sa il compilezi.
https://d86o2zu8ugzlg.cloudfront.net/mediatek-craft/drivers/MT7612U_DPO_LinuxSTA_3.0.0.1_20140718.tar.bz2Nu m-am chinuit foarte tare sa il compilez. Oricum nu am jucarie x86 cu chipset mediatek ca sa am nevoie de modulul ala. Banuiesc ca e versiune pe 32 de biti si e nevoie de multilib ca sa il compilezi. Eu nu tin repo-ul multilib activ asa ca nu am bilbliotecile necesare compilarii lui (probabil). Vezi daca ii dai de cap. |
|
Anunturi
▶ 0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users