Guest User

mx16-install rt2870

a guest
Feb 13th, 2017
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.39 KB | None | 0 0
  1. $ inxi -Fxx
  2. System: Host: mx-pc Kernel: 4.7.0-0.bpo.1-amd64 x86_64 (64 bit gcc: 4.9.2)
  3. Desktop: Xfce 4.12.2 (Gtk 2.24.25) dm: lightdm
  4. Distro: MX-16_x64 Metamorphosis 12 December 2016
  5. Machine: Device: desktop Mobo: Acer model: Veriton X4610G BIOS: Acer v: P01-B1 date: 07/20/2011
  6. CPU: Dual core Intel Pentium G630 (-MCP-) cache: 3072 KB
  7. flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10773
  8. clock speeds: min/max: 1600/2700 MHz 1: 2699 MHz 2: 2699 MHz
  9. Graphics: Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
  10. bus-ID: 00:02.0 chip-ID: 8086:0102
  11. Display Server: X.Org 1.16.4 drivers: intel (unloaded: modesetting,fbdev,vesa)
  12. Resolution: 1920x1080@60.00hz
  13. GLX Renderer: Mesa DRI Intel Sandybridge Desktop
  14. GLX Version: 3.0 Mesa 12.0.3 Direct Rendering: Yes
  15. Audio: Card Intel 6 Series/C200 Series Family High Definition Audio Controller
  16. driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:1c20
  17. Sound: Advanced Linux Sound Architecture v: k4.7.0-0.bpo.1-amd64
  18. Network: Card-1: Intel 82579LM Gigabit Network Connection
  19. driver: e1000e v: 3.2.6-k port: f080 bus-ID: 00:19.0 chip-ID: 8086:1502
  20. IF: eth0 state: up speed: 1000 Mbps duplex: full mac: c8:9c:dc:d3:4b:60
  21. Card-2: Ralink usb-ID: 002-005 chip-ID: 148f:761a
  22. IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
  23. Drives: HDD Total Size: 351.2GB (56.5% used)
  24. ID-1: /dev/sda model: WL320GSA1672B size: 320.1GB serial: WOCL25001348187
  25. ID-2: USB /dev/sde model: Ultra size: 31.1GB serial: 4C531001360203116590-0:0
  26. Partition: ID-1: / size: 21G used: 4.9G (26%) fs: ext4 dev: /dev/sda7
  27. ID-2: swap-1 size: 5.50GB used: 0.00GB (0%) fs: swap dev: /dev/sda1
  28. Sensors: System Temperatures: cpu: 59.0C mobo: N/A
  29. Fan Speeds (in rpm): cpu: N/A
  30. Info: Processes: 192 Uptime: 2:03 Memory: 586.4/3875.7MB
  31. Init: SysVinit v: 2.88 runlevel: 5 default: 5 Gcc sys: 4.9.2
  32. Client: Shell (bash 4.3.301 running in xfce4-terminal) inxi: 2.3.8
  33. mxxf@mx-pc:~
  34.  
  35.  
  36.  
  37.  
  38. mxxf@mx-pc:~
  39. $ lsusb
  40. Bus 002 Device 007: ID 0781:5581 SanDisk Corp.
  41. Bus 002 Device 005: ID 148f:761a Ralink Technology, Corp.
  42. Bus 002 Device 004: ID 177f:1400 Sweex
  43. Bus 002 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business
  44. Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  45. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  46. Bus 001 Device 003: ID 058f:6363 Alcor Micro Corp.
  47. Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
  48. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  49.  
  50.  
  51.  
  52. mxxf@mx-pc:~
  53. $ mkdir ~/src
  54. mxxf@mx-pc:~
  55. $ cd ~/src
  56. mxxf@mx-pc:~/src
  57. $ git clone https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916.git
  58. Cloning into 'mt7610u_wifi_sta_v3002_dpo_20130916'...
  59. remote: Counting objects: 544, done.
  60. remote: Total 544 (delta 0), reused 0 (delta 0), pack-reused 544
  61. Receiving objects: 100% (544/544), 1.99 MiB | 1.11 MiB/s, done.
  62. Resolving deltas: 100% (248/248), done.
  63. Checking connectivity... done.
  64. mxxf@mx-pc:~/src
  65. $ cd mt7610u_wifi_sta_v3002_dpo_20130916
  66. mxxf@mx-pc:~/src/mt7610u_wifi_sta_v3002_dpo_20130916
  67. $ make clean
  68. cp -f os/linux/Makefile.clean os/linux/Makefile
  69. make -C os/linux clean
  70. make[1]: Entering directory '/home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux'
  71. rm -f ../../common/*.o
  72. rm -f ../../common/.*.cmd .*.flags .*.d
  73. rm -f ../../os/linux/*.o *.ko *.mod.o *.mod.c
  74. rm -f ../../os/linux/.*.cmd .*.flags .*.d
  75. rm -fr ../../os/linux/.tmp_versions
  76. rm -f ../../os/linux/Module.symvers
  77. rm -f ../../os/linux/Modules.symvers
  78. rm -f ../../os/linux/Module.markers
  79. rm -f ../../os/linux/modules.order
  80. rm -f ../../chips/*.o
  81. rm -f ../../chips/.*.cmd .*.flags .*.d
  82. rm -f ../../rate_ctrl/*.o
  83. rm -f ../../rate_ctrl/.*.cmd .*.flags .*.d
  84. rm -f ../../ate/common/*.o
  85. rm -f ../../ate/common/.*.cmd .*.flags .*.d
  86. rm -f ../../ate/chips/*.o
  87. rm -f ../../ate/chips/.*.cmd .*.flags .*.d
  88. rm -f ../../phy/*.o
  89. rm -f ../../phy/.*.cmd .*.flags .*.d
  90. rm -f ../../mac/*.o
  91. rm -f ../../mac/.*.cmd .*.flags .*.d
  92. rm -f ../../mcu/*.o
  93. rm -f ../../mcu/.*.cmd .*.flags .*.d
  94. rm -f ../../mgmt/*.o
  95. rm -f ../../mgmt/.*.cmd .*.flags .*.d
  96. rm -f ../../naf/*.o
  97. rm -f ../../naf/.*.cmd .*.flags .*.d
  98. rm -f ../../sta/*.o
  99. rm -f ../../sta/.*.cmd .*.flags .*.d
  100. make[1]: Leaving directory '/home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux'
  101. rm -rf os/linux/Makefile
  102. mxxf@mx-pc:~/src/mt7610u_wifi_sta_v3002_dpo_20130916
  103. $ make
  104. make -C tools
  105. make[1]: Entering directory '/home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
  106. gcc -g bin2h.c -o bin2h
  107. make[1]: Leaving directory '/home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/tools'
  108. /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/tools/bin2h
  109. chipset = mt7610u
  110. cp -f os/linux/Makefile.6 /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/Makefile
  111. make -C /lib/modules/4.7.0-0.bpo.1-amd64/build SUBDIRS=/home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux modules
  112. make[1]: Entering directory '/usr/src/linux-headers-4.7.0-0.bpo.1-amd64'
  113. CC [M] /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.o
  114. In file included from /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44:0,
  115. from /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
  116. from /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
  117. from /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:28:
  118. /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:77:0: warning: "EXT_BUILD_CHANNEL_LIST" redefined
  119. #define EXT_BUILD_CHANNEL_LIST /* must define with CRDA */
  120. ^
  121. <command-line>:0:0: note: this is the location of the previous definition
  122. In file included from /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/include/os/rt_linux.h:98:0,
  123. from /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_os.h:44,
  124. from /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/include/rtmp_comm.h:75,
  125. from /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_config.h:33,
  126. from /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:28:
  127. /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/include/cfg80211.h:35:49: error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function)
  128. struct ieee80211_supported_band Cfg80211_bands[IEEE80211_NUM_BANDS];
  129. ^
  130. /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
  131. /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:341:16: warning: unused variable ‘pAd’ [-Wunused-variable]
  132. RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
  133. ^
  134. /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
  135. /home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.c:450:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  136. DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
  137. ^
  138. /usr/src/linux-headers-4.7.0-0.bpo.1-common/scripts/Makefile.build:294: recipe for target '/home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.o' failed
  139. make[4]: *** [/home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/rt_profile.o] Error 1
  140. /usr/src/linux-headers-4.7.0-0.bpo.1-common/Makefile:1475: recipe for target '_module_/home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux' failed
  141. make[3]: *** [_module_/home/mxxf/src/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux] Error 2
  142. Makefile:150: recipe for target 'sub-make' failed
  143. make[2]: *** [sub-make] Error 2
  144. Makefile:8: recipe for target 'all' failed
  145. make[1]: *** [all] Error 2
  146. make[1]: Leaving directory '/usr/src/linux-headers-4.7.0-0.bpo.1-amd64'
  147. Makefile:403: recipe for target 'LINUX' failed
  148. make: *** [LINUX] Error 2
  149. mxxf@mx-pc:~/src/mt7610u_wifi_sta_v3002_dpo_20130916
Add Comment
Please, Sign In to add comment