1. Last login: Mon Jul 20 23:35:50 on ttys000
  2. seaborgium:~ user$ ssh [email protected]
  3. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  4. @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
  5. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  6. IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
  7. Someone could be eavesdropping on you right now (man-in-the-middle attack)!
  8. It is also possible that a host key has just been changed.
  9. The fingerprint for the RSA key sent by the remote host is
  10. 8e:5b:c3:53:fb:55:b4:21:d3:41:d1:9b:42:26:e2:90.
  11. Please contact your system administrator.
  12. Add correct host key in /Users/user/.ssh/known_hosts to get rid of this message.
  13. Offending RSA key in /Users/user/.ssh/known_hosts:4
  14. RSA host key for 192.168.10.1 has changed and you have requested strict checking.
  15. Host key verification failed.
  16. seaborgium:~ user$ vim .ssh/known_hosts
  17. seaborgium:~ user$ ssh [email protected]
  18. The authenticity of host '192.168.10.1 (192.168.10.1)' can't be established.
  19. RSA key fingerprint is 8e:5b:c3:53:fb:55:b4:21:d3:41:d1:9b:42:26:e2:90.
  20. Are you sure you want to continue connecting (yes/no)? yes
  21. Warning: Permanently added '192.168.10.1' (RSA) to the list of known hosts.
  22. [email protected]'s password:
  23. BusyBox v1.23.2 (2015-05-27 19:04:44 UTC) built-in shell (ash)
  24. _______ ________ __
  25. | |.-----.-----.-----.| | | |.----.| |_
  26. | - || _ | -__| || | | || _|| _|
  27. |_______|| __|_____|__|__||________||__| |____|
  28. |__| W I R E L E S S F R E E D O M
  29. -----------------------------------------------------
  30. CHAOS CALMER (Bleeding Edge, r45770)
  31. -----------------------------------------------------
  32. * 1 1/2 oz Gin Shake with a glassful
  33. * 1/4 oz Triple Sec of broken ice and pour
  34. * 3/4 oz Lime Juice unstrained into a goblet.
  35. * 1 1/2 oz Orange Juice
  36. * 1 tsp. Grenadine Syrup
  37. -----------------------------------------------------
  38. root@OpenWrt:~# opkg list-installed
  39. base-files - 157-r45770
  40. busybox - 1.23.2-1
  41. dnsmasq - 2.73rc8-1
  42. dropbear - 2015.67-1
  43. firewall - 2015-05-26
  44. fstools - 2015-05-24-09027fc86babc3986027a0e677aca1b6999a9e14
  45. hostapd-common - 2015-03-25-1
  46. ip6tables - 1.4.21-1
  47. iptables - 1.4.21-1
  48. iw - 3.17-1
  49. iwinfo - 2015-05-26-e8a1e7d224918ba23fe0cd125e70907cb31aea31
  50. jshn - 2015-05-08-a8e70c6d361967a23977417fb7d6cf56234f8b81
  51. jsonfilter - 2014-06-19-cdc760c58077f44fc40adbbe41e1556a67c1b9a9
  52. kernel - 3.18.14-1-fc0c25a3c686461daa6a498969b26c69
  53. kmod-cfg80211 - 3.18.14+2015-03-09-3
  54. kmod-crypto-aes - 3.18.14-1
  55. kmod-crypto-arc4 - 3.18.14-1
  56. kmod-crypto-core - 3.18.14-1
  57. kmod-eeprom-93cx6 - 3.18.14-1
  58. kmod-gpio-button-hotplug - 3.18.14-1
  59. kmod-ip6tables - 3.18.14-1
  60. kmod-ipt-conntrack - 3.18.14-1
  61. kmod-ipt-core - 3.18.14-1
  62. kmod-ipt-nat - 3.18.14-1
  63. kmod-ipv6 - 3.18.14-1
  64. kmod-leds-gpio - 3.18.14-1
  65. kmod-ledtrig-usbdev - 3.18.14-1
  66. kmod-lib-crc-ccitt - 3.18.14-1
  67. kmod-lib-crc-itu-t - 3.18.14-1
  68. kmod-mac80211 - 3.18.14+2015-03-09-3
  69. kmod-nf-conntrack - 3.18.14-1
  70. kmod-nf-conntrack6 - 3.18.14-1
  71. kmod-nf-ipt - 3.18.14-1
  72. kmod-nf-ipt6 - 3.18.14-1
  73. kmod-nf-nat - 3.18.14-1
  74. kmod-nf-nathelper - 3.18.14-1
  75. kmod-nls-base - 3.18.14-1
  76. kmod-ppp - 3.18.14-1
  77. kmod-pppoe - 3.18.14-1
  78. kmod-pppox - 3.18.14-1
  79. kmod-rt2800-lib - 3.18.14+2015-03-09-3
  80. kmod-rt2800-mmio - 3.18.14+2015-03-09-3
  81. kmod-rt2800-pci - 3.18.14+2015-03-09-3
  82. kmod-rt2800-soc - 3.18.14+2015-03-09-3
  83. kmod-rt2x00-lib - 3.18.14+2015-03-09-3
  84. kmod-rt2x00-mmio - 3.18.14+2015-03-09-3
  85. kmod-rt2x00-pci - 3.18.14+2015-03-09-3
  86. kmod-slhc - 3.18.14-1
  87. kmod-usb-core - 3.18.14-1
  88. kmod-usb-ohci - 3.18.14-1
  89. kmod-usb2 - 3.18.14-1
  90. libblobmsg-json - 2015-05-08-a8e70c6d361967a23977417fb7d6cf56234f8b81
  91. libc - 0.9.33.2-1
  92. libgcc - 4.8-linaro-1
  93. libip4tc - 1.4.21-1
  94. libip6tc - 1.4.21-1
  95. libiwinfo - 2015-05-26-e8a1e7d224918ba23fe0cd125e70907cb31aea31
  96. libiwinfo-lua - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
  97. libjson-c - 0.12-1
  98. libjson-script - 2015-05-08-a8e70c6d361967a23977417fb7d6cf56234f8b81
  99. liblua - 5.1.5-1
  100. libnl-tiny - 0.1-4
  101. libpolarssl - 1.3.11-1
  102. libubox - 2015-05-08-a8e70c6d361967a23977417fb7d6cf56234f8b81
  103. libubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
  104. libubus-lua - 2015-07-07-7ec9b8dec77b969bfc860995f96fe91fd40ba5e4
  105. libuci - 2015-04-09.1-1
  106. libuci-lua - 2015-04-09.1-1
  107. libustream-polarssl - 2015-07-09-c2d73c22618e8ee444e8d346695eca908ecb72d3
  108. libxtables - 1.4.21-1
  109. lua - 5.1.5-1
  110. luci-app-firewall - git-15.196.77296-3610f32-1
  111. luci-base - git-15.196.77296-3610f32-1
  112. luci-lib-ip - git-15.196.77296-3610f32-1
  113. luci-lib-nixio - git-15.196.77296-3610f32-1
  114. luci-mod-admin-full - git-15.196.77296-3610f32-1
  115. luci-proto-ipv6 - git-15.196.77296-3610f32-1
  116. luci-proto-ppp - git-15.196.77296-3610f32-1
  117. luci-theme-bootstrap - git-15.196.77296-3610f32-1
  118. mtd - 20
  119. netifd - 2015-05-26-5990d1126fd33665e106508ebcbadfbb2d703d8e
  120. odhcp6c - 2015-05-19-68042ddafe0e1a3498b6c7a57ec8d2d20f25650b
  121. odhcpd - 2015-05-21-2ebf6c8216287983779c8ec6597d30893b914a7c
  122. opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-7
  123. ppp - 2.4.7-5
  124. ppp-mod-pppoe - 2.4.7-5
  125. procd - 2015-05-23-a771644fd3a3ac055ec0c62fbe434aed0df002fe
  126. px5g - 3
  127. rpcd - 2015-07-15-410802e106184d15805c5a66830d3072bd58ce30
  128. swconfig - 10
  129. ubox - 2015-05-22-ab5b47397cc143798ba2f367f04579e5b5b82070
  130. ubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
  131. ubusd - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
  132. uci - 2015-04-09.1-1
  133. uhttpd - 2015-05-31-daeea305298197bb50c1e63cdd842ee1d9461d80
  134. uhttpd-mod-ubus - 2015-05-31-daeea305298197bb50c1e63cdd842ee1d9461d80
  135. usign - 2015-05-08-cf8dcdb8a4e874c77f3e9a8e9b643e8c17b19131
  136. wpad-mini - 2015-03-25-1
  137. root@OpenWrt:~# opkg update
  138. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/base/Packages.gz.
  139. wget: bad address 'downloads.openwrt.org'
  140. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/base/Packages.sig.
  141. wget: bad address 'downloads.openwrt.org'
  142. Signature check failed.
  143. Remove wrong Signature file.
  144. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/luci/Packages.gz.
  145. wget: bad address 'downloads.openwrt.org'
  146. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/luci/Packages.sig.
  147. wget: bad address 'downloads.openwrt.org'
  148. Signature check failed.
  149. Remove wrong Signature file.
  150. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/management/Packages.gz.
  151. wget: bad address 'downloads.openwrt.org'
  152. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/management/Packages.sig.
  153. wget: bad address 'downloads.openwrt.org'
  154. Signature check failed.
  155. Remove wrong Signature file.
  156. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/packages/Packages.gz.
  157. wget: bad address 'downloads.openwrt.org'
  158. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/packages/Packages.sig.
  159. wget: bad address 'downloads.openwrt.org'
  160. Signature check failed.
  161. Remove wrong Signature file.
  162. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/routing/Packages.gz.
  163. wget: bad address 'downloads.openwrt.org'
  164. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/routing/Packages.sig.
  165. wget: bad address 'downloads.openwrt.org'
  166. Signature check failed.
  167. Remove wrong Signature file.
  168. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/telephony/Packages.gz.
  169. wget: bad address 'downloads.openwrt.org'
  170. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/telephony/Packages.sig.
  171. wget: bad address 'downloads.openwrt.org'
  172. Signature check failed.
  173. Remove wrong Signature file.
  174. Collected errors:
  175. * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/base/Packages.gz, wget returned 1.
  176. * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/base/Packages.sig, wget returned 1.
  177. * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/luci/Packages.gz, wget returned 1.
  178. * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/luci/Packages.sig, wget returned 1.
  179. * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/management/Packages.gz, wget returned 1.
  180. * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/management/Packages.sig, wget returned 1.
  181. * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/packages/Packages.gz, wget returned 1.
  182. * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/packages/Packages.sig, wget returned 1.
  183. * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/routing/Packages.gz, wget returned 1.
  184. * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/routing/Packages.sig, wget returned 1.
  185. * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/telephony/Packages.gz, wget returned 1.
  186. * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/telephony/Packages.sig, wget returned 1.
  187. root@OpenWrt:~# opkg update
  188. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/base/Packages.gz.
  189. Updated list of available packages in /var/opkg-lists/chaos_calmer_base.
  190. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/base/Packages.sig.
  191. Signature check passed.
  192. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/luci/Packages.gz.
  193. Updated list of available packages in /var/opkg-lists/chaos_calmer_luci.
  194. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/luci/Packages.sig.
  195. Signature check passed.
  196. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/management/Packages.gz.
  197. Updated list of available packages in /var/opkg-lists/chaos_calmer_management.
  198. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/management/Packages.sig.
  199. Signature check passed.
  200. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/packages/Packages.gz.
  201. Updated list of available packages in /var/opkg-lists/chaos_calmer_packages.
  202. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/packages/Packages.sig.
  203. Signature check passed.
  204. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/routing/Packages.gz.
  205. Updated list of available packages in /var/opkg-lists/chaos_calmer_routing.
  206. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/routing/Packages.sig.
  207. Signature check passed.
  208. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/telephony/Packages.gz.
  209. Updated list of available packages in /var/opkg-lists/chaos_calmer_telephony.
  210. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/telephony/Packages.sig.
  211. Signature check passed.
  212. root@OpenWrt:~# opkg --force-reinstall install luci
  213. No packages removed.
  214. Installing luci (git-15.196.77296-3610f32-1) to root...
  215. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/luci/luci_git-15.196.77296-3610f32-1_all.ipk.
  216. Configuring luci.
  217. root@OpenWrt:~# /etc/init.d/uhttpd start
  218. /etc/rc.common: eval: line 1: /usr/sbin/px5g: not found
  219. mv: can't rename '/etc/uhttpd.key.new': No such file or directory
  220. mv: can't rename '/etc/uhttpd.crt.new': No such file or directory
  221. root@OpenWrt:~# vim /etc/rc.common
  222. root@OpenWrt:~# vim /usr/sbin/px5g
  223. root@OpenWrt:~# opkg list-installed
  224. base-files - 157-r45770
  225. busybox - 1.23.2-1
  226. dnsmasq - 2.73rc8-1
  227. dropbear - 2015.67-1
  228. firewall - 2015-05-26
  229. fstools - 2015-05-24-09027fc86babc3986027a0e677aca1b6999a9e14
  230. hostapd-common - 2015-03-25-1
  231. ip6tables - 1.4.21-1
  232. iptables - 1.4.21-1
  233. iw - 3.17-1
  234. iwinfo - 2015-05-26-e8a1e7d224918ba23fe0cd125e70907cb31aea31
  235. jshn - 2015-05-08-a8e70c6d361967a23977417fb7d6cf56234f8b81
  236. jsonfilter - 2014-06-19-cdc760c58077f44fc40adbbe41e1556a67c1b9a9
  237. kernel - 3.18.14-1-fc0c25a3c686461daa6a498969b26c69
  238. kmod-cfg80211 - 3.18.14+2015-03-09-3
  239. kmod-crypto-aes - 3.18.14-1
  240. kmod-crypto-arc4 - 3.18.14-1
  241. kmod-crypto-core - 3.18.14-1
  242. kmod-eeprom-93cx6 - 3.18.14-1
  243. kmod-gpio-button-hotplug - 3.18.14-1
  244. kmod-ip6tables - 3.18.14-1
  245. kmod-ipt-conntrack - 3.18.14-1
  246. kmod-ipt-core - 3.18.14-1
  247. kmod-ipt-nat - 3.18.14-1
  248. kmod-ipv6 - 3.18.14-1
  249. kmod-leds-gpio - 3.18.14-1
  250. kmod-ledtrig-usbdev - 3.18.14-1
  251. kmod-lib-crc-ccitt - 3.18.14-1
  252. kmod-lib-crc-itu-t - 3.18.14-1
  253. kmod-mac80211 - 3.18.14+2015-03-09-3
  254. kmod-nf-conntrack - 3.18.14-1
  255. kmod-nf-conntrack6 - 3.18.14-1
  256. kmod-nf-ipt - 3.18.14-1
  257. kmod-nf-ipt6 - 3.18.14-1
  258. kmod-nf-nat - 3.18.14-1
  259. kmod-nf-nathelper - 3.18.14-1
  260. kmod-nls-base - 3.18.14-1
  261. kmod-ppp - 3.18.14-1
  262. kmod-pppoe - 3.18.14-1
  263. kmod-pppox - 3.18.14-1
  264. kmod-rt2800-lib - 3.18.14+2015-03-09-3
  265. kmod-rt2800-mmio - 3.18.14+2015-03-09-3
  266. kmod-rt2800-pci - 3.18.14+2015-03-09-3
  267. kmod-rt2800-soc - 3.18.14+2015-03-09-3
  268. kmod-rt2x00-lib - 3.18.14+2015-03-09-3
  269. kmod-rt2x00-mmio - 3.18.14+2015-03-09-3
  270. kmod-rt2x00-pci - 3.18.14+2015-03-09-3
  271. kmod-slhc - 3.18.14-1
  272. kmod-usb-core - 3.18.14-1
  273. kmod-usb-ohci - 3.18.14-1
  274. kmod-usb2 - 3.18.14-1
  275. libblobmsg-json - 2015-05-08-a8e70c6d361967a23977417fb7d6cf56234f8b81
  276. libc - 0.9.33.2-1
  277. libgcc - 4.8-linaro-1
  278. libip4tc - 1.4.21-1
  279. libip6tc - 1.4.21-1
  280. libiwinfo - 2015-05-26-e8a1e7d224918ba23fe0cd125e70907cb31aea31
  281. libiwinfo-lua - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
  282. libjson-c - 0.12-1
  283. libjson-script - 2015-05-08-a8e70c6d361967a23977417fb7d6cf56234f8b81
  284. liblua - 5.1.5-1
  285. libnl-tiny - 0.1-4
  286. libpolarssl - 1.3.11-1
  287. libubox - 2015-05-08-a8e70c6d361967a23977417fb7d6cf56234f8b81
  288. libubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
  289. libubus-lua - 2015-07-07-7ec9b8dec77b969bfc860995f96fe91fd40ba5e4
  290. libuci - 2015-04-09.1-1
  291. libuci-lua - 2015-04-09.1-1
  292. libustream-polarssl - 2015-07-09-c2d73c22618e8ee444e8d346695eca908ecb72d3
  293. libxtables - 1.4.21-1
  294. lua - 5.1.5-1
  295. luci - git-15.196.77296-3610f32-1
  296. luci-app-firewall - git-15.196.77296-3610f32-1
  297. luci-base - git-15.196.77296-3610f32-1
  298. luci-lib-ip - git-15.196.77296-3610f32-1
  299. luci-lib-nixio - git-15.196.77296-3610f32-1
  300. luci-mod-admin-full - git-15.196.77296-3610f32-1
  301. luci-proto-ipv6 - git-15.196.77296-3610f32-1
  302. luci-proto-ppp - git-15.196.77296-3610f32-1
  303. luci-theme-bootstrap - git-15.196.77296-3610f32-1
  304. mtd - 20
  305. netifd - 2015-05-26-5990d1126fd33665e106508ebcbadfbb2d703d8e
  306. odhcp6c - 2015-05-19-68042ddafe0e1a3498b6c7a57ec8d2d20f25650b
  307. odhcpd - 2015-05-21-2ebf6c8216287983779c8ec6597d30893b914a7c
  308. opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-7
  309. ppp - 2.4.7-5
  310. ppp-mod-pppoe - 2.4.7-5
  311. procd - 2015-05-23-a771644fd3a3ac055ec0c62fbe434aed0df002fe
  312. px5g - 3
  313. rpcd - 2015-07-15-410802e106184d15805c5a66830d3072bd58ce30
  314. swconfig - 10
  315. ubox - 2015-05-22-ab5b47397cc143798ba2f367f04579e5b5b82070
  316. ubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
  317. ubusd - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
  318. uci - 2015-04-09.1-1
  319. uhttpd - 2015-05-31-daeea305298197bb50c1e63cdd842ee1d9461d80
  320. uhttpd-mod-ubus - 2015-05-31-daeea305298197bb50c1e63cdd842ee1d9461d80
  321. usign - 2015-05-08-cf8dcdb8a4e874c77f3e9a8e9b643e8c17b19131
  322. wpad-mini - 2015-03-25-1
  323. root@OpenWrt:~# opkg list-installed | grep ssl
  324. libpolarssl - 1.3.11-1
  325. libustream-polarssl - 2015-07-09-c2d73c22618e8ee444e8d346695eca908ecb72d3
  326. root@OpenWrt:~# opkg remove libpolarssl
  327. No packages removed.
  328. Collected errors:
  329. * print_dependents_warning: Package libpolarssl is depended upon by packages:
  330. * print_dependents_warning: libustream-polarssl
  331. * print_dependents_warning: px5g
  332. * print_dependents_warning: These might cease to work if package libpolarssl is removed.
  333. * print_dependents_warning: Force removal of this package with --force-depends.
  334. * print_dependents_warning: Force removal of this package and its dependents
  335. * print_dependents_warning: with --force-removal-of-dependent-packages.
  336. root@OpenWrt:~# opkg remove libust
  337. root@OpenWrt:~# opkg remove libustream-polarssl
  338. Removing package libustream-polarssl from root...
  339. root@OpenWrt:~# opkg remove libpolarssl
  340. No packages removed.
  341. Collected errors:
  342. * print_dependents_warning: Package libpolarssl is depended upon by packages:
  343. * print_dependents_warning: px5g
  344. * print_dependents_warning: These might cease to work if package libpolarssl is removed.
  345. * print_dependents_warning: Force removal of this package with --force-depends.
  346. * print_dependents_warning: Force removal of this package and its dependents
  347. * print_dependents_warning: with --force-removal-of-dependent-packages.
  348. root@OpenWrt:~# opkg remove libpolarssl
  349. No packages removed.
  350. Collected errors:
  351. * print_dependents_warning: Package libpolarssl is depended upon by packages:
  352. * print_dependents_warning: px5g
  353. * print_dependents_warning: These might cease to work if package libpolarssl is removed.
  354. * print_dependents_warning: Force removal of this package with --force-depends.
  355. * print_dependents_warning: Force removal of this package and its dependents
  356. * print_dependents_warning: with --force-removal-of-dependent-packages.
  357. root@OpenWrt:~# opkg --force-removal-of-dependent-packages luci-ssl
  358. opkg: unknown sub-command luci-ssl
  359. usage: opkg [options...] sub-command [arguments...]
  360. where sub-command is one of:
  361. Package Manipulation:
  362. update Update list of available packages
  363. upgrade <pkgs> Upgrade packages
  364. install <pkgs> Install package(s)
  365. configure <pkgs> Configure unpacked package(s)
  366. remove <pkgs|regexp> Remove package(s)
  367. flag <flag> <pkgs> Flag package(s)
  368. <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation)
  369. Informational Commands:
  370. list List available packages
  371. list-installed List installed packages
  372. list-upgradable List installed and upgradable packages
  373. list-changed-conffiles List user modified configuration files
  374. files <pkg> List files belonging to <pkg>
  375. search <file|regexp> List package providing <file>
  376. find <regexp> List packages whose name or description matches <regexp>
  377. info [pkg|regexp] Display all info for <pkg>
  378. status [pkg|regexp] Display all status for <pkg>
  379. download <pkg> Download <pkg> to current directory
  380. compare-versions <v1> <op> <v2>
  381. compare versions using <= < > >= = << >>
  382. print-architecture List installable package architectures
  383. depends [-A] [pkgname|pat]+
  384. whatdepends [-A] [pkgname|pat]+
  385. whatdependsrec [-A] [pkgname|pat]+
  386. whatrecommends[-A] [pkgname|pat]+
  387. whatsuggests[-A] [pkgname|pat]+
  388. whatprovides [-A] [pkgname|pat]+
  389. whatconflicts [-A] [pkgname|pat]+
  390. whatreplaces [-A] [pkgname|pat]+
  391. Options:
  392. -A Query all packages not just those installed
  393. -V[<level>] Set verbosity level to <level>.
  394. --verbosity[=<level>] Verbosity levels:
  395. 0 errors only
  396. 1 normal messages (default)
  397. 2 informative messages
  398. 3 debug
  399. 4 debug level 2
  400. -f <conf_file> Use <conf_file> as the opkg configuration file
  401. --conf <conf_file>
  402. --cache <directory> Use a package cache
  403. -d <dest_name> Use <dest_name> as the the root directory for
  404. --dest <dest_name> package installation, removal, upgrading.
  405. <dest_name> should be a defined dest name from
  406. the configuration file, (but can also be a
  407. directory name in a pinch).
  408. -o <dir> Use <dir> as the root directory for
  409. --offline-root <dir> offline installation of packages.
  410. --add-arch <arch>:<prio> Register architecture with given priority
  411. --add-dest <name>:<path> Register destination with given path
  412. Force Options:
  413. --force-depends Install/remove despite failed dependencies
  414. --force-maintainer Overwrite preexisting config files
  415. --force-reinstall Reinstall package(s)
  416. --force-overwrite Overwrite files from other package(s)
  417. --force-downgrade Allow opkg to downgrade packages
  418. --force-space Disable free space checks
  419. --force-postinstall Run postinstall scripts even in offline mode
  420. --force-remove Remove package even if prerm script fails
  421. --force-checksum Don't fail on checksum mismatches
  422. --noaction No action -- test only
  423. --download-only No action -- download only
  424. --nodeps Do not follow dependencies
  425. --nocase Perform case insensitive pattern matching
  426. --force-removal-of-dependent-packages
  427. Remove package and all dependencies
  428. --autoremove Remove packages that were installed
  429. automatically to satisfy dependencies
  430. -t Specify tmp-dir.
  431. --tmp-dir Specify tmp-dir.
  432. regexp could be something like 'pkgname*' '*file*' or similar
  433. e.g. opkg info 'libstd*' or opkg search '*libop*' or opkg remove 'libncur*'
  434. root@OpenWrt:~# opkg remove luci
  435. Removing package luci from root...
  436. root@OpenWrt:~# opkg install luci
  437. Installing luci (git-15.196.77296-3610f32-1) to root...
  438. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/luci/luci_git-15.196.77296-3610f32-1_all.ipk.
  439. Configuring luci.
  440. root@OpenWrt:~# /etc/init.d/uhttpd start
  441. root@OpenWrt:~# telnet localhost 80
  442. telnet: can't connect to remote host (127.0.0.1): Connection refused
  443. root@OpenWrt:~# telnet localhost 80
  444. root@OpenWrt:~# netstat
  445. Active Internet connections (w/o servers)
  446. Proto Recv-Q Send-Q Local Address Foreign Address State
  447. tcp 0 0 OpenWrt.lan:ssh seaborgium.lan:57449 ESTABLISHED
  448. Active UNIX domain sockets (w/o servers)
  449. Proto RefCnt Flags Type State I-Node Path
  450. unix 6 [ ] DGRAM 930 /dev/log
  451. unix 3 [ ] STREAM CONNECTED 283 /var/run/ubus.sock
  452. unix 3 [ ] STREAM CONNECTED 282
  453. unix 2 [ ] DGRAM 1216
  454. unix 3 [ ] STREAM CONNECTED 1001
  455. unix 2 [ ] DGRAM 1463
  456. unix 3 [ ] STREAM CONNECTED 932
  457. unix 3 [ ] STREAM CONNECTED 933 /var/run/ubus.sock
  458. unix 3 [ ] STREAM CONNECTED 1214 /var/run/ubus.sock
  459. unix 3 [ ] STREAM CONNECTED 1002 /var/run/ubus.sock
  460. unix 2 [ ] DGRAM 1259
  461. unix 2 [ ] DGRAM 1286
  462. unix 2 [ ] DGRAM 1982
  463. unix 3 [ ] STREAM CONNECTED 1213
  464. root@OpenWrt:~# netstat -nal
  465. Active Internet connections (servers and established)
  466. Proto Recv-Q Send-Q Local Address Foreign Address State
  467. tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN
  468. tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
  469. tcp 0 0 192.168.10.1:22 192.168.10.173:57449 ESTABLISHED
  470. tcp 0 0 :::53 :::* LISTEN
  471. tcp 0 0 :::22 :::* LISTEN
  472. udp 0 0 0.0.0.0:53 0.0.0.0:*
  473. udp 0 0 0.0.0.0:67 0.0.0.0:*
  474. udp 0 0 :::546 :::*
  475. udp 0 0 :::547 :::*
  476. udp 0 0 :::53 :::*
  477. raw 0 0 ::%4556988:58 :::* 58
  478. raw 0 0 ::%4556988:58 :::* 58
  479. raw 0 0 ::%4556988:58 :::* 58
  480. Active UNIX domain sockets (servers and established)
  481. Proto RefCnt Flags Type State I-Node Path
  482. unix 2 [ ACC ] STREAM LISTENING 280 /var/run/ubus.sock
  483. unix 6 [ ] DGRAM 930 /dev/log
  484. unix 3 [ ] STREAM CONNECTED 283 /var/run/ubus.sock
  485. unix 3 [ ] STREAM CONNECTED 282
  486. unix 2 [ ] DGRAM 1216
  487. unix 3 [ ] STREAM CONNECTED 1001
  488. unix 2 [ ] DGRAM 1463
  489. unix 3 [ ] STREAM CONNECTED 932
  490. unix 3 [ ] STREAM CONNECTED 933 /var/run/ubus.sock
  491. unix 3 [ ] STREAM CONNECTED 1214 /var/run/ubus.sock
  492. unix 3 [ ] STREAM CONNECTED 1002 /var/run/ubus.sock
  493. unix 2 [ ] DGRAM 1259
  494. unix 2 [ ] DGRAM 1286
  495. unix 2 [ ] DGRAM 1982
  496. unix 3 [ ] STREAM CONNECTED 1213
  497. root@OpenWrt:~# opkg install lua
  498. Package lua (5.1.5-1) installed in root is up to date.
  499. root@OpenWrt:~# telnet localhost 80
  500. telnet: can't connect to remote host (127.0.0.1): Connection refused
  501. root@OpenWrt:~# opkg install lubuci-lua
  502. ^[[AUnknown package 'lubuci-lua'.
  503. Collected errors:
  504. * opkg_install_cmd: Cannot install package lubuci-lua.
  505. root@OpenWrt:~# opkg install libuci-lua
  506. Package libuci-lua (2015-04-09.1-1) installed in root is up to date.
  507. root@OpenWrt:~# opkg list-installed
  508. base-files - 157-r45770
  509. busybox - 1.23.2-1
  510. dnsmasq - 2.73rc8-1
  511. dropbear - 2015.67-1
  512. firewall - 2015-05-26
  513. fstools - 2015-05-24-09027fc86babc3986027a0e677aca1b6999a9e14
  514. hostapd-common - 2015-03-25-1
  515. ip6tables - 1.4.21-1
  516. iptables - 1.4.21-1
  517. iw - 3.17-1
  518. iwinfo - 2015-05-26-e8a1e7d224918ba23fe0cd125e70907cb31aea31
  519. jshn - 2015-05-08-a8e70c6d361967a23977417fb7d6cf56234f8b81
  520. jsonfilter - 2014-06-19-cdc760c58077f44fc40adbbe41e1556a67c1b9a9
  521. kernel - 3.18.14-1-fc0c25a3c686461daa6a498969b26c69
  522. kmod-cfg80211 - 3.18.14+2015-03-09-3
  523. kmod-crypto-aes - 3.18.14-1
  524. kmod-crypto-arc4 - 3.18.14-1
  525. kmod-crypto-core - 3.18.14-1
  526. kmod-eeprom-93cx6 - 3.18.14-1
  527. kmod-gpio-button-hotplug - 3.18.14-1
  528. kmod-ip6tables - 3.18.14-1
  529. kmod-ipt-conntrack - 3.18.14-1
  530. kmod-ipt-core - 3.18.14-1
  531. kmod-ipt-nat - 3.18.14-1
  532. kmod-ipv6 - 3.18.14-1
  533. kmod-leds-gpio - 3.18.14-1
  534. kmod-ledtrig-usbdev - 3.18.14-1
  535. kmod-lib-crc-ccitt - 3.18.14-1
  536. kmod-lib-crc-itu-t - 3.18.14-1
  537. kmod-mac80211 - 3.18.14+2015-03-09-3
  538. kmod-nf-conntrack - 3.18.14-1
  539. kmod-nf-conntrack6 - 3.18.14-1
  540. kmod-nf-ipt - 3.18.14-1
  541. kmod-nf-ipt6 - 3.18.14-1
  542. kmod-nf-nat - 3.18.14-1
  543. kmod-nf-nathelper - 3.18.14-1
  544. kmod-nls-base - 3.18.14-1
  545. kmod-ppp - 3.18.14-1
  546. kmod-pppoe - 3.18.14-1
  547. kmod-pppox - 3.18.14-1
  548. kmod-rt2800-lib - 3.18.14+2015-03-09-3
  549. kmod-rt2800-mmio - 3.18.14+2015-03-09-3
  550. kmod-rt2800-pci - 3.18.14+2015-03-09-3
  551. kmod-rt2800-soc - 3.18.14+2015-03-09-3
  552. kmod-rt2x00-lib - 3.18.14+2015-03-09-3
  553. kmod-rt2x00-mmio - 3.18.14+2015-03-09-3
  554. kmod-rt2x00-pci - 3.18.14+2015-03-09-3
  555. kmod-slhc - 3.18.14-1
  556. kmod-usb-core - 3.18.14-1
  557. kmod-usb-ohci - 3.18.14-1
  558. kmod-usb2 - 3.18.14-1
  559. libblobmsg-json - 2015-05-08-a8e70c6d361967a23977417fb7d6cf56234f8b81
  560. libc - 0.9.33.2-1
  561. libgcc - 4.8-linaro-1
  562. libip4tc - 1.4.21-1
  563. libip6tc - 1.4.21-1
  564. libiwinfo - 2015-05-26-e8a1e7d224918ba23fe0cd125e70907cb31aea31
  565. libiwinfo-lua - 2015-06-01-ade8b1b299cbd5748db1acf80dd3e9f567938371
  566. libjson-c - 0.12-1
  567. libjson-script - 2015-05-08-a8e70c6d361967a23977417fb7d6cf56234f8b81
  568. liblua - 5.1.5-1
  569. libnl-tiny - 0.1-4
  570. libpolarssl - 1.3.11-1
  571. libubox - 2015-05-08-a8e70c6d361967a23977417fb7d6cf56234f8b81
  572. libubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
  573. libubus-lua - 2015-07-07-7ec9b8dec77b969bfc860995f96fe91fd40ba5e4
  574. libuci - 2015-04-09.1-1
  575. libuci-lua - 2015-04-09.1-1
  576. libxtables - 1.4.21-1
  577. lua - 5.1.5-1
  578. luci - git-15.196.77296-3610f32-1
  579. luci-app-firewall - git-15.196.77296-3610f32-1
  580. luci-base - git-15.196.77296-3610f32-1
  581. luci-lib-ip - git-15.196.77296-3610f32-1
  582. luci-lib-nixio - git-15.196.77296-3610f32-1
  583. luci-mod-admin-full - git-15.196.77296-3610f32-1
  584. luci-proto-ipv6 - git-15.196.77296-3610f32-1
  585. luci-proto-ppp - git-15.196.77296-3610f32-1
  586. luci-theme-bootstrap - git-15.196.77296-3610f32-1
  587. mtd - 20
  588. netifd - 2015-05-26-5990d1126fd33665e106508ebcbadfbb2d703d8e
  589. odhcp6c - 2015-05-19-68042ddafe0e1a3498b6c7a57ec8d2d20f25650b
  590. odhcpd - 2015-05-21-2ebf6c8216287983779c8ec6597d30893b914a7c
  591. opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-7
  592. ppp - 2.4.7-5
  593. ppp-mod-pppoe - 2.4.7-5
  594. procd - 2015-05-23-a771644fd3a3ac055ec0c62fbe434aed0df002fe
  595. px5g - 3
  596. rpcd - 2015-07-15-410802e106184d15805c5a66830d3072bd58ce30
  597. swconfig - 10
  598. ubox - 2015-05-22-ab5b47397cc143798ba2f367f04579e5b5b82070
  599. ubus - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
  600. ubusd - 2015-05-25-f361bfa5fcb2daadf3b160583ce665024f8d108e
  601. uci - 2015-04-09.1-1
  602. uhttpd - 2015-05-31-daeea305298197bb50c1e63cdd842ee1d9461d80
  603. uhttpd-mod-ubus - 2015-05-31-daeea305298197bb50c1e63cdd842ee1d9461d80
  604. usign - 2015-05-08-cf8dcdb8a4e874c77f3e9a8e9b643e8c17b19131
  605. wpad-mini - 2015-03-25-1
  606. root@OpenWrt:~# /etc/init.d/firewall stop
  607. Warning: Unable to locate ipset utility, disabling ipset support
  608. * Flushing IPv4 filter table
  609. * Flushing IPv4 nat table
  610. * Flushing IPv4 mangle table
  611. * Flushing IPv4 raw table
  612. * Flushing IPv6 filter table
  613. * Flushing IPv6 mangle table
  614. * Flushing IPv6 raw table
  615. * Flushing conntrack table ...
  616. root@OpenWrt:~# telnet localhost 80
  617. telnet: can't connect to remote host (127.0.0.1): Connection refused
  618. root@OpenWrt:~# /etc/init.d/uhttpd start
  619. root@OpenWrt:~# telnet localhost 80
  620. telnet: can't connect to remote host (127.0.0.1): Connection refused
  621. root@OpenWrt:~# netstat -nal
  622. Active Internet connections (servers and established)
  623. Proto Recv-Q Send-Q Local Address Foreign Address State
  624. tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN
  625. tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
  626. tcp 0 0 192.168.10.1:22 192.168.10.173:57449 ESTABLISHED
  627. tcp 0 0 :::53 :::* LISTEN
  628. tcp 0 0 :::22 :::* LISTEN
  629. udp 0 0 0.0.0.0:53 0.0.0.0:*
  630. udp 0 0 0.0.0.0:67 0.0.0.0:*
  631. udp 0 0 :::546 :::*
  632. udp 0 0 :::547 :::*
  633. udp 0 0 :::53 :::*
  634. raw 0 0 ::%4556988:58 :::* 58
  635. raw 0 0 ::%4556988:58 :::* 58
  636. raw 0 0 ::%4556988:58 :::* 58
  637. Active UNIX domain sockets (servers and established)
  638. Proto RefCnt Flags Type State I-Node Path
  639. unix 2 [ ACC ] STREAM LISTENING 280 /var/run/ubus.sock
  640. unix 6 [ ] DGRAM 930 /dev/log
  641. unix 3 [ ] STREAM CONNECTED 283 /var/run/ubus.sock
  642. unix 3 [ ] STREAM CONNECTED 282
  643. unix 2 [ ] DGRAM 1216
  644. unix 3 [ ] STREAM CONNECTED 1001
  645. unix 2 [ ] DGRAM 1463
  646. unix 3 [ ] STREAM CONNECTED 932
  647. unix 3 [ ] STREAM CONNECTED 933 /var/run/ubus.sock
  648. unix 3 [ ] STREAM CONNECTED 1214 /var/run/ubus.sock
  649. unix 3 [ ] STREAM CONNECTED 1002 /var/run/ubus.sock
  650. unix 2 [ ] DGRAM 1259
  651. unix 2 [ ] DGRAM 1286
  652. unix 2 [ ] DGRAM 1982
  653. unix 3 [ ] STREAM CONNECTED 1213
  654. root@OpenWrt:~# df -h
  655. Filesystem Size Used Available Use% Mounted on
  656. rootfs 4.7M 1.1M 3.6M 23% /
  657. /dev/root 2.0M 2.0M 0 100% /rom
  658. tmpfs 30.0M 624.0K 29.3M 2% /tmp
  659. /dev/mtdblock6 4.7M 1.1M 3.6M 23% /overlay
  660. overlayfs:/overlay 4.7M 1.1M 3.6M 23% /
  661. tmpfs 512.0K 0 512.0K 0% /dev
  662. root@OpenWrt:~# ping google.com
  663. PING google.com (216.58.219.46): 56 data bytes
  664. 64 bytes from 216.58.219.46: seq=0 ttl=50 time=21.860 ms
  665. ^C
  666. --- google.com ping statistics ---
  667. 1 packets transmitted, 1 packets received, 0% packet loss
  668. round-trip min/avg/max = 21.860/21.860/21.860 ms
  669. root@OpenWrt:~# opkg install uhci
  670. Unknown package 'uhci'.
  671. Collected errors:
  672. * opkg_install_cmd: Cannot install package uhci.
  673. root@OpenWrt:~# opkg install kmod-usb-uhci
  674. Installing kmod-usb-uhci (3.18.18-1) to root...
  675. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/base/kmod-usb-uhci_3.18.18-1_ramips_24kec.ipk.
  676. Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
  677. Collected errors:
  678. * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-uhci:
  679. * kernel (= 3.18.18-1-aaf6e46c520074e013be98ada145fa8a) *
  680. * opkg_install_cmd: Cannot install package kmod-usb-uhci.
  681. root@OpenWrt:~# opkg install luci-ssl
  682. Installing luci-ssl (git-15.196.77296-3610f32-1) to root...
  683. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/luci/luci-ssl_git-15.196.77296-3610f32-1_all.ipk.
  684. Installing libustream-polarssl (2015-07-09-c2d73c22618e8ee444e8d346695eca908ecb72d3) to root...
  685. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/base/libustream-polarssl_2015-07-09-c2d73c22618e8ee444e8d346695eca908ecb72d3_ramips_24kec.ipk.
  686. Configuring libustream-polarssl.
  687. Configuring luci-ssl.
  688. root@OpenWrt:~# df -h
  689. Filesystem Size Used Available Use% Mounted on
  690. rootfs 4.7M 1.1M 3.6M 24% /
  691. /dev/root 2.0M 2.0M 0 100% /rom
  692. tmpfs 30.0M 624.0K 29.3M 2% /tmp
  693. /dev/mtdblock6 4.7M 1.1M 3.6M 24% /overlay
  694. overlayfs:/overlay 4.7M 1.1M 3.6M 24% /
  695. tmpfs 512.0K 0 512.0K 0% /dev
  696. root@OpenWrt:~# df
  697. Filesystem 1K-blocks Used Available Use% Mounted on
  698. rootfs 4800 1132 3668 24% /
  699. /dev/root 2048 2048 0 100% /rom
  700. tmpfs 30676 624 30052 2% /tmp
  701. /dev/mtdblock6 4800 1132 3668 24% /overlay
  702. overlayfs:/overlay 4800 1132 3668 24% /
  703. tmpfs 512 0 512 0% /dev
  704. root@OpenWrt:~# /etc/uci-defaults/
  705. root@OpenWrt:~# cd /etc/init.d/
  706. root@OpenWrt:/etc/init.d# ls -l
  707. -rwxr-xr-x 1 root root 1474 May 12 14:21 boot
  708. -rwxr-xr-x 1 root root 741 May 27 19:05 cron
  709. -rwxr-xr-x 1 root root 15393 May 27 18:55 dnsmasq
  710. -rwxr-xr-x 1 root root 255 May 12 14:21 done
  711. -rwxr-xr-x 1 root root 4254 May 27 18:56 dropbear
  712. -rwxr-xr-x 1 root root 997 May 27 09:29 firewall
  713. -rwxr-xr-x 1 root root 2137 May 12 14:21 led
  714. -rwxr-xr-x 1 root root 2301 May 27 09:09 log
  715. -rwxr-xr-x 1 root root 2760 May 12 14:21 network
  716. -rwxr-xr-x 1 root root 244 May 27 17:32 odhcpd
  717. -rwxr-xr-x 1 root root 249 Jul 19 14:59 rpcd
  718. -rwxr-xr-x 1 root root 125 May 12 14:21 sysctl
  719. -rwxr-xr-x 1 root root 247 May 12 14:21 sysfixtime
  720. -rwxr-xr-x 1 root root 885 May 27 19:05 sysntpd
  721. -rwxr-xr-x 1 root root 1025 May 12 14:21 system
  722. -rwxr-xr-x 1 root root 926 May 27 19:05 telnet
  723. -rwxr-xr-x 1 root root 3617 Jul 19 14:59 uhttpd
  724. -rwxr-xr-x 1 root root 106 May 12 14:21 umount
  725. root@OpenWrt:/etc/init.d# vim uhttpd
  726. root@OpenWrt:/etc/init.d# /sbin/
  727. askfirst halt ifstatus kmodloader mkswap poweroff rpcd switch_root udevtrigger
  728. devmem hotplug-call ifup led.sh mount_root procd snapshot sysctl udhcpc
  729. devstatus hwclock init logd mtd reboot snapshot_tool sysupgrade validate_data
  730. firstboot ifconfig jffs2mark logread netifd reload_config start-stop-daemon ubusd vconfig
  731. fw3 ifdown jffs2reset luci-reload pivot_root route swconfig uci wifi
  732. root@OpenWrt:/etc/init.d# /sbin/c
  733. root@OpenWrt:/etc/init.d# ./uhttpd start
  734. /etc/rc.common: eval: line 1: /usr/sbin/px5g: not found
  735. mv: can't rename '/etc/uhttpd.key.new': No such file or directory
  736. mv: can't rename '/etc/uhttpd.crt.new': No such file or directory
  737. root@OpenWrt:/etc/init.d# grep rename *
  738. root@OpenWrt:/etc/init.d# gren key *
  739. -ash: gren: not found
  740. root@OpenWrt:/etc/init.d# grep key *
  741. dropbear: 'rsakeyfile:file' \
  742. dropbear: 'dsskeyfile:file' \
  743. dropbear: RootPasswordAuth RootLogin rsakeyfile \
  744. dropbear: dsskeyfile BannerFile Port SSHKeepAlive IdleTimeout \
  745. dropbear: [ -n "${rsakeyfile}" ] && procd_append_param command -r "${rsakeyfile}"
  746. dropbear: [ -n "${dsskeyfile}" ] && procd_append_param command -d "${dsskeyfile}"
  747. dropbear:keygen()
  748. dropbear: for keytype in rsa dss; do
  749. dropbear: # check for keys
  750. dropbear: key=dropbear/dropbear_${keytype}_host_key
  751. dropbear: [ -f /tmp/$key -o -s /etc/$key ] || {
  752. dropbear: # generate missing keys
  753. dropbear: [ -x /usr/bin/dropbearkey ] && {
  754. dropbear: /usr/bin/dropbearkey -t $keytype -f /tmp/$key 2>&- >&- && exec /etc/rc.common "$initscript" start
  755. dropbear: [ -s /etc/dropbear/dropbear_rsa_host_key -a \
  756. dropbear: -s /etc/dropbear/dropbear_dss_host_key ] || keygen
  757. telnet:has_ssh_pubkey() {
  758. telnet: ( /etc/init.d/dropbear enabled 2> /dev/null && grep -qs "^ssh-" /etc/dropbear/authorized_keys ) || \
  759. telnet: ( /etc/init.d/sshd enabled 2> /dev/null && grep -qs "^ssh-" "$(get_root_home /etc/passwd)"/.ssh/authorized_keys )
  760. telnet: if ( ! has_ssh_pubkey && \
  761. uhttpd:generate_keys() {
  762. uhttpd: local key="$2"
  763. uhttpd: -days ${days:-730} -newkey rsa:${bits:-1024} -keyout "${UHTTPD_KEY}.new" -out "${UHTTPD_CERT}.new" \
  764. uhttpd: config_get UHTTPD_KEY "$cfg" key /etc/uhttpd.key
  765. uhttpd: config_foreach generate_keys cert
  766. uhttpd: append_arg "$cfg" key "-K"
  767. root@OpenWrt:/etc/init.d# cd /etc/
  768. root@OpenWrt:/etc# ls
  769. TZ crontabs ethers hotplug.d mtab passwd- rc.common shadow-
  770. banner device_info firewall.user hotplug.json openwrt_release ppp rc.d shells
  771. banner.failsafe diag.sh fstab init.d openwrt_version preinit rc.local sysctl.conf
  772. board.d dnsmasq.conf group inittab opkg profile resolv.conf sysupgrade.conf
  773. board.json dnsmasq.time hosts modules-boot.d opkg.conf protocols services uci-defaults
  774. config dropbear hotplug-preinit.json modules.d passwd rc.button shadow
  775. root@OpenWrt:/etc# ls -l
  776. lrwxrwxrwx 1 root root 7 May 27 19:09 TZ -> /tmp/TZ
  777. -rw-r--r-- 1 root root 662 May 27 09:14 banner
  778. -rw-r--r-- 1 root root 408 May 12 14:21 banner.failsafe
  779. drwxr-xr-x 2 root root 48 May 27 19:09 board.d
  780. -rw-r--r-- 1 root root 497 May 27 19:05 board.json
  781. drwxr-xr-x 1 root root 0 Jul 21 06:06 config
  782. drwxr-xr-x 2 root root 3 May 27 09:14 crontabs
  783. -rw-r--r-- 1 root root 76 May 27 09:14 device_info
  784. -rw-r--r-- 1 root root 4240 May 24 07:49 diag.sh
  785. -rw-r--r-- 1 root root 1368 May 27 18:55 dnsmasq.conf
  786. -rw-r--r-- 1 nobody nogroup 0 May 27 19:05 dnsmasq.time
  787. drwx------ 1 root root 0 May 27 19:05 dropbear
  788. -rw-r--r-- 1 root root 0 May 27 19:05 ethers
  789. -rw-r--r-- 1 root root 352 May 27 09:29 firewall.user
  790. lrwxrwxrwx 1 root root 10 May 27 19:09 fstab -> /tmp/fstab
  791. -rw-r--r-- 1 root root 123 May 12 14:21 group
  792. -rw-r--r-- 1 root root 20 May 12 14:21 hosts
  793. -rw-r--r-- 1 root root 326 May 27 09:14 hotplug-preinit.json
  794. drwxr-xr-x 6 root root 66 May 27 09:29 hotplug.d
  795. -rw-r--r-- 1 root root 1657 May 27 09:14 hotplug.json
  796. drwxr-xr-x 1 root root 0 Jul 21 06:06 init.d
  797. -rw-r--r-- 1 root root 101 May 12 14:21 inittab
  798. drwxr-xr-x 2 root root 118 May 27 19:09 modules-boot.d
  799. drwxr-xr-x 2 root root 520 May 27 19:09 modules.d
  800. lrwxrwxrwx 1 root root 12 May 27 19:09 mtab -> /proc/mounts
  801. -rw-r--r-- 1 root root 210 May 27 09:14 openwrt_release
  802. -rw-r--r-- 1 root root 7 May 27 09:14 openwrt_version
  803. drwxr-xr-x 3 root root 27 May 27 19:09 opkg
  804. -rw-r--r-- 1 root root 840 May 27 19:04 opkg.conf
  805. -rw-r--r-- 1 root root 190 May 27 19:25 passwd
  806. -rw-r--r-- 1 root root 190 May 12 14:21 passwd-
  807. drwxr-xr-x 2 root root 83 May 27 19:09 ppp
  808. -rwxr-xr-x 1 root root 952 May 12 14:21 preinit
  809. -rw-r--r-- 1 root root 530 May 12 14:21 profile
  810. -rw-r--r-- 1 root root 2478 May 12 14:21 protocols
  811. drwxr-xr-x 2 root root 71 May 27 19:09 rc.button
  812. -rwxr-xr-x 1 root root 2407 May 12 14:21 rc.common
  813. drwxr-xr-x 1 root root 0 Jul 21 06:07 rc.d
  814. -rw-r--r-- 1 root root 132 May 12 14:21 rc.local
  815. lrwxrwxrwx 1 root root 16 May 27 19:09 resolv.conf -> /tmp/resolv.conf
  816. -rw-r--r-- 1 root root 3017 May 12 14:21 services
  817. -rw------- 1 root root 153 May 27 19:25 shadow
  818. -rw------- 1 root root 115 May 12 14:21 shadow-
  819. -rw-r--r-- 1 root root 9 May 12 14:21 shells
  820. -rw-r--r-- 1 root root 872 May 12 14:21 sysctl.conf
  821. -rw-r--r-- 1 root root 128 May 12 14:21 sysupgrade.conf
  822. drwxrwxr-x 1 root root 0 Jul 21 06:06 uci-defaults
  823. root@OpenWrt:/etc# /etc/init.d/uhttpd start
  824. /etc/rc.common: eval: line 1: /usr/sbin/px5g: not found
  825. mv: can't rename '/etc/uhttpd.key.new': No such file or directory
  826. mv: can't rename '/etc/uhttpd.crt.new': No such file or directory
  827. root@OpenWrt:/etc# touch /etc/uhttpd.key.new
  828. root@OpenWrt:/etc# touch /etc/uhttpd.crt.new
  829. root@OpenWrt:/etc# /etc/init.d/uhttpd start
  830. /etc/rc.common: eval: line 1: /usr/sbin/px5g: not found
  831. root@OpenWrt:/etc# opkg whatprovides px5g
  832. What provides px5g
  833. px5g
  834. root@OpenWrt:/etc# o
  835. odhcp6c odhcpd odhcpd-update opkg opkg-key
  836. root@OpenWrt:/etc# opkg install px5g
  837. Package px5g (3) installed in root is up to date.
  838. root@OpenWrt:/etc# /usr/sbin/p
  839. pppd px5g
  840. root@OpenWrt:/etc# /usr/sbin/p
  841. pppd px5g
  842. root@OpenWrt:/etc# /usr/sbin/px5g
  843. -ash: /usr/sbin/px5g: not found
  844. root@OpenWrt:/etc# vim /usr/sbin/px5g
  845. root@OpenWrt:/etc# opkg install lua
  846. Package lua (5.1.5-1) installed in root is up to date.
  847. root@OpenWrt:/etc# opkg install liblua
  848. Package liblua (5.1.5-1) installed in root is up to date.
  849. root@OpenWrt:/etc# opkg install libuci-lua
  850. Package libuci-lua (2015-04-09.1-1) installed in root is up to date.
  851. root@OpenWrt:/etc# uci show uhttpd
  852. uhttpd.main=uhttpd
  853. uhttpd.main.listen_http='0.0.0.0:80' '[::]:80'
  854. uhttpd.main.listen_https='0.0.0.0:443' '[::]:443'
  855. uhttpd.main.redirect_https='1'
  856. uhttpd.main.home='/www'
  857. uhttpd.main.rfc1918_filter='1'
  858. uhttpd.main.max_requests='3'
  859. uhttpd.main.max_connections='100'
  860. uhttpd.main.cert='/etc/uhttpd.crt'
  861. uhttpd.main.key='/etc/uhttpd.key'
  862. uhttpd.main.cgi_prefix='/cgi-bin'
  863. uhttpd.main.script_timeout='60'
  864. uhttpd.main.network_timeout='30'
  865. uhttpd.main.http_keepalive='20'
  866. uhttpd.main.tcp_keepalive='1'
  867. uhttpd.main.ubus_prefix='/ubus'
  868. uhttpd.px5g=cert
  869. uhttpd.px5g.days='730'
  870. uhttpd.px5g.bits='1024'
  871. uhttpd.px5g.country='DE'
  872. uhttpd.px5g.state='Berlin'
  873. uhttpd.px5g.location='Berlin'
  874. uhttpd.px5g.commonname='OpenWrt'
  875. root@OpenWrt:/etc# uci delete uhttpd.main.ubus_prefix
  876. root@OpenWrt:/etc# /etc/init.d/uhttpd start
  877. /etc/rc.common: eval: line 1: /usr/sbin/px5g: not found
  878. mv: can't rename '/etc/uhttpd.key.new': No such file or directory
  879. mv: can't rename '/etc/uhttpd.crt.new': No such file or directory
  880. root@OpenWrt:/etc# opkg remove luci-ssl
  881. Removing package luci-ssl from root...
  882. root@OpenWrt:/etc# opkg remove luci
  883. Removing package luci from root...
  884. root@OpenWrt:/etc# open install
  885. root@OpenWrt:/etc# opkg install luci
  886. Installing luci (git-15.196.77296-3610f32-1) to root...
  887. Downloading http://downloads.openwrt.org/snapshots/trunk/ramips/mt7620/packages/luci/luci_git-15.196.77296-3610f32-1_all.ipk.
  888. Configuring luci.
  889. root@OpenWrt:/etc# /etc/init.d/uhttpd start
  890. /etc/rc.common: eval: line 1: /usr/sbin/px5g: not found
  891. mv: can't rename '/etc/uhttpd.key.new': No such file or directory
  892. mv: can't rename '/etc/uhttpd.crt.new': No such file or directory
  893. root@OpenWrt:/etc# which sh
  894. /bin/sh
  895. root@OpenWrt:/etc# uci show uhttpd.
  896. uci: Invalid argument
  897. root@OpenWrt:/etc# uci show uhttpd
  898. uhttpd.main=uhttpd
  899. uhttpd.main.listen_http='0.0.0.0:80' '[::]:80'
  900. uhttpd.main.listen_https='0.0.0.0:443' '[::]:443'
  901. uhttpd.main.redirect_https='1'
  902. uhttpd.main.home='/www'
  903. uhttpd.main.rfc1918_filter='1'
  904. uhttpd.main.max_requests='3'
  905. uhttpd.main.max_connections='100'
  906. uhttpd.main.cert='/etc/uhttpd.crt'
  907. uhttpd.main.key='/etc/uhttpd.key'
  908. uhttpd.main.cgi_prefix='/cgi-bin'
  909. uhttpd.main.script_timeout='60'
  910. uhttpd.main.network_timeout='30'
  911. uhttpd.main.http_keepalive='20'
  912. uhttpd.main.tcp_keepalive='1'
  913. uhttpd.px5g=cert
  914. uhttpd.px5g.days='730'
  915. uhttpd.px5g.bits='1024'
  916. uhttpd.px5g.country='DE'
  917. uhttpd.px5g.state='Berlin'
  918. uhttpd.px5g.location='Berlin'
  919. uhttpd.px5g.commonname='OpenWrt'
  920. root@OpenWrt:/etc# uci
  921. Usage: uci [<options>] <command> [<arguments>]
  922. Commands:
  923. batch
  924. export [<config>]
  925. import [<config>]
  926. changes [<config>]
  927. commit [<config>]
  928. add <config> <section-type>
  929. add_list <config>.<section>.<option>=<string>
  930. del_list <config>.<section>.<option>=<string>
  931. show [<config>[.<section>[.<option>]]]
  932. get <config>.<section>[.<option>]
  933. set <config>.<section>[.<option>]=<value>
  934. delete <config>[.<section>[[.<option>][=<id>]]]
  935. rename <config>.<section>[.<option>]=<name>
  936. revert <config>[.<section>[.<option>]]
  937. reorder <config>.<section>=<position>
  938. Options:
  939. -c <path> set the search path for config files (default: /etc/config)
  940. -d <str> set the delimiter for list values in uci show
  941. -f <file> use <file> as input instead of stdin
  942. -m when importing, merge data into an existing package
  943. -n name unnamed sections on export (default)
  944. -N don't name unnamed sections
  945. -p <path> add a search path for config change files
  946. -P <path> add a search path for config change files and use as default
  947. -q quiet mode (don't print error messages)
  948. -s force strict mode (stop on parser errors, default)
  949. -S disable strict mode
  950. -X do not use extended syntax on 'show'
  951. root@OpenWrt:/etc# uci show
  952. dhcp.@dnsmasq[0]=dnsmasq
  953. dhcp.@dnsmasq[0].domainneeded='1'
  954. dhcp.@dnsmasq[0].boguspriv='1'
  955. dhcp.@dnsmasq[0].filterwin2k='0'
  956. dhcp.@dnsmasq[0].localise_queries='1'
  957. dhcp.@dnsmasq[0].rebind_protection='1'
  958. dhcp.@dnsmasq[0].rebind_localhost='1'
  959. dhcp.@dnsmasq[0].local='/lan/'
  960. dhcp.@dnsmasq[0].domain='lan'
  961. dhcp.@dnsmasq[0].expandhosts='1'
  962. dhcp.@dnsmasq[0].nonegcache='0'
  963. dhcp.@dnsmasq[0].authoritative='1'
  964. dhcp.@dnsmasq[0].readethers='1'
  965. dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'
  966. dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.auto'
  967. dhcp.@dnsmasq[0].localservice='1'
  968. dhcp.lan=dhcp
  969. dhcp.lan.interface='lan'
  970. dhcp.lan.start='100'
  971. dhcp.lan.limit='150'
  972. dhcp.lan.leasetime='12h'
  973. dhcp.lan.dhcpv6='server'
  974. dhcp.lan.ra='server'
  975. dhcp.wan=dhcp
  976. dhcp.wan.interface='wan'
  977. dhcp.wan.ignore='1'
  978. dhcp.odhcpd=odhcpd
  979. dhcp.odhcpd.maindhcp='0'
  980. dhcp.odhcpd.leasefile='/tmp/hosts/odhcpd'
  981. dhcp.odhcpd.leasetrigger='/usr/sbin/odhcpd-update'
  982. dropbear.@dropbear[0]=dropbear
  983. dropbear.@dropbear[0].PasswordAuth='on'
  984. dropbear.@dropbear[0].RootPasswordAuth='on'
  985. dropbear.@dropbear[0].Port='22'
  986. firewall.@defaults[0]=defaults
  987. firewall.@defaults[0].syn_flood='1'
  988. firewall.@defaults[0].input='ACCEPT'
  989. firewall.@defaults[0].output='ACCEPT'
  990. firewall.@defaults[0].forward='REJECT'
  991. firewall.@zone[0]=zone
  992. firewall.@zone[0].name='lan'
  993. firewall.@zone[0].network='lan'
  994. firewall.@zone[0].input='ACCEPT'
  995. firewall.@zone[0].output='ACCEPT'
  996. firewall.@zone[0].forward='ACCEPT'
  997. firewall.@zone[1]=zone
  998. firewall.@zone[1].name='wan'
  999. firewall.@zone[1].network='wan' 'wan6'
  1000. firewall.@zone[1].input='REJECT'
  1001. firewall.@zone[1].output='ACCEPT'
  1002. firewall.@zone[1].forward='REJECT'
  1003. firewall.@zone[1].masq='1'
  1004. firewall.@zone[1].mtu_fix='1'
  1005. firewall.@forwarding[0]=forwarding
  1006. firewall.@forwarding[0].src='lan'
  1007. firewall.@forwarding[0].dest='wan'
  1008. firewall.@rule[0]=rule
  1009. firewall.@rule[0].name='Allow-DHCP-Renew'
  1010. firewall.@rule[0].src='wan'
  1011. firewall.@rule[0].proto='udp'
  1012. firewall.@rule[0].dest_port='68'
  1013. firewall.@rule[0].target='ACCEPT'
  1014. firewall.@rule[0].family='ipv4'
  1015. firewall.@rule[1]=rule
  1016. firewall.@rule[1].name='Allow-Ping'
  1017. firewall.@rule[1].src='wan'
  1018. firewall.@rule[1].proto='icmp'
  1019. firewall.@rule[1].icmp_type='echo-request'
  1020. firewall.@rule[1].family='ipv4'
  1021. firewall.@rule[1].target='ACCEPT'
  1022. firewall.@rule[2]=rule
  1023. firewall.@rule[2].name='Allow-IGMP'
  1024. firewall.@rule[2].src='wan'
  1025. firewall.@rule[2].proto='igmp'
  1026. firewall.@rule[2].family='ipv4'
  1027. firewall.@rule[2].target='ACCEPT'
  1028. firewall.@rule[3]=rule
  1029. firewall.@rule[3].name='Allow-DHCPv6'
  1030. firewall.@rule[3].src='wan'
  1031. firewall.@rule[3].proto='udp'
  1032. firewall.@rule[3].src_ip='fe80::/10'
  1033. firewall.@rule[3].src_port='547'
  1034. firewall.@rule[3].dest_ip='fe80::/10'
  1035. firewall.@rule[3].dest_port='546'
  1036. firewall.@rule[3].family='ipv6'
  1037. firewall.@rule[3].target='ACCEPT'
  1038. firewall.@rule[4]=rule
  1039. firewall.@rule[4].name='Allow-MLD'
  1040. firewall.@rule[4].src='wan'
  1041. firewall.@rule[4].proto='icmp'
  1042. firewall.@rule[4].src_ip='fe80::/10'
  1043. firewall.@rule[4].icmp_type='130/0' '131/0' '132/0' '143/0'
  1044. firewall.@rule[4].family='ipv6'
  1045. firewall.@rule[4].target='ACCEPT'
  1046. firewall.@rule[5]=rule
  1047. firewall.@rule[5].name='Allow-ICMPv6-Input'
  1048. firewall.@rule[5].src='wan'
  1049. firewall.@rule[5].proto='icmp'
  1050. firewall.@rule[5].icmp_type='echo-request' 'echo-reply' 'destination-unreachable' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type' 'router-solicitation' 'neighbour-solicitation' 'router-advertisement' 'neighbour-advertisement'
  1051. firewall.@rule[5].limit='1000/sec'
  1052. firewall.@rule[5].family='ipv6'
  1053. firewall.@rule[5].target='ACCEPT'
  1054. firewall.@rule[6]=rule
  1055. firewall.@rule[6].name='Allow-ICMPv6-Forward'
  1056. firewall.@rule[6].src='wan'
  1057. firewall.@rule[6].dest='*'
  1058. firewall.@rule[6].proto='icmp'
  1059. firewall.@rule[6].icmp_type='echo-request' 'echo-reply' 'destination-unreachable' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type'
  1060. firewall.@rule[6].limit='1000/sec'
  1061. firewall.@rule[6].family='ipv6'
  1062. firewall.@rule[6].target='ACCEPT'
  1063. firewall.@include[0]=include
  1064. firewall.@include[0].path='/etc/firewall.user'
  1065. luci.main=core
  1066. luci.main.lang='auto'
  1067. luci.main.resourcebase='/luci-static/resources'
  1068. luci.main.mediaurlbase='/luci-static/bootstrap'
  1069. luci.flash_keep=extern
  1070. luci.flash_keep.uci='/etc/config/'
  1071. luci.flash_keep.dropbear='/etc/dropbear/'
  1072. luci.flash_keep.openvpn='/etc/openvpn/'
  1073. luci.flash_keep.passwd='/etc/passwd'
  1074. luci.flash_keep.opkg='/etc/opkg.conf'
  1075. luci.flash_keep.firewall='/etc/firewall.user'
  1076. luci.flash_keep.uploads='/lib/uci/upload/'
  1077. luci.languages=internal
  1078. luci.sauth=internal
  1079. luci.sauth.sessionpath='/tmp/luci-sessions'
  1080. luci.sauth.sessiontime='3600'
  1081. luci.ccache=internal
  1082. luci.ccache.enable='1'
  1083. luci.themes=internal
  1084. luci.themes.Bootstrap='/luci-static/bootstrap'
  1085. network.loopback=interface
  1086. network.loopback.ifname='lo'
  1087. network.loopback.proto='static'
  1088. network.loopback.ipaddr='127.0.0.1'
  1089. network.loopback.netmask='255.0.0.0'
  1090. network.globals=globals
  1091. network.globals.ula_prefix='fd6e:bd0e:6c41::/48'
  1092. network.lan=interface
  1093. network.lan.ifname='eth0.1'
  1094. network.lan.force_link='1'
  1095. network.lan.macaddr='20:28:18:c0:cc:fa'
  1096. network.lan.type='bridge'
  1097. network.lan.proto='static'
  1098. network.lan.ipaddr='192.168.10.1'
  1099. network.lan.netmask='255.255.255.0'
  1100. network.lan.ip6assign='60'
  1101. network.wan=interface
  1102. network.wan.ifname='eth0.2'
  1103. network.wan.force_link='1'
  1104. network.wan.macaddr='20:28:18:c0:cc:fb'
  1105. network.wan.proto='dhcp'
  1106. network.wan6=interface
  1107. network.wan6.ifname='eth0.2'
  1108. network.wan6.proto='dhcpv6'
  1109. network.@switch[0]=switch
  1110. network.@switch[0].name='switch0'
  1111. network.@switch[0].reset='1'
  1112. network.@switch[0].enable_vlan='1'
  1113. network.@switch_vlan[0]=switch_vlan
  1114. network.@switch_vlan[0].device='switch0'
  1115. network.@switch_vlan[0].vlan='1'
  1116. network.@switch_vlan[0].ports='1 2 3 4 6t'
  1117. network.@switch_vlan[1]=switch_vlan
  1118. network.@switch_vlan[1].device='switch0'
  1119. network.@switch_vlan[1].vlan='2'
  1120. network.@switch_vlan[1].ports='0 6t'
  1121. rpcd.@login[0]=login
  1122. rpcd.@login[0].username='root'
  1123. rpcd.@login[0].password='$p$root'
  1124. rpcd.@login[0].read='*'
  1125. rpcd.@login[0].write='*'
  1126. system.@system[0]=system
  1127. system.@system[0].hostname='OpenWrt'
  1128. system.@system[0].timezone='UTC'
  1129. system.ntp=timeserver
  1130. system.ntp.server='0.openwrt.pool.ntp.org' '1.openwrt.pool.ntp.org' '2.openwrt.pool.ntp.org' '3.openwrt.pool.ntp.org'
  1131. system.ntp.enabled='1'
  1132. system.ntp.enable_server='0'
  1133. system.led_power=led
  1134. system.led_power.name='power'
  1135. system.led_power.sysfs='nexx:blue:power'
  1136. system.led_power.default='0'
  1137. ucitrack.@network[0]=network
  1138. ucitrack.@network[0].init='network'
  1139. ucitrack.@network[0].affects='dhcp' 'radvd'
  1140. ucitrack.@wireless[0]=wireless
  1141. ucitrack.@wireless[0].affects='network'
  1142. ucitrack.@firewall[0]=firewall
  1143. ucitrack.@firewall[0].init='firewall'
  1144. ucitrack.@firewall[0].affects='luci-splash' 'qos' 'miniupnpd'
  1145. ucitrack.@olsr[0]=olsr
  1146. ucitrack.@olsr[0].init='olsrd'
  1147. ucitrack.@dhcp[0]=dhcp
  1148. ucitrack.@dhcp[0].init='dnsmasq'
  1149. ucitrack.@dhcp[0].affects='odhcpd'
  1150. ucitrack.@odhcpd[0]=odhcpd
  1151. ucitrack.@odhcpd[0].init='odhcpd'
  1152. ucitrack.@dropbear[0]=dropbear
  1153. ucitrack.@dropbear[0].init='dropbear'
  1154. ucitrack.@httpd[0]=httpd
  1155. ucitrack.@httpd[0].init='httpd'
  1156. ucitrack.@fstab[0]=fstab
  1157. ucitrack.@fstab[0].init='fstab'
  1158. ucitrack.@qos[0]=qos
  1159. ucitrack.@qos[0].init='qos'
  1160. ucitrack.@system[0]=system
  1161. ucitrack.@system[0].init='led'
  1162. ucitrack.@system[0].affects='luci_statistics'
  1163. ucitrack.@luci_splash[0]=luci_splash
  1164. ucitrack.@luci_splash[0].init='luci_splash'
  1165. ucitrack.@upnpd[0]=upnpd
  1166. ucitrack.@upnpd[0].init='miniupnpd'
  1167. ucitrack.@ntpclient[0]=ntpclient
  1168. ucitrack.@ntpclient[0].init='ntpclient'
  1169. ucitrack.@samba[0]=samba
  1170. ucitrack.@samba[0].init='samba'
  1171. ucitrack.@tinyproxy[0]=tinyproxy
  1172. ucitrack.@tinyproxy[0].init='tinyproxy'
  1173. ucitrack.@6relayd[0]=6relayd
  1174. ucitrack.@6relayd[0].init='6relayd'
  1175. uhttpd.main=uhttpd
  1176. uhttpd.main.listen_http='0.0.0.0:80' '[::]:80'
  1177. uhttpd.main.listen_https='0.0.0.0:443' '[::]:443'
  1178. uhttpd.main.redirect_https='1'
  1179. uhttpd.main.home='/www'
  1180. uhttpd.main.rfc1918_filter='1'
  1181. uhttpd.main.max_requests='3'
  1182. uhttpd.main.max_connections='100'
  1183. uhttpd.main.cert='/etc/uhttpd.crt'
  1184. uhttpd.main.key='/etc/uhttpd.key'
  1185. uhttpd.main.cgi_prefix='/cgi-bin'
  1186. uhttpd.main.script_timeout='60'
  1187. uhttpd.main.network_timeout='30'
  1188. uhttpd.main.http_keepalive='20'
  1189. uhttpd.main.tcp_keepalive='1'
  1190. uhttpd.px5g=cert
  1191. uhttpd.px5g.days='730'
  1192. uhttpd.px5g.bits='1024'
  1193. uhttpd.px5g.country='DE'
  1194. uhttpd.px5g.state='Berlin'
  1195. uhttpd.px5g.location='Berlin'
  1196. uhttpd.px5g.commonname='OpenWrt'
  1197. wireless.radio0=wifi-device
  1198. wireless.radio0.type='mac80211'
  1199. wireless.radio0.channel='11'
  1200. wireless.radio0.hwmode='11g'
  1201. wireless.radio0.path='10180000.wmac'
  1202. wireless.radio0.htmode='HT20'
  1203. wireless.radio0.disabled='1'
  1204. wireless.@wifi-iface[0]=wifi-iface
  1205. wireless.@wifi-iface[0].device='radio0'
  1206. wireless.@wifi-iface[0].network='lan'
  1207. wireless.@wifi-iface[0].mode='ap'
  1208. wireless.@wifi-iface[0].ssid='OpenWrt'
  1209. wireless.@wifi-iface[0].encryption='none'
  1210. root@OpenWrt:/etc# uci show | grep ash
  1211. luci.flash_keep=extern
  1212. luci.flash_keep.uci='/etc/config/'
  1213. luci.flash_keep.dropbear='/etc/dropbear/'
  1214. luci.flash_keep.openvpn='/etc/openvpn/'
  1215. luci.flash_keep.passwd='/etc/passwd'
  1216. luci.flash_keep.opkg='/etc/opkg.conf'
  1217. luci.flash_keep.firewall='/etc/firewall.user'
  1218. luci.flash_keep.uploads='/lib/uci/upload/'
  1219. ucitrack.@firewall[0].affects='luci-splash' 'qos' 'miniupnpd'
  1220. ucitrack.@luci_splash[0]=luci_splash
  1221. ucitrack.@luci_splash[0].init='luci_splash'
  1222. root@OpenWrt:/etc# shutdown
  1223. -ash: shutdown: not found
  1224. root@OpenWrt:/etc#