How to set up Alpine as a wireless router: Difference between revisions

From Alpine Linux
Line 2: Line 2:


This is a page to describe building a Wireless Access Point with two wired ethernet ports for building a home router that connects to the internet with one wired port, and internal Lan with the second wired port and the on-board WiFi.<br>
This is a page to describe building a Wireless Access Point with two wired ethernet ports for building a home router that connects to the internet with one wired port, and internal Lan with the second wired port and the on-board WiFi.<br>
=== Overview ===
I generally run Debian and  when forced by red hot irons, Red Hat. This is my first foray into Alpine. So far I am very impressed. I mirrored the 3.12 armhf repos so I had things local when I needed them. Word to the wise. That is 13G of apk files.<br>
One *really* nice feature of Alpine is apk, the yum/apt replacement:<br>
It is simple, short, and to the point.
=== Install ===


==== References ====
==== References ====
Line 14: Line 19:
[https://github.com/imp/dnsmasq/blob/master/dnsmasq.conf.example dnsmasq Docs]<br>
[https://github.com/imp/dnsmasq/blob/master/dnsmasq.conf.example dnsmasq Docs]<br>
[https://man.openbsd.org/hostapd.conf.5 HostApd Docs]<br>
[https://man.openbsd.org/hostapd.conf.5 HostApd Docs]<br>
[rsync://rsync.alpinelinux.org/alpine Alpine Repos]<br>


===== Pi Specific =====
===== Pi Specific =====
Line 19: Line 25:
[https://raspberrypi.stackexchange.com/questions/81486/raspberry-pi-wifi-to-ethernet-bridge-for-a-server/81518 WiFi Bridge]<br>
[https://raspberrypi.stackexchange.com/questions/81486/raspberry-pi-wifi-to-ethernet-bridge-for-a-server/81518 WiFi Bridge]<br>
[[Raspberry_Pi|Alpine Install]]<br>
[[Raspberry_Pi|Alpine Install]]<br>
[[Raspberry_Pi_Zero_W_-_Installation|PiZeroW Install]]<br>
[[Classic_install_or_sys_mode_on_Raspberry_Pi|Classic Sys Install on Pi]]<br>


==== Not Related, but Interesting ====
==== Not Related, but Interesting ====
[https://blog.thewalr.us/2017/09/26/raspberry-pi-zero-w-simultaneous-ap-and-managed-mode-wifi AP and Managed Mode]<br>
[https://blog.thewalr.us/2017/09/26/raspberry-pi-zero-w-simultaneous-ap-and-managed-mode-wifi AP and Managed Mode]<br>
[https://www.instructables.com/Using-a-Raspberry-PI-Zero-W-As-an-Access-Point-and AP and MQTT]<br>
[https://www.instructables.com/Using-a-Raspberry-PI-Zero-W-As-an-Access-Point-and AP and MQTT]<br>

Revision as of 22:36, 2 January 2021

Pi Zero W Wireless Router

This is a page to describe building a Wireless Access Point with two wired ethernet ports for building a home router that connects to the internet with one wired port, and internal Lan with the second wired port and the on-board WiFi.

Overview

I generally run Debian and when forced by red hot irons, Red Hat. This is my first foray into Alpine. So far I am very impressed. I mirrored the 3.12 armhf repos so I had things local when I needed them. Word to the wise. That is 13G of apk files.
One *really* nice feature of Alpine is apk, the yum/apt replacement:
It is simple, short, and to the point.

Install

References

udhcpc
ez-ipupdate
Dynamic_DNS
Alpine Linux Bridge
Connect to wireless AP
dnsmasq listen restrictions
Disable IPV6
dnsmasq Docs
HostApd Docs
[rsync://rsync.alpinelinux.org/alpine Alpine Repos]

Pi Specific

Pi Wifi Repeater
WiFi Bridge
Alpine Install
PiZeroW Install
Classic Sys Install on Pi

Not Related, but Interesting

AP and Managed Mode
AP and MQTT