Добрый день!
Прощу помощи в запуске данного свистка - Tp-Link Archer T1U на Ubuntu 16.04 - kernel 4.8
Устанавливал через репозиторий, который сделал Pilot6:
sudo add-apt-repository ppa:hanipouspilot/rtlwifi
sudo apt update
sudo apt install mt7610u-dkms
Получил следующую ошибку:
Need to get 0 B/1 012 kB of archives.
After this operation, 8 576 kB of additional disk space will be used.
Selecting previously unselected package mt7610u-dkms.
(Reading database ... 210062 files and directories currently installed.)
Preparing to unpack .../mt7610u-dkms_0.2_all.deb ...
Unpacking mt7610u-dkms (0.2) ...
Setting up mt7610u-dkms (0.2) ...
Loading new mt7610u-0.2 DKMS files...
First Installation: checking all kernels...
Building only for 4.8.0-54-generic
Building for architecture x86_64
Building initial module for 4.8.0-54-generic
ERROR (dkms apport): kernel package linux-headers-4.8.0-54-generic is not supported
Error! Bad return status for module build on kernel: 4.8.0-54-generic (x86_64)
Consult /var/lib/dkms/mt7610u/0.2/build/make.log for more information.
вот log файл:
DKMS make.log for mt7610u-0.2 for kernel 4.8.0-54-generic (x86_64)
Пн июн 19 19:38:01 MSK 2017
make -C tools
make[1]: Entering directory '/var/lib/dkms/mt7610u/0.2/build/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/var/lib/dkms/mt7610u/0.2/build/tools'
/var/lib/dkms/mt7610u/0.2/build/tools/bin2h
chipset = mt7610u
cp -f os/linux/Makefile.6 /var/lib/dkms/mt7610u/0.2/build/os/linux/Makefile
make -C /lib/modules/4.8.0-54-generic/build SUBDIRS=/var/lib/dkms/mt7610u/0.2/build/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.8.0-54-generic'
CC [M] /var/lib/dkms/mt7610u/0.2/build/os/linux/../../os/linux/rt_profile.o
In file included from /var/lib/dkms/mt7610u/0.2/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u/0.2/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u/0.2/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u/0.2/build/os/linux/../../os/linux/rt_profile.c:28:
/var/lib/dkms/mt7610u/0.2/build/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
#define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
^
<command-line>:0:0: note: this is the location of the previous definition
In file included from /var/lib/dkms/mt7610u/0.2/build/include/os/rt_linux.h:98:0,
from /var/lib/dkms/mt7610u/0.2/build/include/rtmp_os.h:44,
from /var/lib/dkms/mt7610u/0.2/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u/0.2/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u/0.2/build/os/linux/../../os/linux/rt_profile.c:28:
/var/lib/dkms/mt7610u/0.2/build/include/cfg80211.h:35:49: error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function)
struct ieee80211_supported_band Cfg80211_bands[IEEE80211_NUM_BANDS];
^
/var/lib/dkms/mt7610u/0.2/build/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/var/lib/dkms/mt7610u/0.2/build/os/linux/../../os/linux/rt_profile.c:341:16: warning: unused variable ‘pAd’ [-Wunused-variable]
RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
^
In file included from /var/lib/dkms/mt7610u/0.2/build/include/rtmp_os.h:44:0,
from /var/lib/dkms/mt7610u/0.2/build/include/rtmp_comm.h:75,
from /var/lib/dkms/mt7610u/0.2/build/include/rt_config.h:33,
from /var/lib/dkms/mt7610u/0.2/build/os/linux/../../os/linux/rt_profile.c:28:
/var/lib/dkms/mt7610u/0.2/build/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/var/lib/dkms/mt7610u/0.2/build/os/linux/../../os/linux/rt_profile.c:450:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
^
/var/lib/dkms/mt7610u/0.2/build/include/os/rt_linux.h:669:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/var/lib/dkms/mt7610u/0.2/build/os/linux/../../os/linux/rt_profile.c:450:9: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
^
scripts/Makefile.build:289: recipe for target '/var/lib/dkms/mt7610u/0.2/build/os/linux/../../os/linux/rt_profile.o' failed
make[2]: *** [/var/lib/dkms/mt7610u/0.2/build/os/linux/../../os/linux/rt_profile.o] Error 1
Makefile:1491: recipe for target '_module_/var/lib/dkms/mt7610u/0.2/build/os/linux' failed
make[1]: *** [_module_/var/lib/dkms/mt7610u/0.2/build/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-54-generic'
Makefile:403: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
В сях я не бум бум, поэтому прошу помощи у вас =)