wifi.md 2.03 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# WiFi

Students have an open access to WiFi connection at school. EPITA provides two
differents networks with various specifications detailled below.

```nohighlight
Your Bocal logins are required to connect to the WiFi network.
```

## IONIS

The IONIS WiFi hotspot **requires a 5 Ghz WiFi card**. The IONIS WiFi is
recommended as it provides a faster and more stable connection.

To connect on IONIS, follow these steps:

1. Connect to the IONIS WiFi hotspot
2. You will be asked for your logins. You need to log with your epita's email address and *Bocal*'s password.

20
21
22
23
24
25
## 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`.

26
This configuration is using **netctl**, a profile-based network manager
27
for Archlinux.
28
29
Thus, you will have to configure a network _profile_. A simple profile is
presented below. For more information, please visit the
30
[Archlinux wiki on netctl](https://wiki.archlinux.org/index.php/netctl).
31

32
33
34
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:
35
36
37
```sh
Description='EPITA IONIS profile'
Interface=<interface>
38
ESSID='IONIS'
39
40
41
42
43
44
45
46
47
48
49
50
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.
51
52
53
`$ netctl start <file_name>`
You can also enable it, to automatically try to connect to IONIS at boot.
`$ netctl enable <file_name>`
54
55

If you wish to avoid having a password stored in plain text, you may want to
56
try _wpa\_passphrase_ to make a pre-shared key instead, calculated from an input
57
58
59
passphrase and the SSID. Please refer to this
[netctl section](https://wiki.archlinux.org/index.php/netctl#Obfuscate_wireless_passphrase).

60
You can find other configuration examples in `/etc/netctl/examples/`.