Задать вопрос
@OldCreater

Как установить WiFi адаптер AC 600 на чипе MT7610U в Ubuntu 20.04.03?

Здравствуйте!
В Вин10 работает без проблем, а в Ubuntu видит сети, пытается коннектиться, но безуспешно. На диске для Linux дрова для чипа mt7601, поэтому ставить их не стал. Проделал операции, которые советовали в статье на гитхабе для этого чипсета https://github.com/morrownr/USB-WiFi, но не помогло. Пытался поставить драйвер с оф. сайта Медиатек https://www.mediatek.com/products/mt7610u, но он у меня компилируется с ошибками. Пытался ставить драйвер с гитхаб https://github.com/xtknight/mt7610u-linksys-ae6000..., аналогично.
make
[sudo] password for one:
make -C tools
make[1]: Entering directory '/home/one/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/one/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
/home/one/mt7610u_wifi_sta_v3002_dpo_20130916/tools/bin2h
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/one/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/Makefile
make -C /lib/modules/5.14.21-051421-generic/build SUBDIRS=/home/one/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-5.14.21-051421-generic'
SYNC include/config/auto.conf.cmd
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
/bin/sh: 1: bison: not found
make[3]: *** [scripts/Makefile.host:17: scripts/kconfig/parser.tab.h] Error 127
make[3]: *** [scripts/kconfig/parser.tab.h] Deleting file 'scripts/kconfig/parser.tab.c'
make[2]: *** [Makefile:630: syncconfig] Error 2
make[1]: *** [Makefile:740: include/config/auto.conf.cmd] Error 2
make[1]: *** [include/config/auto.conf.cmd] Deleting file 'include/generated/autoconf.h'
make[1]: Leaving directory '/usr/src/linux-headers-5.14.21-051421-generic'

Вот лог:
KMS make.log for mt7610u_sta-1.0 for kernel 5.11.1-051101-generic (x86_64)
Ср 19 янв 2022 22:42:02 MSK
make -C tools
make[1]: Entering directory '/var/lib/dkms/mt7610u_sta/1.0/build/tools'
gcc -g bin2h.c -o bin2h
cp -f os/linux/Makefile.6 /var/lib/dkms/mt7610u_sta/1.0/build/os/linux/Makefile
make -C /lib/modules/5.9.10-050910-generic/build SUBDIRS=/var/lib/dkms/mt7610u_sta/1.0/build/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-5.9.10-050910-generic'
make[1]: Leaving directory '/var/lib/dkms/mt7610u_sta/1.0/build/tools'
/var/lib/dkms/mt7610u_sta/1.0/build/tools/bin2h
chipset = mt7610u
YACC scripts/kconfig/parser.tab.[ch]
/bin/sh: 1: bison: not found
make[3]: *** [scripts/Makefile.host:17: scripts/kconfig/parser.tab.h] Error 127
make[2]: *** [Makefile:606: syncconfig] Error 2
make[1]: *** [Makefile:711: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.9.10-050910-generic'
make: *** [Makefile:395: LINUX] Error 2

При установке нового ядра выдаёт ошибку:
ERROR (dkms apport): binary package for mt7610u_sta: 1.0 not found
Error! Bad return status for module build on kernel: 5.9.16-050916-generic (x86_64)
Consult /var/lib/dkms/mt7610u_sta/1.0/build/make.log for more information.

Содержимое папки: /lib/firmware/mediatek$ls
mt7610e.bin mt7622_rom_patch.bin mt7663pr2h_rebb.bin
mt7610u.bin mt7650e.bin mt7668pr2h.bin
mt7615_cr4.bin mt7662u.bin mt7915_rom_patch.bin
mt7615_n9.bin mt7662u_rom_patch.bin mt7915_wa.bin
mt7615_rom_patch.bin mt7663_n9_rebb.bin mt7915_wm.bin
mt7622_n9.bin mt7663_n9_v3.bin mt8173
mt7622pr2h.bin mt7663pr2h.bin mt8183

susb -t
Port 3: Dev 4, If 0, Class=Vendor Specific Class, Driver=mt76x0u, 480M

sudo dkms statusmt
7610u_sta, 1.0: added
virtualbox, 6.1.26, 5.13.0-27-generic, x86_64: installed

sudo lshw -C network
*-network:1
description: Wireless interface
physical id: 2
bus info: usb@2:3
logical name: wlx0cb82c0059f7
serial: 0c:b8:2c:00:59:f7
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=mt76x0u driverversion=5.14.21-051421-generic firmware=N/A ip=192.168.0.19 link=yes multicast=yes wireless=IEEE 802.11

dmesg | grep mt76
[ 7.515168] mt76x0u 2-3:1.0: ASIC revision: 76100002 MAC revision: 76502000
[ 7.873154] mt76x0u 2-3:1.0: EEPROM ver:02 fae:04
[ 7.940613] usbcore: registered new interface driver mt76x0u
[ 7.959904] mt76x0u 2-3:1.0 wlx0cb82c0059f7: renamed from wlan0

В Линуксе я не большой знаток, поэтому прошу помочь.
  • Вопрос задан
  • 567 просмотров
Подписаться 1 Простой Комментировать
Пригласить эксперта
Ответы на вопрос 2
kotomyava
@kotomyava
Системный администратор
/bin/sh: 1: bison: not found - У вас не хватает средств сборки для этого драйвера, и он не собирается.
Надо установить: sudo apt install bison
Ответ написан
Комментировать
@OldCreater Автор вопроса
Вот и я думал, причём здесь бизон?
Поставил бизон.
make выдал следующее:
make
make -C tools
make[1]: Entering directory '/home/one/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/one/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
/home/one/mt7610u_wifi_sta_v3002_dpo_20130916/tools/bin2h
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/one/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/Makefile
make -C /lib/modules/5.14.21-051421-generic/build SUBDIRS=/home/one/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-5.14.21-051421-generic'
mkdir: cannot create directory ‘.tmp_7396’: Permission denied
mkdir: cannot create directory ‘.tmp_7398’: Permission denied
mkdir: cannot create directory ‘.tmp_7400’: Permission denied
mkdir: cannot create directory ‘.tmp_7402’: Permission denied
mkdir: cannot create directory ‘.tmp_7404’: Permission denied
mkdir: cannot create directory ‘.tmp_7406’: Permission denied
mkdir: cannot create directory ‘.tmp_7409’: Permission denied
mkdir: cannot create directory ‘.tmp_7411’: Permission denied
mkdir: cannot create directory ‘.tmp_7413’: Permission denied
mkdir: cannot create directory ‘.tmp_7415’: Permission denied
mkdir: cannot create directory ‘.tmp_7417’: Permission denied
mkdir: cannot create directory ‘.tmp_7419’: Permission denied
mkdir: cannot create directory ‘.tmp_7421’: Permission denied
mkdir: cannot create directory ‘.tmp_7423’: Permission denied
mkdir: cannot create directory ‘.tmp_7425’: Permission denied
mkdir: cannot create directory ‘.tmp_7427’: Permission denied
mkdir: cannot create directory ‘.tmp_7429’: Permission denied
mkdir: cannot create directory ‘.tmp_7431’: Permission denied
mkdir: cannot create directory ‘.tmp_7433’: Permission denied
mkdir: cannot create directory ‘.tmp_7435’: Permission denied
mkdir: cannot create directory ‘.tmp_7437’: Permission denied
arch/x86/Makefile:148: CONFIG_X86_X32 enabled but no binutils support
mkdir: cannot create directory ‘.tmp_7439’: Permission denied
mkdir: cannot create directory ‘.tmp_7441’: Permission denied
mkdir: cannot create directory ‘.tmp_7446’: Permission denied
mkdir: cannot create directory ‘.tmp_7448’: Permission denied
mkdir: cannot create directory ‘.tmp_7450’: Permission denied
mkdir: cannot create directory ‘.tmp_7452’: Permission denied
mkdir: cannot create directory ‘.tmp_7454’: Permission denied
mkdir: cannot create directory ‘.tmp_7456’: Permission denied
mkdir: cannot create directory ‘.tmp_7458’: Permission denied
mkdir: cannot create directory ‘.tmp_7460’: Permission denied
mkdir: cannot create directory ‘.tmp_7462’: Permission denied
mkdir: cannot create directory ‘.tmp_7464’: Permission denied
mkdir: cannot create directory ‘.tmp_7466’: Permission denied
mkdir: cannot create directory ‘.tmp_7468’: Permission denied
mkdir: cannot create directory ‘.tmp_7471’: Permission denied
mkdir: cannot create directory ‘.tmp_7473’: Permission denied
mkdir: cannot create directory ‘.tmp_7476’: Permission denied
mkdir: cannot create directory ‘.tmp_7478’: Permission denied
mkdir: cannot create directory ‘.tmp_7480’: Permission denied
mkdir: cannot create directory ‘.tmp_7482’: Permission denied
mkdir: cannot create directory ‘.tmp_7484’: Permission denied
mkdir: cannot create directory ‘.tmp_7486’: Permission denied
mkdir: cannot create directory ‘.tmp_7488’: Permission denied
mkdir: cannot create directory ‘.tmp_7490’: Permission denied
mkdir: cannot create directory ‘.tmp_7492’: Permission denied
mkdir: cannot create directory ‘.tmp_7494’: Permission denied
mkdir: cannot create directory ‘.tmp_7496’: Permission denied
SYNC include/config/auto.conf.cmd
mkdir: cannot create directory ‘.tmp_7519’: Permission denied
mkdir: cannot create directory ‘.tmp_7521’: Permission denied
mkdir: cannot create directory ‘.tmp_7523’: Permission denied
mkdir: cannot create directory ‘.tmp_7525’: Permission denied
mkdir: cannot create directory ‘.tmp_7527’: Permission denied
mkdir: cannot create directory ‘.tmp_7529’: Permission denied
mkdir: cannot create directory ‘.tmp_7531’: Permission denied
mkdir: cannot create directory ‘.tmp_7533’: Permission denied
mkdir: cannot create directory ‘.tmp_7535’: Permission denied
mkdir: cannot create directory ‘.tmp_7537’: Permission denied
mkdir: cannot create directory ‘.tmp_7539’: Permission denied
mkdir: cannot create directory ‘.tmp_7541’: Permission denied
mkdir: cannot create directory ‘.tmp_7543’: Permission denied
YACC scripts/kconfig/parser.tab.[ch]
bison: scripts/kconfig/parser.tab.h: cannot open: Permission denied
make[3]: *** [scripts/Makefile.host:17: scripts/kconfig/parser.tab.h] Error 1
make[2]: *** [Makefile:630: syncconfig] Error 2
make[1]: *** [Makefile:740: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.14.21-051421-generic'
make: *** [Makefile:404: LINUX] Error 2
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы