I am using the Edimax EW7811Un in AP mode using hostapd, I installed the RTL8188 specific hostapd from git and then followed the instructions here - http://elinux.org/RPI-Wireless-Hotspot
Everything will start fine from the command line and it works a treat but I am struggling to make it start from boot, when I enter:-
sudo update-rc.d hostapd enable
I get this error
update-rc.d: using dependency based boot sequencing
update-rc.d: error: no runlevel symlinks to modify, aborting!
Also the iptables-restore is not working, in etc/network/interfaces I have:-
up iptables-restore < /etc/iptables.ipv4.nat
But I have to keep re-entering the iptables rules, they are not restoring.
Any advice appreciated