{"id":8068,"date":"2024-03-22T23:59:19","date_gmt":"2024-03-22T14:59:19","guid":{"rendered":"\/blog\/?p=8068"},"modified":"2024-03-23T00:04:16","modified_gmt":"2024-03-22T15:04:16","slug":"openwrt-dumb-access-point","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=8068","title":{"rendered":"[OpenWRT] \"Dumb\" Access Point"},"content":{"rendered":"\n<span style=\"font-family: \ub098\ub214\uace0\ub515\ucf54\ub529, \ub3cb\uc6c0\uccb4, \uad74\ub9bc\uccb4, \uad81\uc11c\uccb4; font-size: 12pt;\"><a href=\"https:\/\/gist.github.com\/RustyRouter\/3869713d7645608f1f7394812f11e931\" target=\"_blank\" rel=\"noopener\">https:\/\/gist.github.com\/RustyRouter\/3869713d7645608f1f7394812f11e931<\/a><br \/><a href=\"https:\/\/openwrt.org\/docs\/guide-user\/network\/wifi\/dumbap\" target=\"_blank\" rel=\"noopener\">https:\/\/openwrt.org\/docs\/guide-user\/network\/wifi\/dumbap<\/a><br \/><a href=\"https:\/\/qquack.org\/openwrt\/bridged\/\" target=\"_blank\" rel=\"noopener\">https:\/\/qquack.org\/openwrt\/bridged\/<\/a><\/span>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#!\/bin\/ash\n# ========================================================\n# Setup a Dumb AP for OpenWRT\n# Tested on: Belkin RT3200 (aka. Linksys E8450) 22.03.3\n# Script expects factory settings\n# Copy the script file to your \/tmp folder with SCP\n# SSH your router\n# Type sh \/tmp\/dumb_ap.sh\n# ========================================================\n# Disable IPv6\n# ========================================================\nuci del dhcp.lan.ra\nuci del dhcp.lan.dhcpv6\nuci del network.lan.ip6assign\nuci set network.lan.delegate='0'\nuci set network.cfg030f15.ipv6='0'\nuci del network.globals.ula_prefix\nuci del dhcp.odhcpd\n\/etc\/init.d\/odhcpd disable\n\/etc\/init.d\/odhcpd stop\nuci commit\n# ========================================================\n# Disable Dnsmasq completely and discard dhcp\nuci commit dhcp; echo '' > \/etc\/config\/dhcp\n\/etc\/init.d\/dnsmasq disable\n\/etc\/init.d\/dnsmasq stop\n# ========================================================\n# Disable firewall\n\/etc\/init.d\/firewall disable\n\/etc\/init.d\/firewall stop\n# ========================================================\n# Remove WAN logical interfaces\nuci del network.wan\nuci del network.wan6\n# ========================================================\n# To identify better when connected to SSH and when seen on the network\nuci set system.@system[0].hostname='DumbAP'\nuci set network.lan.hostname=\"`uci get system.@system[0].hostname`\"\nuci commit system\n# ========================================================\n# Set static network configuration (sample config for 192.168.1.0\/24)\n# 192.168.1.1 is the Main Router\n# ========================================================\nuci set network.lan.ipaddr='192.168.1.2'\nuci set network.lan.dns='192.168.1.1'\nuci set network.lan.gateway='192.168.1.1'\nuci set network.lan.netmask='255.255.255.0'\nuci set network.lan.broadcast='192.168.1.255'\nuci commit network\necho '====================================================================='\necho 'Reboot your router'\necho 'you can now connect the LAN port of this device to the LAN port'\necho 'of your main router.'\necho '192.168.1.2 is now your Access Point IP Address'\necho '====================================================================='\nsync\n#reboot<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/gist.github.com\/RustyRouter\/3869713d7645608f1f7394812f11e931https:\/\/openwrt.org\/docs\/guide-user\/network\/wifi\/dumbaphttps:\/\/qquack.org\/openwrt\/bridged\/<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","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":"default","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":"set","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":[21],"tags":[],"class_list":["post-8068","post","type-post","status-publish","format-standard","hentry","category-development_openwrt"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8068","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=8068"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8068\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}