■ 기본 네트워크 구조
eth0 : 10.10.10.81/24 gateway 10.10.10.254
wlan0 : AP Mode
■ 추가 설치 패키지
apt-get install bridge-utils
apt-get install hostapd
■ AP 셋팅
1. /etc/network/interfaces
auto lo br0
iface lo inet loopback
# wireless wlan0
allow-hotplug wlan0
iface wlan0 inet manual
# eth0 connected to the ISP router
allow-hotplug eth0
# Setup bridge
iface br0 inet static
bridge_ports wlan0 eth0
address 10.10.10.81
netmask 255.255.255.0
network 10.10.10.0
## isp router ip, 10.10.10.254 also runs DHCPD ##
gateway 10.10.10.254
dns-nameservers 168.126.63.1
2. /etc/hostapd/hostapd.conf
interface=wlan0
bridge=br0
driver=nl80211
ssid=AP_TEST
hw_mode=g
channel=11
macaddr_acl=0
auth_algs=3
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=<wifi password>
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP