/usr/share/doc/plinth/freedombox-manual.html is in plinth 0.8.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>FreedomBox Manual</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"></HEAD
><BODY
CLASS="article"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="ARTICLE"
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
><A
NAME="AEN2"
>FreedomBox Manual</A
></H1
><HR></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
>1. <A
HREF="#AEN4"
>FreedomBox Introduction</A
></DT
><DD
><DL
><DT
>1.1. <A
HREF="#AEN8"
>Smart Router</A
></DT
><DT
>1.2. <A
HREF="#AEN11"
>Private Cloud</A
></DT
></DL
></DD
><DT
>2. <A
HREF="#AEN14"
>Quick Start</A
></DT
><DT
>3. <A
HREF="#AEN58"
>Getting Help</A
></DT
><DT
>4. <A
HREF="#AEN81"
>Release Notes</A
></DT
><DD
><DL
><DT
>4.1. <A
HREF="#AEN84"
>Version 0.8 (2016-02)</A
></DT
><DT
>4.2. <A
HREF="#AEN103"
>Version 0.7 (2015-12-13)</A
></DT
><DT
>4.3. <A
HREF="#AEN116"
>Version 0.6 (2015-10-31)</A
></DT
><DT
>4.4. <A
HREF="#AEN140"
>Version 0.5 (2015-08-07)</A
></DT
><DT
>4.5. <A
HREF="#AEN161"
>Version 0.3 (2015-01-20)</A
></DT
><DT
>4.6. <A
HREF="#AEN187"
>Version 0.2 (2014-03-16)</A
></DT
><DT
>4.7. <A
HREF="#AEN216"
>Version 0.1 (2013-02-26)</A
></DT
></DL
></DD
><DT
>5. <A
HREF="#AEN238"
>Download and Install</A
></DT
><DD
><DL
><DT
>5.1. <A
HREF="#AEN247"
>Downloading on Debian</A
></DT
><DT
>5.2. <A
HREF="#AEN251"
>Downloading on Hardware or Virtual Machine</A
></DT
><DD
><DL
><DT
>5.2.1. <A
HREF="#AEN253"
>Prepare your device</A
></DT
><DT
>5.2.2. <A
HREF="#AEN257"
>Downloading Images</A
></DT
><DT
>5.2.3. <A
HREF="#AEN264"
>Verifying the Downloaded Images</A
></DT
><DT
>5.2.4. <A
HREF="#AEN278"
>Installation</A
></DT
></DL
></DD
></DL
></DD
><DT
>6. <A
HREF="#AEN319"
>Apps</A
></DT
><DD
><DL
><DT
>6.1. <A
HREF="#AEN321"
>Anonymity Network (Tor)</A
></DT
><DD
><DL
><DT
>6.1.1. <A
HREF="#AEN323"
>What is Tor?</A
></DT
><DT
>6.1.2. <A
HREF="#AEN326"
>Using Tor to browse anonymously</A
></DT
><DT
>6.1.3. <A
HREF="#AEN330"
>Using Tor Hidden Service to access your FreedomBox</A
></DT
><DT
>6.1.4. <A
HREF="#AEN336"
>Using Tor SOCKS port (advanced)</A
></DT
></DL
></DD
><DT
>6.2. <A
HREF="#AEN339"
>Deluge</A
></DT
><DD
><DL
><DT
>6.2.1. <A
HREF="#AEN341"
>What is Deluge?</A
></DT
></DL
></DD
><DT
>6.3. <A
HREF="#AEN344"
>Transmission</A
></DT
><DD
><DL
><DT
>6.3.1. <A
HREF="#AEN346"
>What is Transmission ?</A
></DT
></DL
></DD
><DT
>6.4. <A
HREF="#AEN349"
>Shaarli</A
></DT
><DD
><DL
><DT
>6.4.1. <A
HREF="#AEN351"
>What is Shaarli?</A
></DT
></DL
></DD
><DT
>6.5. <A
HREF="#AEN354"
>Chat Server (XMPP)</A
></DT
><DD
><DL
><DT
>6.5.1. <A
HREF="#AEN356"
>What is XMPP?</A
></DT
><DT
>6.5.2. <A
HREF="#AEN359"
>Setting the Domain Name</A
></DT
><DT
>6.5.3. <A
HREF="#AEN364"
>Registering XMPP users through SSO</A
></DT
></DL
></DD
><DT
>6.6. <A
HREF="#AEN367"
>Dynamic DNS</A
></DT
><DD
><DL
><DT
>6.6.1. <A
HREF="#AEN369"
>What is Dynamic DNS?</A
></DT
><DT
>6.6.2. <A
HREF="#AEN374"
>GnuDIP vs. Update URL</A
></DT
><DT
>6.6.3. <A
HREF="#AEN381"
>Using the GnuDIP protocol</A
></DT
><DT
>6.6.4. <A
HREF="#AEN399"
>Using an Update URL</A
></DT
><DT
>6.6.5. <A
HREF="#AEN423"
>Checking If It Works</A
></DT
></DL
></DD
><DT
>6.7. <A
HREF="#AEN435"
>Roundcube</A
></DT
><DD
><DL
><DT
>6.7.1. <A
HREF="#AEN437"
>What is Roundcube?</A
></DT
></DL
></DD
><DT
>6.8. <A
HREF="#AEN440"
>ownCloud</A
></DT
><DD
><DL
><DT
>6.8.1. <A
HREF="#AEN442"
>What is ownCloud?</A
></DT
><DT
>6.8.2. <A
HREF="#AEN446"
>Installation</A
></DT
></DL
></DD
><DT
>6.9. <A
HREF="#AEN464"
>PageKite</A
></DT
><DD
><DL
><DT
>6.9.1. <A
HREF="#AEN466"
>What is PageKite?</A
></DT
><DT
>6.9.2. <A
HREF="#AEN469"
>Use PageKite</A
></DT
></DL
></DD
><DT
>6.10. <A
HREF="#AEN473"
>Secure Shell</A
></DT
><DD
><DL
><DT
>6.10.1. <A
HREF="#AEN475"
>What is Secure Shell?</A
></DT
><DT
>6.10.2. <A
HREF="#AEN479"
>Default User Account</A
></DT
><DT
>6.10.3. <A
HREF="#AEN490"
>Logging In</A
></DT
><DT
>6.10.4. <A
HREF="#AEN508"
>Becoming Superuser</A
></DT
><DT
>6.10.5. <A
HREF="#AEN516"
>Changing Password</A
></DT
></DL
></DD
><DT
>6.11. <A
HREF="#AEN523"
>Mumble</A
></DT
><DD
><DL
><DT
>6.11.1. <A
HREF="#AEN525"
>What is Mumble?</A
></DT
></DL
></DD
><DT
>6.12. <A
HREF="#AEN528"
>Privoxy</A
></DT
><DD
><DL
><DT
>6.12.1. <A
HREF="#AEN530"
>What is Privoxy?</A
></DT
></DL
></DD
><DT
>6.13. <A
HREF="#AEN534"
>Wiki & Blog (Ikiwiki)</A
></DT
><DD
><DL
><DT
>6.13.1. <A
HREF="#AEN536"
>What is Ikiwiki?</A
></DT
><DT
>6.13.2. <A
HREF="#AEN539"
>Creating a wiki or blog</A
></DT
><DT
>6.13.3. <A
HREF="#AEN543"
>Accessing your wiki or blog</A
></DT
><DT
>6.13.4. <A
HREF="#AEN547"
>User login through SSO</A
></DT
></DL
></DD
><DT
>6.14. <A
HREF="#AEN552"
>Unhosted Storage</A
></DT
><DD
><DL
><DT
>6.14.1. <A
HREF="#AEN554"
>What is Unhosted?</A
></DT
><DT
>6.14.2. <A
HREF="#AEN562"
>Setup</A
></DT
><DT
>6.14.3. <A
HREF="#AEN569"
>Try Unhosted apps</A
></DT
></DL
></DD
><DT
>6.15. <A
HREF="#AEN602"
>OpenVPN</A
></DT
><DD
><DL
><DT
>6.15.1. <A
HREF="#AEN604"
>What is OpenVPN?</A
></DT
></DL
></DD
><DT
>6.16. <A
HREF="#AEN607"
>GnuSocial</A
></DT
><DD
><DL
><DT
>6.16.1. <A
HREF="#AEN609"
>What is GNU social?</A
></DT
><DT
>6.16.2. <A
HREF="#AEN613"
>Status of package</A
></DT
></DL
></DD
></DL
></DD
><DT
>7. <A
HREF="#AEN616"
>System</A
></DT
><DD
><DL
><DT
>7.1. <A
HREF="#AEN618"
>Networks</A
></DT
><DD
><DL
><DT
>7.1.1. <A
HREF="#AEN622"
>Default setup</A
></DT
><DT
>7.1.2. <A
HREF="#AEN654"
>Internet Connection Sharing</A
></DT
><DT
>7.1.3. <A
HREF="#AEN665"
>Customization</A
></DT
><DT
>7.1.4. <A
HREF="#AEN692"
>Manual Network Operation</A
></DT
></DL
></DD
><DT
>7.2. <A
HREF="#AEN716"
>Upgrades</A
></DT
><DD
><DL
><DT
>7.2.1. <A
HREF="#AEN722"
>Manual Upgrades</A
></DT
></DL
></DD
><DT
>7.3. <A
HREF="#AEN735"
>Firewall</A
></DT
><DD
><DL
><DT
>7.3.1. <A
HREF="#AEN741"
>Interfaces</A
></DT
><DT
>7.3.2. <A
HREF="#AEN749"
>Ports/Services</A
></DT
><DT
>7.3.3. <A
HREF="#AEN1573"
>Manual operation</A
></DT
></DL
></DD
></DL
></DD
><DT
>8. <A
HREF="#AEN1627"
>Hardware</A
></DT
><DD
><DL
><DT
>8.1. <A
HREF="#AEN1633"
>Supported Hardware</A
></DT
><DD
><DL
><DT
>8.1.1. <A
HREF="#AEN1635"
>Recommended Hardware</A
></DT
><DT
>8.1.2. <A
HREF="#AEN1735"
>Also Working Hardware</A
></DT
></DL
></DD
><DT
>8.2. <A
HREF="#AEN1778"
>Targeted Hardware</A
></DT
><DD
><DL
><DT
>8.2.1. <A
HREF="#AEN1780"
>List of Hardware Targeted</A
></DT
><DT
>8.2.2. <A
HREF="#AEN1784"
>Adding Hardware Support</A
></DT
></DL
></DD
><DT
>8.3. <A
HREF="#AEN1789"
>Cubietruck</A
></DT
><DD
><DL
><DT
>8.3.1. <A
HREF="#AEN1791"
>FreedomBox Danube Edition</A
></DT
><DT
>8.3.2. <A
HREF="#AEN1801"
>Cubietruck / Cubieboard3</A
></DT
><DT
>8.3.3. <A
HREF="#AEN1806"
>Download</A
></DT
><DT
>8.3.4. <A
HREF="#AEN1813"
>Build Image</A
></DT
><DT
>8.3.5. <A
HREF="#AEN1817"
>Availability</A
></DT
><DT
>8.3.6. <A
HREF="#AEN1831"
>Hardware</A
></DT
><DT
>8.3.7. <A
HREF="#AEN1850"
>Non-Free Status</A
></DT
><DT
>8.3.8. <A
HREF="#AEN1859"
>Known Issues</A
></DT
></DL
></DD
><DT
>8.4. <A
HREF="#AEN1865"
>Beagle Bone Black</A
></DT
><DD
><DL
><DT
>8.4.1. <A
HREF="#AEN1876"
>Download</A
></DT
><DT
>8.4.2. <A
HREF="#AEN1885"
>Build Image</A
></DT
><DT
>8.4.3. <A
HREF="#AEN1889"
>Availability</A
></DT
><DT
>8.4.4. <A
HREF="#AEN1900"
>Hardware</A
></DT
><DT
>8.4.5. <A
HREF="#AEN1922"
>Non-Free Status</A
></DT
><DT
>8.4.6. <A
HREF="#AEN1931"
>Known Issues</A
></DT
></DL
></DD
><DT
>8.5. <A
HREF="#AEN1934"
>A20 OLinuXino Lime2</A
></DT
><DD
><DL
><DT
>8.5.1. <A
HREF="#AEN1945"
>Similar Hardware</A
></DT
><DT
>8.5.2. <A
HREF="#AEN1952"
>Download</A
></DT
><DT
>8.5.3. <A
HREF="#AEN1959"
>Build Image</A
></DT
><DT
>8.5.4. <A
HREF="#AEN1963"
>Availability</A
></DT
><DT
>8.5.5. <A
HREF="#AEN1973"
>Hardware</A
></DT
><DT
>8.5.6. <A
HREF="#AEN1993"
>Non-Free Status</A
></DT
><DT
>8.5.7. <A
HREF="#AEN2005"
>Known Issues</A
></DT
></DL
></DD
><DT
>8.6. <A
HREF="#AEN2011"
>A20 OLinuXino MICRO</A
></DT
><DD
><DL
><DT
>8.6.1. <A
HREF="#AEN2022"
>Similar Hardware</A
></DT
><DT
>8.6.2. <A
HREF="#AEN2029"
>Download</A
></DT
><DT
>8.6.3. <A
HREF="#AEN2036"
>Build Image</A
></DT
><DT
>8.6.4. <A
HREF="#AEN2040"
>Availability</A
></DT
><DT
>8.6.5. <A
HREF="#AEN2050"
>Hardware</A
></DT
><DT
>8.6.6. <A
HREF="#AEN2070"
>Non-Free Status</A
></DT
><DT
>8.6.7. <A
HREF="#AEN2082"
>Known Issues</A
></DT
></DL
></DD
><DT
>8.7. <A
HREF="#AEN2088"
>APU</A
></DT
><DD
><DL
><DT
>8.7.1. <A
HREF="#AEN2099"
>Similar Hardware</A
></DT
><DT
>8.7.2. <A
HREF="#AEN2142"
>Download</A
></DT
><DT
>8.7.3. <A
HREF="#AEN2150"
>Networking</A
></DT
><DT
>8.7.4. <A
HREF="#AEN2153"
>Build Image</A
></DT
><DT
>8.7.5. <A
HREF="#AEN2157"
>Availability</A
></DT
><DT
>8.7.6. <A
HREF="#AEN2168"
>Hardware</A
></DT
><DT
>8.7.7. <A
HREF="#AEN2189"
>Non-Free Status</A
></DT
><DT
>8.7.8. <A
HREF="#AEN2201"
>Known Issues</A
></DT
></DL
></DD
><DT
>8.8. <A
HREF="#AEN2204"
>VirtualBox</A
></DT
><DD
><DL
><DT
>8.8.1. <A
HREF="#AEN2223"
>Download</A
></DT
><DT
>8.8.2. <A
HREF="#AEN2230"
>Creating a Virtual Machine</A
></DT
><DT
>8.8.3. <A
HREF="#AEN2241"
>Network Configuration</A
></DT
><DT
>8.8.4. <A
HREF="#AEN2452"
>Using</A
></DT
><DT
>8.8.5. <A
HREF="#AEN2458"
>Build Image</A
></DT
><DT
>8.8.6. <A
HREF="#AEN2462"
>Tips & Troubleshooting</A
></DT
></DL
></DD
><DT
>8.9. <A
HREF="#AEN2493"
>Debian</A
></DT
><DD
><DL
><DT
>8.9.1. <A
HREF="#AEN2505"
>Installing on Debian</A
></DT
><DT
>8.9.2. <A
HREF="#AEN2535"
>Troubleshooting</A
></DT
></DL
></DD
><DT
>8.10. <A
HREF="#AEN2553"
>DreamPlug</A
></DT
><DD
><DL
><DT
>8.10.1. <A
HREF="#AEN2566"
>Download</A
></DT
><DT
>8.10.2. <A
HREF="#AEN2575"
>Firmware</A
></DT
><DT
>8.10.3. <A
HREF="#AEN2579"
>Build Image</A
></DT
><DT
>8.10.4. <A
HREF="#AEN2583"
>Testing</A
></DT
><DT
>8.10.5. <A
HREF="#AEN2587"
>Availability</A
></DT
><DT
>8.10.6. <A
HREF="#AEN2598"
>Hardware</A
></DT
><DT
>8.10.7. <A
HREF="#AEN2618"
>Non-Free Status</A
></DT
><DT
>8.10.8. <A
HREF="#AEN2627"
>Known Issues</A
></DT
></DL
></DD
><DT
>8.11. <A
HREF="#AEN2633"
>Raspberry Pi Model B+</A
></DT
><DD
><DL
><DT
>8.11.1. <A
HREF="#AEN2647"
>Download</A
></DT
><DT
>8.11.2. <A
HREF="#AEN2652"
>Build Image</A
></DT
><DT
>8.11.3. <A
HREF="#AEN2656"
>Availability</A
></DT
><DT
>8.11.4. <A
HREF="#AEN2664"
>Hardware</A
></DT
><DT
>8.11.5. <A
HREF="#AEN2684"
>Non-Free Status</A
></DT
><DT
>8.11.6. <A
HREF="#AEN2693"
>Known Issues</A
></DT
></DL
></DD
><DT
>8.12. <A
HREF="#AEN2699"
>Raspberry Pi 2 Model B</A
></DT
><DD
><DL
><DT
>8.12.1. <A
HREF="#AEN2714"
>Download</A
></DT
><DT
>8.12.2. <A
HREF="#AEN2719"
>Build Image</A
></DT
><DT
>8.12.3. <A
HREF="#AEN2723"
>Availability</A
></DT
><DT
>8.12.4. <A
HREF="#AEN2731"
>Hardware</A
></DT
><DT
>8.12.5. <A
HREF="#AEN2751"
>Non-Free Status</A
></DT
><DT
>8.12.6. <A
HREF="#AEN2760"
>Known Issues</A
></DT
></DL
></DD
><DT
>8.13. <A
HREF="#AEN2767"
>USB Wi-Fi</A
></DT
><DD
><DL
><DT
>8.13.1. <A
HREF="#AEN2778"
>Firmware Installation</A
></DT
><DT
>8.13.2. <A
HREF="#AEN2782"
>Resources</A
></DT
></DL
></DD
><DT
>8.14. <A
HREF="#AEN2794"
>Advanced Topics</A
></DT
><DD
><DL
><DT
>8.14.1. <A
HREF="#AEN2798"
>Adding Additional Features</A
></DT
></DL
></DD
></DL
></DD
><DT
>9. <A
HREF="#AEN2803"
>Contributing</A
></DT
><DD
><DL
><DT
>9.1. <A
HREF="#AEN2806"
>Quick Links</A
></DT
><DT
>9.2. <A
HREF="#AEN2814"
>Welcome to newcomers</A
></DT
><DT
>9.3. <A
HREF="#AEN2820"
>Development priorities</A
></DT
><DT
>9.4. <A
HREF="#AEN2828"
>Contributions needed</A
></DT
><DD
><DL
><DT
>9.4.1. <A
HREF="#AEN2830"
>Add an Application</A
></DT
><DT
>9.4.2. <A
HREF="#AEN2834"
>Bugs</A
></DT
><DT
>9.4.3. <A
HREF="#AEN2838"
>Code</A
></DT
><DT
>9.4.4. <A
HREF="#AEN2854"
>Design</A
></DT
><DT
>9.4.5. <A
HREF="#AEN2881"
>Donate</A
></DT
><DT
>9.4.6. <A
HREF="#AEN2886"
>Document: User Manual, Website and Wiki</A
></DT
><DT
>9.4.7. <A
HREF="#AEN2893"
>Quality Assurance</A
></DT
><DT
>9.4.8. <A
HREF="#AEN2902"
>Localization</A
></DT
><DT
>9.4.9. <A
HREF="#AEN2924"
>Spread the Word</A
></DT
></DL
></DD
></DL
></DD
><DT
>10. <A
HREF="#AEN2929"
>Developer Guide</A
></DT
><DD
><DL
><DT
>10.1. <A
HREF="#AEN2932"
>Writing Applications - Tutorial</A
></DT
><DD
><DL
><DT
>10.1.1. <A
HREF="#AEN2941"
>Before we begin</A
></DT
><DT
>10.1.2. <A
HREF="#AEN2946"
>Picking an application</A
></DT
><DT
>10.1.3. <A
HREF="#AEN2956"
>Packaging the application</A
></DT
><DT
>10.1.4. <A
HREF="#AEN2970"
>Creating the project structure</A
></DT
><DT
>10.1.5. <A
HREF="#AEN2984"
>Tell Plinth that we exist</A
></DT
><DT
>10.1.6. <A
HREF="#AEN2995"
>Writing the URLs</A
></DT
><DT
>10.1.7. <A
HREF="#AEN3005"
>Adding a menu item</A
></DT
><DT
>10.1.8. <A
HREF="#AEN3032"
>Specifying module dependencies</A
></DT
><DT
>10.1.9. <A
HREF="#AEN3043"
>Writing the enable/disable form</A
></DT
><DT
>10.1.10. <A
HREF="#AEN3054"
>Writing a view</A
></DT
><DT
>10.1.11. <A
HREF="#AEN3062"
>Getting the current status of the application</A
></DT
><DT
>10.1.12. <A
HREF="#AEN3073"
>Displaying the application page</A
></DT
><DT
>10.1.13. <A
HREF="#AEN3085"
>Applying the changes from the form</A
></DT
><DT
>10.1.14. <A
HREF="#AEN3095"
>Installing packages required for the application</A
></DT
><DT
>10.1.15. <A
HREF="#AEN3105"
>Writing actions</A
></DT
><DT
>10.1.16. <A
HREF="#AEN3116"
>Creating diagnostics</A
></DT
><DT
>10.1.17. <A
HREF="#AEN3132"
>Logging</A
></DT
><DT
>10.1.18. <A
HREF="#AEN3138"
>Adding a License</A
></DT
><DT
>10.1.19. <A
HREF="#AEN3144"
>Internationalization</A
></DT
><DT
>10.1.20. <A
HREF="#AEN3158"
>Coding standards</A
></DT
></DL
></DD
><DT
>10.2. <A
HREF="#AEN3166"
>Reference Guide</A
></DT
><DD
><DL
><DT
>10.2.1. <A
HREF="#AEN3169"
>Applications</A
></DT
><DT
>10.2.2. <A
HREF="#AEN3195"
>Actions</A
></DT
><DT
>10.2.3. <A
HREF="#AEN3217"
>Menus</A
></DT
><DT
>10.2.4. <A
HREF="#AEN3246"
>Services</A
></DT
></DL
></DD
></DL
></DD
><DT
>11. <A
HREF="#AEN3265"
>Hacking</A
></DT
><DD
><DL
><DT
>11.1. <A
HREF="#AEN3275"
>Plinth</A
></DT
><DD
><DL
><DT
>11.1.1. <A
HREF="#AEN3281"
>Using</A
></DT
><DT
>11.1.2. <A
HREF="#AEN3296"
>Screenshots</A
></DT
><DT
>11.1.3. <A
HREF="#AEN3323"
>Support</A
></DT
><DT
>11.1.4. <A
HREF="#AEN3333"
>Contributing</A
></DT
></DL
></DD
><DT
>11.2. <A
HREF="#AEN3371"
>FreedomBox Setup</A
></DT
><DD
><DL
><DT
>11.2.1. <A
HREF="#AEN3379"
>Using</A
></DT
><DT
>11.2.2. <A
HREF="#AEN3392"
>Support</A
></DT
><DT
>11.2.3. <A
HREF="#AEN3402"
>Contributing</A
></DT
></DL
></DD
><DT
>11.3. <A
HREF="#AEN3422"
>Freedom Maker</A
></DT
><DD
><DL
><DT
>11.3.1. <A
HREF="#AEN3450"
>Building FreedomBox Images</A
></DT
><DT
>11.3.2. <A
HREF="#AEN3457"
>Support</A
></DT
><DT
>11.3.3. <A
HREF="#AEN3467"
>Contributing</A
></DT
></DL
></DD
></DL
></DD
><DT
>12. <A
HREF="#AEN3492"
>Other Resources: Manual Older Versions</A
></DT
><DT
>13. <A
HREF="#AEN3504"
>Tell people around you</A
></DT
></DL
></DIV
><DIV
CLASS="section"
><H2
CLASS="section"
><A
NAME="AEN4"
>1. FreedomBox Introduction</A
></H2
><P
>FreedomBox is a personal server that protects your privacy. It is a free software stack, a subset of the Debian universal operating system, that can be installed in many flavors of inexpensive and power-efficient <A
HREF="https://wiki.debian.org/FreedomBox/Hardware#"
TARGET="_top"
>hardware</A
>. The simplicity of setting up and operating a FreedomBox is similar to that of a smart phone. </P
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN8"
>1.1. Smart Router</A
></H3
><P
>FreedomBox runs in a physical computer and can route your traffic. It can sit between various devices at home such as mobiles, laptops and TVs and the Internet replacing a home wireless router. By routing traffic, FreedomBox can remove tracking advertisements and malicious web bugs before they ever reach your devices. FreedomBox can cloak your location and protect your anonymity by "onion routing" your traffic over Tor. FreedomBox provides a VPN server that you can use while you are away from home to keep your traffic secret on untrusted public wireless networks and to securely access various devices at home. It can also be carried along with your laptop and used to connect to public networks at work, school, or office to avail its services. It could be used in a village to provide communications throughout the village. In future, FreedomBox intends to provide support for alternative ways of connecting to the Internet such as Mesh networks. </P
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN11"
>1.2. Private Cloud</A
></H3
><P
>FreedomBox provides services: to your computers and mobile devices in your home and to computers and mobile devices of other people who are your friends. FreedomBox provides file sharing like Dropbox, shared calendering like Google or Yahoo and photo sharing. FreedomBox provides instant messaging and truly secure voice conference calling that works on low bandwidth providing high quality. FreedomBox has a blog and wiki to let you publish your content and collaborate with the rest of the world. Coming soon, a personal email server and federated social networking using GNU Social and Diaspora, providing privacy-respecting alternatives to Gmail and Facebook. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H2
CLASS="section"
><A
NAME="AEN14"
>2. Quick Start</A
></H2
><P
></P
><OL
TYPE="1"
><LI
><P
>If you have not already done so, download and install a FreedomBox image by following the instructions on the <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>Download</A
> page. </P
></LI
><LI
><P
>Plug one end of your ethernet cord into your FreedomBox's ethernet port, and plug the other end into your router. </P
><P
></P
><UL
><LI
><P
>On the Dreamplug, the eth0 port (the one toward the middle of the box) should be connected to your router. </P
></LI
></UL
></LI
><LI
><P
>If your device has a 2nd ethernet port, you can connect your computer to it directly, using an ethernet cable. </P
></LI
><LI
><P
>Power on your your FreedomBox. </P
></LI
><LI
><P
>On first boot, the FreedomBox will perform initial setup and then reboot. This may take several minutes. </P
></LI
><LI
><P
>After the FreedomBox has rebooted, you can access its web interface (called Plinth) through your web browser. </P
><P
></P
><UL
><LI
><P
>If your computer is connected directly to the FreedomBox through a second (LAN) ethernet port, you can browse to: <A
HREF="http://freedombox/"
TARGET="_top"
>http://freedombox/</A
> or <A
HREF="http://10.42.0.1/"
TARGET="_top"
>http://10.42.0.1/</A
>. </P
></LI
><LI
><P
>If your computer supports mDNS (GNU/Linux, Mac OSX and Windows with mDNS software installed), you can browse to: <A
HREF="http://freedombox.local/"
TARGET="_top"
>http://freedombox.local/</A
> (or <A
HREF="http://the-hostname-you-entered-during-install.local/"
TARGET="_top"
>http://the-hostname-you-entered-during-install.local/</A
>) </P
></LI
><LI
><P
>If neither of these methods are available, then you will need to figure out the IP address of your FreedomBox. You can use the "nmap" program to find its IP address: </P
><PRE
CLASS="screen"
> nmap -p 80 --open -sV 192.168.0.0/24</PRE
><P
>Your FreedomBox will show up as an IP address with an open tcp port 80 using Apache httpd service on Debian, such as the example below which would make it accessible at <A
HREF="http://192.168.0.165"
TARGET="_top"
>http://192.168.0.165</A
>: </P
><PRE
CLASS="screen"
> Nmap scan report for 192.168.0.165
Host is up (0.00088s latency).
PORT STATE SERVICE VERSION
80/tcp open http Apache httpd 2.4.17 ((Debian))</PRE
></LI
></UL
></LI
><LI
><P
>On accessing Plinth your browser will warn you that it communicates securely but that it regards the security certificate for doing so as invalid. This is a fact you need to accept because the certificate is auto generated on the box and therefore "self-signed" (the browser might also use words such as "untrusted", "not private", "privacy error" or "unknown issuer/authority"). Telling your browser that you are aware of this might involve pressing buttons such as "I understand the Risks", "proceed to ... (unsafe)" or "Add exception". </P
></LI
><LI
><P
>On the intial access you will see a welcome page that asks you to provide some basic information for setting up your FreedomBox. </P
></LI
><LI
><P
>After completing the form, you will be logged in to Plinth and able to access apps and configuration through the interface. </P
></LI
><LI
><P
>If your computer is connected directly to the FreedomBox, your FreedomBox can act as a router, allowing you to access the Internet. </P
></LI
></OL
><P
>Now, you can try <A
HREF="https://wiki.debian.org/FreedomBox/Features#"
TARGET="_top"
>any of the Apps</A
> that are available on FreedomBox. </P
></DIV
><DIV
CLASS="section"
><HR><H2
CLASS="section"
><A
NAME="AEN58"
>3. Getting Help</A
></H2
><P
> <A
NAME="gettinghelp"
></A
>
</P
><P
>This document is intended to give you all the information you need to get started with your FreedomBox. However, if you have any questions after reading this document, you can get help by: </P
><P
></P
><UL
><LI
><P
>Emailing <A
HREF="mailto:freedombox-discuss@lists.alioth.debian.org"
TARGET="_top"
>freedombox-discuss@lists.alioth.debian.org</A
>. You can also <A
HREF="http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss"
TARGET="_top"
>sign up</A
> to receive copies of every discussion that happens on the mailing list and <A
HREF="http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss"
TARGET="_top"
>read the archives</A
>. </P
></LI
><LI
><P
>Chatting at <A
HREF="irc://irc.oftc.net:6667/%23freedombox"
TARGET="_top"
>#freedombox@irc.oftc.net</A
>. </P
></LI
><LI
><P
>Reading the <A
HREF="http://wiki.debian.org/FreedomBox"
TARGET="_top"
>wiki</A
>. </P
></LI
><LI
><P
>Reading the <A
HREF="https://freedomboxfoundation.org/"
TARGET="_top"
>FreedomBox Foundation's website</A
>. </P
></LI
><LI
><P
>Reading the <A
HREF="https://alioth.debian.org/projects/freedombox"
TARGET="_top"
>FreedomBox Project Page</A
>. </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H2
CLASS="section"
><A
NAME="AEN81"
>4. Release Notes</A
></H2
><P
>The following are the release notes for each FreedomBox version. </P
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN84"
>4.1. Version 0.8 (2016-02)</A
></H3
><P
></P
><UL
><LI
><P
>Added Quassel, an IRC client that stays connected to IRC networks and can synchronize multiple frontends. </P
></LI
><LI
><P
>Improved first boot user interface. </P
></LI
><LI
><P
>Fixed Transmission RPC whitelist issue. </P
></LI
><LI
><P
>Added translations for Turkish, Chinese, and Russian. Fixed and updated translations in other languages. </P
></LI
><LI
><P
>Added Monkeysphere, which uses PGP web of trust for SSH host key verification. </P
></LI
><LI
><P
>Added Let's Encrypt, to obtain certificates for domains, so that browser certificate warnings can be avoided. </P
></LI
><LI
><P
>Added repro, a SIP server for audio and video calls. </P
></LI
><LI
><P
>Allow users to set their SSH public keys, so they can login over SSH without a password. </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN103"
>4.2. Version 0.7 (2015-12-13)</A
></H3
><P
></P
><UL
><LI
><P
>Translations! Full translations of the interface in Danish, Dutch, French, German and Norwegian Bokmål, and partial Telugu. </P
></LI
><LI
><P
>Support for OLinuXino A20 MICRO and LIME2 </P
></LI
><LI
><P
>New Plinth applications: OpenVPN, reStore </P
></LI
><LI
><P
>Improved first-boot experience </P
></LI
><LI
><P
>Many bugfixes and cleanups </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN116"
>4.3. Version 0.6 (2015-10-31)</A
></H3
><P
></P
><UL
><LI
><P
>New supported hardware target: Raspberry Pi 2 </P
></LI
><LI
><P
>New modules in Plinth: </P
><P
></P
><UL
><LI
><P
>Shaarli: Web application to manage and share bookmarks </P
></LI
><LI
><P
>Date & Time: Configure time zone and NTP service </P
></LI
><LI
><P
>Service Discovery: Configure Avahi service </P
></LI
></UL
></LI
><LI
><P
>Documentation revamp including new user manual and developer guide </P
></LI
><LI
><P
>Improved diagnostic tests, available in Plinth </P
></LI
><LI
><P
>Avoid unnecessary changes when installing on existing Debian system </P
></LI
><LI
><P
>Network configuration supports PPPoE connections </P
></LI
><LI
><P
>Debian packages can be download over Tor </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN140"
>4.4. Version 0.5 (2015-08-07)</A
></H3
><P
></P
><UL
><LI
><P
>New targets: CubieTruck, i386, amd64 </P
></LI
><LI
><P
>New apps in Plinth: Transmission, Dynamic DNS, Mumble, ikiwiki, Deluge, Roundcube, Privoxy </P
></LI
><LI
><P
>NetworkManager handles network configuration and can be manipulated through Plinth. </P
></LI
><LI
><P
>Software Upgrades (unattended-upgrades) module can upgrade the system, and enable automatic upgrades. </P
></LI
><LI
><P
>Plinth is now capable of installing ejabberd, jwchat, and privoxy, so they are not included in image but can be installed when needed. </P
></LI
><LI
><P
>User authentication through LDAP for SSH, XMPP (ejabberd), and ikiwiki. </P
></LI
><LI
><P
>Unit test suite is automatically run on Plinth upstream. This helps us catch at least some code errors before they are discovered by users! </P
></LI
><LI
><P
>New, simpler look for Plinth. </P
></LI
><LI
><P
>Performance improvements for Plinth. </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN161"
>4.5. Version 0.3 (2015-01-20)</A
></H3
><P
></P
><UL
><LI
><P
>Tor Bridges: All boxes now act as non-exit Tor bridges, routing traffic for the Tor network. </P
></LI
><LI
><P
><A
HREF="https://wiki.debian.org/FreedomBox/Manual/Firewall#"
TARGET="_top"
>Firewall</A
>: firewall is on by default and is automatically managed. </P
></LI
><LI
><P
>Add BeagleBone support. We now have images for BeagleBone, RaspberryPi, VirtualBox i386/amd64, and DreamPlug. </P
></LI
><LI
><P
>Ability to enable and use Tor Hidden Services. Works with Ejabberd/JWChat and ownCloud services. </P
></LI
><LI
><P
>Enable Tor obfsproxy with scramblesuit. </P
></LI
><LI
><P
>Drop well-known root password (an account with sudo capabilities still exists for now but will be removed soon). </P
></LI
><LI
><P
>Switch to unstable as suite of choice for easier development. </P
></LI
><LI
><P
>Newer images are built with systemd by default (due to Debian change). </P
></LI
><LI
><P
>Install and operate firewall automatically (uses firewalld). </P
></LI
><LI
><P
>Major restructuring of Plinth UI using Python3, Django web development framework and Bootstrap3. Code quality is much better and UI is more polished. </P
></LI
><LI
><P
>Introduced packaging framework in Plinth UI for on-demand application installation. </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN187"
>4.6. Version 0.2 (2014-03-16)</A
></H3
><P
></P
><UL
><LI
><P
>Support for Raspberry Pi and VirtualBox (x86) in addition to the <A
HREF="https://wiki.debian.org/FreedomBox/ReleaseNotes/FreedomBox/Hardware/DreamPlug#"
TARGET="_top"
>DreamPlug</A
>. </P
></LI
><LI
><P
>New Services: </P
><P
></P
><UL
><LI
><P
>Configuration Management UI. </P
></LI
><LI
><P
>Instant Messaging. </P
></LI
><LI
><P
>OwnCloud. </P
></LI
><LI
><P
>dnsmasq. </P
></LI
><LI
><P
>Low-Level Configuration Management. </P
></LI
><LI
><P
>Service Announcement. </P
></LI
><LI
><P
>LDAP Server. </P
></LI
><LI
><P
>LXC Support. </P
></LI
><LI
><P
>Source Packages. </P
></LI
></UL
></LI
><LI
><P
>The privoxy setup is now the default from Debian. </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN216"
>4.7. Version 0.1 (2013-02-26)</A
></H3
><P
></P
><UL
><LI
><P
>First FreedomBox software release (0.1 image, developer release). </P
></LI
><LI
><P
>Full hardware support in Debian </P
></LI
><LI
><P
>Support for <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/DreamPlug#"
TARGET="_top"
>DreamPlug</A
>. </P
></LI
><LI
><P
>Basic software tools selected as common working environment: </P
><P
></P
><UL
><LI
><P
>User interface system "plinth" </P
></LI
><LI
><P
>Cryptography tools: gpg or "monkeysphere" </P
></LI
><LI
><P
>Box-to-box communication design: Freedom-buddy (uses <A
HREF="https://en.wikipedia.org/wiki/Tor_%28anonymity_network%29"
TARGET="_top"
>TOR network</A
>) </P
></LI
><LI
><P
>Web cleaning: "privoxy-freedombox". </P
></LI
></UL
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><HR><H2
CLASS="section"
><A
NAME="AEN238"
>5. Download and Install</A
></H2
><P
>Wellcome to the <A
HREF="https://wiki.debian.org/FreedomBox#"
TARGET="_top"
>FreedomBox</A
> download page. You may either install FreedomBox on one of the supported inexpensive <A
HREF="https://wiki.debian.org/FreedomBox/Hardware#"
TARGET="_top"
>hardware</A
>, on a Linux <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Debian#"
TARGET="_top"
>Debian</A
> operating system, or deploy on a virtual machine. Installing on Debian is easy because <A
HREF="https://wiki.debian.org/FreedomBox#"
TARGET="_top"
>FreedomBox</A
> is available as packages. On hardware, you may need a little bit of technical expertise to setup. What we are requiring is to buy a device and plug in an SD card. In case of trouble, please read and interact with the <A
HREF="https://wiki.debian.org/FreedomBox/QuestionsAndAnswers#"
TARGET="_top"
>Questions and Answers</A
> page based on <A
HREF="https://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss"
TARGET="_top"
>Freedombox-discuss</A
> mailing list archives. </P
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN247"
>5.1. Downloading on Debian</A
></H3
><P
>If you are installing on Debian, you don't need to download these images. Instead read <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Debian#"
TARGET="_top"
>instructions</A
> on setting up FreedomBox on Debian. </P
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN251"
>5.2. Downloading on Hardware or Virtual Machine</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN253"
>5.2.1. Prepare your device</A
></H4
><P
>See hardware specific instructions on how to prepare your device at the <A
HREF="https://wiki.debian.org/FreedomBox/Hardware#"
TARGET="_top"
>Hardware</A
> section. Gather and read a lot of documentation on the web about first boot and flashing USB or SD Card on your hardware. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN257"
>5.2.2. Downloading Images</A
></H4
><P
>Recent images for supported targets are available here: </P
><P
></P
><UL
><LI
STYLE="list-style-type: none"
><P
>Official Images: <A
HREF="http://ftp.skolelinux.org/pub/freedombox/"
TARGET="_top"
>http://ftp.skolelinux.org/pub/freedombox/</A
> </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN264"
>5.2.3. Verifying the Downloaded Images</A
></H4
><P
>It is important to verify the images you have downloaded to ensure that the file has not be corrupted during the transmission and that it is indeed the image built by FreedomBox developers. </P
><P
></P
><UL
><LI
><P
>First open a terminal and import the public key of the FreedomBox developer who built the images: </P
><PRE
CLASS="screen"
>$ gpg --keyserver x-hkp://pool.sks-keyservers.net --recv-keys 0x36C361440C9BC971</PRE
></LI
><LI
><P
>Next, verify the fingerprint of the public key: </P
><PRE
CLASS="screen"
>$ gpg --fingerprint 0x36C361440C9BC971
pub 4096R/0C9BC971 2011-11-12
Key fingerprint = BCBE BD57 A11F 70B2 3782 BC57 36C3 6144 0C9B C971
uid Sunil Mohan Adapa <sunil@medhas.org>
sub 4096R/4C1D4B57 2011-11-12</PRE
></LI
><LI
><P
>Finally, verify your downloaded image with its signature file <FONT
COLOR="RED"
>.sig</FONT
>. For example: </P
><PRE
CLASS="screen"
>$ gpg --verify freedombox-unstable-free_2015-12-13_cubietruck-armhf.img.xz.sig freedombox-unstable-free_2015-12-13_cubietruck-armhf.img.xz
gpg: Signature made Thursday 15 January 2015 09:27:50 AM IST using RSA key ID 0C9BC971
gpg: Good signature from "Sunil Mohan Adapa <sunil@medhas.org>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: BCBE BD57 A11F 70B2 3782 BC57 36C3 6144 0C9B C971</PRE
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN278"
>5.2.4. Installation</A
></H4
><P
>After the download you can use the image to boot <A
HREF="https://wiki.debian.org/FreedomBox/Hardware#"
TARGET="_top"
>supported hardware</A
> (including virtual machines). You'll need to copy the image to the memory card or USB stick as follows: </P
><P
></P
><OL
TYPE="1"
><LI
><P
>Figure out which device your card actually is. </P
><P
></P
><OL
TYPE="1"
><LI
><P
>Unplug your card. </P
></LI
><LI
><P
>Run <FONT
COLOR="RED"
>dmesg -w</FONT
> to show and follow the kernel messages. </P
></LI
><LI
><P
>Plug your card in. You will see messages such as following: </P
><PRE
CLASS="screen"
>[33299.023096] usb 4-6: new high-speed USB device number 12 using ehci-pci
[33299.157160] usb 4-6: New USB device found, idVendor=058f, idProduct=6361
[33299.157162] usb 4-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[33299.157164] usb 4-6: Product: Mass Storage Device
[33299.157165] usb 4-6: Manufacturer: Generic
[33299.157167] usb 4-6: SerialNumber: XXXXXXXXXXXX
[33299.157452] usb-storage 4-6:1.0: USB Mass Storage device detected
[33299.157683] scsi host13: usb-storage 4-6:1.0
[33300.155626] scsi 13:0:0:0: Direct-Access Generic- Compact Flash 1.01 PQ: 0 ANSI: 0
[33300.156223] scsi 13:0:0:1: Direct-Access Multiple Flash Reader 1.05 PQ: 0 ANSI: 0
[33300.157059] sd 13:0:0:0: Attached scsi generic sg4 type 0
[33300.157462] sd 13:0:0:1: Attached scsi generic sg5 type 0
[33300.462115] sd 13:0:0:1: [sdg] 30367744 512-byte logical blocks: (15.5 GB/14.4 GiB)
[33300.464144] sd 13:0:0:1: [sdg] Write Protect is off
[33300.464159] sd 13:0:0:1: [sdg] Mode Sense: 03 00 00 00
[33300.465896] sd 13:0:0:1: [sdg] No Caching mode page found
[33300.465912] sd 13:0:0:1: [sdg] Assuming drive cache: write through
[33300.470489] sd 13:0:0:0: [sdf] Attached SCSI removable disk
[33300.479493] sdg: sdg1
[33300.483566] sd 13:0:0:1: [sdg] Attached SCSI removable disk</PRE
></LI
><LI
><P
>In the above case, the disk that is newly inserted is available as <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>/dev/sdg</I
></SPAN
>. Very carefully note this and use it in the copying step below. </P
></LI
></OL
></LI
><LI
><P
>Decompress the downloaded image using tar: </P
><PRE
CLASS="screen"
>$ xz -d freedombox-unstable-free_2015-12-13_cubietruck-armhf.img.xz</PRE
><P
>The above command is an example for the <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>cubietruck</I
></SPAN
> image built on 2015-12-13. Your downloaded file name will be different. </P
></LI
><LI
><P
>Copy the image to your card. Double check and make sure you don't write to your computer's main storage (such as /dev/sda). Also make sure that you don't run this step as root to avoid potentially overriding data on your hard drive due to a mistake in identifying the device or errors while typing the command. USB disks and SD cards inserted into the system should typically be write accessible to normal users. If you don't have permission to write to your SD card as a user, you may need to run this command as root. In this case triple check everything before you run the command. Another safety precaution is to unplug all external disks except the SD card before running the command. </P
><P
>For example, if your SD card is <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>/dev/sdf</I
></SPAN
> as noted in the first step above, then to copy the image, run: </P
><PRE
CLASS="screen"
>$ dd bs=1M if=freedombox-unstable-free_2015-12-13_cubietruck-armhf.img of=/dev/sdf conv=fdatasync</PRE
><P
>The above command is an example for the <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>cubietruck</I
></SPAN
> image built on 2015-12-13. Your image file name will be different. </P
><P
>When picking a device, use the drive-letter destination, like <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>/dev/sdf</I
></SPAN
>, not a numbered destination, like <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>/dev/sdf1</I
></SPAN
>. The device without a number refers to the entire device, while the device with a number refers to a specific partition. We want to use the whole device. Downloaded images contain complete information about how many partitions there should be, their sizes and types. You don't have to format your SD card or create partitions. All the data on the SD card will be wiped off during the write process. </P
></LI
><LI
><P
>Use the image by inserting the SD card or USB disk into the target </P
><P
>device and booting from it. Your device should also be prepared (see the <A
HREF="https://wiki.debian.org/FreedomBox/Hardware#"
TARGET="_top"
>Hardware</A
> section). </P
></LI
><LI
><P
>Read (the rest of) the <A
HREF="https://wiki.debian.org/FreedomBox/Manual#"
TARGET="_top"
>Manual</A
> for instructions on how to use applications in FreedomBox. </P
></LI
></OL
></DIV
></DIV
></DIV
><DIV
CLASS="section"
><HR><H2
CLASS="section"
><A
NAME="AEN319"
>6. Apps</A
></H2
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="AEN321"
>6.1. Anonymity Network (Tor)</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN323"
>6.1.1. What is Tor?</A
></H4
><P
>Tor is a network of server operated by volunteers. It allows users of these servers to improve their privacy and security while surfing on the Internet. You and your friends are able to access to your FreedomBox via Tor network without revealing its IP address. Activating Tor application on your FreedomBox, you will be able to offer remote services (chat, wiki, file sharing, etc...) without showing your location. This application will give you a better protection than a public web server because you will be less exposed to intrusive people on the web. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN326"
>6.1.2. Using Tor to browse anonymously</A
></H4
><P
>Tor Browser is the recommended way to browse the web using Tor. You can download the Tor Browser from <A
HREF="https://www.torproject.org/projects/torbrowser.html"
TARGET="_top"
>https://www.torproject.org/projects/torbrowser.html</A
> and follow the instructions on that site to install and run it. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN330"
>6.1.3. Using Tor Hidden Service to access your FreedomBox</A
></H4
><P
>Tor Hidden Service provides a way to access your FreedomBox, even if it's behind a router or firewall. </P
><P
>To enable Tor Hidden Service, first navigate to the Anonymity Network (Tor) page. (If you don't see it, click on the FreedomBox logo at the top-left of the page, to go to the main Apps page.) On the Anonymity Network (Tor) page, under Configuration, check "Enable Tor Hidden Service", then press the Update setup button. Tor will be reconfigured and restarted. </P
><P
>After a while, the page will refresh and under Status, you will see a table listing the Hidden Service .onion address. Copy the entire address (ending in .onion) and paste it into the Tor Browser's address field, and you should be able to access your FreedomBox. (You may see a certificate warning because FreedomBox has a self-signed certificate.) </P
><P
>Currently only HTTP (port 80) and HTTPS (port 443) are accessible through the Tor Hidden Service configured on the FreedomBox. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN336"
>6.1.4. Using Tor SOCKS port (advanced)</A
></H4
><P
>FreedomBox provides a Tor SOCKS port that other applications can connect to, in order to route their traffic over the Tor network. This port is accessible on any interfaces configured in the internal firewall zone. To configure the application, set SOCKS Host to the internal network connection's IP address, and set the SOCKS Port to 9050. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN339"
>6.2. Deluge</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN341"
>6.2.1. What is Deluge?</A
></H4
><P
>Your FreedomBox provides a Deluge application to enable. Deluge is a lightweight Bit Torrent client. Bit Torrent is a communications protocol using peer-to-peer (P2P) file sharing. P2P is a system that aims to interconnect end-user machines. Highly configurable, Deluge offers functionalities in the form of plugins. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN344"
>6.3. Transmission</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN346"
>6.3.1. What is Transmission ?</A
></H4
><P
>In addition to Deluge Bit Torrent, your FreedomBox provides a Transmission application to enable. Transmission is a lightweight Bit Torrent client allowing end-user machine to share files (documents, pictures, sounds, videos and programs). Transmission is well known for its simplicity and a default configuration that "Just Works". </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN349"
>6.4. Shaarli</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN351"
>6.4.1. What is Shaarli?</A
></H4
><P
>Shaarli is personal (single-user) bookmarking application to install on your FreedomBox. It can also be used for micro-blogging, pastebin, online notepad and snippet archive. Shaarli is designed as a no-database delicious clone. As such, it provides very fast services, easy backup and import/export links as desktop or mobile browser bookmarks. Links stored can be public or private. Shaarli delivers ATOM and RSS feeds from its minimalist interface. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN354"
>6.5. Chat Server (XMPP)</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN356"
>6.5.1. What is XMPP?</A
></H4
><P
>XMPP is a federated protocol for Instant Messaging. This means that users who have accounts on one server, can talk to users that are on another server. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN359"
>6.5.2. Setting the Domain Name</A
></H4
><P
>For XMPP to work, your FreedomBox needs to have a Domain Name that can be accessed over the public Internet. You can read more about obtaining a Domain Name in the Dynamic DNS section of this manual. </P
><P
>Once you have a Domain Name, you can tell your FreedomBox to use it by setting the Domain Name in the System Config. </P
><P
>Please note that Pagekite does not support the XMPP protocol at this time. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN364"
>6.5.3. Registering XMPP users through SSO</A
></H4
><P
>Currently, all users created through Plinth will be able to login to the XMPP server. You can add new users through the System Users and Groups module. It does not matter which Groups are selected for the new user. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN367"
>6.6. Dynamic DNS</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN369"
>6.6.1. What is Dynamic DNS?</A
></H4
><P
>In order to reach a server on the Internet, the server needs to have permanent address also know as the static IP address. Many Internet service providers don't provide home users with a static IP address or they charge more providing a static IP address. Instead they provide the home user with an IP address that changes every time the user connects to the Internet. Clients wishing to contact the server will have difficulty reaching the server. </P
><P
>Dynamic DNS service providers assist in working around a problem. First they provide you with a domain name, such as 'myhost.example.org'. Then they associate your IP address, whenever it changes, with this domain name. Then anyone intending to reach the server will be to contact the server using the domain name 'myhost.example.org' which always points to the latest IP address of the server. </P
><P
>For this to work, every time you connect to the Internet, you will have to tell your Dynamic DNS provider what your current IP address is. Hence you need special software on your server to perform this operation. The Dynamic DNS function in FreedomBox will allow users without a static public IP address to push the current public IP address to a Dynamic DNS Server. This allows you to expose services on FreedomBox, such as ownCloud, to the Internet. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN374"
>6.6.2. GnuDIP vs. Update URL</A
></H4
><P
>There are two main mechanism to notify the Dynamic DNS server of your new IP address; using the <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>GnuDIP</I
></SPAN
> protocol and using the <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Update URL</I
></SPAN
> mechanism. </P
><P
>If a service provided using update URL is not properly secured using HTTPS, your credentials may be visible to an adversary. Once an adversary gains your credentials, they will be able to replay your request your server and hijack your domain. </P
><P
>On the other hand, the GnuDIP protocol will only transport a salted MD5 value of your password, in a way that is secure against replay attacks. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN381"
>6.6.3. Using the GnuDIP protocol</A
></H4
><P
></P
><OL
TYPE="1"
><LI
><P
>Register an account with any Dynamic DNS service provider. A free service provided by the FreedomBox community is available at <A
HREF="https://gnudip.datasystems24.net"
TARGET="_top"
>https://gnudip.datasystems24.net</A
> . </P
></LI
><LI
><P
>In FreedomBox UI, enable the Dynamic DNS Service. </P
></LI
><LI
><P
>Select <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>GnuDIP</I
></SPAN
> as <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Service type</I
></SPAN
>, enter your Dynamic DNS service provider address (for example, gnudip.datasystems24.net) into <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>GnuDIP Server Address</I
></SPAN
> field. </P
></LI
><LI
><P
>Fill <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Domain Name</I
></SPAN
>, <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Username</I
></SPAN
>, <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Password</I
></SPAN
> information given by your provider into the corresponding fields. </P
></LI
></OL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN399"
>6.6.4. Using an Update URL</A
></H4
><P
>This feature is implemented because the most popular Dynamic DNS providers are using Update URLs mechanism. </P
><P
></P
><OL
TYPE="1"
><LI
><P
>Register an account with a Dynamic DNS service provider providing their service using Update URL mechanism. Some example providers are listed in the configuration page itself. </P
></LI
><LI
><P
>In FreedomBox UI, enable the Dynamic DNS service. </P
></LI
><LI
><P
>Select <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>other Update URL</I
></SPAN
> as <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Service type</I
></SPAN
>, enter the update URL given by your provider into <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Update URL</I
></SPAN
> field. </P
></LI
><LI
><P
>If you browse the update URL with your Internet browser and a warning message about untrusted certificate appears, then enable <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>accept all SSL certificates</I
></SPAN
>. WARNING: your credentials may be readable here because man-in-the-middle attacks are possible! Consider choosing a better service provider instead. </P
></LI
><LI
><P
>If you browse the update URL with your Internet browser and the username/password box appears, enable <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>use HTTP basic authentication</I
></SPAN
> checkbox and provide the <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Username</I
></SPAN
> and <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Password</I
></SPAN
>. </P
></LI
><LI
><P
>If the update URL contains your current IP address, replace the IP address with the string <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
><Ip></I
></SPAN
>. </P
></LI
></OL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN423"
>6.6.5. Checking If It Works</A
></H4
><P
></P
><OL
TYPE="1"
><LI
><P
>Make sure that external services you have enabled such as /jwchat, /roundcube and /ikiwiki are available on your domain address. </P
></LI
><LI
><P
>Go to the <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Status</I
></SPAN
> page, make sure that the NAT type is detected correctly. If your FreedomBox is behind a NAT device, this should be detected over there (Text: <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Behind NAT</I
></SPAN
>). If your FreedomBox has a public IP address assigned, the text should be "Direct connection to the Internet". </P
></LI
><LI
><P
>Check that the last update status is not <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>failed</I
></SPAN
>. </P
></LI
></OL
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN435"
>6.7. Roundcube</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN437"
>6.7.1. What is Roundcube?</A
></H4
><P
>RoundCube is a browser-based multilingual email client with an application-like user interface. RoundCube is using the Internet Message Access Protocol (IMAP) to access e-mail on a remote mail server. It supports MIME to send files, and provides particularly address book, folder management, message searching and spell checking. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN440"
>6.8. ownCloud</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN442"
>6.8.1. What is ownCloud?</A
></H4
><P
>ownCloud is a self-hosted file sync and share server. It provides access to your data through a platform to view, sync and share across devices. Calendars and Contacts feature will help you keeping google at a nice distance. ownCloud's functionalities are native or available via plugins (Collaborative Editing, Play Music, Watch Movies, Store Passwords, Dashboard, Mozilla Sync...) via <A
HREF="https://apps.owncloud.com/"
TARGET="_top"
>https://apps.owncloud.com/</A
> </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN446"
>6.8.2. Installation</A
></H4
><P
>Clicking on the ownCloud application in Plinth will show an installation prompt. Proceed to install. After the installation, visit the /owncloud link provided in the ownCloud page. First time installation wizard will show up asking for administrator username and password to setup (no additional details such as database configuration are requested). After providing the details, you will be logged. You will be able to start using the ownCloud and create more users. </P
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN449"
>6.8.2.1. External Storage</A
></H5
><P
>ownCloud's external storage plugin allows you to expose the contents of a hard drive or those of an online storage account as a folder. Following are the steps required to setup such storage. </P
><P
></P
><OL
TYPE="1"
><LI
><P
>Mount your hard drive or external storage to any fixed directory on the system. </P
></LI
><LI
><P
>Install two packages needed via the 'apt-get' on the SSH command line shell (this step will not be needed in future): </P
><P
></P
><UL
><LI
STYLE="list-style-type: none"
><PRE
CLASS="screen"
>$ sudo apt-get install php-google-api-php-client php-dropbox </PRE
></LI
></UL
></LI
><LI
><P
>Goto ownCloud Apps section and enable 'External Storage Support' plugin. </P
></LI
><LI
><P
>Goto 'Admin' section and add your hard drive mount path in the external storage section. This folder will now show up in your folders list to access and sync across devices. </P
></LI
></OL
></DIV
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN464"
>6.9. PageKite</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN466"
>6.9.1. What is PageKite?</A
></H4
><P
>PageKite makes local websites and services publicly accessible immediately without creating yourself a public IP address. PageKite provides "Kites" and "Services". Kites aims to make accessible in a second a web page (for instance foo.pagekite.me). Services can expose a file or a folder. Technically speaking, PageKite is free Software solution for tunneling HTTP, HTTPS and SSH servers through firewalls and NAT. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN469"
>6.9.2. Use PageKite</A
></H4
><P
>See <A
HREF="http://pagekite.net/downloads/"
TARGET="_top"
>PageKite</A
> website. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN473"
>6.10. Secure Shell</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN475"
>6.10.1. What is Secure Shell?</A
></H4
><P
>FreedomBox runs <FONT
COLOR="RED"
>openssh-server</FONT
> server by default allowing remote logins from all interfaces. If your hardware device is connected to a monitor and a keyboard, you may login directly as well. Regular operation of FreedomBox does not require you to use the shell. However, some tasks or identifying a problem may require you to login to a shell. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN479"
>6.10.2. Default User Account</A
></H4
><P
>The pre-built FreedomBox images have a default user account called "fbx". However the password is not set for this account, so it will not be possible to log in with this account by default. </P
><P
>There is a script included in the freedom-maker program, that will allow you to set the password for this account, if it is needed. To set a password for the "fbx" user: </P
><P
>1. Decompress the image file. </P
><P
>2. Get a copy of freedom-maker from <A
HREF="https://github.com/freedombox/freedom-maker"
TARGET="_top"
>https://github.com/freedombox/freedom-maker</A
>. </P
><P
>3. Run <FONT
COLOR="RED"
>sudo ./bin/passwd-in-image <image-file> fbx</FONT
>. </P
><P
>4. Copy the image file to SD card and boot device as normal. </P
><P
>The "fbx" user also has superuser privileges via sudo. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN490"
>6.10.3. Logging In</A
></H4
><P
>To login via SSH, to your FreedomBox: </P
><PRE
CLASS="screen"
>$ ssh fbx@freedombox</PRE
><P
>Replace <FONT
COLOR="RED"
>fbx</FONT
> with the name of the user you wish to login as. <FONT
COLOR="RED"
>freedombox</FONT
> should be replaced with the hostname or IP address of you FreedomBox device as found in the <A
HREF="https://wiki.debian.org/FreedomBox/Manual/QuickStart#"
TARGET="_top"
>Quick Start</A
> process. </P
><P
><FONT
COLOR="RED"
>fbx</FONT
> is the default user present on FreedomBox with superuser privileges. Any other user created using Plinth and belonging to the group <FONT
COLOR="RED"
>admin</FONT
> will be able to login. The <FONT
COLOR="RED"
>root</FONT
> account has no password set and will not be able to login. Access will be denied to all other users. </P
><P
><FONT
COLOR="RED"
>fbx</FONT
> and users in <FONT
COLOR="RED"
>admin</FONT
> group will also be able to login on the terminal directly. Other users will be denied access. </P
><P
>If you repeatedly try to login as a user and fail, you will be blocked from logging in for some time. This is due to <FONT
COLOR="RED"
>libpam-abl</FONT
> package that FreedomBox installs by default. To control this behavior consult <FONT
COLOR="RED"
>libpam-abl</FONT
> documentation. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN508"
>6.10.4. Becoming Superuser</A
></H4
><P
>After logging in, if you want to become the superuser for performing administrative activities: </P
><PRE
CLASS="screen"
>$ sudo su</PRE
><P
>Make a habit of logging in as root <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>only when you need to</I
></SPAN
>. If you aren't logged in as root, you can't accidentally break everything. </P
><P
> <A
NAME="changingpassword"
></A
>
</P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN516"
>6.10.5. Changing Password</A
></H4
><P
>To change the password of a user managed by Plinth, use the change password page. However, the <FONT
COLOR="RED"
>fbx</FONT
> default user is not managed by Plinth and its password cannot be changed in the web interface. </P
><P
>To change password on the terminal, log in to your FreedomBox as the user whose password you want to change. Then, run the following command: </P
><PRE
CLASS="screen"
>$ passwd</PRE
><P
>This will ask you for your current password before giving you the opportunity to set a new one. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN523"
>6.11. Mumble</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN525"
>6.11.1. What is Mumble?</A
></H4
><P
>Mumble is a voice chat software. Primarily intended for use while gaming, it is suitable for simple talking with high audio quality, noise suppression, encrypted communication, public/private-key authentication by default, and "wizards" to configure your microphone for instance. A user can be marked as a "priority speaker" within a channel. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN528"
>6.12. Privoxy</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN530"
>6.12.1. What is Privoxy?</A
></H4
><P
>Privoxy is a software for security, privacy, and accurate control over the web. It provides a much more powerful web proxy (anonymity on the web) than what your browser can offer. Privoxy "is a proxy that is primarily focused on privacy enhancement, ad and junk elimination and freeing the user from restrictions placed on his activities" (source: <A
HREF="http://www.privoxy.org/faq/index.html"
TARGET="_top"
>Privoxy FAQ</A
>). Learning about networking protocols like HTTP, about HTML, and "Regular Expressions" can help a lot using Privoxy. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN534"
>6.13. Wiki & Blog (Ikiwiki)</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN536"
>6.13.1. What is Ikiwiki?</A
></H4
><P
>Ikiwiki converts wiki pages into HTML pages suitable for publishing on a website. It provides particularly blogging, podcasting, calendars and a large selection of plugins. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN539"
>6.13.2. Creating a wiki or blog</A
></H4
><P
>You can create a wiki or blog to be hosted on your FreedomBox through the Wiki & Blog (Ikiwiki) page in Plinth. The first time you visit this page, it will ask to install packages required by Ikiwiki. </P
><P
>After the package install has completed, select the Create tab. You can select the type to be Wiki or Blog. Also type in a name for the wiki or blog, and the username and password for the wiki's/blog's admin account. Then click Update setup and you will see the wiki/blog added to your list. Note that each wiki/blog has its own admin account. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN543"
>6.13.3. Accessing your wiki or blog</A
></H4
><P
>From the Wiki & Blog (Ikiwiki) page, select the Manage tab and you will see a list of your wikis and blogs. Click a name to navigate to that wiki or blog. </P
><P
>From here, if you click Edit or Preferences, you will be taken to a login page. To log in with the admin account that you created before, select the Other tab, enter the username and password, and click Login. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN547"
>6.13.4. User login through SSO</A
></H4
><P
>Besides the wiki/blog admin, other FreedomBox users can be given access to login and edit wikis and blogs. However, they will not have all the same permissions as the wiki admin. They can add or edit pages, but cannot change the wiki's configuration. </P
><P
>To add a wiki user, go to the Users and Groups page in Plinth (under System configuration, the gear icon at the top right corner of the page). Create or modify a user, and add them to the wiki group. (Users in the admin group will also have wiki access.) </P
><P
>To login as a FreedomBox user, go to the wiki/blog's login page and select the Other tab. Then click the "Login with HTTP auth" button. The browser will show a popup dialog where you can enter the username and password of the FreedomBox user. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN552"
>6.14. Unhosted Storage</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN554"
>6.14.1. What is Unhosted?</A
></H4
><P
><A
HREF="http://unhosted.org/"
TARGET="_top"
>Unhosted</A
> is a way to uncouple web applications from data. No matter where a web application is served from, the data can be stored on an Unhosted storage server of user's choice. Unhosted web apps do not send your user data to their server and are hence known as "serverless", "client-side", or "static" web apps. Either you connect your own server at runtime, or your data stays within the browser. Your FreedomBox can become your Unhosted storage server using a remoteStorage server know as <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>reStore</I
></SPAN
>. </P
><DIV
CLASS="note"
><P
></P
><TABLE
CLASS="note"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>This module is currently disabled in FreedomBox as the package required for reStore server is not available in Debian yet. The package is available for testing via <A
HREF="http://debian-dev.freedombox.at/"
TARGET="_top"
>http://debian-dev.freedombox.at/</A
> </P
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN562"
>6.14.2. Setup</A
></H4
><P
>Your FreedomBox contains a remoteStorage server called <A
HREF="https://github.com/jcoglan/restore"
TARGET="_top"
>reStore</A
>, that can serve as your personal storage server for Unhosted web apps. To setup reStore, simply install and enable in FreedomBox web UI. After the setup, create an account by visiting the link provided on the Unhosted app page <FONT
COLOR="RED"
>https://<yourdomain>/restore/</FONT
>. </P
><DIV
CLASS="warning"
><P
></P
><TABLE
CLASS="warning"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/warning.gif"
HSPACE="5"
ALT="Warning"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>User accounts are currently not integrated with Plinth user management, and public sign-up is enabled! </P
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN569"
>6.14.3. Try Unhosted apps</A
></H4
><P
>Once Unhosted is setup on FreedomBox and when FreedomBox is accessible by a domain name (such by using PageKite, Dynamic DNS or Tor Hidden Service), try one of the following Unhosted web apps (more are listed at <A
HREF="http://unhosted.org/apps"
TARGET="_top"
>http://unhosted.org/apps</A
>): </P
><P
></P
><UL
><LI
><P
><A
HREF="http://litewrite.net/"
TARGET="_top"
>http://litewrite.net/</A
> (a note taking application) </P
></LI
><LI
><P
><A
HREF="https://myfavoritedrinks.5apps.com/"
TARGET="_top"
>https://myfavoritedrinks.5apps.com/</A
> (list your favorite drinks) </P
></LI
><LI
><P
><A
HREF="https://todomvc.5apps.com/labs/architecture-examples/remotestorage/"
TARGET="_top"
>https://todomvc.5apps.com/labs/architecture-examples/remotestorage/</A
> (a simple todo list) </P
></LI
></UL
><P
>To connect the Unhosted app to your FreedomBox's Unhosted storage, click on the remoteStorage icon and type your address <FONT
COLOR="RED"
><user>@<yourdomain></FONT
>, e.g.: </P
><P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/remotestorage.png"></SPAN
>
</P
><P
>If this doesn't work, make sure that </P
><P
></P
><UL
><LI
><P
>FreedomBox has a domain name using PageKite, Dynamic DNS or Tor Hidden Service. </P
></LI
><LI
><P
>The reStore server is running. </P
></LI
><LI
><P
>You have created the account specified in the reStore server. </P
></LI
><LI
><P
>Your FreedomBox SSL certificate is trusted in your current browser session (important when using private browsing). </P
></LI
></UL
><P
>Finish the OAuth flow by authenticating with your password and authorizing access, then you should get redirected back to the Unhosted app, and be able to use it. All data of the Unhosted web app is now stored on your FreedomBox. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN602"
>6.15. OpenVPN</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN604"
>6.15.1. What is OpenVPN?</A
></H4
><P
>OpenVPN provides to your FreedomBox a virtual private network service. You can use this software for remote access, site-to-site VPNs and Wi-Fi security. OpenVPN includes support for dynamic IP addresses and NAT. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN607"
>6.16. GnuSocial</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN609"
>6.16.1. What is GNU social?</A
></H4
><P
>GNU social is a continuation of the <A
HREF="https://wiki.debian.org/StatusNet#"
TARGET="_top"
>StatusNet</A
> project. It is social communication software for both public and private communications. It is widely supported and has a large userbase. It is already used by the Free Software Foundation, and Richard Stallman himself. Think of GNU Social as twitter and beyond. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN613"
>6.16.2. Status of package</A
></H4
><P
>GNU Social is still getting packaged for debian and will be available soon for everyone to use. check the progress by tracking the bug #782812. </P
></DIV
></DIV
></DIV
><DIV
CLASS="section"
><HR><H2
CLASS="section"
><A
NAME="AEN616"
>7. System</A
></H2
><DIV
CLASS="section"
><H3
CLASS="section"
><A
NAME="AEN618"
>7.1. Networks</A
></H3
><P
>This section describes how networking is setup by default in FreedomBox and how you can customize it. See also the <A
HREF="https://wiki.debian.org/FreedomBox/Manual/Firewall#"
TARGET="_top"
>Firewall</A
> section for more information on how firewall works. </P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN622"
>7.1.1. Default setup</A
></H4
><P
>In a fresh image of FreedomBox, network is not configured at all. When the image is written to an SD card and the device boots, configuration is done. During first boot, FreedomBox setup package detects the networks interfaces and tries to automatically configure them so that FreedomBox is available for further configuration via the web interface from another machine without the need to connect a monitor. Automatic configuration also tries to make FreedomBox useful, out of the box, for the most important scenarios FreedomBox is used for. </P
><P
>There are two scenarios it handles: when is a single ethernet interface and when there are multiple ethernet interfaces. </P
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN626"
>7.1.1.1. Single ethernet interface</A
></H5
><P
>When there is only single ethernet interface available on the hardware device, there is not much scope for it to play the role of a router. In this case, the device is assumed to be just another machine in the network. Accordingly, the only available interface is configured to be an <FONT
COLOR="RED"
>internal</FONT
> interface in <FONT
COLOR="RED"
>automatic</FONT
> configuration mode. This means that it connects to the Internet using the configuration provided by a router in the network and also makes all (internal and external) of its services available to all the clients on this network. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN631"
>7.1.1.2. Multiple ethernet interface</A
></H5
><P
>When there are multiple ethernet interfaces available on the hardware device, the device can act as a router. The interfaces are then configured to perform this function. </P
><P
>The first network interface is configured to be an WAN or <FONT
COLOR="RED"
>external</FONT
> interface in automatic configuration mode. This means that it connects to the Internet using network configuration provided by the Internet Service Provider (ISP). Only services that are meant to be provided across the entire Internet (external services) will be exposed on this interface. You must plug your Internet connection into the port of this ethernet interface. If you wish to continue to have your existing router manage the Internet connection for you, then plug a connection from your router to the port on this interface. </P
><P
>The remaining network interfaces are configured for the clients of a router. They are configured as LAN or <FONT
COLOR="RED"
>internal</FONT
> interfaces in <FONT
COLOR="RED"
>shared</FONT
> configuration mode. This means that all the services (both external and internal) services are provided to who ever connects on this interface. Further, the <FONT
COLOR="RED"
>shared</FONT
> mode means that clients will be able to receive details of automatic network connection on this interface. Specifically, DHCP configuration and DNS servers are provided on this interface. The Internet connection available to the device using the first network interface will be <FONT
COLOR="RED"
>shared</FONT
> with clients using this interface. This all means that you can connect your computers to this network interface and they will get automatically configured and will be able to access the Internet via the FreedomBox. </P
><P
>Currently, it is not very clear which interface will be come the WAN interface (and the remaining being LAN interfaces) although the assignment process is deterministic. So, it take a bit of trail and error to figure out which one is which. In future, for each device, this will be well documented. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN642"
>7.1.1.3. Wi-Fi configuration</A
></H5
><P
>All Wi-Fi interfaces are configured to be LAN or <FONT
COLOR="RED"
>internal</FONT
> interfaces in <FONT
COLOR="RED"
>shared</FONT
> configuration mode. They are also configured to become Wi-Fi access points with following details. </P
><P
></P
><UL
><LI
><P
>Name of the access point will be <FONT
COLOR="RED"
>FreedomBox</FONT
> plus the name of the interface (to handle the case where there are multiple of them). </P
></LI
><LI
><P
>Password for connecting to the interface will be <FONT
COLOR="RED"
>freedombox123</FONT
>. </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN654"
>7.1.2. Internet Connection Sharing</A
></H4
><P
>Although the primary duty of FreedomBox is to provide decentralized services, it can't also act like a home router. Hence, in most cases, FreedomBox connects to the Internet and provides other machines in the network the ability to use that Internet connection. FreedomBox can do this in two ways: using a <FONT
COLOR="RED"
>shared</FONT
> mode connection or using an <FONT
COLOR="RED"
>internal</FONT
> connection. </P
><P
>When an interface is set in <FONT
COLOR="RED"
>shared</FONT
> mode, you may connect your machine directly to it. This is either by plugging in an ethernet cable from this interface to your machine or by connecting to a Wi-Fi access point. This case is the simplest to use, as FreedomBox automatically provides your machine with the necessary network configuration. Your machine will automatically connect to FreedomBox provided network and will be able to connect to the Internet given that FreedomBox can itself connect to the Internet. </P
><P
>Sometimes the above setup may not be possible because the hardware device may have only one network interface or for other reasons. Even in this case, your machine can still connect to the Internet via FreedomBox. For this to work, make sure that the network interface that your machine is connecting to is in <FONT
COLOR="RED"
>internal</FONT
> mode. Then, connect your machine to network in which FreedomBox is present. After this, in your machine's network configuration, set FreedomBox's IP address as the gateway. FreedomBox will then accept your network traffic from your machine and send it over to the Internet. This works because network interfaces in <FONT
COLOR="RED"
>internal</FONT
> mode are configured to <FONT
COLOR="RED"
>masquerade</FONT
> packets from local machines to the Internet and receive packets from Internet and forward them back to local machines. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN665"
>7.1.3. Customization</A
></H4
><P
>The above default configuration may not be fit for your setup. You can customize the configuration to suit your needs from the <FONT
COLOR="RED"
>Networks</FONT
> area in the 'setup' section of the FreedomBox web interface. </P
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN669"
>7.1.3.1. PPPoE connections</A
></H5
><P
>If your ISP does not provide automatic network configuration via DHCP and requires you to connection via PPPoE. To configure PPPoE, remove any network connection existing on an interface and add a PPPoE connection. Here, optionally, provide the account username and password given by your ISP and activate the connection. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN672"
>7.1.3.2. Connect to Internet via Wi-Fi</A
></H5
><P
>By default Wi-Fi devices attached during first boot will be configured as access points. They can be configured as regular Wi-Fi devices instead to connection to a local network or an existing Wi-Fi router. To do this, click on the Wi-Fi connection to edit it. Change the mode to <FONT
COLOR="RED"
>Infrastructure</FONT
> instead of <FONT
COLOR="RED"
>Access Point</FONT
> mode and <FONT
COLOR="RED"
>IPv4 Addressing Method</FONT
> to <FONT
COLOR="RED"
>Automatic (DHCP)</FONT
> instead of <FONT
COLOR="RED"
>Shared</FONT
> mode. Then the SSID provided will mean the Wi-Fi network name you wish to connect to and passphrase will be the used to while making the connection. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN680"
>7.1.3.3. Adding a new network device</A
></H5
><P
>When a new network device is added, network manager will automatically configure it. In most cases this will not work to your liking. Delete the automatic configuration created on the interface and create a new network connection. Select your newly added network interface in the add connection page. </P
><P
></P
><UL
><LI
><P
>Then set firewall zone to <FONT
COLOR="RED"
>internal</FONT
> and <FONT
COLOR="RED"
>external</FONT
> appropriately. </P
></LI
><LI
><P
>You can configure the interface to connect to a network or provide network configuration to whatever machine connects to it. </P
></LI
><LI
><P
>Similarly, if it is a Wi-Fi interface, you can configure it to become a Wi-FI access point or to connect to an existing access points in the network. </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN692"
>7.1.4. Manual Network Operation</A
></H4
><P
>FreedomBox automatically configures networks by default and provides a simplified interface to customize the configuration to specific needs. In most cases, manual operation is not necessary. The following steps describe how to manually operate network configuration in the event that a user finds FreedomBox interface to insufficient for task at hand or to diagnose a problem that FreedomBox does not identify. </P
><P
>On the command line interface: </P
><P
>To see the list of available network devices: </P
><PRE
CLASS="screen"
>nmcli device</PRE
><P
>To see the list of configured connections: </P
><PRE
CLASS="screen"
>nmcli connection</PRE
><P
>To see the current status of a connection: </P
><PRE
CLASS="screen"
>nmcli connection show '<conneciton_name>'</PRE
><P
>To see the current firewall zone assigned to a network interface: </P
><PRE
CLASS="screen"
>nmcli connection show '<conneciton_name>' | grep zone</PRE
><P
>or </P
><PRE
CLASS="screen"
>firewall-cmd --zone=internal --list=all
firewall-cmd --zone=external --list=all</PRE
><P
>To create a new network connection: </P
><PRE
CLASS="screen"
>nmcli con add con-name "<connection_name>" ifname "<interface>" type ethernet
nmcli con modify "<connection_name>" connection.autoconnect TRUE
nmcli con modify "<connection_name>" connection.zone internal</PRE
><P
>To change the firewall zone for a connection: </P
><PRE
CLASS="screen"
>nmcli con modify "<connection_name>" connection.zone "<internal|external>"</PRE
><P
>For more information on how to use <FONT
COLOR="RED"
>nmcli</FONT
> command, see its man page. Also for a full list of configuration settings and type of connections accepted by Network Manager see: </P
><P
> <A
HREF="https://developer.gnome.org/NetworkManager/stable/ref-settings.html"
TARGET="_top"
>https://developer.gnome.org/NetworkManager/stable/ref-settings.html</A
>
</P
><P
>To see the current status of the firewall and manually operate it, see the <A
HREF="https://wiki.debian.org/FreedomBox/Manual/Firewall#"
TARGET="_top"
>Firewall</A
> section. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN716"
>7.2. Upgrades</A
></H3
><P
>FreedomBox can automatically install security upgrades. On the <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Upgrades</I
></SPAN
> page of the <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Settings</I
></SPAN
> section in Plinth you can turn on automatic upgrades. For FreedomBox versions above 0.5, this feature is enabled by default and there is no manual action necessary. It is strongly recommended that you have this option enabled to keep your FreedomBox secure. </P
><P
>Upgrades are performed every day at night. If you wish to shutdown FreedomBox every day after use, keep it running at night once a week or so to let the automatic upgrades happen. Alternatively, you can perform manual upgrades as described below. </P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN722"
>7.2.1. Manual Upgrades</A
></H4
><P
>In the Plinth web interface, you can initiate a manual upgrade process from <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Upgrades</I
></SPAN
> page of the <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Settings</I
></SPAN
> section. Note that once the upgrades start, it may take a long time to complete and Plinth may seem to wait for the page to load. </P
><P
>Under some circumstances, automatic upgrades may fail and require you perform a manual upgrade action. Even upgrades initiated from Plinth may not finish properly. This may be because the upgrade process requires you to make a decision. In these cases, manual upgrade on the terminal may be the only option. </P
><P
>In addition, while the upgrade task is running any application installations will wait until the upgrade task is finished. Depending on the hardware, the upgrade task may take a little time, therefore, giving the impression that the application installation stalled. </P
><P
>To perform manual upgrades on the terminal, login into FreedomBox on a terminal or using a remote secure shell (see <A
HREF="https://wiki.debian.org/FreedomBox/Manual/SecureShell#"
TARGET="_top"
>Secure Shell</A
> section). Then run the following commands: </P
><PRE
CLASS="screen"
>$ sudo su -
Password:
# apt-get update
# apt-get dist-upgrade</PRE
><P
>This will ask you if it is alright to install/upgrade (or remove) some packages and use (or release) some disk space. Say <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>yes</I
></SPAN
> after review. In some cases, during the upgrades process you will be asked questions about modified configuration files, answering with a default <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Keep current configuration</I
></SPAN
> is usually safe. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN735"
>7.3. Firewall</A
></H3
><P
>Firewall is a network security system that controls the incoming and outgoing network traffic. Keeping a firewall enabled and properly configured reduces risk of security threat from the Internet. </P
><P
>The operation of the firewall in Plinth web interface of FreedomBox is automatic. When you enable a service it is automatically permitted in the firewall and when you disable a service it is automatically disabled in the firewall. For services which are enabled by default on FreedomBox, firewall ports are also enabled by default during the first run process. </P
><P
>Firewall management in FreedomBox is done using <A
HREF="https://fedoraproject.org/wiki/FirewallD"
TARGET="_top"
>FirewallD</A
>. </P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN741"
>7.3.1. Interfaces</A
></H4
><P
>Each interface is needs to be assigned to one (and only one) zone. Whatever rules are in effect for a zone, those rules start to apply for that interface. For example, if HTTP traffic is allowed in a particular zone, then web requests will be accepted on all the addresses configured for all the interfaces assigned to that zone. </P
><P
>There are primarily two firewall zones used. The <FONT
COLOR="RED"
>internal</FONT
> zone is meant for services that are provided to all machines on the local network. This may include services such as streaming media and simple file sharing. The <FONT
COLOR="RED"
>external</FONT
> zone is meant for services that are provided publicly on the Internet. This may include services such as blog, website, email web client etc. </P
><P
>For details on how network interfaces are configured by default, see the <A
HREF="https://wiki.debian.org/FreedomBox/Manual/Networks#"
TARGET="_top"
>Networks</A
> section. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN749"
>7.3.2. Ports/Services</A
></H4
><P
>The following table attempts to document the ports, services and their default statuses in FreedomBox. If you find this page outdated, see the Plinth source for <A
HREF="http://sources.debian.net/src/plinth/latest/data/usr/lib/freedombox/first-run.d/90_firewall"
TARGET="_top"
>lib/freedombox/first-run.d/90_firewall</A
> and Firewall status page in Plinth UI. </P
><DIV
CLASS="informaltable"
><P
></P
><A
NAME="AEN753"
></A
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><COL
WIDTH="1*"
TITLE="col_0"><COL
WIDTH="1*"
TITLE="col_1"><COL
WIDTH="1*"
TITLE="col_2"><COL
WIDTH="1*"
TITLE="col_3"><COL
WIDTH="1*"
TITLE="col_4"><COL
WIDTH="1*"
TITLE="col_5"><TBODY
><TR
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Service</B
></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Port</B
></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>External</B
></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Enabled by default</B
></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Status shown in Plinth</B
></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Managed by Plinth</B
></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> SSH </P
>
</TD
><TD
> <P
> 22/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_on.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> JWChat </P
>
</TD
><TD
> <P
> 80/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_on.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> JWChat </P
>
</TD
><TD
> <P
> 443/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_on.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> OwnCloud </P
>
</TD
><TD
> <P
> 80/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_on.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> OwnCloud </P
>
</TD
><TD
> <P
> 443/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_on.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> Plinth </P
>
</TD
><TD
> <P
> 443/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_on.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> Tor (Socks) </P
>
</TD
><TD
> <P
> 9050/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_off.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> NTP </P
>
</TD
><TD
> <P
> 123/udp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_off.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> DNS </P
>
</TD
><TD
> <P
> 53/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_off.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> DNS </P
>
</TD
><TD
> <P
> 53/tdp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_off.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> mDNS </P
>
</TD
><TD
> <P
> 5353/udp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_off.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> DHCP </P
>
</TD
><TD
> <P
> 67/udp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_off.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> Bootp </P
>
</TD
><TD
> <P
> 67/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_off.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> Bootp </P
>
</TD
><TD
> <P
> 67/udp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_off.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> Bootp </P
>
</TD
><TD
> <P
> 68/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_off.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> Bootp </P
>
</TD
><TD
> <P
> 68/udp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_off.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> LDAP </P
>
</TD
><TD
> <P
> 389/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_off.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> LDAPS </P
>
</TD
><TD
> <P
> 636/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_off.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> OpenVPN </P
>
</TD
><TD
> <P
> 1194/udp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_on.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> Privoxy </P
>
</TD
><TD
> <P
> 8118/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_off.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> XMPP Server </P
>
</TD
><TD
> <P
> 5269/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_on.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> XMPP Client </P
>
</TD
><TD
> <P
> 5222/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_on.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> XMPP Bosh </P
>
</TD
><TD
> <P
> 5280/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_on.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> Obfsproxy </P
>
</TD
><TD
> <P
> <random>/tcp </P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/star_on.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1573"
>7.3.3. Manual operation</A
></H4
><P
>See <A
HREF="https://fedoraproject.org/wiki/FirewallD"
TARGET="_top"
>FirewallD</A
> documentation for more information on the basic concepts and comprehensive documentation. </P
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN1577"
>7.3.3.1. Enable/disable firewall</A
></H5
><P
>To disable firewall </P
><PRE
CLASS="screen"
>service firewalld stop</PRE
><P
>or with systemd </P
><PRE
CLASS="screen"
>systemctl stop firewalld</PRE
><P
>To re-enable firewall </P
><PRE
CLASS="screen"
>service firewalld start</PRE
><P
>or with systemd </P
><PRE
CLASS="screen"
>systemctl start firewalld</PRE
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN1587"
>7.3.3.2. Modifying services/ports</A
></H5
><P
>You can manually add or remove a service from a zone. </P
><P
>To see list of services enabled: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=<zone> --list-services</PRE
><P
>Example: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=internal --list-services</PRE
><P
>To see list of ports enabled: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=<zone> --list-ports</PRE
><P
>Example: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=internal --list-ports</PRE
><P
>To remove a service from a zone: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=<zone> --remove-service=<service>
firewall-cmd --permanent --zone=<zone> --remove-service=<interface></PRE
><P
>Example: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=internal --remove-service=xmpp-bosh
firewall-cmd --permanent --zone=internal --remove-service=xmpp-bosh</PRE
><P
>To remove a port from a zone: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=internal --remove-port=<port>/<protocol>
firewall-cmd --permanent --zone=internal --remove-port=<port>/<protocol></PRE
><P
>Example: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=internal --remove-port=5353/udp
firewall-cmd --permanent --zone=internal --remove-port=5353/udp</PRE
><P
>To add a service to a zone: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=<zone> --add-service=<service>
firewall-cmd --permanent --zone=<zone> --add-service=<interface></PRE
><P
>Example: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=internal --add-service=xmpp-bosh
firewall-cmd --permanent --zone=internal --add-service=xmpp-bosh</PRE
><P
>To add a port to a zone: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=internal --add-port=<port>/<protocol>
firewall-cmd --permanent --zone=internal --add-port=<port>/<protocol></PRE
><P
>Example: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=internal --add-port=5353/udp
firewall-cmd --permanent --zone=internal --add-port=5353/udp</PRE
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN1614"
>7.3.3.3. Modifying the zone of interfaces</A
></H5
><P
>You can manually change the assignment of zones of each interfaces after they have been autuomatically assigned by the first boot process. </P
><P
>To see current assignment of interfaces to zones: </P
><PRE
CLASS="screen"
>firewall-cmd --list-all-zones</PRE
><P
>To remove an interface from a zone: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=<zone> --remove-interface=<interface>
firewall-cmd --permanent --zone=<zone> --remove-interface=<interface></PRE
><P
>Example: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=external --remove-interface=eth0
firewall-cmd --permanent --zone=external --remove-interface=eth0</PRE
><P
>To add an interface to a zone: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=<zone> --add-interface=<interface>
firewall-cmd --permanent --zone=<zone> --add-interface=<interface></PRE
><P
>Example: </P
><PRE
CLASS="screen"
>firewall-cmd --zone=internal --add-interface=eth0
firewall-cmd --permanent --zone=internal --add-interface=eth0</PRE
></DIV
></DIV
></DIV
></DIV
><DIV
CLASS="section"
><HR><H2
CLASS="section"
><A
NAME="AEN1627"
>8. Hardware</A
></H2
><P
>FreedomBox is aimed as a consumer electronics device that is easy to setup, maintain and use. The project does not aim to create a custom hardware device. Instead we plan to support/customize exiting hardware. </P
><P
>In addition to supporting various single board computers and other devices, FreedomBox also supports being installed in a virtual machine. Also, any Debian machine can be turned into a FreedomBox by installing the <FONT
COLOR="RED"
>freedombox-setup</FONT
> package. See the <A
HREF="https://wiki.debian.org/FreedomBox/Manual#"
TARGET="_top"
>manual</A
> for more details. </P
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN1633"
>8.1. Supported Hardware</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN1635"
>8.1.1. Recommended Hardware</A
></H4
><DIV
CLASS="informaltable"
><P
></P
><A
NAME="AEN1637"
></A
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><COL
WIDTH="1*"
TITLE="col_0"><COL
WIDTH="1*"
TITLE="col_1"><COL
WIDTH="1*"
TITLE="col_2"><COL
WIDTH="1*"
TITLE="col_3"><COL
WIDTH="1*"
TITLE="col_4"><TBODY
><TR
><TD
ALIGN="center"
> <P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Cubietruck#"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/danube_thumb.png"
WIDTH="117.5pt"
HEIGHT="103pt"></SPAN
>
</A
>
</P
>
<P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Cubietruck#"
TARGET="_top"
>FreedomBox - Danube Edition</A
>
</P
>
<P
> (based on Cubietruck) </P
>
</TD
><TD
ALIGN="center"
> <P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Cubieboard2#"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/cubieboard2_thumb.jpg"
WIDTH="117.5pt"
HEIGHT="78pt"></SPAN
>
</A
>
</P
>
<P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Cubieboard2#"
TARGET="_top"
>Cubieboard2</A
>
</P
>
</TD
><TD
ALIGN="center"
> <P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/BeagleBone#"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/beagleboard_thumb.jpg"
WIDTH="117.5pt"
HEIGHT="78.5pt"></SPAN
>
</A
>
</P
>
<P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/BeagleBone#"
TARGET="_top"
>BeagleBone Black</A
>
</P
>
</TD
><TD
> </TD
><TD
> </TD
></TR
><TR
><TD
ALIGN="center"
> <P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/A20-OLinuXino-Lime2#"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/a20-olinuxino-lime2_thumb.jpg"
WIDTH="117.5pt"
HEIGHT="79.5pt"></SPAN
>
</A
>
</P
>
<P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/A20-OLinuXino-Lime2#"
TARGET="_top"
>A20 OLinuXino Lime2</A
>
</P
>
</TD
><TD
ALIGN="center"
> <P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/A20-OLinuXino-MICRO#"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/a20-olinuxino-micro_thumb.jpg"
WIDTH="117.5pt"
HEIGHT="66pt"></SPAN
>
</A
>
</P
>
<P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/A20-OLinuXino-MICRO#"
TARGET="_top"
>A20 OLinuXino MICRO</A
>
</P
>
</TD
><TD
ALIGN="center"
> <P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/APU#"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/apu1d_thumb.jpg"
WIDTH="117.5pt"
HEIGHT="78.5pt"></SPAN
>
</A
>
</P
>
<P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/APU#"
TARGET="_top"
>PC Engines APU</A
>
</P
>
</TD
><TD
> </TD
><TD
> </TD
></TR
><TR
><TD
ALIGN="center"
> <P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Debian#"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/debian_thumb.png"
WIDTH="78pt"
HEIGHT="100.5pt"></SPAN
>
</A
>
</P
>
<P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Debian#"
TARGET="_top"
>Debian</A
>
</P
>
</TD
><TD
ALIGN="center"
> <P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/VirtualBox#"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/virtualbox_thumb.png"
WIDTH="117.5pt"
HEIGHT="77pt"></SPAN
>
</A
>
</P
>
<P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/VirtualBox#"
TARGET="_top"
>VirtualBox</A
>
</P
>
</TD
><TD
> <P
>.</P
>
</TD
><TD
> <P
>.</P
>
</TD
><TD
> <P
>.</P
>
</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1735"
>8.1.2. Also Working Hardware</A
></H4
><P
>This hardware works but is not recommended due to freedom, performance-per-cost, or other concerns: </P
><DIV
CLASS="informaltable"
><P
></P
><A
NAME="AEN1738"
></A
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><COL
WIDTH="1*"
TITLE="col_0"><COL
WIDTH="1*"
TITLE="col_1"><COL
WIDTH="1*"
TITLE="col_2"><TBODY
><TR
><TD
ALIGN="center"
> <P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/DreamPlug#"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/dreamplug_thumb.jpg"
WIDTH="117.5pt"
HEIGHT="78pt"></SPAN
>
</A
>
</P
>
<P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/DreamPlug#"
TARGET="_top"
>DreamPlug</A
>
</P
>
</TD
><TD
ALIGN="center"
> <P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/RaspberryPi#"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/raspberry_thumb.jpg"
WIDTH="117.5pt"
HEIGHT="79pt"></SPAN
>
</A
>
</P
>
<P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/RaspberryPi#"
TARGET="_top"
>Raspberry Pi</A
>
</P
>
</TD
><TD
ALIGN="center"
> <P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/RaspberryPi2#"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/raspberry2_thumb.jpg"
WIDTH="117.5pt"
HEIGHT="78.5pt"></SPAN
>
</A
>
</P
>
<P
> <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/RaspberryPi2#"
TARGET="_top"
>Raspberry Pi 2</A
>
</P
>
</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
><P
><SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Note</I
></SPAN
>: As FreedomBox is in development state, <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Supported Hardware</I
></SPAN
> means that FreedomBox images are built for the said hardware and at least one developers has reported the basic functions to be working. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN1778"
>8.2. Targeted Hardware</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN1780"
>8.2.1. List of Hardware Targeted</A
></H4
><P
>Although the project may focus on supporting specific devices, we are looking to support as wider a variety of hardware as possible that is suitable for FreedomBox needs. Take a look at the list of <A
HREF="https://wiki.debian.org/FreedomBox/TargetedHardware#"
TARGET="_top"
>hardware targeted</A
> for support. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1784"
>8.2.2. Adding Hardware Support</A
></H4
><P
>If you are a developer, consider adding hardware support for your device by modifying <A
HREF="https://wiki.debian.org/FreedomBox/Maker#"
TARGET="_top"
>Freedom Maker</A
> and <A
HREF="https://wiki.debian.org/FreedomBox/Setup#"
TARGET="_top"
>FreedomBox Setup</A
>. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN1789"
>8.3. Cubietruck</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN1791"
>8.3.1. FreedomBox Danube Edition</A
></H4
><P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/freedombox-danube.jpg"
WIDTH="320pt"
HEIGHT="280.5pt"></SPAN
>
</P
><P
><A
HREF="http://projectdanube.org/freedombox/"
TARGET="_top"
>FreedomBox Danube Edition</A
> is a custom casing around Cubietruck coupled with an SSD. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1801"
>8.3.2. Cubietruck / Cubieboard3</A
></H4
><P
><A
HREF="http://cubieboard.org/model/"
TARGET="_top"
>Cubietruck</A
> (Cubieboard3) is a single board computer with better performance than many other such boards. FreedomBox images are being built for it. For using this board as FreedomBox, a separate <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> that does not require non-free firmware is recommended. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1806"
>8.3.3. Download</A
></H4
><P
>FreedomBox SD card <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>images</A
> for this hardware are being built. These SD card images are meant for use with the on-board SD card slot and won't work when used with a separate SD card reader connected via USB. </P
><P
>An alternative to downloading these images is to <A
HREF="https://wiki.debian.org/InstallingDebianOn/Allwinner#"
TARGET="_top"
>install Debian</A
> on Cubietruck and then <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Debian#"
TARGET="_top"
>install FreedomBox</A
> on it. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1813"
>8.3.4. Build Image</A
></H4
><P
>FreedomBox images for this hardware can be built using <A
HREF="https://wiki.debian.org/FreedomBox/Maker#"
TARGET="_top"
>Freedom Maker</A
>. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1817"
>8.3.5. Availability</A
></H4
><P
>FreedomBox Danue Edition </P
><P
></P
><UL
><LI
><P
>A limited number of units are planned to be shipped along with the release of FreedomBox 1.0. If you wish to get one, <A
HREF="http://projectdanube.org/freedombox/"
TARGET="_top"
>express your interest</A
>. </P
></LI
></UL
><P
>Cubietruck / Cubieboard3 </P
><P
></P
><UL
><LI
><P
>Price: 89 USD </P
></LI
><LI
><P
> <A
HREF="http://cubieboard.org/buy/"
TARGET="_top"
>List of suppliers</A
>
</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1831"
>8.3.6. Hardware</A
></H4
><P
></P
><UL
><LI
><P
>Open Hardware: No </P
></LI
><LI
><P
>CPU: Allwinner A20, ARM Cortex-A7 @ 1GHz dual-core </P
></LI
><LI
><P
>RAM: 2 GiB DDR3 @ 480 MHz </P
></LI
><LI
><P
>Storage: 8 GB NAND flash built-in, 1x microSD slot </P
></LI
><LI
><P
>Architecture: armhf </P
></LI
><LI
><P
>Ethernet: 10/100/1000, RJ45 </P
></LI
><LI
><P
>WiFi: Broadcom BCM4329/BCM40181 (no free WiFi drivers + firmware available) </P
></LI
><LI
><P
>SATA: 1x 2.0 port </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1850"
>8.3.7. Non-Free Status</A
></H4
><P
></P
><UL
><LI
><P
>Non-free blobs required: ? </P
></LI
><LI
><P
>WiFi: no free WiFi drivers + firmware available </P
></LI
><LI
><P
>Works with stock Debian kernel: yes </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1859"
>8.3.8. Known Issues</A
></H4
><P
></P
><UL
><LI
><P
>WiFi does not work with free software. A separate <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> is recommended. </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN1865"
>8.4. Beagle Bone Black</A
></H3
><P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/beagleboard.jpg"
WIDTH="316pt"
HEIGHT="210.5pt"></SPAN
>
</P
><P
><A
HREF="http://beagleboard.org/black"
TARGET="_top"
>Beagle Bone Black</A
> (Revision C.1) is an open hardware single board computer. FreedomBox images are built and tested for it. For using this board as FreedomBox, a <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> that does not require non-free firmware is recommended. </P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1876"
>8.4.1. Download</A
></H4
><P
>FreedomBox SD card <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>images</A
> for this hardware are available. Follow the instructions on the <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>download</A
> page to create a FreedomBox SD card and boot into FreedomBox. </P
><P
>Note: This image is for BeagleBone Black. It won't work on BeagleBone Green. </P
><P
>An alternative to downloading these images is to <A
HREF="https://wiki.debian.org/InstallingDebianOn/TI/BeagleBone#"
TARGET="_top"
>install Debian</A
> on BeagleBone and then <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Debian#"
TARGET="_top"
>install FreedomBox</A
> on it. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1885"
>8.4.2. Build Image</A
></H4
><P
>FreedomBox images for this hardware can be built using <A
HREF="https://wiki.debian.org/FreedomBox/Maker#"
TARGET="_top"
>Freedom Maker</A
>. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1889"
>8.4.3. Availability</A
></H4
><P
></P
><UL
><LI
><P
>Price: ~ 59 USD (50 EUR) </P
></LI
><LI
><P
> <A
HREF="http://dk.mouser.com/access/?pn=595-BB-BBLK-000"
TARGET="_top"
>Mouser Electronics</A
>
</P
></LI
><LI
><P
> <A
HREF="http://beagleboard.org/black"
TARGET="_top"
>Full list of suppliers</A
>
</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1900"
>8.4.4. Hardware</A
></H4
><P
></P
><UL
><LI
><P
>Open Hardware: <A
HREF="http://elinux.org/Beagleboard:BeagleBoneBlack"
TARGET="_top"
>Yes</A
> </P
></LI
><LI
><P
>CPU: <A
HREF="http://www.ti.com/product/am3358"
TARGET="_top"
>AM335x 1GHz ARM Cortex-A8</A
> </P
></LI
><LI
><P
>RAM: 512MB DDR3L 800 Mhz </P
></LI
><LI
><P
>Storage: Onboard 4GB, 8bit Embedded MMC and microSD </P
></LI
><LI
><P
>Architecture: armhf </P
></LI
><LI
><P
>Ethernet: 10/100, RJ45 </P
></LI
><LI
><P
>WiFi: None, use a <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> </P
></LI
><LI
><P
>SATA: None </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1922"
>8.4.5. Non-Free Status</A
></H4
><P
></P
><UL
><LI
><P
>Non-free blobs required: No </P
></LI
><LI
><P
>WiFi: Not available </P
></LI
><LI
><P
>Works with stock Debian kernel: Yes </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1931"
>8.4.6. Known Issues</A
></H4
><P
>None </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN1934"
>8.5. A20 OLinuXino Lime2</A
></H3
><P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/a20-olinuxino-lime2.jpg"
WIDTH="320pt"
HEIGHT="216pt"></SPAN
>
</P
><P
>Olimex's <A
HREF="https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME2/open-source-hardware"
TARGET="_top"
>A20 OLinuXino Lime2</A
> is fully open source hardware single board computer using the Allwinner A20 Dual Core ARM processor. FreedomBox images are being built for it starting with version 0.7. For using this board as FreedomBox, a separate <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> that does not require non-free firmware is recommended. </P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1945"
>8.5.1. Similar Hardware</A
></H4
><P
>The following similar hardware will also work well with FreedomBox. </P
><P
></P
><UL
><LI
><P
>Olimex's <A
HREF="https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME2-4GB/open-source-hardware"
TARGET="_top"
>A20 OLinuXino Lime2 4GB</A
>. This hardware merely has extra 4GB NAND storage that is not used by FreedomBox. </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1952"
>8.5.2. Download</A
></H4
><P
>FreedomBox SD card <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>images</A
> for this hardware are being built. These SD card images are meant for use with the on-board SD card slot and won't work when used with a separate SD card reader connected via USB. </P
><P
>An alternative to downloading these images is to <A
HREF="https://wiki.debian.org/InstallingDebianOn/Allwinner#"
TARGET="_top"
>install Debian</A
> on the device and then <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Debian#"
TARGET="_top"
>install FreedomBox</A
> on it. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1959"
>8.5.3. Build Image</A
></H4
><P
>FreedomBox images for this hardware can be built using <A
HREF="https://wiki.debian.org/FreedomBox/Maker#"
TARGET="_top"
>Freedom Maker</A
> once the support for it is added. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1963"
>8.5.4. Availability</A
></H4
><P
></P
><UL
><LI
><P
>Price: 45 EUR (A20 OLinuXino Lime2) </P
></LI
><LI
><P
>Price: 55 EUR (A20 OLinuXino Lime2 4GB) </P
></LI
><LI
><P
> <A
HREF="https://www.olimex.com/Products/OLinuXino/A20/open-source-hardware"
TARGET="_top"
>Olimex Store</A
>
</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1973"
>8.5.5. Hardware</A
></H4
><P
></P
><UL
><LI
><P
>Open Source Hardware (OSHW): Yes </P
></LI
><LI
><P
>CPU: Allwinner A20, ARM Cortex-A7 @ 1GHz dual-core </P
></LI
><LI
><P
>RAM: 1 GiB DDR3 </P
></LI
><LI
><P
>Storage: 4 GB NAND flash built-in (only on 4GB model), 1x microSD slot </P
></LI
><LI
><P
>Architecture: armhf </P
></LI
><LI
><P
>Ethernet: 10/100/1000, RJ45 </P
></LI
><LI
><P
>WiFi: None, use a <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> </P
></LI
><LI
><P
>SATA: 1x port </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN1993"
>8.5.6. Non-Free Status</A
></H4
><P
></P
><UL
><LI
><P
>Non-free blobs required: No </P
></LI
><LI
><P
>WiFi: Not available </P
></LI
><LI
><P
>Works with stock Debian kernel: Yes </P
></LI
><LI
><P
>Boot Firmware: <A
HREF="https://linux-sunxi.org/BROM"
TARGET="_top"
>BROM</A
> (GPLV2+) </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2005"
>8.5.7. Known Issues</A
></H4
><P
></P
><UL
><LI
><P
>WiFi is not available. A separate <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> is recommended. </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN2011"
>8.6. A20 OLinuXino MICRO</A
></H3
><P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/a20-olinuxino-micro.jpg"
WIDTH="320pt"
HEIGHT="179.5pt"></SPAN
>
</P
><P
>Olimex's <A
HREF="https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-MICRO/open-source-hardware"
TARGET="_top"
>A20 OLinuXino MICRO</A
> is fully open source hardware single board computer using the Allwinner A20 Dual Core ARM processor. FreedomBox images are being built for it starting with version 0.7. For using this board as FreedomBox, a separate <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> that does not require non-free firmware is recommended. </P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2022"
>8.6.1. Similar Hardware</A
></H4
><P
>The following similar hardware will also work well with FreedomBox. </P
><P
></P
><UL
><LI
><P
>Olimex's <A
HREF="https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-MICRO-4GB/open-source-hardware"
TARGET="_top"
>A20 OLinuXino MICRO 4GB</A
>. This hardware merely has extra 4GB NAND storage that is not used by FreedomBox. </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2029"
>8.6.2. Download</A
></H4
><P
>FreedomBox SD card <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>images</A
> for this hardware are being built. These SD card images are meant for use with the on-board SD card slot and won't work when used with a separate SD card reader connected via USB. </P
><P
>An alternative to downloading these images is to <A
HREF="https://wiki.debian.org/InstallingDebianOn/Allwinner#"
TARGET="_top"
>install Debian</A
> on the device and then <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Debian#"
TARGET="_top"
>install FreedomBox</A
> on it. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2036"
>8.6.3. Build Image</A
></H4
><P
>FreedomBox images for this hardware can be built using <A
HREF="https://wiki.debian.org/FreedomBox/Maker#"
TARGET="_top"
>Freedom Maker</A
> once the support for it is added. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2040"
>8.6.4. Availability</A
></H4
><P
></P
><UL
><LI
><P
>Price: 55 EUR (A20 OLinuXino MICRO) </P
></LI
><LI
><P
>Price: 65 EUR (A20 OLinuXino MICRO 4GB) </P
></LI
><LI
><P
> <A
HREF="https://www.olimex.com/Products/OLinuXino/A20/open-source-hardware"
TARGET="_top"
>Olimex Store</A
>
</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2050"
>8.6.5. Hardware</A
></H4
><P
></P
><UL
><LI
><P
>Open Source Hardware (OSHW): Yes </P
></LI
><LI
><P
>CPU: Allwinner A20, ARM Cortex-A7 @ 1GHz dual-core </P
></LI
><LI
><P
>RAM: 1 GiB DDR3 </P
></LI
><LI
><P
>Storage: 4 GB NAND flash built-in (only on 4GB model), 1x microSD slot </P
></LI
><LI
><P
>Architecture: armhf </P
></LI
><LI
><P
>Ethernet: 10/100, RJ45 </P
></LI
><LI
><P
>WiFi: None, use a <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> </P
></LI
><LI
><P
>SATA: 1x port </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2070"
>8.6.6. Non-Free Status</A
></H4
><P
></P
><UL
><LI
><P
>Non-free blobs required: No </P
></LI
><LI
><P
>WiFi: Not available </P
></LI
><LI
><P
>Works with stock Debian kernel: Yes </P
></LI
><LI
><P
>Boot Firmware: <A
HREF="https://linux-sunxi.org/BROM"
TARGET="_top"
>BROM</A
> (GPLV2+) </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2082"
>8.6.7. Known Issues</A
></H4
><P
></P
><UL
><LI
><P
>WiFi is not available. A separate <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> is recommended. </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN2088"
>8.7. APU</A
></H3
><P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/apu1d.jpg"
WIDTH="316pt"
HEIGHT="159.5pt"></SPAN
>
</P
><P
><A
HREF="http://www.pcengines.ch/apu1d.htm"
TARGET="_top"
>PC Engines APU 1D</A
> is a single board computer with 3 Gigabit ethernet ports, a powerful AMD APU and Coreboot firmware. FreedomBox images built for AMD64 machines are tested to work well for it. For using this board as FreedomBox, a <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> that does not require non-free firmware is recommended. </P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2099"
>8.7.1. Similar Hardware</A
></H4
><P
>Although untested, the following similar hardware is also likely to work well with FreedomBox. </P
><P
></P
><UL
><LI
><P
>Using amd64 image: </P
><P
></P
><UL
><LI
><P
> <A
HREF="http://www.pcengines.ch/apu1c.htm"
TARGET="_top"
>apu1c</A
>
</P
></LI
><LI
><P
> <A
HREF="http://www.pcengines.ch/apu1c4.htm"
TARGET="_top"
>apu1c4</A
>
</P
></LI
><LI
><P
> <A
HREF="http://www.pcengines.ch/apu1d4.htm"
TARGET="_top"
>apu1d4</A
>
</P
></LI
></UL
></LI
><LI
><P
>Using i386 image: </P
><P
></P
><UL
><LI
><P
> <A
HREF="http://www.pcengines.ch/alix1d.htm"
TARGET="_top"
>alix1d</A
>
</P
></LI
><LI
><P
> <A
HREF="http://www.pcengines.ch/alix1e.htm"
TARGET="_top"
>alix1e</A
>
</P
></LI
><LI
><P
> <A
HREF="http://www.pcengines.ch/alix2d2.htm"
TARGET="_top"
>alix2d2</A
>
</P
></LI
><LI
><P
> <A
HREF="http://www.pcengines.ch/alix2d3.htm"
TARGET="_top"
>alix2d3</A
>
</P
></LI
><LI
><P
> <A
HREF="http://www.pcengines.ch/alix2d13.htm"
TARGET="_top"
>alix2d13</A
>
</P
></LI
><LI
><P
> <A
HREF="http://www.pcengines.ch/alix3d2.htm"
TARGET="_top"
>alix3d2</A
>
</P
></LI
><LI
><P
> <A
HREF="http://www.pcengines.ch/alix3d3.htm"
TARGET="_top"
>alix3d3</A
>
</P
></LI
><LI
><P
> <A
HREF="http://www.pcengines.ch/alix6f2.htm"
TARGET="_top"
>alix6f2</A
>
</P
></LI
></UL
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2142"
>8.7.2. Download</A
></H4
><P
>FreedomBox disk <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>images</A
> for this hardware are available. Follow the instructions on the <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>download</A
> page to create a FreedomBox SD card, USB disk, SSD or hard drive and boot into FreedomBox. Pick the image meant for all amd64 machines. </P
><P
>An alternative to downloading these images is to <A
HREF="https://wiki.debian.org/InstallingDebianOn/Alix3d2#"
TARGET="_top"
>install Debian</A
> on the APU and then <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Debian#"
TARGET="_top"
>install FreedomBox</A
> on it. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2150"
>8.7.3. Networking</A
></H4
><P
>The first network port, the left most one in the above picture, is configured by FreedomBox to be an upstream Internet link and the remaining 2 ports are configured for local computers to connect to. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2153"
>8.7.4. Build Image</A
></H4
><P
>FreedomBox images for this hardware, which is for all amd64 machines, can be built using <A
HREF="https://wiki.debian.org/FreedomBox/Maker#"
TARGET="_top"
>Freedom Maker</A
>. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2157"
>8.7.5. Availability</A
></H4
><P
></P
><UL
><LI
><P
>Price: 110 - 170 USD (depending on the board and supplier) </P
></LI
><LI
><P
> <A
HREF="http://www.pcengines.ch/order1.php"
TARGET="_top"
>PC Engines</A
>
</P
></LI
><LI
><P
> <A
HREF="http://www.pcengines.ch/order.php"
TARGET="_top"
>Full list of suppliers</A
>
</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2168"
>8.7.6. Hardware</A
></H4
><P
></P
><UL
><LI
><P
>Open Hardware: No </P
></LI
><LI
><P
>CPU: <A
HREF="http://www.amd.com/en-gb/products/embedded/processors/g-series"
TARGET="_top"
>AMD G series T40E</A
> </P
></LI
><LI
><P
>RAM: 2 GB DDR3-1066 DRAM </P
></LI
><LI
><P
>Storage: SD card, External USB </P
></LI
><LI
><P
>Architecture: amd64 </P
></LI
><LI
><P
>Ethernet: 3 Gigabit Ethernet ports </P
></LI
><LI
><P
>WiFi: None, use a <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> </P
></LI
><LI
><P
>SATA: 1 m-SATA and 1 SATA </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2189"
>8.7.7. Non-Free Status</A
></H4
><P
></P
><UL
><LI
><P
>Non-free blobs required: No </P
></LI
><LI
><P
>WiFi: Not available </P
></LI
><LI
><P
>Works with stock Debian kernel: Yes </P
></LI
><LI
><P
>Boot firmware: <A
HREF="http://www.pcengines.ch/apu1d.htm"
TARGET="_top"
>Coreboot</A
> </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2201"
>8.7.8. Known Issues</A
></H4
><P
>None </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN2204"
>8.8. VirtualBox</A
></H3
><P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/virtualbox.png"
WIDTH="363pt"
HEIGHT="237.5pt"></SPAN
>
</P
><P
>This page will help you get started with using FreedomBox on a <A
HREF="https://en.wikipedia.org/wiki/Virtual_machine"
TARGET="_top"
>virtual machine</A
> using <A
HREF="https://wiki.debian.org/VirtualBox#"
TARGET="_top"
>VirtualBox</A
>. While VirtualBox images are primarily used for testing and development, they can also be used for regular use if you have spare resources on one of your machines. This setup is useful if: </P
><P
></P
><UL
><LI
><P
>You don't own one of the <A
HREF="https://wiki.debian.org/FreedomBox/Hardware#"
TARGET="_top"
>supported hardware</A
> devices. </P
></LI
><LI
><P
>You don't use Debian GNU/Linux as your operating system. </P
></LI
><LI
><P
>You don't want to disturb your Debian installation to try out FreedomBox. </P
></LI
></UL
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2223"
>8.8.1. Download</A
></H4
><P
>FreedomBox SD card images for this VirtualBox are available. Follow the instructions on the <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>download</A
> page to download and verify VirtualBox images. </P
><P
>An alternative to downloading these images is to <A
HREF="https://wiki.debian.org/InstallingDebianOn#"
TARGET="_top"
>install Debian</A
> on VirtualBox and then <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Debian#"
TARGET="_top"
>install FreedomBox</A
> on it. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2230"
>8.8.2. Creating a Virtual Machine</A
></H4
><P
></P
><OL
TYPE="1"
><LI
><P
>Decompress the downloaded VDI image. </P
></LI
><LI
><P
>Create a new VirtualBox VM. </P
></LI
><LI
><P
>When asked for a "Virtual Hard Disk" select the .vdi file you just extracted in step 1. </P
></LI
><LI
><P
>After a virtual machine is created, go to settings -> [Network] -> [Interface] and set on the following options. </P
></LI
></OL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2241"
>8.8.3. Network Configuration</A
></H4
><P
>VirtualBox provides many types of networking options. Each has its advantages and disadvantages. For more information about how various networking types work in VirtualBox, see VirtualBox's networking documentation. <A
HREF="https://www.virtualbox.org/manual/ch06.html"
TARGET="_top"
>https://www.virtualbox.org/manual/ch06.html</A
> </P
><P
>For a simple setup, it is recommended that you use a single network interface in your guest machine. This will make the first boot script automatically configure that interface as an <FONT
COLOR="RED"
>internal</FONT
> network with <FONT
COLOR="RED"
>automatic</FONT
> network configuration. Inside the guest machine, the networking is configured automatically and all the services are made available on this network interface. For more information on how networks are configured by default in FreedomBox, see <A
HREF="https://wiki.debian.org/FreedomBox/Manual/Networks#"
TARGET="_top"
>Networks</A
> section. </P
><P
>What remains is to make those services available to the host machine or to other machines in the network. You must then choose one of the following types of networking for the network interface on your guest machine. To set a particular type of network for the guest's network adapter, go to the guest VM's settings then the network options and then select the adapter you wish to configure. There, set the network type from the available list of networks. </P
><P
></P
><OL
TYPE="1"
><LI
><P
>First and the recommended option is to use the <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Bridge</I
></SPAN
> type of network. This option exposes the guest machine to the same network that host network is connected to. The guest obtains network configuration information from a router or DHCP server on the network. The guest will appear as just another machine in the network. A major advantage of this of setup is that the host and all other machines in the network will be able to access the services provided by guest without requiring any further setup. The only drawback of this approach is that if the host is not connected to any network, the guest's network will remain unconfigured making it inaccessible even from the host. </P
></LI
><LI
><P
>Second method is <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Host only</I
></SPAN
> type of networking. With a guest's network interface configured in this manner, it will only be accessible from the host machine. The guest will not able access any other machine but the host, so you do not have internet access on the guest. All services on the guest are available to the host machine without any configuration such as port forwarding. </P
></LI
><LI
><P
>The third option is to use the <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>NAT</I
></SPAN
> type of network. This the networking type that VirtualBox assigns to a freshly created virtual machine. This option works even when host is not connected to any network. The guest is automatically configured and is able to access the Internet and local networks that host is able to connect to. However, the services provided by the guest require port forwarding configuration setup to be available outside. </P
><P
>To configure this go to VM settings -> [Network] -> [Adapter] -> [Port Forwarding]. Map a port such as 2222 from host to guest port 22 and you will be able to ssh into FreedomBox from host machine as follows: </P
><PRE
CLASS="screen"
> ssh -p 2222 fbx@localhost</PRE
><P
>Map 4443 on host to 443 on the guest. This make FreedomBox HTTPS service available on host using the URL <A
HREF="https://localhost:4443/"
TARGET="_top"
>https://localhost:4443/</A
> You will need to add a mapping for each such services from host to guest. </P
></LI
><LI
><P
>The final option is to create two network interfaces, one <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>host only</I
></SPAN
> and one <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>NAT</I
></SPAN
> type. This way you can access the guest without any additional configuration, and you have internet access on the guest. The guest will be invisible to any other machines on the network. </P
></LI
></OL
><P
>Summary of various network types: </P
><DIV
CLASS="informaltable"
><P
></P
><A
NAME="AEN2269"
></A
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><COL
WIDTH="1*"
TITLE="col_0"><COL
WIDTH="1*"
TITLE="col_1"><COL
WIDTH="1*"
TITLE="col_2"><COL
WIDTH="1*"
TITLE="col_3"><COL
WIDTH="1*"
TITLE="col_4"><COL
WIDTH="1*"
TITLE="col_5"><TBODY
><TR
><TD
> <P
> - </P
>
</TD
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Guest accessible from other machines</B
></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Guest accessible from host</B
></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Works without port forwarding</B
></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Works without host connected to network</B
></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Guest has internet access</B
></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Bridged</B
></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Host only</B
></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>NAT</B
></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
><TR
><TD
> <P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>NAT and Host </B
></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/icon-error.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
><TD
> <P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/checkmark.png"
WIDTH="8pt"
HEIGHT="8pt"></SPAN
>
</P
>
</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2452"
>8.8.4. Using</A
></H4
><P
>You can log in as the user created during Plinth setup. </P
><P
>After logging in, you can become root with the command <FONT
COLOR="RED"
>sudo su</FONT
>. See the FreedomBox <A
HREF="https://wiki.debian.org/FreedomBox/Use#"
TARGET="_top"
>usage</A
> page for more details. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2458"
>8.8.5. Build Image</A
></H4
><P
>If you wish to build your own images instead of downloading available images, it can be done using <A
HREF="https://wiki.debian.org/FreedomBox/Maker#"
TARGET="_top"
>Freedom Maker</A
>. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2462"
>8.8.6. Tips & Troubleshooting</A
></H4
><DIV
CLASS="section"
><H5
CLASS="section"
><A
NAME="AEN2464"
>8.8.6.1. Finding out the IP address of the virtual machine</A
></H5
><P
>This depends on the network configuration you chose. With a <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>bridged adapter</I
></SPAN
>, your virtual machine gets its IP address from the DHCP server of your network, most likely of your Router. You can try the first couple of IP addresses or check your router web interface for a list of connected devices. </P
><P
>If you chose <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>host-only adapter</I
></SPAN
>, the IP address is assigned by the DHCP server of your VirtualBox network. In the VirtualBox Manager, go to File -> Preferences -> Network -> Host-only Networks. You can see and edit the DHCP address range there, typically you get assigned addresses close to the <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Lower Address Bound</I
></SPAN
>. </P
><P
>Another possibility of finding the IP address is to login via the Virtualbox Manager (or similar software). The FreedomBox images do not have any default user accounts, so you need to set an initial user and password using the <A
HREF="https://github.com/freedombox/freedom-maker/blob/master/bin/passwd-in-image"
TARGET="_top"
>passwd-in-image script</A
>. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN2473"
>8.8.6.2. Networking Problems with macchanger</A
></H5
><P
>The package <FONT
COLOR="RED"
>macchanger</FONT
> can cause network problems with VirtualBox. If you have a valid IP address on your guest's host network adapter (like 192.168.56.101) but are not able to ping or access the host (like 192.168.56.1), try uninstalling <FONT
COLOR="RED"
>macchanger</FONT
>: </P
><PRE
CLASS="screen"
>$ dpkg --ignore-depends=freedombox-setup --remove macchanger </PRE
><P
>You might have to manually remove the script <FONT
COLOR="RED"
>/etc/network/if-prep-up/macchanger</FONT
>. If Debian complains about unmet dependencies when you use a package manager (apt-get, aptitude, dpkg), try to remove 'macchanger' from the dependencies of 'freedombox-setup' in the file <FONT
COLOR="RED"
>/var/lib/dpkg/status</FONT
>. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN2482"
>8.8.6.3. Mounting Images Locally</A
></H5
><P
>If you want to mount images locally, use the following to copy built images off the VirtualBox: </P
><PRE
CLASS="screen"
>$ mkdir /tmp/vbox-img1 /tmp/vbox-root1
$ vdfuse -f freedombox-unstable_2013.0519_virtualbox-i386-hdd.vdi /tmp/vbox-img1/
$ sudo mount -o loop /tmp/vbox-img1/Partition1 /tmp/vbox-root1
$ cp /tmp/vbox-root1/home/fbx/freedom-maker/build/freedom*vdi ~/
$ sudo umount /tmp/vbox-root1
# $ sudo umount /tmp/vbox-img1 # corruption here.</PRE
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN2486"
>8.8.6.4. Fixing the time after suspend and resume</A
></H5
><P
>The virtual machine loses the correct time/date after suspending and resuming. One way to fix this is to create a cron-job that restarts the time service <FONT
COLOR="RED"
>ntp</FONT
>. You can add a crontab entry as root to restart ntp every 15 minutes by typing <FONT
COLOR="RED"
>'crontab -e'</FONT
> and adding this line: </P
><PRE
CLASS="screen"
>*/15 * * * * /etc/init.d/ntp restart</PRE
><P
>Do not restart this service too often as this increases the load of publicly and freely available NTP servers. </P
></DIV
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN2493"
>8.9. Debian</A
></H3
><P
>FreedomBox is a <A
HREF="https://wiki.debian.org/DebianPureBlends#"
TARGET="_top"
>pure blend</A
> of Debian. This means that all the work on FreedomBox is available in Debian as packages. It also means that any machine running Debian can be turned into a FreedomBox. </P
><P
>This page describes the process of installing FreedomBox on a Debian system. Currently, FreedomBox works in Debian Testing (Stretch) and Unstable (Sid). </P
><DIV
CLASS="caution"
><P
></P
><TABLE
CLASS="caution"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/caution.gif"
HSPACE="5"
ALT="Caution"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Use a fresh Debian installation</B
></SPAN
>
</P
><P
>Installing FreedomBox changes your Debian system in many important ways. This includes installing a firewall and regenerating server certificates. It is hence recommended that you install FreedomBox on a fresh Debian installation instead of an existing setup. </P
><P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>use "fbx" as the login name</B
></SPAN
>
</P
><P
> If you choose to create an initial user account, use "fbx" as the login name. (Once the FreedomBox setup program completes, all user accounts except for the "fbx" account will be locked out via pam_access. This also affects sudo access.) </P
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2505"
>8.9.1. Installing on Debian</A
></H4
><P
></P
><OL
TYPE="1"
><LI
><P
>Check the Troubleshooting section below, for any tips or work-arounds that might help during the install. </P
></LI
><LI
><P
><A
HREF="https://wiki.debian.org/InstallingDebianOn#"
TARGET="_top"
>Install Debian</A
> Testing (Stretch) or Unstable (Sid) on your hardware. </P
></LI
><LI
><P
>Update your package list. </P
><PRE
CLASS="screen"
>$ sudo apt-get update</PRE
></LI
><LI
><P
>Install <FONT
COLOR="RED"
>freedombox-setup</FONT
> package. </P
><PRE
CLASS="screen"
>$ sudo apt-get install freedombox-setup</PRE
><P
></P
><UL
><LI
><P
>When asked to specify whether Macchanger should be set up to run automatically, please choose "No". </P
></LI
></UL
></LI
><LI
><P
>Run FreedomBox setup program. This installs further packages and sets up basic configuration. </P
><PRE
CLASS="screen"
>$ sudo /usr/lib/freedombox/setup | tee freedombox-setup.log</PRE
><P
>You may have to clear your existing network configuration. See Troubleshooting note #2 below. </P
></LI
><LI
><P
>Reboot the system. This is necessary to trigger the first-run script. </P
><PRE
CLASS="screen"
>$ sudo reboot</PRE
></LI
><LI
><P
>After the system boots up, wait for it to reboot again. The first-run scripts sets up a few things and initiates a reboot. </P
></LI
><LI
><P
>After the second reboot you can start <A
HREF="https://wiki.debian.org/FreedomBox/Use#"
TARGET="_top"
>using</A
> FreedomBox. </P
></LI
></OL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2535"
>8.9.2. Troubleshooting</A
></H4
><P
></P
><OL
TYPE="1"
><LI
><P
>There is a <A
HREF="https://bugs.debian.org/797368"
TARGET="_top"
>bug</A
> in policykit-1 package that causes errors and hangs during installation of freedombox-setup package. A workaround is to first install policykit-1 package and then reboot. After that, follow the above procedure setup procedure. </P
><PRE
CLASS="screen"
>$ sudo apt-get update
$ sudo apt-get install policykit-1
$ sudo reboot</PRE
></LI
><LI
><P
>Freedombox does not support network device configuration via <FONT
COLOR="RED"
>/etc/network/interfaces</FONT
>, and it will not manage any non-loopback interfaces mentioned there. (See <A
HREF="https://bugs.debian.org/797614"
TARGET="_top"
>bug #797614</A
>.) Future versions of freedombox-setup will clear this file automatically; for now, edit it manually and ensure that it contains only the following: </P
><PRE
CLASS="screen"
>auto lo
iface lo inet loopback</PRE
><P
>If you have already completed the setup process without doing this step, you will need to clear out the <FONT
COLOR="RED"
>/etc/network/interfaces</FONT
> file keeping only the above lines. Then perform a reboot. After this network connections configured by the <FONT
COLOR="RED"
>setup</FONT
> step above will configure your network. Network interfaces will then be in the <FONT
COLOR="RED"
>internal</FONT
> or <FONT
COLOR="RED"
>external</FONT
> firwall zone. This is essential for the FreedomBox's web interface to be reachable from other machines in the network. You can tweak network manager connections with the <FONT
COLOR="RED"
>nmtui</FONT
> command if you wish. </P
></LI
></OL
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN2553"
>8.10. DreamPlug</A
></H3
><P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/dreamplug.jpg"
WIDTH="320pt"
HEIGHT="212.5pt"></SPAN
>
</P
><P
><A
HREF="https://www.globalscaletechnologies.com/t-dreamplugdetails.aspx"
TARGET="_top"
>DreamPlug</A
> is the hardware for which FreedomBox has been originally targeted. FreedomBox images are built and tested for it. For using this device as FreedomBox, a <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> that does not require non-free firmware is recommended. </P
><P
>You can find more support and discussion for DreamPlug on the <A
HREF="http://www.plugcomputer.org/plugforum/"
TARGET="_top"
>official forum</A
>. </P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2566"
>8.10.1. Download</A
></H4
><P
>FreedomBox SD card <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>images</A
> for this hardware are available. Follow the instructions on the <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>download</A
> page to create a FreedomBox SD card and boot into FreedomBox. See also instructions for using an <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/DreamPlug/InternalMicroSD#"
TARGET="_top"
>internal micro-SD</A
> with DreamPlug. </P
><P
>An alternative to downloading these images is to <A
HREF="https://wiki.debian.org/InstallingDebianOn/DreamPlug#"
TARGET="_top"
>install Debian</A
> on DreamPlug and then <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Debian#"
TARGET="_top"
>install FreedomBox</A
> on it. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2575"
>8.10.2. Firmware</A
></H4
><P
>Note that the factory firmware configurations may vary between revisions of the hardware, and render some images incompatible. See the DreamPlug <A
HREF="https://wiki.debian.org/InstallingDebianOn/DreamPlug/U-bootUpgradeFromUSB#"
TARGET="_top"
>firmware</A
> page for information on what images are compatible and how to update your DreamPlug firmware. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2579"
>8.10.3. Build Image</A
></H4
><P
>FreedomBox images for this hardware can be built using <A
HREF="https://wiki.debian.org/FreedomBox/Maker#"
TARGET="_top"
>Freedom Maker</A
>. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2583"
>8.10.4. Testing</A
></H4
><P
>Instructions on how to <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/DreamPlug/Testing#"
TARGET="_top"
>test</A
> this hardware are available. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2587"
>8.10.5. Availability</A
></H4
><P
></P
><UL
><LI
><P
>Price: 159 USD </P
></LI
><LI
><P
> <A
HREF="http://www.globalscaletechnologies.com/p-54-dreamplug-devkit.aspx"
TARGET="_top"
>DreamPlug manufacturer</A
>
</P
></LI
><LI
><P
>Reseller <A
HREF="http://www.spinifex.com.au/shop/"
TARGET="_top"
>Spinifex</A
> in Australia </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2598"
>8.10.6. Hardware</A
></H4
><P
></P
><UL
><LI
><P
>Open Hardware: No </P
></LI
><LI
><P
>CPU: Marvell Kirkwood 88F6281 @ 1.2GHz </P
></LI
><LI
><P
>RAM: 512MB 16bit DDR2-800 MHz </P
></LI
><LI
><P
>Storage: 4 GB on board micro-SD </P
></LI
><LI
><P
>Architecture: armel </P
></LI
><LI
><P
>Ethernet: 2x 10/100/1000, RJ45 </P
></LI
><LI
><P
>WiFi: <A
HREF="https://origin-www.marvell.com/wireless/assets/8787.pdf"
TARGET="_top"
>SD8787</A
>, 802.11 b/g/n </P
></LI
><LI
><P
>SATA: eSATA 2.0 port </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2618"
>8.10.7. Non-Free Status</A
></H4
><P
></P
><UL
><LI
><P
>Non-free blobs required: built-in WiFi </P
></LI
><LI
><P
>WiFi: no free WiFi drivers + firmware available </P
></LI
><LI
><P
>Works with stock Debian kernel: yes </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2627"
>8.10.8. Known Issues</A
></H4
><P
></P
><UL
><LI
><P
>WiFi does not work with free software. A separate <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> is recommended. </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN2633"
>8.11. Raspberry Pi Model B+</A
></H3
><P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/raspberrypi.jpg"
WIDTH="320pt"
HEIGHT="214.5pt"></SPAN
>
</P
><P
><A
HREF="http://www.raspberrypi.org/products/model-b-plus/"
TARGET="_top"
>Raspberry Pi</A
> (Model B+) is a popular single board computer developed with the intention of promoting teaching of basic computer science in schools. FreedomBox images are built and tested for it. For using this board as FreedomBox, a <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> that does not require non-free firmware is recommended. </P
><P
><SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Note:</I
></SPAN
> The Debian architecture used for this device is <FONT
COLOR="RED"
>armel</FONT
>. This means floating point computations are done in software and most operations are slower than what Raspberry Pi is capable of. </P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2647"
>8.11.1. Download</A
></H4
><P
>FreedomBox SD card <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>images</A
> for this hardware are available. Follow the instructions on the <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>download</A
> page to create a FreedomBox SD card and boot into FreedomBox. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2652"
>8.11.2. Build Image</A
></H4
><P
>FreedomBox images for this hardware can be built using <A
HREF="https://wiki.debian.org/FreedomBox/Maker#"
TARGET="_top"
>Freedom Maker</A
>. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2656"
>8.11.3. Availability</A
></H4
><P
></P
><UL
><LI
><P
>Price: 35 USD </P
></LI
><LI
><P
> <A
HREF="http://www.raspberrypi.org/products/model-b-plus/"
TARGET="_top"
>List of official distributors</A
>
</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2664"
>8.11.4. Hardware</A
></H4
><P
></P
><UL
><LI
><P
>Open Hardware: No </P
></LI
><LI
><P
>CPU: ARM1176JZF-S (ARMv6k) 700 MHz </P
></LI
><LI
><P
>RAM: 512 MB </P
></LI
><LI
><P
>Storage: MicroSD card slot </P
></LI
><LI
><P
>Architecture: armel </P
></LI
><LI
><P
>Ethernet: 10/100, RJ45 </P
></LI
><LI
><P
>WiFi: None, use a <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> </P
></LI
><LI
><P
>SATA: None </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2684"
>8.11.5. Non-Free Status</A
></H4
><P
></P
><UL
><LI
><P
>Non-free blobs required: boot firmware </P
></LI
><LI
><P
>WiFi: Not available </P
></LI
><LI
><P
>Works with stock Debian kernel: No </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2693"
>8.11.6. Known Issues</A
></H4
><P
></P
><UL
><LI
><P
>The Debian architecture used for this device is <FONT
COLOR="RED"
>armel</FONT
>. This means floating point computations are done in software and generally most operations are slower than what Raspberry Pi is capable of. </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN2699"
>8.12. Raspberry Pi 2 Model B</A
></H3
><P
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/raspberrypi2.jpg"
WIDTH="320pt"
HEIGHT="214pt"></SPAN
>
</P
><P
><A
HREF="https://www.raspberrypi.org/products/raspberry-pi-2-model-b/"
TARGET="_top"
>Raspberry Pi 2</A
> (Model B ) is a popular single board computer developed with the intention of promoting teaching of basic computer science in schools. It is a successor to Raspberry Pi Model B+ with much faster processor and more RAM. FreedomBox images are built and tested for it. For using this board as FreedomBox, a <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> that does not require non-free firmware is recommended. </P
><P
><SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Note:</I
></SPAN
> For FreedomBox release 0.5, the Debian architecture used for this device is <FONT
COLOR="RED"
>armel</FONT
>. This means floating point computations are done in software and most operations are slower than what Raspberry Pi 2 is capable of. Starting with FreedomBox release 0.6 separate <FONT
COLOR="RED"
>armhf</FONT
> images with full hardware floating point support will be available. </P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2714"
>8.12.1. Download</A
></H4
><P
>FreedomBox SD card <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>images</A
> for this hardware are available. Follow the instructions on the <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>download</A
> page to create a FreedomBox SD card and boot into FreedomBox. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2719"
>8.12.2. Build Image</A
></H4
><P
>FreedomBox images for this hardware can be built using <A
HREF="https://wiki.debian.org/FreedomBox/Maker#"
TARGET="_top"
>Freedom Maker</A
>. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2723"
>8.12.3. Availability</A
></H4
><P
></P
><UL
><LI
><P
>Price: 35 USD </P
></LI
><LI
><P
> <A
HREF="https://www.raspberrypi.org/products/raspberry-pi-2-model-b/"
TARGET="_top"
>List of official distributors</A
>
</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2731"
>8.12.4. Hardware</A
></H4
><P
></P
><UL
><LI
><P
>Open Hardware: No </P
></LI
><LI
><P
>CPU: 900 MHz quad-core ARM Cortex-A7 </P
></LI
><LI
><P
>RAM: 1 GB </P
></LI
><LI
><P
>Storage: MicroSD card slot </P
></LI
><LI
><P
>Architecture: armhf </P
></LI
><LI
><P
>Ethernet: 10/100, RJ45 </P
></LI
><LI
><P
>WiFi: None, use a <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/USBWiFi#"
TARGET="_top"
>USB WiFi device</A
> </P
></LI
><LI
><P
>SATA: None </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2751"
>8.12.5. Non-Free Status</A
></H4
><P
></P
><UL
><LI
><P
>Non-free blobs required: boot firmware </P
></LI
><LI
><P
>WiFi: Not available </P
></LI
><LI
><P
>Works with stock Debian kernel: No </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2760"
>8.12.6. Known Issues</A
></H4
><P
></P
><UL
><LI
><P
>The Debian architecture used for this device is <FONT
COLOR="RED"
>armel</FONT
>. This means floating point computations are done in software and generally most operations are slower than what Raspberry Pi 2 is capable of. However, starting with FreedomBox 0.6 separate images for Raspberry Pi 2 with <FONT
COLOR="RED"
>armhf</FONT
> architecture will be built. </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN2767"
>8.13. USB Wi-Fi</A
></H3
><P
>FreedomBox works on many single board computers. However, many of these boards do not have built-in Wi-Fi capabilities. Even when Wi-Fi capability is available, non-free proprietary firmware is required to make them work. </P
><P
>A solution to the problem is to plug-in a USB Wi-Fi device into one of the available USB ports. There are many such devices available which do not require non-free firmware to work. The following is a list of such devices that work with FreedomBox devices. Some devices based on these chips have tested to work well with FreedomBox including functions such as access point mode. </P
><P
></P
><UL
><LI
><P
> <A
HREF="https://wikidevi.com/wiki/AR7010"
TARGET="_top"
>Devices with Atheros AR7010 chip</A
>
</P
></LI
><LI
><P
> <A
HREF="https://wikidevi.com/wiki/AR9271"
TARGET="_top"
>Devices with Atheros AR9271 chip</A
>
</P
></LI
></UL
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2778"
>8.13.1. Firmware Installation</A
></H4
><P
>The free firmware for these devices is not packaged in Debian yet. You can manually download and install the firmware as follows: </P
><PRE
CLASS="screen"
>sudo su [enter password]
cd /lib/firmware
wget https://www.thinkpenguin.com/files/ath9k-htc/version-1.4-beta/htc_9271.fw
wget https://www.thinkpenguin.com/files/ath9k_firmware_free-version/htc_7010.fw</PRE
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2782"
>8.13.2. Resources</A
></H4
><P
></P
><UL
><LI
><P
> <A
HREF="https://wiki.debian.org/WiFi#USB_Devices"
TARGET="_top"
>Debian Wiki on WiFi drivers</A
>
</P
></LI
><LI
><P
> <A
HREF="https://en.wikipedia.org/wiki/Comparison_of_open-source_wireless_drivers#Linux_drivers_for_802.11_.22wireless.22"
TARGET="_top"
>Wikipedia: Comparison of open-source Linux wireless network drivers</A
>
</P
></LI
><LI
><P
> <A
HREF="https://wikidevi.com/wiki/Main_Page"
TARGET="_top"
>WikiDevi: database of computer hardware</A
>
</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN2794"
>8.14. Advanced Topics</A
></H3
><P
> <A
NAME="additionalprojects"
></A
>
</P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2798"
>8.14.1. Adding Additional Features</A
></H4
><P
>There are a number of incomplete projects that you might find useful, for setting up a wiki, an IM server, and so forth. To check these out, download the repository: </P
><PRE
CLASS="screen"
>$ hg clone https://bitbucket.org/nickdaly/plugserver ~/plugserver</PRE
><P
>Then, read the README. It's pretty detailed. Also, if you can, it may be best to wait until these tools are fully integrated into the FreedomBox image. Otherwise, migrating from these custom tools to the officially supported FreedomBox tools may be difficult. Ultimately, that decision is up to you. </P
></DIV
></DIV
></DIV
><DIV
CLASS="section"
><HR><H2
CLASS="section"
><A
NAME="AEN2803"
>9. Contributing</A
></H2
><P
>From code, design and translation to spreading the world and donation, here is a list of possible contributions to develop FreedomBox. </P
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN2806"
>9.1. Quick Links</A
></H3
><P
> <A
HREF="https://wiki.debian.org/FreedomBox/ProgressCalls#"
TARGET="_top"
>Progess calls</A
>
</P
><P
> <A
HREF="https://wiki.debian.org/FreedomBox/TODO#"
TARGET="_top"
>TODO page</A
>
</P
><P
> <A
HREF="https://www.freedomboxfoundation.org/donate/"
TARGET="_top"
>Donation page</A
>
</P
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN2814"
>9.2. Welcome to newcomers</A
></H3
><P
>As a newcomer, you are more than welcome to introduce yourself to all users and doers on the "FreedomBox-discuss" <A
HREF="http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss"
TARGET="_top"
>mailing list</A
> or on the <A
HREF="irc://irc.debian.org/freedombox"
TARGET="_top"
>#freedombox IRC</A
> channel. In addition to make useful contacts, you can start reporting bugs and translate (see below) the wiki website and the <A
HREF="https://wiki.debian.org/FreedomBox#"
TARGET="_top"
>FreedomBox</A
> web interface. </P
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN2820"
>9.3. Development priorities</A
></H3
><P
>Upcoming priorities have been discussed end of October 2015 by several core developers and the Freedombox Foundation. You'll find on the mailing list archives a <A
HREF="http://lists.alioth.debian.org/pipermail/freedombox-discuss/2015-November/006973.html"
TARGET="_top"
>Medium Term Roadmap</A
> for 2015 and 2016. We want to enjoy soon a version 1.0. We are targeting mid January for a 0.8 release. The main focus of the 0.8 release is going to be integrated in the PGP based SSL Client authentication work. We are planning on a 0.9 polish release for late February with general usability improvements.</P
><P
>Please check next <A
HREF="https://wiki.debian.org/FreedomBox/ProgressCalls#"
TARGET="_top"
>progess calls</A
> to keep yourself on track and meet members of the release team. A <A
HREF="https://wiki.debian.org/FreedomBox/TODO#"
TARGET="_top"
>TODO page</A
> aggregates the complete list of the items to work on for <A
HREF="https://wiki.debian.org/FreedomBox#"
TARGET="_top"
>FreedomBox</A
>. </P
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN2828"
>9.4. Contributions needed</A
></H3
><DIV
CLASS="section"
><H4
CLASS="section"
><A
NAME="AEN2830"
>9.4.1. Add an Application</A
></H4
><P
>If you are a developer and wish to see an application available in FreedomBox, you can contribute by adding the application to FreedomBox. See the <A
HREF="https://wiki.debian.org/FreedomBox/Manual/Developer#"
TARGET="_top"
>FreedomBox Developer Manual</A
>. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2834"
>9.4.2. Bugs</A
></H4
><P
><A
HREF="https://wiki.debian.org/FreedomBox/Contribute/Bugs#"
TARGET="_top"
>List of bugs</A
> listed on Debian universal system. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2838"
>9.4.3. Code</A
></H4
><P
>If you are a developer, you can contribute code to one of the sub-projects of FreedomBox. Step-by-step process of <A
HREF="https://wiki.debian.org/FreedomBox/Contribute/Code#"
TARGET="_top"
>contributing code</A
> to FreedomBox is available. </P
><P
></P
><UL
><LI
><P
><A
HREF="https://wiki.debian.org/FreedomBox/Setup#"
TARGET="_top"
>FreedomBox Setup</A
>: a Debian package for setting up the FreedomBox. </P
></LI
><LI
><P
><A
HREF="https://wiki.debian.org/FreedomBox/Plinth#"
TARGET="_top"
>Plinth</A
>: a web interface to administer the functions of FreedomBox. </P
></LI
><LI
><P
><A
HREF="https://wiki.debian.org/FreedomBox/Maker#"
TARGET="_top"
>Freedom Maker</A
>: a script to build FreedomBox disk images for use on various hardware devices or virtual machines. </P
></LI
></UL
><P
>You can pickup a task from one of the <A
HREF="https://wiki.debian.org/FreedomBox/TODO#"
TARGET="_top"
>TODO</A
> lists. The individual page project pages contain information availabily of the code, how to build and TODO lists. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2854"
>9.4.4. Design</A
></H4
><DIV
CLASS="section"
><H5
CLASS="section"
><A
NAME="AEN2856"
>9.4.4.1. User Experience Design</A
></H5
><P
>If you are a user experience designer, you can help FreedomBox with the following items: </P
><P
></P
><UL
><LI
><P
>UI experience for the Plinth web interface </P
></LI
><LI
><P
>Web design for <A
HREF="https://freedomboxfoundation.org"
TARGET="_top"
>freedomboxfoundation.org</A
> and FreedomBox <A
HREF="https://wiki.debian.org/FreedomBox#"
TARGET="_top"
>wiki</A
> pages </P
></LI
><LI
><P
>Logo and branding (we currently have <A
HREF="https://github.com/freedombox/Plinth/tree/master/static/themes/default/"
TARGET="_top"
>an identity manual and logos</A
>) </P
></LI
><LI
><P
>Possible designs for custom FreedomBox cases on single board computers </P
></LI
><LI
><P
> <A
HREF="https://wiki.debian.org/FreedomBox/Design#"
TARGET="_top"
>User experience design</A
>
</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN2874"
>9.4.4.2. Technical Design</A
></H5
><P
>FreedomBox is still under development any many components are yet to be worked on. You can contribute to the discussion on various technical design and implementation aspects of FreedomBox. See: </P
><P
></P
><UL
><LI
><P
> <A
HREF="https://wiki.debian.org/FreedomBox/Design#"
TARGET="_top"
>Design portal</A
>
</P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2881"
>9.4.5. Donate</A
></H4
><P
>The <A
HREF="https://freedomboxfoundation.org"
TARGET="_top"
>FreedomBox Foundation</A
> is a Delaware non-profit corporation in the process of applying for 501(c)(3) federal nonprofit recognition from the IRS. FreedomBox project is run by volunteers. You can help the project financially by donating via PayPal, Bitcoin or by mailing a check. Please see the <A
HREF="https://www.freedomboxfoundation.org/donate/"
TARGET="_top"
>donation page</A
> for details on how to donate. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2886"
>9.4.6. Document: User Manual, Website and Wiki</A
></H4
><P
>FreedomBox needs better documentation for users and contributors. FreedomBox manual is prepared by aggregating various pages on the wiki and exporting to various formats. The manual is then used in Plinth and elsewhere. </P
><P
>If you wish to contribute to the FreedomBox <A
HREF="https://wiki.debian.org/FreedomBox#"
TARGET="_top"
>wiki</A
> (and consequently the FreedomBox manual), you can create a wiki account and start editing. </P
><P
>For contributing to the website please start a discussion on the FreedomBox <A
HREF="http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss"
TARGET="_top"
>mailing list</A
>. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2893"
>9.4.7. Quality Assurance</A
></H4
><P
></P
><UL
><LI
><P
>FreedomBox already runs on many platforms and it is not possible for developers to test all possible platforms. If you have one of the supported hardware you can help with testing FreedomBox on the platform. </P
></LI
><LI
><P
>When an application is made available on FreedomBox, not all of its functionality is tested in the real world by developer doing the work. Deploying the application and testing it will help ensure high quality applications in FreedomBox. </P
></LI
></UL
><P
>See the <A
HREF="https://wiki.debian.org/FreedomBox/QualityAssurance#"
TARGET="_top"
>quality assurance</A
> page for a basic list of test cases to check for and information on reporting bugs. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2902"
>9.4.8. Localization</A
></H4
><P
>All text visible to users of FreedomBox needs to be localized to various languages. This translation work includes: </P
><P
></P
><UL
><LI
><P
><A
HREF="https://wiki.debian.org/FreedomBox/Plinth#"
TARGET="_top"
>Plinth</A
> web interface for FreedomBox </P
></LI
><LI
><P
>FreedomBox documentation </P
></LI
><LI
><P
>FreedomBox <A
HREF="https://freedomboxfoundation.org"
TARGET="_top"
>website</A
> and <A
HREF="https://wiki.debian.org/FreedomBox#"
TARGET="_top"
>wiki</A
> </P
></LI
><LI
><P
>Individual applications that FreedomBox exposes to users such as ownCloud, JWChat etc. </P
></LI
></UL
><P
>Some of the translation work are implemented in user interface (Plinth) since the 0.7 release. Documents for user interface translation are currently available on <A
HREF="https://www.transifex.com/freedombox/"
TARGET="_top"
>Transifex localization platform</A
> and <A
HREF="https://github.com/freedombox/Plinth/tree/master/locale"
TARGET="_top"
>GitHub</A
>. If you wish to see FreedomBox available for one of your languages, please start a discussion on the FreedomBox discuss <A
HREF="http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss"
TARGET="_top"
>mailing list</A
> or on the <A
HREF="irc://irc.debian.org/freedombox"
TARGET="_top"
>#freedombox IRC</A
> channel to avoid double translations. </P
><P
>For more information, please visit the FreedomBox <A
HREF="https://wiki.debian.org/FreedomBox/Translate#"
TARGET="_top"
>translation landing page</A
>. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2924"
>9.4.9. Spread the Word</A
></H4
><P
>Speak to your family, friends, local community or at global conferences about the importance of FreedomBox. To be a successful project we need many more participants, be it users or contributors. Write about your efforts at the <A
HREF="https://www.freedomboxfoundation.org/appearances/index.en.html"
TARGET="_top"
>talks page</A
> and on the <A
HREF="https://wiki.debian.org/FreedomBox/TalksAndPresentations#"
TARGET="_top"
>wiki</A
>. </P
></DIV
></DIV
></DIV
><DIV
CLASS="section"
><HR><H2
CLASS="section"
><A
NAME="AEN2929"
>10. Developer Guide</A
></H2
><P
>This manual is meant for developers intending to develop applications for FreedomBox. It provides a step by step tutorial and an API reference. </P
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN2932"
>10.1. Writing Applications - Tutorial</A
></H3
><P
>This tutorial covers writing an application for FreedomBox. FreedomBox is a pure blend of Debian with a web interface, known as Plinth, that configures its applications. We shall discuss various aspects of building an application for FreedomBox, by creating an example application. </P
><P
>There are two parts to writing a FreedomBox application. First is to make sure that the application is available as a Debian package uploaded to the repositories. This is the majority of the work involved. However, if an application is already available in Debian repositories, it is trivial to build a FreedomBox UI for it. The second part of writing an application for FreedomBox is to provide a thin web interface layer for configuring the application. This is done by extending Plinth's user interface to provide visibility to the application and to let the user control its operations in a highly simplified way. This layer is referred to as 'Plinth application'. </P
><P
>Plinth applications can either be distributed as part of Plinth source code by submitting the applications to the Plinth project or they can distributed independently. This tutorial covers writing an application that is meant to be distributed as part of Plinth. However, writing independent Plinth applications is also very similar and most of this tutorial is applicable. </P
><DIV
CLASS="note"
><P
></P
><TABLE
CLASS="note"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Note</B
></SPAN
>
</P
><P
>The term application, in this tutorial, is used to mean multiple concepts. FreedomBox application is a combination of Debian package and a web interface layer. The web interface layer is also called a Plinth application which is very similar to and built upon a Django application. </P
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2941"
>10.1.1. Before we begin</A
></H4
><P
>Plinth is a web interface built using Python3 and Django. FreedomBox applications are simply Django applications within the Plinth project. Hence, for the most part, writing a FreedomBox application is all about writing a Django application. </P
><P
>You should start by reading the <A
HREF="https://docs.djangoproject.com/en/stable/intro/tutorial01/"
TARGET="_top"
>Django tutorial</A
>. All the concepts described there are applicable for how plinth and its applications are be built. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2946"
>10.1.2. Picking an application</A
></H4
><P
>We must first, of course, pick an application to add to FreedomBox. For the purpose of this tutorial, let us pick Tiny Tiny RSS. The project description reads as, <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Tiny Tiny RSS is an open source web-based news feed (RSS/Atom) reader and aggregator, designed to allow you to read news from any location, while feeling as close to a real desktop application as possible</I
></SPAN
>. </P
><DIV
CLASS="important"
><P
></P
><TABLE
CLASS="important"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/important.gif"
HSPACE="5"
ALT="Important"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Choosing an application</B
></SPAN
>
</P
><P
>When choosing an application we must make sure that the application respects users' freedom and privacy. By choosing to use FreedomBox, users have explicitly made a choice to keep the data with themselves, to not provide privacy compromising data to centralized entities and to use Free Software that respects their Software Freedom. These are not properties of <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>some</I
></SPAN
> of the applications in FreedomBox but all applications <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>must</I
></SPAN
> adhere to these principles. Applications should not even ask the users questions to this effect, because users have already made a choice. </P
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2956"
>10.1.3. Packaging the application</A
></H4
><P
>Majority of the effort in creating an application for FreedomBox is to package it for Debian and get it uploaded to Debian repositories. Going through the process of packaging itself is outside the scope of this tutorial. It is, however, well documented elsewhere. You should start <A
HREF="https://wiki.debian.org/Packaging"
TARGET="_top"
>here</A
>. </P
><P
>Debian packaging might seem like an unnecessary process that takes time with its adherence to standards, review process, legal checks, etc. However, upon close examination, one will find that without these steps the goals of the FreedomBox project cannot be met. Some of the advantages of Debian packaging are listed below: </P
><P
></P
><UL
><LI
><P
>Legal check ensures that proprietary licensed code or code with bad licenses does not inadvertently creep in. </P
></LI
><LI
><P
>Libraries have to be packaged separately easing security handling. When a security vulnerability is identified in a library, just the library will have to be updated and not all the applications that depend on it. </P
></LI
><LI
><P
>Upgrades become smoother. The dependency handling of the packaging system, configuration handling tools, tools to deal with various types of well known files help with ensuring a proper upgrade. </P
></LI
><LI
><P
>Collaborative maintenance teams ensure that the package is well cared for even if you get busy with other work and can't spend time on your package. Following standards and using common infrastructure is critical to enable this development methodology. </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2970"
>10.1.4. Creating the project structure</A
></H4
><P
>Create a directory structure as follows with empty files. We will fill them up in a step-by-step manner. </P
><PRE
CLASS="screen"
>+- <plinth_root>/
|
+- plinth/
| |
| +- modules/
| |
| +- ttrss/
| |
| +- __init__.py
| |
| +- forms.py
| |
| +- urls.py
| |
| +- views.py
| |
| +- templates/
| | |
| | +- ttrss.html
| |
| +- tests
| |
| +- __init__.py
|
+- actions/
| |
| +- ttrss
|
+- data/
|
+- etc/
|
+- plinth/
|
+- modules-enabled/
|
+- ttrss</PRE
><P
>The <FONT
COLOR="RED"
>__init__.py</FONT
> indicates that the directory in which it is present is a Python module. For now, it is an empty file. </P
><P
>Plinth's setup script <FONT
COLOR="RED"
>setup.py</FONT
> will automatically install the <FONT
COLOR="RED"
>plinth/modules/ttrss</FONT
> directory (along with other files described later) to an appropriate location. If you are creating an application that stays independent and outside of Plinth source tree, then your <FONT
COLOR="RED"
>setup.py</FONT
> script will need to install it a proper location on the system. The <FONT
COLOR="RED"
>plinth/modules/</FONT
> directory is a Python3 <A
HREF="https://www.python.org/dev/peps/pep-0420/"
TARGET="_top"
>namespace package</A
>. So, you can install it with the <FONT
COLOR="RED"
>plinth/modules/</FONT
> directory structure into any Python path and still be discovered as <FONT
COLOR="RED"
>plinth.modules.*</FONT
>. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2984"
>10.1.5. Tell Plinth that we exist</A
></H4
><P
>The first thing to do is tell Plinth that our application exists. This is done by writing a small file with the Python import path to our application and placing it in <FONT
COLOR="RED"
>data/etc/plinth/modules-enabled/</FONT
>. Let us create this file <FONT
COLOR="RED"
>ttrss</FONT
>: </P
><PRE
CLASS="screen"
>plinth.modules.ttrss</PRE
><P
>This file is automatically installed to <FONT
COLOR="RED"
>/etc/plinth/modules-enabled/</FONT
> by Plinth's installation script <FONT
COLOR="RED"
>setup.py</FONT
>. If we are writing a module that resides independently outside the Plinth's source code, the setup script will need to copy it to the target location. Further, it is not necessary for the application to be part of the <FONT
COLOR="RED"
>plinth.modules</FONT
> namespace. It can, for example, be <FONT
COLOR="RED"
>plinth_ttrss</FONT
>. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN2995"
>10.1.6. Writing the URLs</A
></H4
><P
>For a user to visit our application in Plinth, we need to provide a URL. When the user visits this URL, a view is executed and a page is displayed. In <FONT
COLOR="RED"
>urls.py</FONT
> write the following: </P
><PRE
CLASS="screen"
>from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^apps/ttrss/$', views.index, name='index'),
]</PRE
><P
>This routes the <FONT
COLOR="RED"
>/apps/ttrss/</FONT
> URL to a view called <FONT
COLOR="RED"
>index</FONT
> defined in <FONT
COLOR="RED"
>plinth/modules/ttrss/views.py</FONT
>. This is no different than how routing URLs are written in Django. See <A
HREF="https://docs.djangoproject.com/en/stable/topics/http/urls/"
TARGET="_top"
>Django URL dispatcher</A
> for more information. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3005"
>10.1.7. Adding a menu item</A
></H4
><P
>We have added a URL to be handled by our application but this does not yet show up to be a link in Plinth web interface. Let us add a link in the applications list. In <FONT
COLOR="RED"
>__init__.py</FONT
> add the following: </P
><PRE
CLASS="screen"
>from plinth import cfg
def init():
"""Intialize the module."""
menu = cfg.main_menu.get('apps:index')
menu.add_urlname('News Feed Reader (Tiny Tiny RSS)', 'glyphicon-bullhorn',
'ttrss:index', 850)</PRE
><P
>As soon as Plinth starts, it will load all the enabled modules into memory. After this, it gives a chance to each of the modules to initialize itself by calling the <FONT
COLOR="RED"
>init()</FONT
> method if there is such a method available as <FONT
COLOR="RED"
><app>.init()</FONT
>. Here we have implemented this method and added our menu item to the applications menu as part of the initialization process. </P
><P
>We wish to add our menu item to the list of applications which is why we have retrieved the applications menu which is available under the main menu. After this we add our own menu item to this menu. There are several parameters during this process that are important: </P
><P
></P
><UL
><LI
><P
>In the first parameter we are providing the display name to use for our application when showing the menu item. </P
></LI
><LI
><P
>In the second parameter we are providing the icon to show for this menu item. This is an icon from the Twitter Bootstrap library. See </P
><P
>the Twitter Bootstrap library documentation for a list of <A
HREF="http://getbootstrap.com/components/#glyphicons"
TARGET="_top"
>available icons</A
>. We can pick an icon from the available list of icons and just mention its glyphicon class as name here. </P
></LI
><LI
><P
>The third parameter is the name of the URL we have created for our application. Note that when including this application's URLs, Plinth will automatically set the name of the module as the Django </P
><P
>URL namespace. Hence it is <FONT
COLOR="RED"
>ttrss:index</FONT
> and not just <FONT
COLOR="RED"
>index</FONT
>. </P
></LI
><LI
><P
>The final parameter specifies where in the menu this application shows up. This is weightage number with which Plinth sorts the menu items. Higher the weightage, the lower the menu item appears (as it sinks). Since Plinth menu items are alphabetically sorted, for our </P
><P
>application we wish for it to appear between <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Public Visibility</I
></SPAN
> and <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Voice Chat</I
></SPAN
>. Their weights are 800 and 900 respectively. So we selected 850. </P
></LI
></UL
><P
>We have used the application menu item to insert our own menu item as a child. To be able to use the application menu item, we need to make sure that the module providing the application menu is loaded before our application is loaded. We will do that in the next step. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3032"
>10.1.8. Specifying module dependencies</A
></H4
><P
>Specifying a simple list of applications to be loaded before our application provided to Plinth is sufficient. Add this in <FONT
COLOR="RED"
>__init__.py</FONT
>. </P
><PRE
CLASS="screen"
>depends = ['plinth.modules.apps']</PRE
><P
>Plinth will now make sure that the <FONT
COLOR="RED"
>apps</FONT
> module is loaded before our module is loaded. Application initialization is also ensured to happen in this order. We can safely use any features of this module knowing that they have been initialized. </P
><DIV
CLASS="note"
><P
></P
><TABLE
CLASS="note"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Circular dependencies</B
></SPAN
>
</P
><P
>Circular dependencies are not possible among Plinth applications. Attempting to add them will result in error during startup. </P
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3043"
>10.1.9. Writing the enable/disable form</A
></H4
><P
>We wish to provide a user interface to the user to enable and disable the application. Complex modules may require more options but this is sufficient for our application. Add the following <FONT
COLOR="RED"
>forms.py</FONT
>. </P
><PRE
CLASS="screen"
>from django import forms
class TtrssForm(forms.Form):
"""Tiny Tiny RSS configuration form."""
enabled = forms.BooleanField(
label='Enable Tiny Tiny RSS',
required=False)</PRE
><P
>This creates a Django form that shows a single option to enable/disable the application. It also shows its current state. This is how a regular Django form is built. See <A
HREF="https://docs.djangoproject.com/en/stable/topics/forms/"
TARGET="_top"
>Django Forms documentation</A
> for more information. </P
><DIV
CLASS="tip"
><P
></P
><TABLE
CLASS="tip"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/tip.gif"
HSPACE="5"
ALT="Tip"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
> <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>Too many options</B
></SPAN
>
</P
><P
>Resist the temptation to create a lot of configuration options. Although this will put more control in the hands of the users, it will make FreedomBox less usable. FreedomBox is a consumer product. Our target users are not technically savvy and we have make most of the decisions on behalf of the user to make the interface as simple and easy to use as possible. </P
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3054"
>10.1.10. Writing a view</A
></H4
><P
>In <FONT
COLOR="RED"
>views.py</FONT
>, let us add a view that can handle the URL we have provided above. </P
><PRE
CLASS="screen"
>from .forms import TtrssForm
def index(request):
"""Serve configuration page."""
status = get_status()
form = None
if request.method == 'POST':
form = TtrssForm(request.POST, prefix='ttrss')
if form.is_valid():
_apply_changes(request, status, form.cleaned_data)
status = get_status()
form = TtrssForm(initial=status, prefix='ttrss')
else:
form = TtrssForm(initial=status, prefix='ttrss')
return TemplateResponse(request, 'ttrss.html',
{'title': 'News Feed Reader (Tiny Tiny RSS)',
'status': status,
'form': form})</PRE
><P
>This view works with the form we created in the previous step. It shows the current status of the service in form. This status is retrieved with the help of <FONT
COLOR="RED"
>get_status()</FONT
> helper method. When the form is posted, again this view is called and it verifies whether the form's input values are correct. If so, it will apply the actions necessary for changed form values using the <FONT
COLOR="RED"
>_apply_changes()</FONT
> method. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3062"
>10.1.11. Getting the current status of the application</A
></H4
><P
>The view in the previous setup requires the status of the application to be retrieved using the <FONT
COLOR="RED"
>get_status()</FONT
> method. Let us implement that method in <FONT
COLOR="RED"
>views.py</FONT
>. </P
><PRE
CLASS="screen"
>from plinth.modules import ttrss
def get_status():
"""Get the current status."""
return {'enabled': ttrss.is_enabled()}</PRE
><P
>This method retrieves the various statuses of the application for display in the view. Currently, we only need to show whether the application is enabled or disabled. So, we retrieve that using a helper method defined in <FONT
COLOR="RED"
>__init__.py</FONT
>. </P
><PRE
CLASS="screen"
>from plinth import action_utils
def is_enabled():
"""Return whether the module is enabled."""
return action_utils.webserver_is_enabled('50-tt-rss')</PRE
><P
>This method uses one of the several action utilities provided by Plinth. This method checks whether a webserver configuration named <FONT
COLOR="RED"
>50-tt-rss</FONT
> is enabled. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3073"
>10.1.12. Displaying the application page</A
></H4
><P
>The view that we have written above requires a template file known as <FONT
COLOR="RED"
>ttrss.html</FONT
> to work. This template file controls how the web page for our application is displayed. Let us create this template file in <FONT
COLOR="RED"
>templates/ttrss.html</FONT
>. </P
><PRE
CLASS="screen"
>{% extends "base.html" %}
{% load bootstrap %}
{% block content %}
<h2>News Feed Reader (Tiny Tiny RSS)</h2>
<p>Tiny Tiny RSS is a news feed (RSS/Atom) reader and aggregator,
designed to allow you to read news from any location, while feeling
as close to a real desktop application as possible.</p>
<h3>Configuration</h3>
<form class="form" method="post">
{% csrf_token %}
{{ form|bootstrap }}
<input type="submit" class="btn btn-primary" value="Update setup"/>
</form>
{% endblock %}</PRE
><P
>This template extends an existing template known as <FONT
COLOR="RED"
>base.html</FONT
>. This template is available in Plinth core to provide all the basic layout, styling, menus, JavaScript and CSS libraries. We will override the content area of the base template and keep the rest. </P
><P
>Yet again, there is nothing special about the way this template is written. This is a regular Django template. See <A
HREF="https://docs.djangoproject.com/en/stable/topics/templates/"
TARGET="_top"
>Django Template documentation</A
>. </P
><P
>For styling and UI components, Plinth uses the Twitter Bootstrap project. See <A
HREF="http://getbootstrap.com/css/"
TARGET="_top"
>Bootstrap documentation</A
> for reference. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3085"
>10.1.13. Applying the changes from the form</A
></H4
><P
>The view we have created displays the form and processes the form after the user submits it. It used a helper method called <FONT
COLOR="RED"
>_apply_changes()</FONT
> to actually get the work done. Let us implement that method in <FONT
COLOR="RED"
>views.py</FONT
>. </P
><PRE
CLASS="screen"
>from django.contrib import messages
from plinth import actions
def _apply_changes(request, old_status, new_status):
"""Apply the changes."""
modified = False
if old_status['enabled'] != new_status['enabled']:
sub_command = 'enable' if new_status['enabled'] else 'disable'
actions.superuser_run('ttrss', [sub_command])
modified = True
if modified:
messages.success(request, 'Configuration updated')
else:
messages.info(request, 'Setting unchanged')</PRE
><P
>We check to make sure that we don't try to disable the application when it is already disabled or try to enable the application when it is already enabled. Although Plinth's operations are idempotent, meaning that running them twice will not be problematic, we still wish avoid unnecessary operations for the sake of speed. </P
><P
>We are actually perform the operation using Plinth actions. We will implement the action to be performed a bit later. </P
><P
>After we perform the operation, we will show a message on the response page showing that the action was successful or that nothing happened. We use the Django messaging framework to accomplish this. See <A
HREF="https://docs.djangoproject.com/en/stable/ref/contrib/messages/"
TARGET="_top"
>Django messaging framework</A
> for more information. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3095"
>10.1.14. Installing packages required for the application</A
></H4
><P
>Plinth takes care of installing all the Debian packages required for our application to work. All we need to do is specify the list of the Debian packages required using a decorator on our view as follows: </P
><PRE
CLASS="screen"
>from plinth import package
@package.required(['tt-rss'])
def index(request):
"""Serve configuration page."""
...</PRE
><P
>The first time this application's view is accessed, Plinth shows a package installation page and allows the user to install the required packages. After the package installation is completed, the user is shown the application's configuration page. </P
><P
>If there are configuration tasks to be performed immediately before or after the package installation, Plinth provides hooks for it. The <FONT
COLOR="RED"
>before_install=</FONT
> and <FONT
COLOR="RED"
>on_install=</FONT
> parameters to the <FONT
COLOR="RED"
>@package.required</FONT
> decorator take a callback methods that are called before installation of packages and after installation of packages respectively. See the reference section of this manual or the <FONT
COLOR="RED"
>plinth.package</FONT
> module for details. Other modules in Plinth that use this feature provided example usage. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3105"
>10.1.15. Writing actions</A
></H4
><P
>The actual work of performing the configuration change is carried out by a Plinth action. Actions are independent scripts that run with higher privileges required to perform a task. They are placed in a separate directory and invoked as scripts via sudo. For our application we need to write an action that can enable and disable the web configuration. We will do this by creating a file <FONT
COLOR="RED"
>actions/ttrss</FONT
>. </P
><PRE
CLASS="screen"
>import argparse
from plinth import action_utils
def parse_arguments():
"""Return parsed command line arguments as dictionary."""
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers(dest='subcommand', help='Sub command')
subparsers.add_parser('enable', help='Enable Tiny Tiny RSS')
subparsers.add_parser('disable', help='Disable Tiny Tiny RSS')
return parser.parse_args()
def subcommand_enable(_):
"""Enable web configuration and reload."""
action_utils.webserver_enable('50-tt-rss')
def subcommand_disable(_):
"""Disable web configuration and reload."""
action_utils.webserver_disable('50-tt-rss')
def main():
"""Parse arguments and perform all duties."""
arguments = parse_arguments()
subcommand = arguments.subcommand.replace('-', '_')
subcommand_method = globals()['subcommand_' + subcommand]
subcommand_method(arguments)
if __name__ == '__main__':
main()</PRE
><P
>This is a simple Python3 program that parses command line arguments. While Python3 is preferred, it can be written in other languages also. It uses a helper utility provided by Plinth to actually enable and disable Apache2 web server configuration. </P
><P
>This script is automatically installed to <FONT
COLOR="RED"
>/usr/share/plinth/actions</FONT
> by Plinth's installation script <FONT
COLOR="RED"
>setup.py</FONT
>. Only from here will there is a possibility of running the script under <FONT
COLOR="RED"
>sudo</FONT
>. If you are writing an application that resides indenpendently of Plinth's source code, your <FONT
COLOR="RED"
>setup.py</FONT
> script will need to take care of copying the file to the target location. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3116"
>10.1.16. Creating diagnostics</A
></H4
><P
>Plinth provides a simple API for showing diagnostics results. The application has to implement a method for actually running the diagnostics and return the results as a list. Plinth then takes care of calling the diagnostics method and displaying the list in a formatted manner. </P
><P
>To implement the diagnostics method, method called <FONT
COLOR="RED"
>diagnose()</FONT
> has to be available as <FONT
COLOR="RED"
><app>.diagnose()</FONT
>. It must return a list in which each item is the result of a test performed. The item itself is a two-tuple containing the display name of the test followed by the result as <FONT
COLOR="RED"
>passed</FONT
>, <FONT
COLOR="RED"
>failed</FONT
> or <FONT
COLOR="RED"
>error</FONT
>. </P
><PRE
CLASS="screen"
>def diagnose():
"""Run diagnostics and return the results."""
results = []
results.extend(action_utils.diagnose_url_on_all(
'https://{host}/ttrss', extra_options=['--no-check-certificate']))
return results</PRE
><P
>There are several helpers available to implement some of the common diagnostic tests. For our application we wish to implement a test to check whether the <FONT
COLOR="RED"
>/ttrss</FONT
> URL is accessible. Since this is a commonly performed test, there is a helper method available and we have used it in the above code. The <FONT
COLOR="RED"
>{host}</FONT
> tag replaced with various IP addresses, hostnames and domain names by the helper to produce different kinds of URLs and they are all tested. Results for all tests are returned which we then pass on to Plinth. </P
><P
>The user can trigger the diagnostics test by going to <FONT
COLOR="RED"
>System -> Diagnostics</FONT
> page. This runs diagnostics for all the applications. If we want users to be able to run diagnostics specifically for this application, we can include a button for it in our template immediately after the application description. </P
><PRE
CLASS="screen"
>{% include "diagnostics_button.html" with module="ttrss" %}</PRE
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3132"
>10.1.17. Logging</A
></H4
><P
>Sometimes we may feel the need to write some debug messages to the console and Plinth log file. Doing this in Plinth is just like doing this any other Python application. </P
><PRE
CLASS="screen"
>import logging
logger = logging.getLogger(__name__)
def example_method():
logger.debug('A debug level message')
logger.info('Showing application page - %s', request.method)
try:
something()
except Exception as exception:
# Print stack trace
logger.exception('Encountered an exception - %s', exception)</PRE
><P
>For more information see Python <A
HREF="https://docs.python.org/3.4/library/logging.html"
TARGET="_top"
>logging framework</A
> documentation. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3138"
>10.1.18. Adding a License</A
></H4
><P
>Plinth is licensed under the GNU Affero General Public License Version 3 or later. FreedomBox UI applications, which run as modules under Plinth, also need to be under the same license or under a compatible license. The license of our application needs to clear for our application to be accepted by users and other developers. Let us add license headers to our application. </P
><PRE
CLASS="screen"
>#
# This file is part of Plinth.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#</PRE
><P
>The above header needs to be present in every file of the application. It is suitable for Python files. However, in template files, we need to modify it slightly. </P
><PRE
CLASS="screen"
>{% extends "base.html" %}
{% comment %}
#
# This file is part of Plinth.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
{% endcomment %}
...</PRE
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3144"
>10.1.19. Internationalization</A
></H4
><P
>Every string message that is visible to the user must be localized to user's native language. For this to happen, our application needs to be internationalized. This requires marking the user visible messages for translation. Plinth applications use the Django's localization methods to make that happen. </P
><PRE
CLASS="screen"
>from django.utils.translation import ugettext as _
def index(request):
...
return TemplateResponse(request, 'ttrss.html',
{'title': _('News Feed Reader (Tiny Tiny RSS)'),
'status': status,
'form': form})</PRE
><P
>Notice that the page's title is wrapped in the <FONT
COLOR="RED"
>_()</FONT
> method call. Let us do that for the menu item of the application too. </P
><PRE
CLASS="screen"
>from django.utils.translation import ugettext_lazy as _
def init():
"""Intialize the module."""
menu = cfg.main_menu.get('apps:index')
menu.add_urlname(_('News Feed Reader (Tiny Tiny RSS)'), 'glyphicon-envelope',
'ttrss:index', 600)</PRE
><P
>Notice that in this case, we have used the <FONT
COLOR="RED"
>ugettext_lazy</FONT
> and in the first case we have used the regular <FONT
COLOR="RED"
>ugettext</FONT
>. This is because in the second case the <FONT
COLOR="RED"
>gettext</FONT
> lookup is made once and reused for every user looking at the interface. These users may each have a different language set for their interface. Lookup made for one language should not be used for other users. The <FONT
COLOR="RED"
>_lazy</FONT
> method provided by Django makes sure that the return value is an object that will actually be converted to string at the final moment when the string is being displayed. In the first case, the looked is made and string is returned immediately. </P
><P
>All of this is the usual way internationalization is done in Django. See <A
HREF="https://docs.djangoproject.com/en/stable/topics/i18n/"
TARGET="_top"
>Django internationalization and localization</A
> documentation for more information. </P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3158"
>10.1.20. Coding standards</A
></H4
><P
>For readability and easy collaboration it is important to follow common coding standards. Plinth uses the Python coding standards and uses the <FONT
COLOR="RED"
>pylint</FONT
> and <FONT
COLOR="RED"
>flake8</FONT
> tools to check if the there are any violations. Run these tools on our application and fix any errors and warnings. Better yet, integrate these tools into your favorite IDE for on-the-fly checking. </P
><P
>For the most part, the code we have written so far, is already compliant with the coding standards. This includes variable/method naming, indentation, document strings, comments, etc. One thing we have to add are the module documentation strings. Let us add those. In <FONT
COLOR="RED"
>__init__.py</FONT
> add the top: </P
><PRE
CLASS="screen"
>"""
Plinth module to configure Tiny Tiny RSS.
"""</PRE
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN3166"
>10.2. Reference Guide</A
></H3
><P
>This section describes Plinth API that is most frequently used by application. Note that since Plinth is under development and has not yet reached 1.0, this API is subject to change. This is not usually a problem because all the Plinth applications currently reside in Plinth source repository itself and are updated when the API is updated. </P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3169"
>10.2.1. Applications</A
></H4
><P
>These methods are optionally provided by the application and Plinth calls/uses them if they are present. </P
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN3172"
>10.2.1.1. <application>.init()</A
></H5
><P
>Optional. This method is called by Plinth soon after all the applications are loaded. The <FONT
COLOR="RED"
>init()</FONT
> call order guarantees that other applications that this application depends on will be initialized before this application is initialized. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN3176"
>10.2.1.2. <application>.diagnose()</A
></H5
><P
>Optional. Called when the user invokes system-wide diagnostics by visiting <FONT
COLOR="RED"
>System -> Diagnositcs</FONT
>. This method must return an array of diagnostic results. Each diagnostic result must be a two-tuple with first element as a string that is shown to the user as name of the test and second element is the result of the test. It must be one of <FONT
COLOR="RED"
>passed</FONT
>, <FONT
COLOR="RED"
>failed</FONT
>, <FONT
COLOR="RED"
>error</FONT
>. Example return value: </P
><PRE
CLASS="screen"
>[('Check http://localhost/app is reachable', 'passed'),
('Check configuration is sane', 'passed')]</PRE
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN3184"
>10.2.1.3. <appliation>.depends</A
></H5
><P
>Optional. This module property must contain a list of all applications that this application depends on. The application is specified as string containing the full module load path. For example, <FONT
COLOR="RED"
>plinth.modules.apps</FONT
>. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN3188"
>10.2.1.4. plinth.package.required(package_list, before_install=None, on_install=on_install)</A
></H5
><P
>Make sure that a set of Debian packages are installed before a view can be accessed. If the packages are not currently installed on the system, a special installation view is displayed showing the list of packages to be installed. If the user chooses to proceed, package installation will start and an installation progress screen will be shown. After completion of the installation process, the original view is shown. </P
><P
>The <FONT
COLOR="RED"
>package_list</FONT
> must be an iterable containing the Debian package names as strings. If provided, the <FONT
COLOR="RED"
>before_install</FONT
> callable is called just before the installation process starts. Similarly, <FONT
COLOR="RED"
>on_install</FONT
> callable is called just after the package installation completes. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3195"
>10.2.2. Actions</A
></H4
><P
>Plinth's web front does not directly change any aspect of the underlying operating system. Instead, it calls upon <SPAN
CLASS="emphasis"
><I
CLASS="emphasis"
>Actions</I
></SPAN
>, as shell commands. Actions live in <FONT
COLOR="RED"
>/usr/share/plinth/actions</FONT
> directory. They require no interaction beyond passing command line arguments or taking sensitive arguments via stdin. They change the operation of the services and applications of the FreedomBox and nothing else. These actions are also directly usable by a skilled administrator. </P
><P
>The following methods are provided by Plinth to run actions and to implement them easily by reusing code for common tasks. </P
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN3201"
>10.2.2.1. plinth.actions.run(action, options=None, input=None, async=False)</A
></H5
><P
>Run an action command present under the <FONT
COLOR="RED"
>actions/</FONT
> directory. This runs <FONT
COLOR="RED"
>subprocess.Popen()</FONT
> after some checks. The action must be present in the actions/ directory. </P
><P
><FONT
COLOR="RED"
>options</FONT
> are a list of additional arguments to pass to the command. If <FONT
COLOR="RED"
>input</FONT
> is given it must be bytearray containing the input to pass on to the executed action. If <FONT
COLOR="RED"
>async</FONT
> is set to True, the method will return without waiting for the command to finish. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN3210"
>10.2.2.2. plinth.actions.superuser_run(action, options=None, input=None, async=False)</A
></H5
><P
>This is same as <FONT
COLOR="RED"
>plinth.actions.run()</FONT
> except the command is run with superuser privelages. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN3214"
>10.2.2.3. plinth.action_utils</A
></H5
><P
>Several utlities to help with the implementation of actions and diagnotic tests are implemented in this module. Refer to the module source code for a list of these methods and their documentation. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3217"
>10.2.3. Menus</A
></H4
><DIV
CLASS="section"
><H5
CLASS="section"
><A
NAME="AEN3219"
>10.2.3.1. plinth.cfg.main_menu</A
></H5
><P
>This is a reference to the global main menu. All menu entries in Plinth are decendents of this menu item. See <FONT
COLOR="RED"
>Menu.add_item()</FONT
> and <FONT
COLOR="RED"
>Menu.add_urlname()</FONT
> for adding items to this menu or its children. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN3224"
>10.2.3.2. plinth.menu.Menu.get(self, urlname, url_args=None, url_kwargs=None)</A
></H5
><P
>Return a child of this menu item. <FONT
COLOR="RED"
>urlname</FONT
> must be the name of a URL as configured in Django. <FONT
COLOR="RED"
>django.core.urlresolvers.reverse()</FONT
> is called before the lookup for child menu item is performed. <FONT
COLOR="RED"
>url_args</FONT
> and <FONT
COLOR="RED"
>url_kwargs</FONT
> are passed on to <FONT
COLOR="RED"
>reverse()</FONT
>. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN3232"
>10.2.3.3. plinth.menu.Menu.add_item(self, label, icon, url, order=50)</A
></H5
><P
>Add a menu item as a child to the current menu item. <FONT
COLOR="RED"
>label</FONT
> is the user visible string shown for the menu item. <FONT
COLOR="RED"
>icon</FONT
> must be a glyphicon class from the Twitter Bootstrap library. <FONT
COLOR="RED"
>url</FONT
> is the relative URL to which this menu item will take the user to. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN3238"
>10.2.3.4. plinth.menu.Menu.add_urlname(self, label, icon, urlname, order=50, url_args=None, url_kwargs=None)</A
></H5
><P
>Same as <FONT
COLOR="RED"
>plinth.menu.Menu.add_item()</FONT
> but instead of URL as input it is the name of a URL as configured in Django. <FONT
COLOR="RED"
>django.core.urlresolvers.reverse()</FONT
> is called before it is added to the parent menu item. <FONT
COLOR="RED"
>url_args</FONT
> and <FONT
COLOR="RED"
>url_kwargs</FONT
> are passed on to <FONT
COLOR="RED"
>reverse()</FONT
>. </P
></DIV
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3246"
>10.2.4. Services</A
></H4
><DIV
CLASS="section"
><H5
CLASS="section"
><A
NAME="AEN3248"
>10.2.4.1. plinth.service.Service.__init__(self, service_id, name, ports=None, is_external=False, enabled=True)</A
></H5
><P
>Create a new Service object to notify all applications about the existence and status of a given application. <FONT
COLOR="RED"
>service_id</FONT
> is a unique identifier for this application. <FONT
COLOR="RED"
>name</FONT
> is a display name of this application that is shown by other applications such as on the firewall status page. <FONT
COLOR="RED"
>ports</FONT
> is a list of names recognized by firewalld when enabling or disabling firewalld services. If <FONT
COLOR="RED"
>is_external</FONT
> is true, the ports for this service are accessible from external interfaces, that is, from the Internet. Otherwise, the service is only available for client connected via LAN. <FONT
COLOR="RED"
>enabled</FONT
> is the current state of the application. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN3256"
>10.2.4.2. plinth.service.Service.is_enabled(self)</A
></H5
><P
>Return whether the service is currently enabled. </P
></DIV
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN3259"
>10.2.4.3. plinth.service.Service.notify_enabled(self, sender, enabled)</A
></H5
><P
>Notify other applications about the change of status of this application. <FONT
COLOR="RED"
>sender</FONT
> object should identify which application made the change. <FONT
COLOR="RED"
>enabled</FONT
> is a boolean that signifies whether the application is enabled (= True) or disabled (= False). </P
><P
>This is typically caught by the firewall application to enable or disable the ports corresponding to an application. </P
></DIV
></DIV
></DIV
></DIV
><DIV
CLASS="section"
><HR><H2
CLASS="section"
><A
NAME="AEN3265"
>11. Hacking</A
></H2
><P
>FreedomBox consists of three main projects: </P
><P
></P
><UL
><LI
><P
>Plinth, the web interface </P
></LI
><LI
><P
>FreedomBox Setup, the Debian package to perform initial setup and </P
></LI
><LI
><P
>Freedom Maker, a script to build disk images for various hardware </P
></LI
></UL
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN3275"
>11.1. Plinth</A
></H3
><P
>Plinth is a web interface to administer the functions of the FreedomBox. </P
><P
>Plinth is <A
HREF="https://www.gnu.org/philosophy/"
TARGET="_top"
>Free Software</A
> under <A
HREF="https://www.gnu.org/licenses/agpl.html"
TARGET="_top"
>GNU Affero General Public License</A
> version 3 or (at your option) a later version. </P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3281"
>11.1.1. Using</A
></H4
><P
></P
><UL
><LI
><P
>Plinth comes installed with all FreedomBox images. You can <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>download</A
> FreedomBox images and run on any of the supported hardware. Then, you can access Plinth by visiting the URL <A
HREF="http://freedombox/plinth"
TARGET="_top"
>http://freedombox/plinth</A
>. </P
></LI
><LI
><P
>If you are on a Debian box, you may install Plinth from Debian package archive. Currently, only Stretch (testing) and Sid (unstable) are supported. To install Plinth run: </P
></LI
></UL
><PRE
CLASS="screen"
>$ sudo apt-get install plinth</PRE
><P
></P
><UL
><LI
><P
>You can also get Plinth from its <A
HREF="https://github.com/freedombox/Plinth"
TARGET="_top"
>Git repository</A
> and <A
HREF="https://github.com/freedombox/Plinth/blob/master/INSTALL"
TARGET="_top"
>install from source</A
>. </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3296"
>11.1.2. Screenshots</A
></H4
><P
> <A
HREF="https://wiki.debian.org/FreedomBox/Plinth?action=AttachFile&do=get&target=about.png"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/about.png"
WIDTH="150pt"></SPAN
>
</A
>
<A
HREF="https://wiki.debian.org/FreedomBox/Plinth?action=AttachFile&do=get&target=tor.png"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/tor.png"
WIDTH="150pt"></SPAN
>
</A
>
<A
HREF="https://wiki.debian.org/FreedomBox/Plinth?action=AttachFile&do=get&target=owncloud.png"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/owncloud.png"
WIDTH="150pt"></SPAN
>
</A
>
<A
HREF="https://wiki.debian.org/FreedomBox/Plinth?action=AttachFile&do=get&target=firewall.png"
TARGET="_top"
> <SPAN
CLASS="inlinemediaobject"
><IMG
SRC="images/firewall.png"
WIDTH="150pt"></SPAN
>
</A
>
</P
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3323"
>11.1.3. Support</A
></H4
><P
>You may ask for support on </P
><P
></P
><UL
><LI
><P
> <A
HREF="https://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss#"
TARGET="_top"
>The mailing list</A
>
</P
></LI
><LI
><P
> <A
HREF="irc://irc.debian.org/freedombox"
TARGET="_top"
>#freedombox IRC channel</A
>
</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3333"
>11.1.4. Contributing</A
></H4
><P
>We are looking for help to improve Plinth. You can contribute to Plinth by not just by coding but also by translating, documenting, designing, packaging and providing support. </P
><P
></P
><UL
><LI
><P
>Instructions on how to <A
HREF="https://wiki.debian.org/FreedomBox/Contribute/Code#"
TARGET="_top"
>contribute code</A
> are available. </P
></LI
><LI
><P
>The primary Git repository is hosted at <A
HREF="https://github.com/freedombox/Plinth"
TARGET="_top"
>FreedomBox GitHub Page</A
>. </P
></LI
><LI
><P
>Instructions for <A
HREF="https://github.com/freedombox/Plinth/blob/master/INSTALL"
TARGET="_top"
>installing from source</A
> and <A
HREF="https://github.com/freedombox/Plinth/blob/master/HACKING"
TARGET="_top"
>hacking the source</A
> are available. </P
></LI
><LI
><P
>List of bugs, TODO items and feature requests are available on the <A
HREF="https://github.com/freedombox/Plinth/issues"
TARGET="_top"
>issue tracker</A
>. </P
></LI
><LI
><P
>Before contributing to Plinth code, you need understand <A
HREF="https://www.python.org/"
TARGET="_top"
>Python</A
> and <A
HREF="https://www.djangoproject.com/"
TARGET="_top"
>Django</A
> on top which it is built. </P
></LI
><LI
><P
>You can request for development assistance on <A
HREF="https://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss#"
TARGET="_top"
>the mailing list</A
> or the <A
HREF="irc://irc.debian.org/freedombox"
TARGET="_top"
>#freedombox IRC channel</A
>. </P
></LI
></UL
><DIV
CLASS="section"
><HR><H5
CLASS="section"
><A
NAME="AEN3358"
>11.1.4.1. Debian Package</A
></H5
><P
></P
><UL
><LI
><P
>Plinth is <A
HREF="https://packages.debian.org/plinth#"
TARGET="_top"
>packaged</A
> for Debian. </P
></LI
><LI
><P
>Packaging project is on <A
HREF="https://alioth.debian.org/projects/freedombox#"
TARGET="_top"
>Alioth</A
> along with <A
HREF="https://anonscm.debian.org/cgit/freedombox/plinth.git#"
TARGET="_top"
>sources</A
>. </P
></LI
><LI
><P
>Issues related to packaging are listed on <A
HREF="https://bugs.debian.org/plinth#"
TARGET="_top"
>Debian BTS</A
>. </P
></LI
></UL
></DIV
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN3371"
>11.2. FreedomBox Setup</A
></H3
><P
>FreedomBox Setup is a Debian package for setting up the FreedomBox. If you <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>download and use pre-built images</A
> you don't have to worry about this package. </P
><P
>FreedomBox Setup is responsible for setting up basic networking, web server, user accounts, installing essential packages etc. It performs first part of the setup during the image build process. Later, when the image is booted for the first time on actual hardware (or on a virtual machine), it does the remaining setup and then reboots the machine. It also comes with a diagnostic script to check if the FreedomBox Setup is running as expected. </P
><P
>FreedomBox Setup is <A
HREF="https://www.gnu.org/philosophy/"
TARGET="_top"
>Free Software</A
> licensed under <A
HREF="https://www.gnu.org/licenses/gpl.html"
TARGET="_top"
>GNU General Public License</A
> version 3 or (at your option) a later version. </P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3379"
>11.2.1. Using</A
></H4
><P
></P
><UL
><LI
><P
>FreedomBox Setup comes installed with all FreedomBox images. You can <A
HREF="https://wiki.debian.org/FreedomBox/Download#"
TARGET="_top"
>download</A
> FreedomBox images and run on any of the supported hardware. </P
></LI
><LI
><P
>If you are on a Debian box, you may install FreedomBox Setup from Debian package archive. This essentially turns your Debian installation into a FreedomBox! Currently, only Sid (unstable) is supported. To install FreedomBox Setup, see <A
HREF="https://wiki.debian.org/FreedomBox/Hardware/Debian#"
TARGET="_top"
>instructions</A
> on setting up FreedomBox on a Debian machine. </P
></LI
><LI
><P
>You can also get FreedomBox Setup from its <A
HREF="https://anonscm.debian.org/cgit/freedombox/freedombox-setup.git"
TARGET="_top"
>Git repository</A
> and <A
HREF="https://anonscm.debian.org/cgit/freedombox/freedombox-setup.git/tree/README"
TARGET="_top"
>build Debian package from source</A
>. </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3392"
>11.2.2. Support</A
></H4
><P
>You may ask for support on </P
><P
></P
><UL
><LI
><P
> <A
HREF="http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss"
TARGET="_top"
>The mailing list</A
>
</P
></LI
><LI
><P
> <A
HREF="irc://irc.debian.org/freedombox"
TARGET="_top"
>#freedombox IRC channel</A
>
</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3402"
>11.2.3. Contributing</A
></H4
><P
>We are looking for help to improve FreedomBox Setup. </P
><P
></P
><UL
><LI
><P
>Instructions on how to <A
HREF="https://wiki.debian.org/FreedomBox/Contribute/Code#"
TARGET="_top"
>contribute code</A
> are available. </P
></LI
><LI
><P
>FreedomBox Setup is part of the <A
HREF="https://alioth.debian.org/projects/freedombox/"
TARGET="_top"
>FreedomBox Alioth Project</A
>. </P
></LI
><LI
><P
>List of bugs, TODO items, packages issues and feature requests are available on the <A
HREF="https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=freedombox-setup"
TARGET="_top"
>issue tracker</A
>. </P
></LI
><LI
><P
>You can request for development assistance on <A
HREF="http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss"
TARGET="_top"
>the mailing list</A
> or the <A
HREF="irc://irc.debian.org/freedombox"
TARGET="_top"
>#freedombox IRC channel</A
>. </P
></LI
><LI
><P
>See <A
HREF="https://tracker.debian.org/pkg/freedombox-setup"
TARGET="_top"
>Debian tracker</A
> for information on Debian package. FreedomBox Setup is a Debian native package meaning it is primarily built for Debian and comes with Debian packaging scripts in its repository. </P
></LI
></UL
></DIV
></DIV
><DIV
CLASS="section"
><HR><H3
CLASS="section"
><A
NAME="AEN3422"
>11.3. Freedom Maker</A
></H3
><P
>Freedom Maker is a script to build FreedomBox disk images for use on various hardware devices or virtual machines. </P
><P
>Freedom Maker can currently build FreedomBox disk images for the following: </P
><P
></P
><UL
><LI
><P
> <A
HREF="https://en.wikipedia.org/wiki/DreamPlug"
TARGET="_top"
>DreamPlug</A
>
</P
></LI
><LI
><P
> <A
HREF="https://en.wikipedia.org/wiki/Raspberry_Pi"
TARGET="_top"
>Raspberry Pi</A
>
</P
></LI
><LI
><P
> <A
HREF="https://en.wikipedia.org/wiki/BeagleBoard#BeagleBone"
TARGET="_top"
>BeagleBone</A
>
</P
></LI
><LI
><P
><A
HREF="https://en.wikipedia.org/wiki/Cubieboard#Cubietruck_.28Cubieboard3.29"
TARGET="_top"
>Cubietruck</A
> (work in progress) </P
></LI
><LI
><P
> <A
HREF="https://en.wikipedia.org/wiki/VirtualBox"
TARGET="_top"
>VirtualBox</A
>
</P
></LI
><LI
><P
>Other virtual machines (using raw disk images) </P
></LI
></UL
><P
>It relies on the <A
HREF="http://liw.fi/vmdebootstrap/"
TARGET="_top"
>vmdebootstrap</A
> project actually create images. If a hardware platform is capable of running Debian, it should not be too much effort adopt Freedom Maker to create <A
HREF="https://wiki.debian.org/FreedomBox#"
TARGET="_top"
>FreedomBox</A
> images for the platform. </P
><P
>Freedom Maker is <A
HREF="https://www.gnu.org/philosophy/"
TARGET="_top"
>Free Software</A
> licensed under <A
HREF="https://www.gnu.org/licenses/gpl.html"
TARGET="_top"
>GNU General Public License</A
> version 3 or (at your option) a later version. </P
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3450"
>11.3.1. Building FreedomBox Images</A
></H4
><P
></P
><UL
><LI
><P
>You can get Freedom Maker from its <A
HREF="https://alioth.debian.org/anonscm/git/freedombox/freedom-maker.git"
TARGET="_top"
>Git repository</A
> and follow the instructions in the README to <A
HREF="https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=freedombox/freedom-maker.git;a=blob;f=README"
TARGET="_top"
>build a FreedomBox image</A
>. </P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3457"
>11.3.2. Support</A
></H4
><P
>You may ask for support on </P
><P
></P
><UL
><LI
><P
> <A
HREF="http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss"
TARGET="_top"
>The mailing list</A
>
</P
></LI
><LI
><P
> <A
HREF="irc://irc.debian.org/freedombox"
TARGET="_top"
>#freedombox IRC channel</A
>
</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H4
CLASS="section"
><A
NAME="AEN3467"
>11.3.3. Contributing</A
></H4
><P
>We are looking for help to improve Freedom Maker. </P
><P
></P
><UL
><LI
><P
>Instructions on how to <A
HREF="https://wiki.debian.org/FreedomBox/Contribute/Code#"
TARGET="_top"
>contribute code</A
> are available. </P
></LI
><LI
><P
>Freedom Maker is hosted on <A
HREF="https://alioth.debian.org/projects/freedombox/"
TARGET="_top"
>FreedomBox Alioth Portal</A
>. The primary Git repository is hosted <A
HREF="https://alioth.debian.org/anonscm/git/freedombox/freedom-maker.git"
TARGET="_top"
>there</A
>. </P
></LI
><LI
><P
>Freedom Maker is also hosted on <A
HREF="https://github.com/freedombox/freedom-maker"
TARGET="_top"
>FreedomBox GitHub Page</A
>. Pull requests are accepted there. </P
></LI
><LI
><P
>You can contribute to FreedomBox by adding support for more hardware platforms. Freedom Maker can be easily adopted to newer platforms if they already support running Debian. </P
></LI
><LI
><P
>You can create and test images with Freedom Maker regularly to test for new features and check for regressions. </P
></LI
><LI
><P
>List of bugs, TODO items and feature requests are available on the <A
HREF="https://github.com/freedombox/freedom-maker/issues"
TARGET="_top"
>issue tracker</A
>. </P
></LI
><LI
><P
>You can request for development assistance on <A
HREF="http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss"
TARGET="_top"
>the mailing list</A
> or the <A
HREF="irc://irc.debian.org/freedombox"
TARGET="_top"
>#freedombox IRC channel</A
>. </P
></LI
></UL
></DIV
></DIV
></DIV
><DIV
CLASS="section"
><HR><H2
CLASS="section"
><A
NAME="AEN3492"
>12. Other Resources: Manual Older Versions</A
></H2
><P
></P
><UL
><LI
><P
> <A
HREF="https://wiki.debian.org/FreedomBox/Manual/0.3#"
TARGET="_top"
>0.3 Manual</A
>
</P
></LI
><LI
><P
> <A
HREF="https://wiki.debian.org/FreedomBox/Manual/Jessie#"
TARGET="_top"
>0.2 Manual</A
>
</P
></LI
><LI
><P
> <A
HREF="https://wiki.debian.org/FreedomBox/Manual/Jessie#"
TARGET="_top"
>Jessie Manual</A
>
</P
></LI
></UL
></DIV
><DIV
CLASS="section"
><HR><H2
CLASS="section"
><A
NAME="AEN3504"
>13. Tell people around you</A
></H2
><P
></P
><UL
><LI
><P
> <A
HREF="https://wiki.debian.org/FreedomBox/Press#"
TARGET="_top"
>FreedomBox in the Press</A
>
</P
></LI
><LI
><P
> <A
HREF="https://wiki.debian.org/FreedomBox/Conferences#"
TARGET="_top"
>Conferences</A
>
</P
></LI
><LI
><P
> <A
HREF="https://wiki.debian.org/FreedomBox/TalksAndPresentations#"
TARGET="_top"
>Talks and presentations</A
>
</P
><P
></P
><UL
><LI
><P
><A
HREF="https://wiki.debian.org/FreedomBox/TalksAndPresentations/AvailableMaterial#"
TARGET="_top"
>Available Material</A
> Slides and other raw material </P
></LI
></UL
></LI
><LI
><P
> <A
HREF="http://www.facebook.com/freedomboxfoundation"
TARGET="_top"
>Facebook</A
>
</P
></LI
><LI
><P
> <A
HREF="http://twitter.com/#!/FreedomBoxFndn"
TARGET="_top"
>Twitter</A
>
</P
></LI
><LI
><P
> <A
HREF="http://meetings-archive.debian.net/pub/debian-meetings/2011/debconf11/low/"
TARGET="_top"
>Debconf11 Videos</A
>
</P
></LI
></UL
></DIV
></DIV
></BODY
></HTML
>
|