Report comment

Hi Andrea, your welcome.
The article you refer to would not be compatible with Raspbian Stretch as it is using the /etc/network/interfaces file. The ifup command in ifup uap0 needs the interfaces file. You would need 'ip link set dev uap0 up'
and rc.local is being phased out and replaced with systemd. Saying that it will all still work on Raspbian Jessie, but not with the autohotspot setup.

In General having a AP and network on the same device would not work as this script swaps between network wifi and AP so both will not be active at the same time which is what you would need it to do.

For wifi and AP you would need to add a usb wifi adapter to wlan1. That would need further config to get it working smoothly as well but does work.