Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:network:wifi:wifiextenders:bridgedap [2024/06/24 09:13] – [Wireless Access Point - Dumb Access Point)] bluewavenet | docs:guide-user:network:wifi:wifiextenders:bridgedap [2024/09/30 13:33] – [Populate Hostnames in Associated Stations] Improve command dpawlik | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | < | + | < |
| - | {{: | + | {{: |
| </ | </ | ||
| - | ====== Wi-Fi Extender/ | + | ====== Wi-Fi Extender/ |
| - | Bridged AP is to extend | + | Bridged AP configuration will use your wireless |
| - | OpenWrt bridges the LAN network with the WLAN of the device in Access Point mode. The advantage of bridging is that broadcast traffic from Wireless | + | OpenWrt bridges the LAN network with the WLAN of the device in Access Point mode. The advantage of bridging is that broadcast traffic from wireless |
| - | + | ||
| - | This document outlines | + | |
| - | + | ||
| - | //Note: This recipe results in a bridged LAN that will work fine for home and small networks. It is similar to the "Dumb AP" recipe at [[docs: | + | |
| ===== Configuration ===== | ===== Configuration ===== | ||
| Line 33: | Line 29: | ||
| option dns 192.168.1.1 | option dns 192.168.1.1 | ||
| </ | </ | ||
| - | This IP address | + | This must be an // |
| ==== Step 2: Configure and enable the wireless network ==== | ==== Step 2: Configure and enable the wireless network ==== | ||
| Line 52: | Line 48: | ||
| ==== Step 3: Disable dnsmasq ==== | ==== Step 3: Disable dnsmasq ==== | ||
| - | | ''/ | + | service |
| + | service dnsmasq stop | ||
| ==== Step 4: Connect host router and openwrt router correctly ==== | ==== Step 4: Connect host router and openwrt router correctly ==== | ||
| - | Ensure the host router is connected with a lan port of the openwrt, not the wan port! | + | Ensure the host router is connected with a LAN port of the wireless AP, not the WAN port! |
| - | ===== Apply changes | + | ==== Apply changes ==== |
| - | Enable the new wireless network. | + | Enable the new wireless network |
| - | + | ||
| - | <code bash> | + | |
| - | root@OpenWrt:~# ifup wifi | + | |
| - | root@OpenWrt: | + | |
| - | </ | + | |
| + | wifi | ||
| - | ==== Wireless Access Point - Dumb Access Point - LuCi ==== | + | ====== Wireless Access Point - Dumb Access Point - Examples ====== |
| - | This following | + | This section |
| - | This is commonly used to add additional wireless coverage to an existing network, maybe on a different floor or to cover a dead spot. This setup is sufficient for small home or office network, but for larger networks a more sophisticated approach is often used. | + | This is commonly used to add additional wireless coverage to an existing network, maybe on a different floor or to cover a dead zone. This setup is sufficient for small home or office network, but for larger networks a more sophisticated approach is often used. |
| <WRAP box> | <WRAP box> | ||
| - | Summary | + | Overview |
| - | - The wireless AP is connected LAN-to-LAN to the main router by some means e.g. ethernet | + | - The wireless AP is connected LAN-to-LAN to the router by some means e.g. ethernet, 802.11s mesh, etc. |
| - | - The wireless AP bridges its SSID wireless interface | + | - The wireless AP bridges its SSID wireless interface |
| - The wireless AP bridge LAN may have either a static or DHCP address on the same subnet as the main router bridge LAN interface. | - The wireless AP bridge LAN may have either a static or DHCP address on the same subnet as the main router bridge LAN interface. | ||
| - The wireless AP gateway IP address is set to the address of the main router, either in the configuration or by DHCP. | - The wireless AP gateway IP address is set to the address of the main router, either in the configuration or by DHCP. | ||
| - | - The wireless AP does not provide services such as DHCP, DNS, or firewall. | + | - The wireless AP does not provide services such as DHCP, DNS, or firewall |
| </ | </ | ||
| Line 87: | Line 80: | ||
| ===== Configuration via LuCI ===== | ===== Configuration via LuCI ===== | ||
| - | These instructions refer to the interface found in OpenWrt 23.05. The interface | + | These instructions refer to the interface found in OpenWrt 23.05. The interface differs from earlier versions of OpenWrt which we try to account for. |
| This setup requires two routers, a computer with an Ethernet port, and an Ethernet cable. We refer to the routers as the //main router// and the //wireless AP// and we assume default settings on both. The main router should already be properly configured and connected to the Internet. | This setup requires two routers, a computer with an Ethernet port, and an Ethernet cable. We refer to the routers as the //main router// and the //wireless AP// and we assume default settings on both. The main router should already be properly configured and connected to the Internet. | ||
| Line 138: | Line 131: | ||
| | | ||
| Disable IPv6 DHCP. Same page, //DHCP Server// tab, click on the //IPv6 Settings// sub-tab. Set the // | Disable IPv6 DHCP. Same page, //DHCP Server// tab, click on the //IPv6 Settings// sub-tab. Set the // | ||
| - | **In versions of OpenWrt | + | In versions of OpenWrt |
| Click " | Click " | ||
| Line 156: | Line 149: | ||
| Use an Ethernet cable to connect one of the LAN ports on your main router to one of the LAN ports (**not** the // | Use an Ethernet cable to connect one of the LAN ports on your main router to one of the LAN ports (**not** the // | ||
| - | You may need to reboot either or both routers, the device connecting your main router to the Internet, and potentially any connected devices. In many cases this will not be necessary. | + | You may need to reboot either or both routers, the device connecting your main router to the Internet, and potentially any connected devices. In many cases this will not be necessary.\\ |
| Done!\\ | Done!\\ | ||
| Line 294: | Line 287: | ||
| < | < | ||
| - | ===== Apply changes | + | ==== Apply changes ==== |
| Reloading the network config should be enough, it should automatically restart if necessary. Alternatively, | Reloading the network config should be enough, it should automatically restart if necessary. Alternatively, | ||
| Line 329: | Line 322: | ||
| Dumb APs will not have the data to display hostnames of the associated devices. | Dumb APs will not have the data to display hostnames of the associated devices. | ||
| - | On the router, one can extract | + | On the router, one can extract |
| < | < | ||
| < dhcp.leases | awk ' | < dhcp.leases | awk ' | ||
| + | # or | ||
| + | awk '$4 != " | ||
| </ | </ | ||
| Line 343: | Line 338: | ||
| DLNA and UPnP clients, and printer or SMB discovery protocols tend to work by using multicast packets. For example PlayStation, | DLNA and UPnP clients, and printer or SMB discovery protocols tend to work by using multicast packets. For example PlayStation, | ||
| - | On WiFi the //slowest// modulation available is used for multicast packets (so that everyone can hear them). If you have " | + | On WiFi the //slowest// modulation available is used for multicast packets (so that everyone can hear them). If you have " |
| There are two possible fixes for this, one is to //enable// multicast snooping: '' | There are two possible fixes for this, one is to //enable// multicast snooping: '' | ||
| - | ===== External Videos | + | ===== External Videos ===== |
| Several videos are available on the topic which may be useful for background information.\\ | Several videos are available on the topic which may be useful for background information.\\ | ||
| Line 367: | Line 362: | ||
| ===== Notes ===== | ===== Notes ===== | ||
| - | - Dumb AP wireless can be configured to control access | + | - Dumb AP wireless can be configured to control access |
| - | - 'Static DHCP' | + | - Static DHCP is not covered here. This procedure creates an AP that provides wired/ |
| - | - This recipe is similar to the " | + | |
| - Firewall bridge mode support in OpenWrt is provided by the [[packages: | - Firewall bridge mode support in OpenWrt is provided by the [[packages: | ||