Kupiki-Hotspot-Script icon indicating copy to clipboard operation
Kupiki-Hotspot-Script copied to clipboard

Error during installation on dietpi : LAN interface not found. Upgrading the system first

Open LoloPicolo opened this issue 4 years ago • 4 comments

Actual behavior

I would like to install your project but it fails current configuration is

Expected behavior

I would like to finalize install

Configuration parameters (if changed in the script)

no change

Logs

::: Checking for tun module ::: Insert tun module if existing (for Raspbian Jessie Lite) ::: Modprobe module (no check - useless if already loaded) ::: Checking for tun module tun 45056 0 ::: Checking if LAN interface already exists ::: LAN interface not found. Upgrading the system first ::: Upgrading the distro. Be patient

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Lecture des listes de paquets… Construction de l'arbre des dépendances… Lecture des informations d'état… Calcul de la mise à jour… 0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour. ::: Upgrading the distro. Be patient ::: Please reboot and run the script again

on screen

::: Checking for tun module ::: Checking if LAN interface already exists ./pihotspot.sh: ligne 156: /sbin/ifconfig: Aucun fichier ou dossier de ce type ::: LAN interface not found. Upgrading the system first ::: Upgrading the distro. Be patient ::: Please reboot and run the script again

Your environment

  • Hardware : Raspberry Pi 3 Model B (armv71)
  • Operating system: DietPi latest version 6.26.3
  • nginx, mariadb, hostap installed

Additional comments

Ethernet cable is plugged and connected to network Thanks for your work. if i can help to install it on DietPi and support,

LoloPicolo avatar Nov 17 '19 20:11 LoloPicolo

I don't understand what the problem is. The script displays a request for a reboot and a restart of the script. You did it ?

Also i see that error /sbin/ifconfig not found that's not the expected behavior so i guess that's an issue with the distro

pihomeserver avatar Nov 19 '19 20:11 pihomeserver

It seems that for DietPi some packages are missing. i use the following before use your script and i move forward on installation Before install your script on a DietPi, you need to execute the following apt-get install collectd apt-get install net-tools

currently i need to understand why isc-dhcp-server and proftp services are not working anymore.

LoloPicolo avatar Nov 19 '19 21:11 LoloPicolo

Collectd is already includedin the list. I can add net-tools in case of if needed

pihomeserver avatar Nov 20 '19 09:11 pihomeserver

::: Activating the LAN interface ::: ::: Something went wrong with the last command. Please check the log file

Can someone help me with this? I've been trying to look for a solution and reinstall the script but I still got the same error.

yelooooo422 avatar Aug 19 '23 06:08 yelooooo422