li_software
Verschillen
Dit geeft de verschillen weer tussen de geselecteerde revisie en de huidige revisie van de pagina.
| Beide kanten vorige revisieVorige revisie | |||
| li_software [2014/09/25 15:31] – [Timidity / Tuxguitar] pvi | li_software [Ongeldige datum] (huidige) – verwijderd - Externe bewerking (Ongeldige datum) 127.0.0.1 | ||
|---|---|---|---|
| Regel 1: | Regel 1: | ||
| - | =====Software & Installatie===== | ||
| - | ====Wireshark==== | ||
| - | === Enabling Non-root Capture === | ||
| - | * Stap 1: Install setcap | ||
| - | |||
| - | setcap is part of the libcap2-bin package. | ||
| - | |||
| - | stretch@Sandbox: | ||
| - | |||
| - | * Stap 2: Maak een Wireshark Group (Optioneel) | ||
| - | |||
| - | Since the application we'll be granting heightened capabilities can by default be executed by all users, you may wish to add a designated group for the Wireshark family of utilities (and similar applications) and restrict their execution to users within that group. However, this step isn't strictly necessary. | ||
| - | |||
| - | root@Sandbox# | ||
| - | root@Sandbox# | ||
| - | |||
| - | After adding yourself to the group, your normal user may have to log out and back in. Or, you can run newgrp to force the effect of the new group (you' | ||
| - | |||
| - | stretch@Sandbox$ newgrp wireshark | ||
| - | |||
| - | We assign the dumpcap executable to this group instead of Wireshark itself, as dumpcap is responsible for all the low-level capture work. Changing its mode to 750 ensures only users belonging to its group can execute the file. | ||
| - | |||
| - | root@Sandbox# | ||
| - | root@Sandbox# | ||
| - | |||
| - | * Step 3: Grant Capabilities | ||
| - | |||
| - | Granting capabilities with setcap is a simple matter: | ||
| - | |||
| - | root@Sandbox# | ||
| - | |||
| - | In case you're wondering, that =eip bit after the capabilities list grants them in the effective, inheritable, | ||
| - | |||
| - | To verify our change, we can use getcap: | ||
| - | |||
| - | root@Sandbox# | ||
| - | |||
| - | de output moet zijn : / | ||
| - | |||
| - | You may need to log out and back in for the new group assignment to take effect. | ||
| - | Now, as the user who we added to the wireshark group in step 2, execute Wireshark. You should now see the full list of available adapters and can begin sniffing. (If not, double-check that the wireshark group is listed in the output of groups.) | ||
| - | |||
| - | ===Links=== | ||
| - | [http:// | ||
| - | ---- | ||
| - | ====Timidity / Tuxguitar==== | ||
| - | ===Geen geluid in Tuxguitar === | ||
| - | * Start op de cli timidity met de volgende parameters: | ||
| - | pvi@laptop-pvi ~ $ timidity -iA -Os | ||
| - | Requested buffer size 32768, fragment size 8192 | ||
| - | ALSA pcm ' | ||
| - | TiMidity starting in ALSA server mode | ||
| - | Opening sequencer port: 129:0 129:1 129:2 129:3 | ||
| - | * Wijzig nu de geluidsinstelling van Tuxguitar, zet midi op port 129:0 (of anders) | ||
| - | |||
| - | ===Extra=== | ||
| - | Follow these steps: | ||
| - | Install the TiMidity++ midi sequencer (apt:// | ||
| - | Make sure you have tuxguitar-alsa (apt:// | ||
| - | | ||
| - | | ||
| - | Launch TuxGuitar, open Tools/ | ||
| - | choose Gervill or TiMidity Port [x] (128: | ||
| - | (where x is a number in the range of the available midi ports - usually 0..3). | ||
| - | You're good to go! | ||
| - | |||
| - | ===Extra2=== | ||
| - | In a terminal window, use these two commands to install the Fluid Soundfonts: | ||
| - | sudo apt-get install fluid-soundfont-gm | ||
| - | sudo apt-get install fluid-soundfont-gs | ||
| - | |||
| - | Next, we need to open the timidity config file (use ' | ||
| - | |||
| - | sudo nano / | ||
| - | |||
| - | Comment out this line by placing a # at the front of the line, like so: | ||
| - | |||
| - | #source / | ||
| - | |||
| - | Then uncomment (or add this new line) to the timidity config file: | ||
| - | |||
| - | source / | ||
| - | |||
| - | Save the changes to the config file, then restart timidity with this terminal command: | ||
| - | |||
| - | sudo / | ||
li_software.1411651866.txt.gz · Laatst gewijzigd: 2022/05/06 21:58 (Externe bewerking)
