<commit_before># Example of Raspberry PI configuration

## Bye-bye to your internet provider DNS

Edit /etc/network/interfaces by adding the DNS of your choice:
```bash
iface eth0 inet manual
    dns-nameservers 208.67.222.222 192.168.127.12
```

And restart the network interface (here eth0):
```bash
sudo ifdown eth0 && sudo ifup eth0
```

The file /etc/resolv.conf should contain your DNS servers.

## Remote storage as local network drive

In that section, Raspberry PI can be seen as an always running machine without lots of storage.
This configuration can apply to all devices not having lots of storage but running all day long so that they can be used by all running machines of the local network and eventually machines outside of the network.

### Local drive

The idea is to build a safe remote drive accessible easily as a network drive from Windows, GNU/Linux or Mac.
It should be accessible from multiple instances implementing the following configuration.

It uses the Raspberry PI as a gateway for accessing encrypted remote data.<commit_msg>[pi-example] Update<commit_after># Example of Raspberry PI configuration

## Bye-bye to your internet provider DNS

Edit /etc/network/interfaces by adding the DNS of your choice (OpenDNS is nice):
```bash
iface eth0 inet manual
    dns-nameservers 208.67.222.222 192.168.127.12
```

And restart the network interface (here eth0):
```bash
sudo ifdown eth0 && sudo ifup eth0
```

The file /etc/resolv.conf should contain your DNS servers.

## Remote storage as local network drive

In that section, Raspberry PI can be seen as an always running machine without lots of storage.
This configuration can apply to all devices not having lots of storage but running all day long so that they can be used by all running machines of the local network and eventually machines outside of the network.

### Local drive

The idea is to build a safe remote drive accessible easily as a network drive from Windows, GNU/Linux or Mac.
It should be accessible from multiple instances implementing the following configuration.

It uses the Raspberry PI as a gateway for accessing encrypted remote data.
{'fraction_non_alphanumeric': 0.05088702147525677, 'fraction_numerical': 0.02427637721755369, 'mean_word_length': 4.3575, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '194102', 'n_tokens_mistral': 593, 'n_tokens_neox': 527, 'n_words': 319}