Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Allowing internet access while in AP mode (on mobile)
#18
I had this in my notes from a while back that is supposed to enable Router mode.

Code:
- Router mode
1) sudo nano /etc/sysctl.conf
delete the "#" on #net.ipv4.ip_forward=1
2) sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
sudo sh -c "iptables-save > /etc/iptables.ipv4.nat"
3) sudo nano etc/rc.local
add the following above "exit 0"
iptables-restore < /etc/iptables.ipv4.nat
/etc/init.d/hostapd start
/etc/init.d/dnsmasq start
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Allowing internet access while in AP mode (on mobile) - by Tim Curtis - 04-05-2019, 01:41 PM

Forum Jump: