Skip to content

Commit

Permalink
Fix indents in README
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartFinn committed Dec 19, 2017
1 parent 3bc4c38 commit 0b82767
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,63 +87,63 @@ Packages in this section are not part of the official repositories. If you have

1. #### Error `Couldn't run /usr/bin/dumpcap in child process: Permission denied` when starts Wireshark

Add your user to `wireshark` group:
Add your user to `wireshark` group:

```
sudo usermod -a -G wireshark $USER
```
```
sudo usermod -a -G wireshark $USER
```

If you use a Debian-like distro, you can run the next command and choose answer as `Yes`:
If you use a Debian-like distro, you can run the next command and choose answer as `Yes`:

```
sudo dpkg-reconfigure wireshark-common
```
```
sudo dpkg-reconfigure wireshark-common
```

You will need to log out and then log back in again for this change to take effect.
You will need to log out and then log back in again for this change to take effect.

2. #### Error `End of file on pipe magic during open` when starts Wireshark

Install `ssh-askpass` package for your distro, or setup SSH key-based authentication with EVE-NG (UNetLab) machine.
Install `ssh-askpass` package for your distro, or setup SSH key-based authentication with EVE-NG (UNetLab) machine.

3. #### Click on a node does not open an app (opens another app) in all browsers

Set the `eve-ng-integration.desktop` as default handler for telnet, capture and docker URL schemes:
Set the `eve-ng-integration.desktop` as default handler for telnet, capture and docker URL schemes:

```bash
mkdir -p ~/.local/share/applications/
xdg-mime default eve-ng-integration.desktop x-scheme-handler/capture
xdg-mime default eve-ng-integration.desktop x-scheme-handler/telnet
xdg-mime default eve-ng-integration.desktop x-scheme-handler/docker
xdg-mime default eni-rdp-wrapper.desktop application/x-rdp
```
```bash
mkdir -p ~/.local/share/applications/
xdg-mime default eve-ng-integration.desktop x-scheme-handler/capture
xdg-mime default eve-ng-integration.desktop x-scheme-handler/telnet
xdg-mime default eve-ng-integration.desktop x-scheme-handler/docker
xdg-mime default eni-rdp-wrapper.desktop application/x-rdp
```

4. #### Does not work in Google Chrome but works in another browser

Quit Chrome and reset protocol handler with the command:
Quit Chrome and reset protocol handler with the command:

```bash
sed -i.orig 's/"\(telnet\|capture\|docker\)":\(true\|false\),\?//g' "$HOME/.config/google-chrome/Default/Preferences"
```
```bash
sed -i.orig 's/"\(telnet\|capture\|docker\)":\(true\|false\),\?//g' "$HOME/.config/google-chrome/Default/Preferences"
```

**NOTE**: Path to the `Preferences` file will be different for Chromium and other Chromium-based browsers.
**NOTE**: Path to the `Preferences` file will be different for Chromium and other Chromium-based browsers.

5. #### Does not work in Firefox but works in another browser

Go to `Preferences → Applications` (or paste `about:preferences#applications` in your address bar) and change Action to `Always ask` for telnet, capture and docker Content Types.
Go to `Preferences → Applications` (or paste `about:preferences#applications` in your address bar) and change Action to `Always ask` for telnet, capture and docker Content Types.

6. #### Firefox says `The address wasn't understood` when you clicked on a device

- Type `about:config` into the Location Bar (address bar) and press Enter.
- Right-click → New → Boolean → Name: `network.protocol-handler.expose.telnet` → Value → `false` (Repeat this for each supported protocol)
- Next time you click a link of protocol-type foo you will be asked which application to open it with.
- Type `about:config` into the Location Bar (address bar) and press Enter.
- Right-click → New → Boolean → Name: `network.protocol-handler.expose.telnet` → Value → `false` (Repeat this for each supported protocol)
- Next time you click a link of protocol-type foo you will be asked which application to open it with.

See also [http://kb.mozillazine.org/Register_protocol](http://kb.mozillazine.org/Register_protocol#Firefox_3.5_and_above)
See also [http://kb.mozillazine.org/Register_protocol](http://kb.mozillazine.org/Register_protocol#Firefox_3.5_and_above)

7. #### Chrome/Chromium downloads RDP files instead of opening

To make RDP file open on your browser, instead of downloading, you have to download the file type once, then right after that download, look at the status bar at the bottom of the browser. Click the arrow next to that file and choose "Always open files of this type". Done.
To make RDP file open on your browser, instead of downloading, you have to download the file type once, then right after that download, look at the status bar at the bottom of the browser. Click the arrow next to that file and choose "Always open files of this type". Done.

See also https://stackoverflow.com/a/24290187/1446494
See also https://stackoverflow.com/a/24290187/1446494

If your problem hasn't been solved or reported, please [open a new issue](https://github.com/SmartFinn/eve-ng-integration/issues).
Expand Down

0 comments on commit 0b82767

Please sign in to comment.