Config.in.runtime 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. config ADK_RUNTIME_HOSTNAME
  4. string "hostname for the embedded system"
  5. default "openadk"
  6. help
  7. Set your target hostname.
  8. choice
  9. prompt "init"
  10. depends on !ADK_APPLIANCE_TOOLCHAIN
  11. default ADK_RUNTIME_INIT_SYSV
  12. config ADK_RUNTIME_INIT_SYSV
  13. bool "Use busybox init"
  14. config ADK_RUNTIME_INIT_S6
  15. bool "Use s6 init and supervision"
  16. select ADK_PACKAGE_S6
  17. select ADK_PACKAGE_S6_PORTABLE_UTILS
  18. select ADK_PACKAGE_S6_LINUX_UTILS
  19. config ADK_RUNTIME_INIT_SIMPLEINIT
  20. bool "Use a very simple init"
  21. select ADK_PACKAGE_SIMPLEINIT
  22. endchoice
  23. choice
  24. prompt "System for /dev management"
  25. depends on !ADK_APPLIANCE_TOOLCHAIN
  26. default ADK_RUNTIME_DEV_STATIC if ADK_TARGET_WITHOUT_MMU || ADK_TARGET_ARCH_CRIS
  27. default ADK_RUNTIME_DEV_MDEV
  28. config ADK_RUNTIME_DEV_MDEV
  29. bool "Use mdev"
  30. select ADK_KERNEL_DEVTMPFS
  31. select ADK_KERNEL_DEVTMPFS_MOUNT
  32. config ADK_RUNTIME_DEV_UDEV
  33. bool "Use udev"
  34. select ADK_PACKAGE_UDEV
  35. # needs depmod for module dependency generation on host
  36. select ADK_HOST_BUILD_KMOD
  37. select ADK_KERNEL_DEVTMPFS
  38. select ADK_KERNEL_DEVTMPFS_MOUNT
  39. config ADK_RUNTIME_DEV_STATIC
  40. bool "Use static /dev"
  41. endchoice
  42. config ADK_RUNTIME_FIX_PERMISSION
  43. bool "Fix permissions for target files (suid bit, ..)"
  44. select ADK_HOST_BUILD_FAKEROOT
  45. help
  46. Use fakeroot to fix permissions for target dir before image
  47. creation.
  48. config ADK_RUNTIME_SSH_PUBKEY
  49. string "SSH public key (root user only)"
  50. depends on ADK_PACKAGE_OPENSSH_SERVER || ADK_PACKAGE_DROPBEAR
  51. default ""
  52. help
  53. Paste your generated SSH public key here and it will be embedded into
  54. the built image, so you can use it to login instantly.
  55. config ADK_RUNTIME_PASSWORD
  56. string "root password for the embedded system"
  57. default "$1$bJoW4DmS$7fUVat.9iFSAePzA4j4Jm."
  58. help
  59. Predefine the root password enabled in the built image.
  60. Use ./host_*/usr/bin/mkcrypt to generate the hash.
  61. Default password is linux123
  62. config ADK_RUNTIME_ADDUSER
  63. bool "add an user"
  64. default n
  65. help
  66. Enable this option to add an unprivileged user.
  67. Fixed UID/GID 100 is used. A group with the same name is added.
  68. config ADK_RUNTIME_USER_NAME
  69. string "user name"
  70. default "adk"
  71. depends on ADK_RUNTIME_ADDUSER
  72. config ADK_RUNTIME_USER_PASSWORD
  73. string "user password"
  74. default "$1$bJoW4DmS$7fUVat.9iFSAePzA4j4Jm."
  75. depends on ADK_RUNTIME_ADDUSER
  76. help
  77. Predefine the user password enabled in the built image.
  78. Use ./host_*/usr/bin/mkcrypt to generate the hash.
  79. Default password is linux123
  80. config ADK_RUNTIME_USER_HOME
  81. string "user home directory"
  82. default "/home/adk"
  83. depends on ADK_RUNTIME_ADDUSER
  84. help
  85. Set the home directory to use.
  86. config ADK_RUNTIME_USER_SHELL
  87. string "user shell"
  88. default "/bin/sh"
  89. depends on ADK_RUNTIME_ADDUSER
  90. help
  91. Set the shell to use.
  92. config ADK_RUNTIME_START_SERVICES
  93. bool "start services by default"
  94. default n
  95. help
  96. Enable this option to start selected services on boot.
  97. source "target/config/Config.in.scripts"
  98. config ADK_RUNTIME_TMPFS_SIZE
  99. string "size of /tmp in memory (kB)"
  100. default "16384" if ADK_TARGET_VBOX
  101. default "16384" if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  102. default "32768" if ADK_TARGET_SYSTEM_IBM_X40
  103. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  104. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  105. default "32768" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  106. default "32768" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  107. default "8192" if ADK_TARGET_SYSTEM_MIKROTIK_RB532
  108. default "1024"
  109. depends on !ADK_RUNTIME_INIT_SIMPLEINIT
  110. help
  111. Size of /tmp in memory in Kilobyte.
  112. config ADK_RUNTIME_TIMEZONE
  113. string "timezone for the embedded system"
  114. default "Europe/Berlin"
  115. help
  116. Predefine the timezone for the embedded system.
  117. config ADK_RUNTIME_ENABLE_LOCALE
  118. bool "enable locale (i18n) support"
  119. select ADK_TARGET_LIBC_ICONV if ADK_TARGET_LIB_UCLIBC_NG
  120. select BUSYBOX_LOCALE_SUPPORT
  121. help
  122. Enable locale support for the target.
  123. config ADK_RUNTIME_DEFAULT_LOCALE
  124. string "default locale"
  125. depends on ADK_RUNTIME_ENABLE_LOCALE
  126. default "de_DE"
  127. help
  128. Set locale to be set in the target system as default.
  129. choice
  130. prompt "bootup messages from kernel"
  131. config ADK_RUNTIME_VERBOSE_KERNEL_VGA_ONLY
  132. bool "output via VGA only"
  133. depends on ADK_TARGET_WITH_VGA
  134. config ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY
  135. bool "output via serial console only"
  136. depends on ADK_TARGET_WITH_SERIAL \
  137. || ADK_TARGET_QEMU \
  138. || ADK_TARGET_SIM
  139. config ADK_RUNTIME_VERBOSE_KERNEL_VGA_SERIAL
  140. bool "output via VGA and serial console"
  141. depends on ADK_TARGET_WITH_SERIAL && \
  142. ADK_TARGET_WITH_VGA
  143. help
  144. Output is via VGA and serial console.
  145. Init can use only serial via /dev/console.
  146. config ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_VGA
  147. bool "output via serial console and VGA"
  148. depends on ADK_TARGET_WITH_SERIAL && \
  149. ADK_TARGET_WITH_VGA
  150. help
  151. Output is via serial console and VGA.
  152. Init can use only VGA via /dev/console.
  153. config ADK_RUNTIME_QUIET_KERNEL
  154. bool "no output from the kernel"
  155. help
  156. Make bootup quiet without messages from the kernel.
  157. endchoice
  158. choice
  159. prompt "bootup messages from initscripts"
  160. default ADK_RUNTIME_VERBOSE_INIT_VGA if ADK_TARGET_WITH_VGA
  161. default ADK_RUNTIME_VERBOSE_INIT_SERIAL
  162. config ADK_RUNTIME_VERBOSE_INIT_VGA
  163. bool "output via VGA"
  164. depends on ADK_TARGET_WITH_VGA
  165. depends on ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_VGA || \
  166. ADK_RUNTIME_VERBOSE_KERNEL_VGA_ONLY || \
  167. ADK_RUNTIME_QUIET_KERNEL
  168. config ADK_RUNTIME_VERBOSE_INIT_SERIAL
  169. bool "output via serial"
  170. depends on ADK_TARGET_WITH_SERIAL \
  171. || ADK_TARGET_QEMU \
  172. || ADK_TARGET_SIM
  173. depends on ADK_RUNTIME_VERBOSE_KERNEL_VGA_SERIAL || \
  174. ADK_RUNTIME_VERBOSE_KERNEL_SERIAL_ONLY || \
  175. ADK_RUNTIME_QUIET_KERNEL
  176. config ADK_RUNTIME_QUIET_INIT
  177. bool "no output"
  178. endchoice
  179. choice
  180. prompt "start getty or shell after bootup"
  181. default ADK_RUNTIME_GETTY
  182. config ADK_RUNTIME_GETTY
  183. bool "start a getty after bootup"
  184. help
  185. Start a getty after bootup.
  186. config ADK_RUNTIME_SHELL
  187. bool "start a shell after bootup"
  188. help
  189. Start a shell after bootup.
  190. config ADK_RUNTIME_NONE
  191. bool "start no shell nor getty after bootup"
  192. help
  193. Do not start a shell or getty after bootup.
  194. endchoice
  195. config ADK_RUNTIME_GETTY_VGA
  196. bool "start getty on VGA console (tty1-tty6)"
  197. depends on ADK_RUNTIME_GETTY && ADK_TARGET_WITH_VGA
  198. default y if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  199. default y if ADK_TARGET_QEMU_WITH_GRAPHIC
  200. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
  201. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  202. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  203. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  204. default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  205. default y if ADK_TARGET_SYSTEM_IBM_X40
  206. default y if ADK_TARGET_SYSTEM_ARANYM_M68K
  207. default y if ADK_TARGET_VBOX
  208. default n
  209. help
  210. Start getty on VGA console. (tty1-tty6)
  211. config ADK_RUNTIME_GETTY_SERIAL
  212. bool "start getty on serial console"
  213. depends on ADK_RUNTIME_GETTY && ( ADK_TARGET_WITH_SERIAL \
  214. || ADK_TARGET_QEMU \
  215. || ADK_TARGET_SIM )
  216. default n if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  217. default n if ADK_TARGET_QEMU_WITH_GRAPHIC
  218. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
  219. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  220. default n if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  221. default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  222. default n if ADK_TARGET_SYSTEM_IBM_X40
  223. default n if ADK_TARGET_SYSTEM_ARANYM_M68K
  224. default n if ADK_TARGET_VBOX
  225. default y
  226. help
  227. Start getty on serial console.
  228. config ADK_RUNTIME_CONSOLE_VGA_DEVICE
  229. string "VGA console device"
  230. depends on ADK_TARGET_WITH_VGA
  231. default "tty0"
  232. config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
  233. string "serial console device"
  234. depends on ADK_TARGET_WITH_SERIAL \
  235. || ADK_TARGET_QEMU \
  236. || ADK_TARGET_SIM
  237. default "hvc0" if ADK_TARGET_SYSTEM_QEMU_PPC64
  238. default "ttyBF0" if ADK_TARGET_ARCH_BFIN
  239. default "ttyUL0" if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  240. || ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  241. default "ttyARC0" if ADK_TARGET_SYSTEM_NSIM_ARCV1 \
  242. || ADK_TARGET_SYSTEM_NSIM_ARCV2
  243. default "ttyAMA0" if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB \
  244. || ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU \
  245. || ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE \
  246. || ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9 \
  247. || ADK_TARGET_SYSTEM_ARM_FM \
  248. || ADK_TARGET_SYSTEM_QEMU_AARCH64
  249. default "ttySC1" if ADK_TARGET_SYSTEM_QEMU_SH
  250. default "ttySC0" if ADK_TARGET_SYSTEM_SIM_H8300H
  251. default "ttymxc0" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  252. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  253. default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  254. default "ttyDA1" if ADK_TARGET_SYSTEM_QEMU_METAG
  255. default "ttyS2" if ADK_TARGET_SYSTEM_KINETIS_K70
  256. default "ttyPS0" if ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
  257. default "ttysclp0" if ADK_TARGET_SYSTEM_QEMU_S390
  258. default "ttyO2" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  259. default "ttyS4" if ADK_TARGET_SYSTEM_IMGTEC_CI20
  260. default "ttyS0"
  261. config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
  262. string "serial console speed"
  263. depends on ADK_TARGET_WITH_SERIAL \
  264. || ADK_TARGET_QEMU \
  265. || ADK_TARGET_SIM
  266. default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
  267. default "9600" if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  268. default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
  269. default "38400" if ADK_TARGET_SYSTEM_ANDES_AG101P
  270. default "115200"
  271. config ADK_RUNTIME_KBD_LAYOUT
  272. string "keyboard layout for the embedded system"
  273. depends on ADK_TARGET_WITH_INPUT
  274. default "de-latin1-nodeadkeys"
  275. help
  276. Predefine the keyboard layout for the embedded system.
  277. For example use de-latin1-nodeadkeys.
  278. choice
  279. prompt "initial login shell for the root user"
  280. default ADK_ROOTSH_HUSH if ADK_TARGET_WITHOUT_MMU
  281. default ADK_ROOTSH_MKSH
  282. config ADK_ROOTSH_MKSH
  283. bool "mksh (MirBSD Korn Shell)"
  284. select ADK_PACKAGE_MKSH if !ADK_APPLIANCE_TOOLCHAIN
  285. help
  286. Use mksh (a Korn Shell variant) as standard login shell
  287. for the superuser.
  288. config ADK_ROOTSH_HUSH
  289. bool "hush (busybox shell compatible with non-MMU systems)"
  290. select BUSYBOX_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  291. select BUSYBOX_FEATURE_SH_IS_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  292. help
  293. hush shell from busybox.
  294. config ADK_ROOTSH_SASH
  295. bool "sash (Shell compatible with non-MMU systems)"
  296. select ADK_PACKAGE_SASH if !ADK_APPLIANCE_TOOLCHAIN
  297. help
  298. standalone shell.
  299. config ADK_ROOTSH_ASH
  300. bool "ash (busybox shell)"
  301. select BUSYBOX_ASH
  302. select BUSYBOX_FEATURE_SH_IS_ASH
  303. help
  304. Use the minimalistic ash variant that is part of busybox
  305. as standard login shell for the superuser. This is the
  306. default, but discouraged due to its frugality.
  307. config ADK_ROOTSH_BASH
  308. bool "bash (GNU Bourne-Again Shell)"
  309. select ADK_PACKAGE_BASH
  310. help
  311. Use GNU bash as standard login shell for the superuser.
  312. config ADK_ROOTSH_TCSH
  313. bool "tcsh (Tenex C Shell)"
  314. select ADK_PACKAGE_TCSH
  315. help
  316. Use tcsh (a C Shell variant) as standard login shell
  317. for the superuser.
  318. config ADK_ROOTSH_ZSH
  319. bool "zsh (The Z Shell)"
  320. select ADK_PACKAGE_ZSH
  321. help
  322. Use zsh as standard login shell for the superuser.
  323. endchoice
  324. choice
  325. prompt "system /bin/sh (POSIX script shell)"
  326. default ADK_BINSH_HUSH if ADK_TARGET_WITHOUT_MMU
  327. default ADK_BINSH_MKSH
  328. config ADK_BINSH_MKSH
  329. bool "mksh (MirBSD Korn Shell)"
  330. select ADK_PACKAGE_MKSH if !ADK_APPLIANCE_TOOLCHAIN
  331. help
  332. Use mksh (a Korn Shell variant) as system shell, which is
  333. both small and powerful, so quite suited for this task.
  334. config ADK_BINSH_HUSH
  335. bool "hush (busybox)"
  336. select ADK_PACKAGE_HUSH if !ADK_APPLIANCE_TOOLCHAIN
  337. help
  338. hush shell.
  339. config ADK_BINSH_SASH
  340. bool "sash (Standalone Shell)"
  341. select ADK_PACKAGE_SASH if !ADK_APPLIANCE_TOOLCHAIN
  342. help
  343. sash shell.
  344. config ADK_BINSH_ASH
  345. bool "ash (busybox)"
  346. select BUSYBOX_ASH
  347. help
  348. Use the minimalistic ash variant that is part of busybox
  349. as system shell. This is the default and rather small and
  350. fast, but lacks scripting features.
  351. config ADK_BINSH_BASH
  352. bool "bash (GNU Bourne-Again Shell)"
  353. select ADK_PACKAGE_BASH
  354. help
  355. Use GNU bash as system shell. This is discouraged due to
  356. its size and slowness.
  357. config ADK_BINSH_ZSH
  358. bool "zsh (The Z Shell)"
  359. select ADK_PACKAGE_ZSH
  360. help
  361. Use zsh as system shell. This is probably a bad idea.
  362. endchoice
  363. # workaround for USB ethernet f.e. Raspberry Pi 2/3
  364. config ADK_RUNTIME_WAIT_FOR_ETHERNET
  365. bool
  366. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  367. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  368. config ADK_SIMPLE_NETWORK_CONFIG
  369. bool "simple network configuration"
  370. help
  371. Manually change network config
  372. menu "eth0 Configuration"
  373. depends on ADK_SIMPLE_NETWORK_CONFIG
  374. choice
  375. prompt "Type"
  376. default ADK_SIMPLE_NETWORK_CONFIG_ETH0_TYPE_MANUAL
  377. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  378. bool "static IP configuration"
  379. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  380. bool "DHCP"
  381. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NONE
  382. bool "no configuration"
  383. endchoice
  384. choice
  385. prompt "configure default Gateway"
  386. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  387. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  388. bool "with Gateway"
  389. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITHOUT_GW
  390. bool "without Gateway"
  391. endchoice
  392. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_IP
  393. string "IP Address"
  394. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  395. default "10.0.0.2"
  396. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_NM
  397. string "Netmask"
  398. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC
  399. default "255.255.255.0"
  400. config ADK_SIMPLE_NETWORK_CONFIG_ETH0_GW
  401. string "Gateway"
  402. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH0_STATIC_WITH_GW
  403. default "10.0.0.1"
  404. endmenu
  405. menu "wlan0 Configuration"
  406. depends on ADK_SIMPLE_NETWORK_CONFIG
  407. depends on ADK_TARGET_WITH_WIFI
  408. choice
  409. prompt "Type"
  410. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  411. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NONE
  412. bool "No configuration"
  413. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  414. bool "static IP configuration"
  415. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  416. bool "DHCP"
  417. endchoice
  418. choice
  419. prompt "configure default Gateway"
  420. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  421. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  422. bool "with Gateway"
  423. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITHOUT_GW
  424. bool "without Gateway"
  425. endchoice
  426. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_IP
  427. string "IP Address"
  428. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  429. default "192.168.1.2"
  430. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NM
  431. string "Netmask"
  432. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC
  433. default "255.255.255.0"
  434. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_GW
  435. string "Gateway"
  436. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC_WITH_GW
  437. default "192.168.1.1"
  438. endmenu
  439. choice
  440. prompt "WLAN Security"
  441. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC || ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  442. default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
  443. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
  444. bool "No security"
  445. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  446. bool "WPA2"
  447. endchoice
  448. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_SSID
  449. string "SSID"
  450. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  451. default ""
  452. config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_PW
  453. string "Password"
  454. depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
  455. default ""
  456. menu "eth1 Configuration"
  457. depends on ADK_SIMPLE_NETWORK_CONFIG && \
  458. ADK_TARGET_SYSTEM_MIKROTIK_RB532
  459. choice
  460. prompt "Type"
  461. default ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  462. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  463. bool "static IP configuration"
  464. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  465. bool "DHCP"
  466. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NONE
  467. bool "no configuration"
  468. endchoice
  469. choice
  470. prompt "configure default Gateway"
  471. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  472. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  473. bool "with Gateway"
  474. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITHOUT_GW
  475. bool "without Gateway"
  476. endchoice
  477. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_IP
  478. string "IP Address"
  479. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  480. default "172.16.0.2"
  481. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_NM
  482. string "Netmask"
  483. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC
  484. default "255.255.0.0"
  485. config ADK_SIMPLE_NETWORK_CONFIG_ETH1_GW
  486. string "Gateway"
  487. depends on ADK_SIMPLE_NETWORK_CONFIG_ETH1_STATIC_WITH_GW
  488. default "172.16.0.1"
  489. endmenu
  490. config ADK_SIMPLE_NETWORK_CONFIG_NS
  491. string "Nameserver"
  492. depends on ADK_SIMPLE_NETWORK_CONFIG
  493. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH0_DHCP
  494. depends on !ADK_SIMPLE_NETWORK_CONFIG_ETH1_DHCP
  495. depends on !ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
  496. default "10.0.0.1"
  497. config ADK_SIMPLE_NETWORK_CONFIG_PROXY
  498. string "HTTP-Proxy (f.e. http://10.0.0.2:8080)"
  499. depends on ADK_SIMPLE_NETWORK_CONFIG
  500. default ""