diff options
author | Devan Carpenter <git@dvn.me> | 2019-04-04 17:01:12 -0700 |
---|---|---|
committer | Devan Carpenter <git@dvn.me> | 2019-04-04 17:01:12 -0700 |
commit | 95e9c3c45f177574bb8b86c1d84c8905d76dccbf (patch) | |
tree | 29251ad2f6b5c3d0f708ec3325088fb29ad93724 | |
parent | 3fda28079c988ce8ffd1cf32c825c5115dd97301 (diff) | |
download | www-95e9c3c45f177574bb8b86c1d84c8905d76dccbf.tar.gz www-95e9c3c45f177574bb8b86c1d84c8905d76dccbf.zip |
tutorials: add section on configuring bandwidth
Increasing bandwidth from the default has been an overlooked step in
getting setup with a working GNUnet node. The basics on how to do this
are now added to the tutorials, though I think it could use some more
information on the valid formats for values, which I am unsure of at
this time. eg. is 10 GiB a valid value for WAN_QUOTA_IN?
-rw-r--r-- | template/tutorial-archpi.html.j2 | 15 | ||||
-rw-r--r-- | template/tutorial-debian9.html.j2 | 13 | ||||
-rw-r--r-- | template/tutorial-macos.html.j2 | 15 | ||||
-rw-r--r-- | template/tutorial-netbsd.html.j2 | 15 | ||||
-rw-r--r-- | template/tutorial-ubuntu1804.html.j2 | 17 |
5 files changed, 70 insertions, 5 deletions
diff --git a/template/tutorial-archpi.html.j2 b/template/tutorial-archpi.html.j2 index 893a7de8..c33c57bd 100644 --- a/template/tutorial-archpi.html.j2 +++ b/template/tutorial-archpi.html.j2 | |||
@@ -61,7 +61,20 @@ in the next step:<p> | |||
61 | <p><code> | 61 | <p><code> |
62 | > touch ~/.config/gnunet.conf | 62 | > touch ~/.config/gnunet.conf |
63 | </code></p> | 63 | </code></p> |
64 | 64 | <br /> | |
65 | <p> | ||
66 | It's reccomended that you increase your bandwidth restrictions | ||
67 | from the acutely low defaults. The example below sets the WAN | ||
68 | and LAN limits to the value "unlimited". | ||
69 | </p> | ||
70 | <br /> | ||
71 | <code> | ||
72 | $ gnunet-config -s ats -o WAN_QUOTA_IN -V unlimited<br /> | ||
73 | $ gnunet-config -s ats -o WAN_QUOTA_OUT -V unlimited<br /> | ||
74 | $ gnunet-config -s ats -o LAN_QUOTA_IN -V unlimited<br /> | ||
75 | $ gnunet-config -s ats -o LAN_QUOTA_OUT -V unlimited<br /> | ||
76 | </code> | ||
77 | <br /> | ||
65 | <p>Now we can start it with the commandline tool gnunet-arm (Automatic Restart | 78 | <p>Now we can start it with the commandline tool gnunet-arm (Automatic Restart |
66 | Manager).</p> | 79 | Manager).</p> |
67 | 80 | ||
diff --git a/template/tutorial-debian9.html.j2 b/template/tutorial-debian9.html.j2 index c07b333d..aed428ff 100644 --- a/template/tutorial-debian9.html.j2 +++ b/template/tutorial-debian9.html.j2 | |||
@@ -205,6 +205,19 @@ | |||
205 | </code> | 205 | </code> |
206 | 206 | ||
207 | <p> | 207 | <p> |
208 | It's reccomended that you increase your bandwidth restrictions | ||
209 | from the acutely low defaults. The example below sets the WAN | ||
210 | and LAN limits to the value "unlimited". | ||
211 | </p> | ||
212 | |||
213 | <code> | ||
214 | $ gnunet-config -s ats -o WAN_QUOTA_IN -V unlimited<br /> | ||
215 | $ gnunet-config -s ats -o WAN_QUOTA_OUT -V unlimited<br /> | ||
216 | $ gnunet-config -s ats -o LAN_QUOTA_IN -V unlimited<br /> | ||
217 | $ gnunet-config -s ats -o LAN_QUOTA_OUT -V unlimited<br /> | ||
218 | </code> | ||
219 | |||
220 | <p> | ||
208 | Now we can start it with the command line tool | 221 | Now we can start it with the command line tool |
209 | `gnunet-arm` (Automatic Restart Manager). | 222 | `gnunet-arm` (Automatic Restart Manager). |
210 | </p> | 223 | </p> |
diff --git a/template/tutorial-macos.html.j2 b/template/tutorial-macos.html.j2 index d89a9d31..69b02b28 100644 --- a/template/tutorial-macos.html.j2 +++ b/template/tutorial-macos.html.j2 | |||
@@ -49,7 +49,20 @@ | |||
49 | $ touch ~/.config/gnunet.conf | 49 | $ touch ~/.config/gnunet.conf |
50 | </code> | 50 | </code> |
51 | </p> | 51 | </p> |
52 | 52 | <br /> | |
53 | <p> | ||
54 | It's reccomended that you increase your bandwidth restrictions | ||
55 | from the acutely low defaults. The example below sets the WAN | ||
56 | and LAN limits to the value "unlimited". | ||
57 | </p> | ||
58 | <br /> | ||
59 | <code> | ||
60 | $ gnunet-config -s ats -o WAN_QUOTA_IN -V unlimited<br /> | ||
61 | $ gnunet-config -s ats -o WAN_QUOTA_OUT -V unlimited<br /> | ||
62 | $ gnunet-config -s ats -o LAN_QUOTA_IN -V unlimited<br /> | ||
63 | $ gnunet-config -s ats -o LAN_QUOTA_OUT -V unlimited<br /> | ||
64 | </code> | ||
65 | <br /> | ||
53 | <p> | 66 | <p> |
54 | GNUnet and its services are managed using the command line tool `gnunet-arm` | 67 | GNUnet and its services are managed using the command line tool `gnunet-arm` |
55 | (Automatic Restart Manager). | 68 | (Automatic Restart Manager). |
diff --git a/template/tutorial-netbsd.html.j2 b/template/tutorial-netbsd.html.j2 index a31f222b..18e9e630 100644 --- a/template/tutorial-netbsd.html.j2 +++ b/template/tutorial-netbsd.html.j2 | |||
@@ -110,7 +110,20 @@ | |||
110 | $ touch ~/.config/gnunet.conf | 110 | $ touch ~/.config/gnunet.conf |
111 | </code> | 111 | </code> |
112 | </p> | 112 | </p> |
113 | 113 | <br /> | |
114 | <p> | ||
115 | It's reccomended that you increase your bandwidth restrictions | ||
116 | from the acutely low defaults. The example below sets the WAN | ||
117 | and LAN limits to the value "unlimited". | ||
118 | </p> | ||
119 | <br /> | ||
120 | <code> | ||
121 | $ gnunet-config -s ats -o WAN_QUOTA_IN -V unlimited<br /> | ||
122 | $ gnunet-config -s ats -o WAN_QUOTA_OUT -V unlimited<br /> | ||
123 | $ gnunet-config -s ats -o LAN_QUOTA_IN -V unlimited<br /> | ||
124 | $ gnunet-config -s ats -o LAN_QUOTA_OUT -V unlimited<br /> | ||
125 | </code> | ||
126 | <br /> | ||
114 | <p> | 127 | <p> |
115 | GNUnet and its services are managed using the command line tool `gnunet-arm` | 128 | GNUnet and its services are managed using the command line tool `gnunet-arm` |
116 | (Automatic Restart Manager). | 129 | (Automatic Restart Manager). |
diff --git a/template/tutorial-ubuntu1804.html.j2 b/template/tutorial-ubuntu1804.html.j2 index 9645f169..12d4b048 100644 --- a/template/tutorial-ubuntu1804.html.j2 +++ b/template/tutorial-ubuntu1804.html.j2 | |||
@@ -147,11 +147,24 @@ | |||
147 | our home directory for the file `~/.gnunet/gnunet.conf`. We can | 147 | our home directory for the file `~/.gnunet/gnunet.conf`. We can |
148 | start with an empty file for now: | 148 | start with an empty file for now: |
149 | </p> | 149 | </p> |
150 | 150 | <br /> | |
151 | <code> | 151 | <code> |
152 | $ touch ~/.config/gnunet.conf | 152 | $ touch ~/.config/gnunet.conf |
153 | </code> | 153 | </code> |
154 | 154 | <br /> | |
155 | <p> | ||
156 | It's reccomended that you increase your bandwidth restrictions | ||
157 | from the acutely low defaults. The example below sets the WAN | ||
158 | and LAN limits to the value "unlimited". | ||
159 | </p> | ||
160 | <br /> | ||
161 | <code> | ||
162 | $ gnunet-config -s ats -o WAN_QUOTA_IN -V unlimited<br /> | ||
163 | $ gnunet-config -s ats -o WAN_QUOTA_OUT -V unlimited<br /> | ||
164 | $ gnunet-config -s ats -o LAN_QUOTA_IN -V unlimited<br /> | ||
165 | $ gnunet-config -s ats -o LAN_QUOTA_OUT -V unlimited<br /> | ||
166 | </code> | ||
167 | <br /> | ||
155 | <p> | 168 | <p> |
156 | Now we can start it with the command line tool `gnunet-arm` | 169 | Now we can start it with the command line tool `gnunet-arm` |
157 | (Automatic Restart Manager). | 170 | (Automatic Restart Manager). |