The previous article opened my original road. With the strong support of friends in Changsha Handong Group, I specifically shared my knowledge and helped you use your campus network resources effectively. In the dormitory, the student party does not need to buy a high-end router to use, so a newifi mini with a good price ratio seems to be appropriate, but in some universities in China, for some reason, it is not as simple as broadband dial-up at home. . They often need a certification software - Ruijie (Xaar).
Here, we would like to express our envy to college students who can access the Internet without using some authentication software. It is convenient because it can be used without authentication software. But I believe most schools are not like this. In order to use WI-FI, you must turn on the computer, and sometimes you will disconnect the computer by turning on Wi-Fi sharing! Due to the poor network and the inability to use routers, the unparalleled experience has given the campus network a title of “Metaphysics,†and IT-related people often feel headaches when it comes to campus network problems.
Maybe a lot of value friends said I went to a treasure to buy a Ruijie router is not enough? But the original cheaper router would have to be doubled after a little configuration, and the security is still unknown. This is not very inconsistent with Zhang Aunt's "value" concept? Here to share the knowledge of the router Ruijie certification, so that more students can enjoy the Internet!
First, the preparationHardware preparation: one router, two network cables, computer
Software preparation:
Win end Putty, Winscp,
Mac terminal (supplied with the system), FileZilla.
The Ruijie (Xil) certified open source software MentoHUST developed by the students of Huazhong University of Science and Technology can also directly download compiled software. (Note here that the project has stopped updating but it can still be used)
Second, start1, open the service
The first step is to enable the SSH and FTP functions of the router. This is the prerequisite for the entire operation. For the opening of these two items, it has already been used in the application of newifi mini, only need to insert the U disk to install.
[Install SSH and FTP Services]
The opening of the relevant services can be found on the router-related forums. For example, there are tutorials on the website of the millet router.
2, software upload and configuration First we have to connect the router, use the pre-preparation to download the installed software.
(The example IP address here is 100.00.00.00 and the account name is root, you have to change it according to the management data of the router)
Upload: Use Winscp or FileZilla to log in to the router through SFTP 22 port, add the unpacked mentohust to the route /usr/sbin, and the /mentohust/ folder in /etc/ to install on your computer. Open the directory, find 8021x.exe, W32N55.dll, SuConfig.dat and upload these three files to /etc/mentohust/.
[needed file]
Configuration: Win uses Putty to log in, displays “login asâ€, enters root
[Putty]
The Mac uses the following command to log in the terminal
After the carriage return, a .00's password appears:
After entering the root password (newifi is the administrator password), enter the following command:
Did not show what is normal, then enter:
As shown below, select the WAN port of the router, press the preceding number and then press Enter. (usually choose eth 0.2 or eth 2.2)
[configure network card]
Then enter your account's account and enter the password.
Multicast address selection 1 (Ruijie), DHCP mode selection 1 (secondary authentication), whether background operation selection 3 (Yes, output to file), and others default settings.
According to my school's configuration is this, please try to set up according to your actual situation. Among them, PingHost proposes to ping Baidu's IP address 119.75.217.109 so that it can automatically reconnect after disconnected.
[My settings]
This should be the case if the dialing is successful.
[Send heartbeat package]
Then set the entire software to run automatically, use Winscp to enter the /etc/init.d/ folder, create a new file called mentohust, enter the following text and save it.
Then insert the exit 0 in the /etc/rc.local statement:
And save it.
Go to Putty and execute the following command:
then
Finally restart the route.
Use Putty again to connect to the router and enter "mentohust" to verify that you are dialing.
[certification successful]
At this time it is already possible to use the router for dialing! Never use computer authentication to open hot spots!
If there is a dial-up problem, you can use the SSH management software on the mobile phone to log in to the router for management. You can use JuiceSSH on your Android phone and Termius on the iPhone.
Third, the software parameters explainThe MentoHUST parameters are abundant to best suit the different Ruijie certification environments in different schools. This program uses the configuration file (/etc/mentohust.conf) to save the parameters. Although the configuration file is a standard ini format file, it is not complicated, but some people still have problems because of space or configuration; therefore, it is not recommended to use manual configuration. Modify the configuration file to set parameters.
Open the terminal and enter mentohust -h. The following will appear:
The following explains several important parameters:
Points to note:
note! The account system of some schools is different. The account is a student ID@telecom (or mobile, China Unicom) for dialing on my router. You can ask the school principal about the certification status of your school.
If you still fail the authentication after following the above steps, please download MentoHUSTTool, capture it under Windows and save it as data.mpf.
Then go back to Linux and use the cd command in the terminal to switch to the directory where data.mpf is located. Enter the following command:
Then open the terminal and enter mentohust -f/etc/mentohust/data.mpf -w to run. In the future, just enter mentohust.
Fourth, supported schoolsFinally talk about the open source software supported schools.
[Supported schools]
Fifth, last wordsIn fact, some third-party firmware has its own MentoHUST, but not all routers have third-party firmware support, and some users are reluctant to use third-party firmware due to certain features of the original firmware. This tutorial is very important. . I hope that the value of your college students can make use of the Internet resources and study hard. I also hope that this tutorial can help a lot of college students who have been troubled by the campus network. What problems can be explored in the comments area? There is no equipment to collect this tutorial. It's very likely that you will need it! Think that the tutorial is good and remember to play!
The following articles are mostly original in the technical category. I hope that the great deities in the station can point out my mistakes, and hope that you can make more reasonable use of your tools to make your life better.
Indoor Advertising Led Display
Indoor Advertising Led Display,Led Display Screen For Advertising Indoor,Led Screen For Advertising Indoor,Indoor Advertising Display
ShenZhen Megagem Tech Co.,Ltd , https://www.megleddisplay.com