Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Ubuntu 16.04 x64 desktop - MT7612u drivers.  (gelezen 1058 keer)

Offline shinger

  • Lid
    • shingeri
  • Steunpunt: Nee
Ubuntu 16.04 x64 desktop - MT7612u drivers.
« Gepost op: 2016/09/29, 08:42:59 »
Hallo jongens,

Ik ben sinds gisterenavond Mediatek mt7612u chipset (EDUP EP-AC1605) werkend te krijgen op Ubuntu 16.04.

Er zijn drivers op de website van Mediatek, maar daar krijg ik een error. Op internet heb ik twee git paginas gevonden.

https://github.com/jurobystricky/Netgear-A6210

https://github.com/ulli-kroll/mt7610u

lsusb:
shinger@K-Laptop:~$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0e8d:761b MediaTek Inc.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 0bda:0811 Realtek Semiconductor Corp.
Bus 003 Device 004: ID 8087:07dc Intel Corp.
Bus 003 Device 003: ID 174f:14b8 Syntek
Bus 003 Device 002: ID 046d:c050 Logitech, Inc. RX 250 Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Zie txt bestandje voor make output.

Laden van de drivers.

shinger@K-Laptop:~/mt7610u$ sudo insmod mt7610u.ko
shinger@K-Laptop:~/mt7610u$ sudo insmod mt7610u.ko
insmod: ERROR: could not insert module mt7610u.ko: File exists

De Netgear git pagina.

shinger@K-Laptop:~/Netgear-A6210$ sudo make
export DBGFLAGS

*** Building driver with debug messages ***

cp -f os/linux/Makefile.6 /home/shinger/Netgear-A6210/os/linux/Makefile
make -C /lib/modules/4.4.0-38-generic/build DBGFLAGS=-DDBG SUBDIRS=/home/shinger/Netgear-A6210/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-38-generic'
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../sta/assoc.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../sta/auth.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../sta/sync.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../sta/sanity.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../sta/rtmp_data.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../sta/connect.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../sta/wpa.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../sta/sta_cfg.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../sta/sta.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/sta_ioctl.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../mgmt/mgmt_vht.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/vht.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/crypt_md5.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/crypt_aes.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/crypt_arc4.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/mlme.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_wep.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/action.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_data.o
/home/shinger/Netgear-A6210/os/linux/../../common/cmm_data.c: In function ‘TxPktClassification’:
/home/shinger/Netgear-A6210/os/linux/../../common/cmm_data.c:1085:4: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
    && (TxFrameType == TX_LEGACY_FRAME)
    ^
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/rtmp_init.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_aes.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_sync.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/eeprom.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_info.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_cfg.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_wpa.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_radar.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/spectrum.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/rt_channel.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_profile.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_asic.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/scan.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_cmd.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/ps.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/sys_log.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/txpower.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../rate_ctrl/ra_ctrl.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../rate_ctrl/alg_legacy.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../rate_ctrl/alg_ags.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../chips/rtmp_chip.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../mgmt/mgmt_entrytb.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../tx_rx/wdev_tx.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/rt_profile.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../phy/phy.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../phy/rf.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../phy/rlt_phy.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../mac/rtmp_mac.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../mac/ral_nmac.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../rate_ctrl/alg_grp.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/ba_action.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../mgmt/mgmt_ht.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_txbf.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_txbf_cal.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/rt_os_util.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/rt_linux.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/rt_main_dev.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../ate/common/rt_ate.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/cfg80211/cfg80211.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/cfg80211/cfg80211_util.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/cfg80211/cfg80211_scan.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/cfg80211/cfg80211_rx.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/cfg80211/cfg80211_tx.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/cfg80211/cfg80211_inf.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/cfg80211/cfg80211_p2p.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/cfg80211/cfg80211_ap.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/cfg80211/cfg80211drv.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_mac_usb.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/cmm_data_usb.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/rtusb_io.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/rtusb_bulk.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/rt_usb.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/ee_prom.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/ee_efuse.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../chips/rt65xx.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../chips/mt76x2.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../mcu/mcu.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../mcu/mcu_and.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../phy/rt_rf.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../phy/mt_rf.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../ate/chips/mt76x2_ate.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../ate/common/ate_usb.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/rt_usb_util.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../os/linux/usb_main_dev.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/rtusb_dev_id.o
  CC [M]  /home/shinger/Netgear-A6210/os/linux/../../common/frq_cal.o
  LD [M]  /home/shinger/Netgear-A6210/os/linux/mt7662u_sta.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/shinger/Netgear-A6210/os/linux/mt7662u_sta.mod.o
  LD [M]  /home/shinger/Netgear-A6210/os/linux/mt7662u_sta.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-38-generic'

shinger@K-Laptop:~/Netgear-A6210$ sudo make install
make -C /home/shinger/Netgear-A6210/os/linux -f Makefile.6 install
make[1]: Entering directory '/home/shinger/Netgear-A6210/os/linux'
rm -rf /etc/Wireless/RT2870STA
mkdir -pv /etc/Wireless/RT2870STA
mkdir: created directory '/etc/Wireless/RT2870STA'
cp /home/shinger/Netgear-A6210/conf/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/4.4.0-38-generic/kernel/drivers/net/wireless/
install -m 644 -c mt7662u_sta.ko /lib/modules/4.4.0-38-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 4.4.0-38-generic
make[1]: Leaving directory '/home/shinger/Netgear-A6210/os/linux'

Maar nog steeds werkt het niet. Wat doe ik fout?


Offline Frederik

  • Lid
    • Vriescheloo
  • Steunpunt: Ja
Re: Ubuntu 16.04 x64 desktop - MT7612u drivers.
« Reactie #1 Gepost op: 2016/09/29, 19:28:43 »
Ik doe een gok om te helpen: je hebt nodig de MT7612U stuurprogramma's:
http://www.mediatek.com/en/downloads1/downloads/mt7612u/

En als ik de logfiles bekijk probeer je deMT7610U te installeren ?
Xubuntu 16.04.1 LTS
Wees wie je bent. Hou van wie je wilt.

Offline shinger

  • Lid
    • shingeri
  • Steunpunt: Nee
Re: Ubuntu 16.04 x64 desktop - MT7612u drivers.
« Reactie #2 Gepost op: 2016/09/29, 21:00:42 »
Ik doe een gok om te helpen: je hebt nodig de MT7612U stuurprogramma's:
http://www.mediatek.com/en/downloads1/downloads/mt7612u/

En als ik de logfiles bekijk probeer je deMT7610U te installeren ?

Op beide git paginas staat

Negear (This driver supports Ralink / Mediatek mt766u, mt7632u and mt7612u chipsets.)

Andere git pagina

NOTES
The original driver is a mess and PITA
Both mt7610u and mt7612u can work with the
same driver.

Vandaar dus dat ik dat probeerde, omdat de origele van de Mediatek website, direct een error krijgt en daardoor niet eens verder kan en deze beide ontwikkelaar zeggen dat ook.

Offline Frederik

  • Lid
    • Vriescheloo
  • Steunpunt: Ja
Re: Ubuntu 16.04 x64 desktop - MT7612u drivers.
« Reactie #3 Gepost op: 2016/09/30, 01:05:17 »
Dan zou ik eens een berichtje naar NetGear/Meditek support sturen over wat mogelijk het probleem is.
Xubuntu 16.04.1 LTS
Wees wie je bent. Hou van wie je wilt.