I've configured an Alpine Linux system as a wireless router.
The approach I followed is rather different from what the wiki page 
seems to be meant for, and I also notice that the wiki page is marked
as a work-in-progress.
I've written up the steps that it took to make it consistently
reproducible (as in "comes back up on boot"), with a bit of comments on
the config files involved; this might make a decent HOWTO/wiki guide.
Is the wiki the only place for such things?
(If so, could someone else post it there, or should I ask for access?)
The basis for what I did is the RPI-Wireless-Hotspot page ;
I've adjusted it to fit Alpine better.
A quick overview of what I did:
- add iptables, udhcpd, and hostapd
- configure hostapd
- configure udhcpd
- configure iptables for NAT/masquerading
- configure the wireless card, and make it all start in proper order
- udhcpd works right, it seems
- it would be nice to see ACS (Automatic Channel Selection) enabled in
hostapd, though not necessarily enabled in the config file by default.
- for reasons unknown to me, if I configure iptables masquerading to
forward packets from wlan0, it results in ifup claiming that wlan0
is already up
- for reasons unknown to me, the code in the iptables init script that's
supposed to enable forwarding seems not to do so.
Received on Thu Sep 24 2015 - 21:08:41 GMT