Closed medmax78 closed 6 years ago
Did you try to reboot ? Same result yesterday when i tested it and once rebooted the script can be executed without error
I have to check the change log of the distro. Maybe an upgrade that cause the issue
After reboot ::: Adding Avahi dependencies ::: Updating the system hostname to Hotspot ::: Updating /etc/hosts ::: Removing any previous sources of CoovaChilli project ::: Cloning CoovaChilli project Cloning into 'coova-chilli'... ::: Cloning daloradius project Cloning into 'daloradius'... ::: Cloning Pi Hotspot portal project Cloning into 'portal'... ::: Starting MySql service Failed to restart mariadb.service: Unit mariadb.service not found. ::: ::: Something went wrong with the last command. Please check the log file :::
Can you please run apt-get update
as root and run the script again ? It seems there is an error when trying to install the packages
restarted root @ raspberrypi: ~ / Kupiki-Hotspot-Script # sudo chmod + x pihotspot.sh && sudo ./pihotspot.sh ::: Starting MySql service Failed to restart mariadb.service: Unit mariadb.service not found. ::: ::: Something went wrong with the last command. Please check the log file
run apt-get update and sudo chmod + x pihotspot.sh && sudo ./pihotspot.sh
in process ....
Everything is fine ! It worked! Thank you so much ! It was necessary for each error to reboot and run apt-get update
You are a genius! Thank you !
Ok i have to update the script to solve that point Have fun
Actual behavior
{Modprobe module (no check - useless if already loaded) modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep () could not open moddep file '/lib/modules/4.9.80-v7+/modules.dep.bin' modprobe: FATAL: Module tun not found in directory /lib/modules/4.9.80-v7+}
Expected behavior
I hope it will work
Configuration parameters (if changed in the script)
{ Password for user root (MySql/MariaDB not system) MYSQL_PASSWORD="raspberry" Name of the hotspot that will be visible for users/customers HOTSPOT_NAME="Hotspot" Password used for the generation of the certificate CERT_PASSWORD="raspberry" }
Logs
Your environment
Additional comments
Good afternoon . I have a problem in script.I tried rebooting. With the new OS version the script does not work? In folder / lib / modules / have only 4.14.30+ and 4.14.30-v7 + What should I do ? In Linux, I'm not very good. Sorry for my english (Google helps)