Guest User

MiR3P / Mi Router Pro

a guest
Feb 14th, 2021
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.52 KB | None | 0 0
  1. ### Target Vendor/Product (support only Ralink RT3883/MT7620/MT7621/MT7628)
  2. CONFIG_VENDOR=XIAOMI
  3. CONFIG_PRODUCT=MT7621
  4.  
  5. ### Target ProductID (board select, max 12 symbols)
  6. CONFIG_FIRMWARE_PRODUCT_ID="MI-R3PRO"
  7.  
  8. ### Linux kernel and toolchain
  9. CONFIG_LINUXDIR=linux-3.4.x
  10. CONFIG_TOOLCHAIN_DIR=/home/attilav-debian/dm38/padavan-ng/toolchain-mipsel
  11.  
  12. ############################################################
  13. ### Linux kernel configuration
  14. ############################################################
  15.  
  16. ### Force MT7621 CPU clock to 900MHz (override Uboot settings)
  17. #CONFIG_FIRMWARE_CPU_900MHZ=y
  18.  
  19. ### Enable MT7621 CPU sleep mode (downclock to 220MHz on idle)
  20. #CONFIG_FIRMWARE_CPU_SLEEP=y
  21.  
  22. ### Kernel driver select for WiFi AP 2.4GHz
  23. ### 4.1 = MT7603E v4.1.0.0
  24. CONFIG_FIRMWARE_WIFI2_DRIVER=4.1
  25.  
  26. ### Kernel driver select for WiFi AP 5GHz
  27. ### 5.0 = MT7615E v5.0.4.0
  28. CONFIG_FIRMWARE_WIFI5_DRIVER=5.0
  29.  
  30. ### Enable IPv6 support
  31. CONFIG_FIRMWARE_ENABLE_IPV6=y
  32.  
  33. ### Enable USB support
  34. CONFIG_FIRMWARE_ENABLE_USB=y
  35.  
  36. ### Enable FAT/FAT32 filesystem support. ~0.1MB
  37. CONFIG_FIRMWARE_ENABLE_FAT=y
  38.  
  39. ### Enable exFAT (FAT/FAT32 too) filesystem support. ~0.12MB
  40. CONFIG_FIRMWARE_ENABLE_EXFAT=y
  41.  
  42. ### Enable EXT2 filesystem support. ~0.1MB
  43. CONFIG_FIRMWARE_ENABLE_EXT2=y
  44.  
  45. ### Enable EXT3 filesystem support. ~0.2MB
  46. CONFIG_FIRMWARE_ENABLE_EXT3=y
  47.  
  48. ### Enable EXT4 (EXT3/2 too) filesystem support. ~0.4MB
  49. CONFIG_FIRMWARE_ENABLE_EXT4=y
  50.  
  51. ### Enable XFS filesystem support. ~0.6MB
  52. #CONFIG_FIRMWARE_ENABLE_XFS=y
  53.  
  54. ### Enable FUSE (filesystems in userspace) support. ~0.1MB
  55. CONFIG_FIRMWARE_ENABLE_FUSE=y
  56.  
  57. ### Enable swap files/partitions support. ~0.05MB
  58. CONFIG_FIRMWARE_ENABLE_SWAP=y
  59.  
  60. ### Include UVC camera modules. ~0.2MB
  61. CONFIG_FIRMWARE_INCLUDE_UVC=y
  62.  
  63. ### Include USB-HID modules. ~0.2MB
  64. #CONFIG_FIRMWARE_INCLUDE_HID=y
  65.  
  66. ### Include USB-Serial modules (e.g. pl2303). ~0.03MB
  67. CONFIG_FIRMWARE_INCLUDE_SERIAL=y
  68.  
  69. ### Include USB-Audio modules ~0.46MB
  70. CONFIG_FIRMWARE_INCLUDE_AUDIO=y
  71.  
  72. ### Include XFRM (IPsec) modules & iptables extension ~ 0.2MB
  73. CONFIG_FIRMWARE_INCLUDE_XFRM=y
  74.  
  75. ### Include network QoS scheduling modules. ~0.2MB
  76. #CONFIG_FIRMWARE_INCLUDE_QOS=y
  77.  
  78. ### Include IMQ module for shapers (a bit of performance degradation). ~0.02MB
  79. #CONFIG_FIRMWARE_INCLUDE_IMQ=y
  80.  
  81. ### Include IFB module for shapers. ~0.03MB
  82. #CONFIG_FIRMWARE_INCLUDE_IFB=y
  83.  
  84. ### Include IPSet utility and kernel modules. ~0.4MB
  85. CONFIG_FIRMWARE_INCLUDE_IPSET=y
  86.  
  87. ### Include NFSv3 server. ~0.6MB
  88. CONFIG_FIRMWARE_INCLUDE_NFSD=y
  89.  
  90. ### Include NFSv3 client. ~0.5MB
  91. CONFIG_FIRMWARE_INCLUDE_NFSC=y
  92.  
  93. ### Include CIFS (SMB) client. ~0.2MB
  94. #CONFIG_FIRMWARE_INCLUDE_CIFS=y
  95.  
  96. ############################################################
  97. ### Userspace configuration
  98. ############################################################
  99.  
  100. ### Include WebUI international resources. Increased firmware size
  101. #CONFIG_FIRMWARE_INCLUDE_LANG_BR=y
  102. #CONFIG_FIRMWARE_INCLUDE_LANG_CZ=y
  103. #CONFIG_FIRMWARE_INCLUDE_LANG_DA=y
  104. #CONFIG_FIRMWARE_INCLUDE_LANG_DE=y
  105. #CONFIG_FIRMWARE_INCLUDE_LANG_ES=y
  106. #CONFIG_FIRMWARE_INCLUDE_LANG_FI=y
  107. #CONFIG_FIRMWARE_INCLUDE_LANG_FR=y
  108. #CONFIG_FIRMWARE_INCLUDE_LANG_NO=y
  109. #CONFIG_FIRMWARE_INCLUDE_LANG_PL=y
  110. #CONFIG_FIRMWARE_INCLUDE_LANG_RU=y
  111. #CONFIG_FIRMWARE_INCLUDE_LANG_SV=y
  112. #CONFIG_FIRMWARE_INCLUDE_LANG_UK=y
  113.  
  114. ### Include NTFS-3G FUSE driver (instead of Paragon "ufsd"). ~0.4MB
  115. CONFIG_FIRMWARE_INCLUDE_NTFS_3G=y
  116.  
  117. ### Include LPR printer daemon. ~0.12MB
  118. CONFIG_FIRMWARE_INCLUDE_LPRD=y
  119.  
  120. ### Include USB-over-Ethernet printer daemon. ~0.05MB
  121. CONFIG_FIRMWARE_INCLUDE_U2EC=y
  122.  
  123. ### Include "tcpdump" utility. ~0.6MB
  124. CONFIG_FIRMWARE_INCLUDE_TCPDUMP=y
  125.  
  126. ### Include "hdparm" utility (allow set HDD spindown timeout and APM). ~0.1MB
  127. CONFIG_FIRMWARE_INCLUDE_HDPARM=y
  128.  
  129. ### Include "parted" utility (allow make GPT partitions). ~0.3MB
  130. CONFIG_FIRMWARE_INCLUDE_PARTED=y
  131.  
  132. ### Include SMB (and WINS) server. ~1.5MB
  133. CONFIG_FIRMWARE_INCLUDE_SMBD36=y
  134.  
  135. ### Include WINS server only. ~0.4MB
  136. #CONFIG_FIRMWARE_INCLUDE_WINS=y
  137.  
  138. ### Include syslog for SMB and WINS server. ~0.3MB
  139. CONFIG_FIRMWARE_INCLUDE_SMBD_SYSLOG=y
  140.  
  141. ### Include FTP server. ~0.2MB
  142. CONFIG_FIRMWARE_INCLUDE_FTPD=y
  143.  
  144. ### Include alternative L2TP control client RP-L2TP. ~0.1MB
  145. CONFIG_FIRMWARE_INCLUDE_RPL2TP=y
  146.  
  147. ### Include EAP-TTLS and EAP-PEAP authentication support. openssl ~1.2MB, wpa_supplicant +0.04MB
  148. CONFIG_FIRMWARE_INCLUDE_EAP_PEAP=y
  149.  
  150. ### Include HTTPS support for DDNS client. openssl ~1.2MB
  151. CONFIG_FIRMWARE_INCLUDE_DDNS_SSL=y
  152.  
  153. ### Include HTTPS support. openssl ~1.2MB
  154. CONFIG_FIRMWARE_INCLUDE_HTTPS=y
  155.  
  156. ### Include sftp-server. openssl ~1.2MB, sftp-server ~0.06MB
  157. CONFIG_FIRMWARE_INCLUDE_SFTP=y
  158.  
  159. ### Include dropbear SSH. ~0.3MB
  160. CONFIG_FIRMWARE_INCLUDE_DROPBEAR=y
  161.  
  162. ### Make the dropbear symmetrical ciphers and hashes faster. ~0.06MB
  163. CONFIG_FIRMWARE_INCLUDE_DROPBEAR_FAST_CODE=y
  164.  
  165. ### Include OpenSSH instead of dropbear. openssl ~1.2MB, openssh ~1.0MB
  166. #CONFIG_FIRMWARE_INCLUDE_OPENSSH=y
  167.  
  168. ### Include OpenVPN. IPv6 required. openssl ~1.2MB, openvpn ~0.4MB
  169. CONFIG_FIRMWARE_INCLUDE_OPENVPN=y
  170.  
  171. ### Include StrongSwan. XFRM modules ~0.2MB, strongswan ~0.7MB
  172. CONFIG_FIRMWARE_INCLUDE_SSWAN=y
  173.  
  174. ### Include Elliptic Curves (EC) to openssl library. ~0.1MB
  175. CONFIG_FIRMWARE_INCLUDE_OPENSSL_EC=y
  176.  
  177. ### Include "openssl" executable for generate certificates. ~0.4MB
  178. CONFIG_FIRMWARE_INCLUDE_OPENSSL_EXE=y
  179.  
  180. ### Include xUPNPd IPTV mediaserver. ~0.3MB
  181. #CONFIG_FIRMWARE_INCLUDE_XUPNPD=y
  182.  
  183. ### Include Minidlna UPnP mediaserver. ~1.6MB
  184. CONFIG_FIRMWARE_INCLUDE_MINIDLNA=y
  185.  
  186. ### Include Firefly iTunes mediaserver. ~1.0MB
  187. #CONFIG_FIRMWARE_INCLUDE_FIREFLY=y
  188.  
  189. ### Include Transmission torrent. openssl ~1.2MB, transmission ~1.5MB
  190. CONFIG_FIRMWARE_INCLUDE_TRANSMISSION=y
  191.  
  192. ### Include Transmission-Web-Control (advanced WebUI). ~0.8MB
  193. CONFIG_FIRMWARE_INCLUDE_TRANSMISSION_WEB_CONTROL=y
  194.  
  195. ### Include Aria2 download manager. openssl ~1.2MB, aria2 ~3.5MB
  196. #CONFIG_FIRMWARE_INCLUDE_ARIA=y
  197.  
  198. ### Include Aria2 WEB control. ~0.7MB
  199. #CONFIG_FIRMWARE_INCLUDE_ARIA_WEB_CONTROL=y
  200.  
  201. ### Include compressed RAM block device as swap
  202. #CONFIG_FIRMWARE_INCLUDE_ZRAM=y
  203.  
  204. ### Include EOIP ethernet tunnels over IP
  205. #CONFIG_FIRMWARE_INCLUDE_EOIP=y
  206.  
  207. ### Include Wireguard
  208. CONFIG_FIRMWARE_INCLUDE_WIREGUARD=y
  209.  
  210.  
  211. ############################################################
  212. ### Connection settings SSH PROMETHEUS
  213. ############################################################
  214. ### IP
  215. IPWRT=192.168.1.1
  216. ### Login
  217. ROOTWRT=admin
  218. ### Password
  219. PWDR="admin"
  220. ### SSH Port
  221. ssh_port="22"
  222. ############################################################
  223.  
Add Comment
Please, Sign In to add comment