18.8 yuan 4G portable wifi brush openwrt to change wireless router or wireless network card

There are a lot of 4G portable wifi online for 18.8 or 19 yuan each. Some can access the Internet by inserting a sim card, while some integrate a sim card inside. Some masters have cracked the portable wifi so that it can be flashed into the debian system and openwrt system. In terms of configuration: The portable wifi is equipped with a Qualcomm 410 chip (arm64 architecture), 512m of running memory, 4G memory, 4G baseband, wifi, and usb... (what kind of bicycle do you want for 20 yuan).

        

Preparation materials: a Qualcomm 410 portable wifi with openwrt (about 19 yuan on Taobao, openwrt brushes the latest openwrt firmware by Su Su Xiaoliang, the master of Kuan, and see OpenWrt in the tutorial and firmware link. Portable WIFI is the master Controlled 4G remote control car tutorial Kanyun ). Computer system windows10.

Changing the router: Let me first explain that the general home router has a wan port, a lan port and wifi wireless. The wan port is used to access the network port of the external network, and is generally connected to the LAN port from the optical modem. The LAN of the router is the port of the local network, and it and wifi should both belong to the local network ( you can view WIFI as a LAN port ). If the two routers are connected to the external network, the wan port of the second-level router must be connected to the LAN port of the first-level router. Then the portable wifi is the same reason, the portable wifi has WIFI and USB to connect to the network, then I guess if the USB of the portable wifi is used as the WAN port to connect to the LAN port of the upper level router, and the WIFI is used as the LAN port , the mobile phone You can connect to WIFI to surf the Internet!

The reason is this, but USB is USB, and network port is network port, so what about plugging the network cable into the USB port?

There are USB-to-network port devices on Taobao, which cost more than ten yuan each, and the USB head is not a female head. (Plug in the only USB port and consider the issue of power supply) So if you really want to be a router, it is best to buy a portable wifi USB extender made by a big guy in the seafood market.

Before these things arrive, I still plan to test whether the solution is feasible on my computer.

First of all, after brushing the latest version of openwrt firmware in the above link with the portable wifi, plug it into the computer, open the device manager, you will see that there is an RNDIS device in other devices, right-click for it and select the manufacturer as Microsoft’s RNDIS driver (the steps to select the driver It's very simple (Baidu yourself). After the driver is selected, unplug it and plug it into the device manager.

There will be an extra NDIS device in the network adapter.

 Then select the Change Network Adapter option in the network and you will see:

 I found that there is an extra network adapter, which is the portable wifi we plugged in.

Next is the operation on the mobile phone:

The purpose is to connect the LAN port of the portable wifi to WIFI, and tie the WAN to USB0. In the network->interface, all the red ones are WAN ports, and all the green ones belong to the LAN ports. Although the names are different, look at the color! !

Connect the mobile phone to the portable wifi wifi (starting with HandsomeMod), open the browser and enter 192.168.1.1 to enter the openwrt router management interface.

There is no initial password, just click to log in.

Select Network->Interface in the left menu bar, click Switch to Device, and configure br-lan like this, in fact, remove the original USB0 device and change it to network card eth0, remember to change the MAC address too!! Just change it, Just don't be the same as the previous USB0.

 

Click the LAN port in the edit interface and change it to the following:

 

 

 After the modification is successful, the effect is as follows: (the green LAN port below)

 The LAN port has been changed. Next change the WAN port (USB). Scroll down to find WWAN and click Edit (if you don’t have one, just create one yourself and the color will be red, or you can change the color of other interfaces to be red), configure like this:

 

 In this way, the WAN port is configured.

Then plugged the portable WIFI into the computer and found that there was still no way to access the Internet. At this time, configure it in the computer like this:

Select right-click on Ethernet -> select Properties -> Sharing -> home network connection and select Ethernet 4 (that is, the network where the portable wifi is plugged in) -> allow other network users to connect to the Internet through this computer -> click OK.

 Then I was surprised to find that the mobile phone connected to the portable wifi can already access the Internet! !

Portable wifi as a wireless network card is also a similar configuration. It is nothing more than binding USB0 to the LAN port, tying WIFI to the WAN port, and changing the position. The other configurations are the same. Then after the above LAN port is changed, the login address of the openwrt router becomes 192.168.2.1, just pay attention when you log in.

 

        

Guess you like

Origin blog.csdn.net/m0_46449041/article/details/126562210