pihomeserver / Kupiki-Hotspot-Script

Create automatically a full Wifi Hotspot on Raspberry Pi including a Captive Portal
Other
300 stars 119 forks source link

Ubuntu Mate Xenial support - RPi3 #17

Closed chseluv closed 7 years ago

chseluv commented 7 years ago

I launched the script on Ubuntu Mate on a RPi3 and it seems some of the packages it would install have been renamed so the procedure fails at various stages.

I tried to pin them down and, if that helps, I'll list my suggestion.

Packages that no longer work and what I supposed may have superseded them

Apart from that, I found that the script got stuck at line 269. By resuming manually I got to the end of the installation, resulting in a WiFi hotspot that doesn't connect devices to the internet or to Coova Chilli, and these services hadn't been set to start at boot time. Also, pi.ip.add.ress/daloradius in a browser gave me a 502 error so I don't think my solution really worked. Is there a chance to get this captive portal up and running on xenial-based distros?

pihomeserver commented 7 years ago

Hello The solution worked and works on raspbian as explained in the reader. Thanks for.your comment about packages names with Ubuntu that I never tried

chseluv commented 7 years ago

For some reason Ubuntu Mate Xenial handles USB modems way better than Raspbian, I'll give a try to the latest edition too. Hoping my packages replacement will work as intended

pihomeserver commented 7 years ago

OK great thanks for helping. Take care of lines that store mysql password there is a bug in need to fix it s an opened issue

chseluv commented 7 years ago

On the latest version of Raspbian Jessie Lite (2017-01-11) this script gets stuck after it checks whether CoovaChilli created the tun0 interface and outputs "Unable to find chilli interface tun0", as instructed to. No MySQL errors up to that line.

I cloned the script through git, "sudo chmod +x pihotspot.sh", and then "sudo ./pihotspot.sh"

pihomeserver commented 7 years ago

The solution is in a closed issue (#14) that I have to add in the script. The minibian version does not have the issue I have to look at it