Unverified Commit 4c1c15f2 authored by Mathis's avatar Mathis Committed by GitHub
Browse files

Merge pull request #6 from ChoKaPeek/master

Add archlinux configuration section in wifi.md
parents c8740407 29687eb8
# EPITA CRI documentation
The goal of this repository is to store in one place the various documention regarding the services offered by the CRI to the school and its students.
The goal of this repository is to store in one place the various documentation regarding the services offered by the CRI to the school and its students.
This documentation can be read [here](https://doc.cri.epita.fr).
......@@ -31,3 +31,44 @@ To connect on Ionis Portal, follow these steps:
3. Login with your *Bocal* logins
4. Wait a few seconds before the connection is verified and established.
## Archlinux configuration
This section assumes you want to connect to the IONIS WiFi on an Archlinux
distribution, and have an activated WiFi interface.
To get the name of your WiFi interface you can type: `$ iw dev`.
This configuration is using **netctl**, a profile-based network manager
for archlinux.
Thus, you will have to configure a network _profile_. A simple profile is
presented below. For more information, please visit the
[archlinux wiki on netctl](https://wiki.archlinux.org/index.php/netctl).
1. Create a file in `/etc/netctl/`. Its name should be self-explanatory.
A good name would be \<interface\>-IONIS.
2. Fill it with the following configuration, with your parameters:
```sh
Description='EPITA IONIS profile'
Interface=<interface>
ESSID='IONIS'
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
'ssid="IONIS"'
'key_mgmt=WPA-EAP'
'eap=PEAP'
'identity="<epita_email_address>"'
'password="<bocal_password>"'
)
```
3. Start the profile.
`$ netctl start <file_name>`
You can also enable it, to automatically try to connect to IONIS at boot.
`$ netctl enable <file_name>`
If you wish to avoid having a password stored in plain text, you may want to
try _wpa\_passphrase_ to make a pre-shared key instead, calculated from an input
passphrase and the SSID. Please refer to this
[netctl section](https://wiki.archlinux.org/index.php/netctl#Obfuscate_wireless_passphrase).
You can find other configuration examples in `/etc/netctl/examples/`.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment