You lenovo new routing Newifi mini users, you know Newifi mini static IP address how to distribute it? This way pcde Apple small make up to teach everyone Newifi mini static IP address assignment tutorial, Let the attack can be unlimited to their own routers within the computer set static IP address, the Internet to work something more convenient!
DHCP service has dynamic address assignment and static address assignment two ways, simple point, dynamic address assignment is the equivalent of random allocation of IP, and static address assignment is based on the pre-set MAC address and IP address of the corresponding relationship to allocate IP.
For example, let MAC address for 00:11:22:33:44:55 device automatically get 192.168.168.128 this IP every time.
The method is as follows:
First, because the official out of the firmware can not SSH connection, the following operations need to be done through SSH, so you have to brush to open SSH firmware
Unlock firmware portal for SSH: Newifi mini rooted firmware (based on official v1.6.10.3)
This firmware needs to refresh under Uboot, the specific way to see: Lenovo Newifi New route mini firmware upgrade Tutorial (a total of 4 ways)
Second, after refreshing the firmware using SECURECRT or putty and other tools SSH landing to the Mini,
Username is root and the password is the WiFi password you set
Third, add the corresponding relationship between MAC address and IP address, execute the following command (one line at a time):
Note: Some of the parameters in the following commands should be modified according to the actual situation
1. The following @host[0] increments 1 each time the add DHCP host adds a record
2, the following NAME=SAMSUNG_GALAXY_S5 replaced by the name of the corresponding device
3, the following mac=00:11:22:33:44:55 replaced by the corresponding device's MAC address
4, the following ip=192.168.168.128 replace the corresponding device to assign the IP address
1, add the first record
01.UCI Add DHCP Host
02.uci setdhcp. @host [0].NAME=SAMSUNG_GALAXY_S5
03.uci setdhcp. @host [0].mac=00:11:22:33:44:55
04.uci setdhcp. @host [0].ip=192.168.168.128
05.uci Commit DHCP
Copy Code
2, add the second record
01.UCI Add DHCP Host
02.uci setdhcp. @host [1].name=samsung_galaxy_note_4
03.uci setdhcp. @host [1].mac=00:11:22:33:44:56
04.uci setdhcp. @host [1].ip=192.168.168.168
05.uci Commit DHCP
Copy Code
And so on ...
3. Restart Network Services
01./etc/init.d/network restart
Copy Code
OK, now your Newifi Mini will be able to achieve static IP address allocation!