Method for accessing a wireless repeater web configuration page based on a fixed ip

CN116471163BActive Publication Date: 2026-03-24SICHUAN JIUZHOU ELECTRONICS TECH
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

[0006]以上两种方法都比较麻烦,不能非常方便的管理中继器

Benefits of technology

[0013] This invention makes it easier to manage wireless repeaters. Instead of going through cumbersome steps to obtain the repeater's real IP address, you can access the repeater's web server through the fixed IP address on the tag. This invention is also applicable to wireless router products that can switch between bridge mode and repeater mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116471163B_ABST
    Figure CN116471163B_ABST
Patent Text Reader

Abstract

The application discloses a method for accessing a web configuration page of a wireless repeater based on a fixed IP, which comprises the following steps: filling the fixed IP on a factory label of the repeater, adding a hook function in a BROUTING chain in a broute table and a PREROUTING chain in a nat table of a netfilter framework respectively to process a message entering the repeater, and thus accessing the web configuration page of the wireless repeater through the label IP of the wireless repeater.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of wireless repeater configuration, in particular to a method for accessing a wireless repeater web configuration page based on a fixed IP. BACKGROUND

[0002] The main function of a wireless repeater is to establish a connection with a wireless router that can access the Internet through a wireless manner, and then send wireless signals to make the coverage of the wireless signals more extensive. The working principle of the wireless repeater is similar to that of a network bridge, and the repeater broadcasts or unicasts messages according to the MAC address of the destination. When the repeater needs to be managed, the repeater and the devices connected thereto are configured with IP addresses by a DHCP server of the wireless router, and then other devices can access the web server of the repeater through a browser to configure the repeater.

[0003] When the devices on the repeater need to configure the repeater through a web page, the IP of the repeater needs to be known. There are two ways to check the IP of the repeater:

[0004] 1. The leases file of the DHCP server of the wireless router is checked, and the MAC address of the repeater also needs to be known to know the IP allocated to the repeater.

[0005] 2. The serial port command line of the repeater is entered to check the IP address on the repeater through the ifconfig or ip command.

[0006] Both of the above methods are cumbersome and cannot manage the repeater very conveniently. SUMMARY

[0007] To solve the problems in the prior art, the present application aims to provide a method for accessing a wireless repeater web configuration page based on a fixed IP, which avoids the cumbersome operation of obtaining the IP of the repeater through the wireless router or the serial port command line of the repeater.

[0008] To achieve the above-mentioned purpose, the technical solution adopted by the present application is as follows: a method for accessing a wireless repeater web configuration page based on a fixed IP, comprising the following steps:

[0009] Step 1: Fill in the fixed IP on the factory label of the wireless repeater, and when the destination IP of the HTTP / HTTPS message is equal to the IP on the label of the repeater, send the message from the data link layer to the network layer: make a hook function on the BROUTING chain in the broute table of the netfilter framework, let the destination IP be equal to the label IP, the transmission layer protocol be TCP, and the application layer protocol be HTTP / HTTPS, and send the message to the network layer of the repeater;

[0010] Step 2: After the target packet is sent to the network layer, another destination address translation is performed: By creating a hook function on the PREROUTING chain of the nat table in the netfilter framework, the destination IP is modified to be equal to the label IP, the transport layer protocol is TCP, and the application layer protocol is HTTP / HTTPS. The destination IP is changed to the real IP on the wireless repeater, so that the wireless repeater's web configuration page can be accessed through the label IP of the wireless repeater.

[0011] This invention fills a fixed IP address on the factory label of the wireless repeater. In a network environment, regardless of the IP address obtained from the repeater, the web server inside the repeater can be accessed by entering the IP address on the repeater label into a browser to configure the repeater; this avoids the cumbersome operation of obtaining the repeater's IP address through a wireless router or through the repeater's serial port command line.

[0012] The beneficial effects of this invention are:

[0013] This invention makes it easier to manage wireless repeaters. Instead of going through cumbersome steps to obtain the repeater's real IP address, you can access the repeater's web server through the fixed IP address on the tag. This invention is also applicable to wireless router products that can switch between bridge mode and repeater mode. Attached Figure Description

[0014] Figure 1 This is a flowchart of an embodiment of the present invention. Detailed Implementation

[0015] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

[0016] Example

[0017] like Figure 1 As shown, a method for accessing the web configuration page of a wireless repeater based on a fixed IP address is described. A fixed IP address is filled in on the repeater's factory label. In a real network environment, the IP addresses on the wireless repeater are assigned through the wireless router's DHCP server, and this IP address is almost never the same as the IP address on the repeater label. To ensure that the repeater's web configuration page can be accessed via the IP address on the label, a hook function needs to be added to both the BROUTING chain in the broute table and the PREROUTING chain in the nat table of the netfilter framework to handle incoming packets to the repeater; specifically, this includes:

[0018] 1. When the destination IP of an HTTP / HTTPS message equals the IP address on the repeater label, the message is forwarded from the data link layer to the network layer:

[0019] Wireless repeaters operate at the data link layer and, by default, do not process packets at the network layer or higher. The packet will only be sent to the network layer for processing if the destination IP address of the packet exactly matches the IP address assigned to the repeater from the wireless router.

[0020] To ensure that packets with the same IP address as the label enter the repeater's network layer, a hook function needs to be created on the BROUTING chain of the broute table in the netfilter framework. This hook function should send packets with a destination IP equal to the label IP, a transport layer protocol of TCP, and an application layer protocol of HTTP / HTTPS to the repeater's network layer.

[0021] 2. After the target packet is sent to the network layer, another destination address translation is performed:

[0022] After the target packet is sent to the network layer, because the destination IP address is different from the IP address that the repeater obtained from the wireless router, the packet cannot be processed by the web server on the repeater.

[0023] To enable the repeater's web server to handle HTTP / HTTPS packets where the destination IP is equal to the label IP, a hook function needs to be added to the PREROUTING chain of the nat table in the netfilter framework. Its function is to modify packets where the destination IP is equal to the label IP, the transport layer protocol is TCP, and the application layer protocol is HTTP / HTTPS, by changing the destination IP to the actual IP on the repeater.

[0024] After completing the above two steps, devices under the same repeater or wireless router can access the repeater's web server through the IP address on the repeater's label.

[0025] The embodiments described above are merely illustrative of specific implementations of the present invention, and while the descriptions are detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention.

Claims

1. A method for accessing a wireless repeater's web configuration page based on a fixed IP address, characterized in that, Includes the following steps: Step 1: Fill in a fixed IP address on the factory label of the wireless repeater. When the destination IP address of an HTTP / HTTPS message is equal to the IP address on the repeater label, send the message from the data link layer to the network layer: by creating a hook function on the BROUTING chain of the broute table in the netfil ter framework, messages with a destination IP address equal to the label IP address, a transport layer protocol of TCP, and an application layer protocol of HTTP / HTTPS are sent to the network layer of the repeater. Step 2: After the target packet is sent to the network layer, a destination address translation is performed again: By creating a hook function on the PREROUTING chain of the nat table in the netfilter framework, for packets where the destination IP is equal to the label IP, the transport layer protocol is TCP, and the application layer protocol is HTTP / HTTPS, the destination IP is modified to the real IP on the wireless repeater, so that the wireless repeater's web configuration page can be accessed through the wireless repeater's label IP.

Citation Information

Patent Citations

  • Access method and access device of network bridge equipment and network bridge equipment

    CN112235175A