|
|
With the popularity of various types of digital products such as iPad, without a router to launch Wi-Fi networks, these devices basically can not be used, so today we will talk about how to use the router instead of Ruijie, the realization of wireless WiFi on college campuses. successful case of a student living in the family home of a university, the home of the broadband network is also from the university, but authentication of Internet access is the Ruijie technology, the home He bought a new laptop and needed to share the Internet access. After searching for information on the Internet, he decided to start with router modification.
Modification Ideas Said router transformation, in fact, not too much surgery on the router, just a replacement in the firmware. Ruijie has quite a few solutions under Linux, including such mature clients as Mentohust, and at the same time, given that the routers are all micro-Linux systems internally, the idea of transformation is to first brush the router into an open Linux system, such as DD-WRT, or OpenWRT, etc., and then run the compiled Ruijie client on the router, and realize the login! Hardware Preparation Hardware preparationHardware preparation is to prepare a router, the choice of router is also a delicate matter, you have to make sure that your router can brush the latest version of open firmware, such as OpenWRT or DD-WRT, the support list in their official website are written, I chose DD-WRT, the router purchased is TP-Link's WRN841 V7.
Router's V1 V2 V3 V4 are all different Attachment: openWRT hardware support list: http://wiki.openwrt.org/toh/start
TP-Link version of note in view of the specificity of the TP-Link router itself, as well as the ROM is relatively small, which also means that you want to independently install the Mentohust client in the ROM is unlikely to be able to, if you are like me is also the use of TP-Link for the transformation of the words, you can directly download the firmware has been integrated with the Mentohust, download addressAs follows: http://code.google.com/p/mentohust-wrt/改造开始不同版本的开放固件刷机的方式都不同, here DD-WRT is the main one. First of all, there are two files for DD-WRT firmware download, one is the upgrade package after already brushing DD-WRT, and the other is the original firmware brushing DD-WRT upgrade package, then here according to our own situation, download the original brushing package is the right one, the file name is similar to Factory-***.
The downloaded upgrade firmware flashes as you would expect, just select Firmware Upgrade in the stock router interface and then check the upgrade file to make sure.
Connecting to the router
Make sure the router is connected properly and the IP is correctly acquired
Firmware upgrade one
Firmware upgrade two
Firmware Upgrade No.3
Firmware Upgrade No. 4
Firmware Upgrade No. 5 Wait quietly for the end of the brush, then the router will automatically reboot, a pop-up asking you to set the first own administrator username and password.
The first time you log in to DD-WRT it will ask to create a new username and password
DD-WRT setup page remote login first in the router to determine your IP, and then in the setup panel home page of the WAN settings to choose your IP, is your desktop computer RuiJie dial-up when you need to set the IP. of course, if you can't read it can be set to the Chinese interface first.
Set the language to Chinese
Setting up basic router information
WAN IP settings and then in your computer, open the "command prompt line" / "Terminal", enter Telnet 192.168.1.1 (your router's IP), prompted to enter the user name and password, remember that the user name must be Remember that the username must be root, not the one you just set, but the passwordis stillthe one youset.
Telnet login to download the Mentohust MIPS version, then you can set up an FTP or HTTP server way on your own computer, put the file in the root directory of the server, make sure that you can access it remotely with a router. After logging in, use the wget command to get the Mentohust MIPS version, of course, if you are using the TP-Link Mentohust integrated version, then there is no need for this. Run the Mentohust command to see if it works. Then you can just dial up, make sure of three things before doing so:
dial-up mode need to pay attention to, you need to enter the user name and password on the command line, as well as your network port, the command format mentohust document also has a detailed description, in general, we only need to use the following commands: mentohust -u user name -p password -neth0 run to see if it is a successful dial-up, if it fails to have Chinese prompts why you failed, if you If it fails, there will be a message in Chinese telling you why you failed, if you get a result containing the word "HeartBeat" after running it, then it is successful. Auto-dialing: As I said before, TP-Link doesn't have ROM space to save data, and won't record a mentohust.conf file directly like other router open system solutions, and then run mentohust next time, so you still need to run the long line of commands above every time, but of course it's not a problem because DD-WRT has a scheduled task command system. WRT has a scheduled task command system. In the DD-WRT setup screen, find "Commands", and set the
The command is copied into the text box below, and then select Save as Firewall Command, so you can be sure that you'll be autodialing every time you turn on your computer.
Post maintenance: Although this has been set up, but sometimes there will still be dialing problems, then how to maintain is also a little to say. First of all: you need to enter the "command" to clear the original command, clear the method for the empty text box, and then saved as a firewall command to override. Then: reboot your router and use Telnet to log in remotely. Run the Mentohust command at the command line to dial up and see what went wrong and fix it. To summarize: basically, this is the way to log in to Riptide dial-up with your router to achieve network sharing, but from now on, it seems that some people have begun to develop more user-friendly DD-WRT revisions, such as the interface that allows you to set up Riptide dial-up over the network, etc. I believe that in the near future, dialing up Riptide with your router will be more convenient. In addition for some advanced routers, thanks to the unlimited expansion of the Linux system, the use of the router to create a powerful download machine and server is not a far-fetched thing, just need toopen up the brain, brave to try, will certainly be realized. |
Previous:Java Chapter 1 Knowledge PointsNext article: sql local variable declaration and assignment syntax
|