Skip to content
Snippets Groups Projects
network.rst 2.81 KiB
Newer Older
Gauthier HEISS's avatar
Gauthier HEISS committed
Connecting esieabot to the network
==================================

Connect to the esieabot's Wi-Fi hotspot
---------------------------------------

When turned on, your esieabot hosts a Wi-Fi hotspot. You can connect to it to remotely administer your esieabot. To do this, you must first find the name of your esieabot. It can be found in the "hotspot.txt" file that you copied earlier. Then connect your computer to this Wi-Fi network as you would connect to any other network. The password is also in the "hotspot.txt" file. Be careful on Windows, you will be asked to connect with a PIN code and not a key. Be careful to choose the key mode. You should now be connected to the esieabot.

Connect the esieabot to the ESIEA Wi-Fi network
-----------------------------------------------

You are connected to your esieabot but it is not connected to the internet, which will be a problem. So we are going to connect it to the ESIEA Wi-Fi network. For this, an automatic configuration script is available. To use it, type this command in the terminal of your esieabot :

.. code-block:: console

    sudo /esieabot/available/official/connect-to-groupe-esiea.sh login mdp

The login is your email address @et.esiea.fr or your last name. The mdp is the password of your ESIEA account. To verify that the connection worked, type the command " nmcli ". You should see two network connections in green, one "hotspot" which is your Wi-Fi hotspot and "Groupe-esiea". If this is not the case, wait a few seconds until the connection is made. If it does not, check your password and retype the connection command if necessary.
You can do the commands "sudo apt update" and "sudo apt upgrade" to update your esieabot since it is now connected to the internet.
If you have successfully connected your esieabot to the internet, your computer connected to the hotspot should have internet. Indeed, your esieabot is relaying the connection via the hotspot. On the result of the "nmcli" command, you should see the IP address of your esieabot on the ESIEA Wi-Fi. It starts with 10.8.x.x. If you ever observe instabilities (very slow commands or frequent disconnections), don't hesitate to connect in SSH by connecting your computer to the ESIEA network and replacing the address of the SSH command above by the 10.8.x.x address of your esieabot. Instabilities can be normal if everyone turns on their esieabot in the same room due to Wi-Fi frequency range conflicts, no worries.

Connect the esieabot to your personal Wi-Fi network
---------------------------------------------------

If you want to work from home or via your mobile connection share for example, you will also need to connect to the internet. To do this, you can type the command ``sudo nmtui`` which will open a small connection wizard. You can go to the "Activate connection" menu and choose your personal Wi-Fi network.