issue94:utiliser_i2p
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue94:utiliser_i2p [2015/02/28 15:56] – créée andre_domenech | issue94:utiliser_i2p [2015/04/01 11:09] (Version actuelle) – [4] auntiee | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | In past articles, I have discussed and used functions to illustrate other functionality in Calc, but today, I am going to show you three different ways to enter functions. I'll show you the structure of a function; we will create data for a spreadsheet; | + | ====== 1 ====== |
- | Structure of a Function | + | **Just as everyone got nice and comfy with Tor, and being private, the world comes crumbling down when news got out that Tor wasn’t, in fact, secure at all. Down went Tor, up went the red flags. Luckily, there is an alternative that does seem (for now) to actually be secure. For now; the Invisible Internet Project, or i2P for short. |
- | It helps to understand the structure of functions if you plan to use them. I will use the following function for my discussion of function structure: | + | Installation |
- | =PRODUCT(B5, A1:A6, 0.25) | + | Installing i2P is pretty simple since there’s a Debian repo and Ubuntu PPA available. To start with, open a terminal and enter: |
- | Functions are always a part of a formula. When you use any formula or function, it must begin with an equals sign (=). If you use multiple functions, the equals sign is required only at the beginning. | + | sudo apt-add-repository ppa: |
- | The start of a function is the function name. By tradition, function names are entered in all upper-case letters, but Calc will recognize them in lower or mixed case letters. Keeping with the tradition, I usually enter function names in all capitals. The name of our function in the example is PRODUCT. PRODUCT is to multiplication what SUM is to addition, it multiplies all its arguments into a final total. | + | sudo apt-get update |
- | After the function name is the argument list, separated by commas, and surrounded by parenthesis. This is the (B5, A1:A6, 0.25) part of our sample function. Arguments can come in several forms, and the function will usually expect a certain type in each position of the arguments. Arguments can take the form of numbers (9), “Quoted text”, cell reference (C3), cell range (C3:C10), comparisons (C3 > C1), or another function. Note that quotes around a number, “9”, defines the argument as text – and not a number. | + | sudo apt-get install i2p |
- | Setting Up the Sheet | + | That will add the PPA, update your list of software and then install i2P.** |
- | I work with installers of controlled access systems. When setting up a new system, it is necessary to calculate how many power supplies are needed in order to power the equipment for the site. We use a formula for calculating the voltage drop at each device. The calculation involves the input voltage, the current draw of the device plus the current draw of any devices after it, multiplied by the resistance of the length of wire to the device. The basic formula is | + | Maintenant que tout le monde se sent à l'aise et en confiance et en privé avec Tor, le monde s' |
- | Vout = Vin – I(DR) | + | Installation |
- | where Vin is the input voltage, I is the current draw of the device and any devices after it, D is the length of wire (in feet), and R is the resistance of the wire per foot. Let's set up a sheet to help us calculate the voltage at each device. | + | Installer i2P est assez simple puisqu' |
- | Start with the label “Start Volts” in cell A1. In cells A2:E2 put the following column headings: Device, Amps, Distance, Ohms/Foot, and Voltage. In cell B1 put 13.2 for your starting voltage. In A3:A5 put 1, 2, 3 for the devices. B3:B5 are the current draw for each device. Use 0.3, 0.25, and 0.5. The three distances for the wire are 75, 110, and 120. For the Ohms/Foot, use 0.00639 for all three. This is the approximate Ohms per foot for 16 AWG (US). Leave the Voltage column blank. This is where we will enter our formulas. | + | sudo apt-add-repository ppa:i2p-maintainers/i2p |
- | Function Wizard | + | sudo apt-get update |
- | The function wizard is the most complete method for entering formulas with functions. It is also the slowest because of the many options. The wizard is a great way to work through the set up of a complicated formula by allowing you to deal with individual pieces of information one at a time. We will use the wizard to create the voltage formula for the first device. | + | sudo apt-get install i2p |
- | There are three ways to access the Function Wizard. Select cell E3 and do one of the following: | + | Ceci va ajouter le PPA, mettre à jour votre liste de logiciels, puis installer i2P. |
- | • Click the Function Wizard button on the formula toolbar. | + | |
- | • Insert > Function... | + | |
- | • CTRL + F2 | + | |
- | The Function Wizard displays a function list box to the left. The Category drop-down list allows you to narrow the functions in the list to the selected category. There is also a Last Used category for selecting recently used functions. If you single-click on a function name, it displays a short description of the function to the right. When you double-click on a function, it inserts the function into the formula text box on the bottom right. Notice that the wizard has already inserted the equals sign for you. The right center displays text boxes for entering the arguments for the function. Above the argument boxes, it displays the short description and a list of the arguments and their type. The top right shows the results of the current formula and the formula result is displayed above the formula edit box. | + | ====== 2 ====== |
- | Our formula starts with the voltage coming into the device. For the first device this is 13.2 from cell B1, so click into the formula text box at the bottom and type “B1-”. From the category drop down list select Mathematical. Scroll down the list and double-click PRODUCT. The PRODUCT function is added to the formula. | + | **Starting |
- | Click into the Number 1 text box. The first argument is the sum of all the amps for all the devices. Click on the Function Wizard button | + | To start i2P you need to keep that terminal open and enter: |
- | Click Back twice to return to the PRODUCT function we started with. Notice that the SUM function is now in the Number 1 text box. Select the Number 2 text box. Double-click on PRODUCT again. In the Number 1 text box for the second PRODUCT function, enter or select the range C3:D3. | + | i2prouter start |
- | We are now finished with our formula. The final formula should look like | + | That will display something |
- | =B1-PRODUCT(SUM(B3:B5), | + | Starting I2P Service... |
+ | Waiting for I2P Service....... | ||
+ | running: PID:17372 | ||
- | Click OK to finish | + | The PID will not be the same on your machine, but you get the idea. |
- | NOTE: I could have used the multiplication operator (*) to accomplish | + | Now that the i2P server is running, we need to configure |
- | Function List | + | Démarrage |
- | The Function List is the wizard without the bells and whistles. In fact, it is just the function list portion of the wizard. The idea behind it is to help you in adding functions directly into the cells. You can bring up the Function List by using the menus, Insert > Function List, or by clicking the Functions icon in the sidebar. When you select a function name in the list, a short description appears at the bottom of the list. The Function List also has a category item called Last Used, containing a list of the functions you have used recently. | + | Pour démarrer i2P vous devez garder le terminal ouvert et saisir |
- | Let's use it to create the formula for the second device. Select the cell E4. Select the Input Line text box on the function toolbar. This is the best place to enter functions using the function list. For this device, we need the ending voltage of the previous one, so start the formula with “=E3-”. You should see PRODUCT listed on your Last Used list. Double-click PRODUCT to add it to the formula. With the cursor between the parenthesis, | + | |
- | The final result should look like | + | i2prouter start |
- | =E3-PRODUCT(SUM(B4:B5), | + | Cela va afficher quelque chose comme : |
- | Manual Entry | + | Starting I2P Service... |
+ | Waiting for I2P Service....... | ||
+ | running: PID:17372 | ||
- | Manual entry is just that, typing the formula directly into the cell from memory. The formula for the last device is the easiest because you no longer need the sum of device currents because it is the only one left. Select cell E5 and type in | + | Le PID ne sera pas le même sur votre machine, mais vous voyez l' |
- | =E4-PRODUCT(B5, PRODUCT(C5: | + | Maintenant que le serveur i2P fonctionne, nous devons configurer le navigateur. Notez, s'il vous plaît, qu'une fois que vous aurez configuré le navigateur pour utiliser i2P, il ne chargera plus les pages HTTP normales, il est donc probablement préférable d' |
- | and press Enter. While you are typing | + | ====== 3 ====== |
+ | |||
+ | **Proxy | ||
+ | |||
+ | Before you can use i2P properly, you need to edit the proxy settings of the browser you’re going to use with i2P. I won’t go through the settings for all the different browsers as all the steps are well written at: https:// | ||
+ | |||
+ | In short: you’re setting your http (and ftp) proxy to 127.0.0.1:4444 and your SSL proxy to 127.0.0.1: | ||
+ | |||
+ | Browsing | ||
+ | |||
+ | To gain access to the i2P settings, open your i2P browser and enter: | ||
+ | |||
+ | http:// | ||
+ | |||
+ | You’ll see a page something like the one shown right. | ||
+ | |||
+ | This is where you can gain access to the i2P configuration page (as a link near the top of the homepage) or go straight to recommended i2P sites. | ||
+ | |||
+ | You’re now using i2P. Just to prove this, try going to a regular http page. If you’re really on i2P it should not load. Here’s an i2P site to get you started: http:// | ||
+ | |||
+ | Proxy | ||
+ | |||
+ | Avant de pouvoir utiliser i2P correctement, | ||
+ | |||
+ | En bref : vous configurez votre proxy http (et ftp) sur 127.0.0.1: | ||
+ | |||
+ | Navigation | ||
+ | |||
+ | Pour accéder aux paramètres de i2P, ouvrez votre navigateur i2P et saisissez : | ||
+ | |||
+ | http:// | ||
+ | |||
+ | Vous verrez une page qui ressemble à celle affichée à droite. | ||
+ | |||
+ | C'est là que vous pouvez accéder à la page de configuration de i2P (via un lien vers le haut de la page d' | ||
+ | |||
+ | Vous utilisez maintenant i2P. Juste pour démontrer cela, essayez d' | ||
+ | |||
+ | ====== 4 ====== | ||
+ | |||
+ | |||
+ | |||
+ | Obviously, there’s no point in signing up to an anonymous site using your real-world email address, so i2P comes with a built in email client called susimail. In your i2P home page, click the email link (bottom of the page, under Local Services). | ||
+ | |||
+ | Here, shown above, you can login (if you already have an @mail.i2p address) or click to create | ||
+ | |||
+ | The i2P server also comes with built-in web hosting and bittorrent clients as standard. That’s not even getting into the plugins that are available. | ||
+ | |||
+ | There’s a lot to i2P. Sure, it’s not as fast as the regular internet, but it’s something new to check out. | ||
+ | |||
+ | Obviously, and it should go without saying, be careful what you do on i2P as I do not guarantee | ||
+ | |||
+ | Courriel | ||
+ | |||
+ | Évidemment, | ||
+ | |||
+ | Ainsi, comme ci-dessus, vous pouvez vous connecter (si vous avez déjà une adresse @mail.i2p) ou cliquer sur « Créer un compte ». Cette nouvelle page (Postman HQ) vous permettra, en bas de page, de créer une nouvelle adresse de courriel. Cette adresse est valide uniquement sur i2P, donc pas la peine d' | ||
+ | |||
+ | Le serveur i2P est également livré avec un hébergement Web intégré et des clients BitTorrent en standard. Et je n'ai même pas commencé à décrire les greffons disponibles. | ||
+ | |||
+ | Il y a beaucoup à découvrir dans i2P. Bien sûr, ce n'est pas aussi rapide que l' | ||
+ | |||
+ | De toute évidence, il va sans dire qu'il faut faire attention à ce que vous faites sur i2P car je ne garantis pas son anonymat. Vous vous souvenez quand tout le monde était sûr que Tor était sécurisé ? | ||
- | Calc gives you three different methods for entering functions into a cell. Use the Function Wizard when you need as much guidance as possible, or when entering a complicated formula for the first time. The Function List gives you a list and short descriptions to aid you in using the correct arguments and functions in your formula. The manual method is great for entering short formulas, using functions you are familiar with, or repeating a formula you have used before. |
issue94/utiliser_i2p.1425135410.txt.gz · Dernière modification : 2015/02/28 15:56 de andre_domenech