{"id":399,"date":"2013-03-19T09:24:42","date_gmt":"2013-03-19T18:24:42","guid":{"rendered":"\/blog\/?p=399"},"modified":"2023-09-21T09:38:53","modified_gmt":"2023-09-21T00:38:53","slug":"%ec%9a%b0%eb%b6%84%ed%88%ac-%eb%a6%ac%eb%88%85%ec%8a%a4-%eb%ac%b4%ec%84%a0ap-%eb%a7%8c%eb%93%a4%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=399","title":{"rendered":"\uc6b0\ubd84\ud22c \ub9ac\ub205\uc2a4 \ubb34\uc120AP \ub9cc\ub4e4\uae30"},"content":{"rendered":"\n<P><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\"><STRONG>\u25a0 \uae30\ubcf8 \ub124\ud2b8\uc6cc\ud06c \uad6c\uc870<\/STRONG><\/SPAN><\/P>\n<P><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">eth0 : 10.10.10.81\/24 gateway 10.10.10.254<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">wlan0 : AP Mode<\/SPAN><\/P>\n<P><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\"><STRONG>\u25a0 \ucd94\uac00 \uc124\uce58 \ud328\ud0a4\uc9c0<\/STRONG><\/SPAN><\/P>\n<P><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">apt-get install bridge-utils<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">apt-get install hostapd<\/SPAN><\/P>\n<P><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\"><STRONG>\u25a0 AP \uc14b\ud305<\/STRONG><\/SPAN><\/P>\n<P><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif; COLOR: #0900ff\">1. \/etc\/network\/interfaces<\/SPAN><\/P>\n<P><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">auto lo br0<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">iface lo inet loopback<\/SPAN><\/P>\n<P><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\"># wireless wlan0<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">allow-hotplug wlan0<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">iface wlan0 inet manual<\/SPAN><\/P>\n<P><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\"># eth0 connected to the ISP router<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">allow-hotplug eth0<\/SPAN><\/P>\n<P><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\"># Setup bridge<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">iface br0 inet static<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">&nbsp;&nbsp;&nbsp; bridge_ports wlan0 eth0<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">&nbsp;&nbsp;&nbsp; address 10.10.10.81<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">&nbsp;&nbsp;&nbsp; netmask 255.255.255.0<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">&nbsp;&nbsp;&nbsp; network 10.10.10.0<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">&nbsp;&nbsp;&nbsp; ## isp router ip, 10.10.10.254 also runs DHCPD ##<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">&nbsp;&nbsp;&nbsp; gateway 10.10.10.254<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">&nbsp;&nbsp;&nbsp; dns-nameservers 168.126.63.1<\/SPAN><\/P>\n<P><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif; COLOR: #0900ff\">2. \/etc\/hostapd\/hostapd.conf<\/SPAN><\/P>\n<P><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">interface=wlan0<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">bridge=br0<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">driver=nl80211<\/SPAN><\/P>\n<P><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">ssid=AP_TEST<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">hw_mode=g<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">channel=11<\/SPAN><\/P>\n<P><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">macaddr_acl=0<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">auth_algs=3<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">ignore_broadcast_ssid=0<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">wpa=3<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">wpa_passphrase=&lt;wifi password&gt;<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">wpa_key_mgmt=WPA-PSK<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">wpa_pairwise=TKIP<\/SPAN><br \/><SPAN style=\"FONT-FAMILY: Gulim,\uad74\ub9bc,AppleGothic,sans-serif\">rsn_pairwise=CCMP<\/SPAN><br \/><\/P>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0 \uae30\ubcf8 \ub124\ud2b8\uc6cc\ud06c \uad6c\uc870 eth0 : 10.10.10.81\/24 gateway 10.10.10.254wlan0 : AP Mode \u25a0 \ucd94\uac00 \uc124\uce58 \ud328\ud0a4\uc9c0 apt-get install bridge-utilsapt-get install hostapd \u25a0 AP \uc14b\ud305 1. \/etc\/network\/interfaces auto lo br0iface lo inet loopback # wireless wlan0allow-hotplug wlan0iface wlan0 inet manual # eth0 connected to the ISP routerallow-hotplug eth0 # Setup bridgeiface br0 inet static&nbsp;&nbsp;&nbsp; bridge_ports wlan0 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[39],"tags":[],"class_list":["post-399","post","type-post","status-publish","format-standard","hentry","category-os_linux_unix_macos"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=399"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/399\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}