Install Yunohost on pi with wifi / Installer YunoHost en Wifi

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: Fresh install in progress
How are you able to access your server: The webadmin
SSH
Direct access via physical keyboard/screen
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No

Describe your issue

Bonjour, (English below)

Désolé encore moi sur un autre sujet.

Pour le contexte, je n’ai plus de connexion Internet (hors partage wifi ou USB avec le smartphone). Mon YunoHost tournait sur un vieux PC mais la carte réseau et grillée.

Je voulais réinstaller YunoHost sur un raspberry Pi pour au moins remettre Nextcloud et accéder à mes fichiers en local en bidouillant le hosts de mes ordinateurs.

Existe t’il une méthode pour permettre l’installation de YunoHost en wifi ? Ou en partage de connexion USB ? J’ai regardé deux ou trois sujets, mais ils datent un peu alors peut-être y a-t-il une nouvelle manière de faire ?
J’imagine le plus simple aurait été une clé 4G, mais pas cela sous la mains actuellement.

Je pensais sinon passer par l’image rpi lite et ensuite utiliser la méthode d’installation depuis un VPS. Est-ce que cela écrasera ma config wifi du coup ? Ou alors je vais avoir en cohabitation les fichiers du raspi et les fichiers YunoHost et ce n’est pas terrible ?

Merci beaucoup pour votre aide.

Hello,

Sorry, me on another thread again.

For context, I no longer have an internet connection (except for Wi-Fi or USB tethering with my smartphone). My YunoHost was running on an old PC, but the network card is fried.

I wanted to reinstall YunoHost on a Raspberry Pi to at least get Nextcloud back and access my local files by tweaking my computers’ hosts.

Is there a way to allow YunoHost to be installed over Wi-Fi? Or via USB tethering? I’ve looked at two or three threads, but they’re a bit dated, so maybe there’s a new way?
I imagine the simplest would have been a 4G dongle, but I don’t have that on hand right now.

I was thinking of using the RPI Lite image and then using the installation method from a VPS. Will that overwrite my Wi-Fi configuration? Or will I have the raspi files and the YunoHost files coexisting, and that won’t be great?

Thank you very much for your help.

Share relevant logs or error messages

You can use WiFi with no issues, check the documentation: On a Raspberry Pi | Yunohost

1 Like

Yes, I see it but when i play the first command : nmcli radio wifi it’s return command not found

So I’m blocked at this step

I’m not sure this is from YunoHost’s documentation. :confused:


I see a few options, but you are in a rather tricky situation, and I am unsure these would work:

To be extra sure, I would put an empty /boot/ssh file and put a /boot/wpa_supplicant.conf containing the proper information if you do not want to have USB tethering.


What I do not know is whether or not you would be able to log in with SSH through the USB tethering.

1 Like

Thanks a lot Tituspijean for the way to test and make back to life my YunoHost :slight_smile:
I will test theses ways and if it’s too complicated for my level i will take care and go some friend who have internet will be better easy i think :smiley:

Thanks a lot for your time

1- Insert the SD into your computer, create a file called wpa_supplicant.conf (see details below)
2- Place that file in the boot partition into /etc/wpa_supplicant/ - so it would be /etc/wpa_supplicant/wpa_supplicant.conf
3- Eject the SD and insert it into the RPI, the network should be working

THE WPA_SUPPLICANT.CONF FILE MUST CONTAIN, in the “country” section you should put your country’s ISO code (List of ISO 3166 country codes - Wikipedia), and then in “ssid” and “psk” your ssid and password:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=FR

network={
ssid=“Your_SSID”
psk=“Your_WiFi_Password”
key_mgmt=WPA-PSK
}

I’ve no idea about the USB tethering option