Hey all, I am a newbie to raspberry pi, I just purchased a raspberry pi 3 B+ model with WiFi on Board. I have been trying to configure the WAP for the pi. But i keep failing at two steps given in the documentation.
I have the Raspbian Buster Lite OS installed. I can easily ssh into the pi having the wifi enabled through the wpa_supplicant.conf file. I have been following the steps clearly given in the documentation but cannot understand why this is happening.
The two commands are:
$ sudo systemctl start hostapd
Job for hostapd.service failed because the control process exited with error code.
See "systemctl status hostapd.service" and "journalctl -xe" for details.
$ iptables-restore < /etc/iptables.ipv4.nat
iptables-restore v1.8.2 (nf_tables): Chain 'MASQUERADE' does not exist
Error occurred at line: 7
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
I have checked my conf files and the new hostapd files that have been added and I see no typos. What could be the issue then? Can someone help me troubleshoot this issue? If more details are needed please let me know.