The experiment was successful in Fedora14 and Fedora16, but not in other systems. 1. Download mentohust ---- mentohust-0.3.4-1.fc13.i686.rpm free This method was successfully tested in Fedora 14 and Fedora 16, but not in other systems.
1. Download mentohust ---- mentohust-0.3.4-1.fc13.i686.rpm
Free onHttp://linux.linuxidc.com/
Both the user name and password areWww.linuxidc.com
The specific download directory is in/Pub/2011/12/05/use mentohust to completely solve the Fedora campus network surfing problem/
2. Installation
Rpm-ivhMentohust-0.3.4-1.fc13.i686.rpm
3. query supported schools to see if you need to copy files of ruijie under windows
After query, We must copy the three files in the installation directory of ruijie.
8021x.exe SuConfig. dat W32N55. dll
4. Copy an object
Open the terminal, log on to the root, and first create the mentohust data directory.
Mkdir/etc/mentohust
Copy the above three files to the/etc/mentohust directory.
5. Configure mentohust
Enter mentohust-w-u your username-p your password on the root Terminal
Then select the NIC, and you will be asked to enter the user name and password again
Enter gedit/etc/mentohust. conf on the root terminal to edit the mentohust configuration file,
Modify according to the queried support schoolsStartMode and DHCP Mode), Save and exit after modification
- # MentoHUST for Linux By HustMoon Studio
- #
- # The configuration file name must be lower case/etc/mentohust. conf, and the recommended encoding format is UTF-8
- # Spaces and tabs starting with a line in the configuration file will be ignored. Others will be considered as part of the Parameter
- # The Section and Key in the configuration file are case-insensitive. Rows starting with # Or; are considered as comments.
- # If the same parameter is set in both the command line parameter and configuration file, use the command line parameter
- # Use the-h or-? parameter in the command line -? You can view detailed parameter information. We recommend that you set parameters through the command line.
- # Use the-w parameter in the command line to update the configuration to/etc/mentohust. conf.
- [MentoHUST]
- MaxFail = 8
- ; User name, length up to 64
- Username = cse_506a_hy
- ; Password
- Password = HVJfYBEaCkkuH0s =
- ; Nic
- Nic = p33p1
- Static IP users can use non-local IP addresses
- IP = 10.136.2.183
- ; Mask, irrelevant
- Mask = 255.255.255.0
- ; Gateway, if specified, it will monitor the gateway ARP Information
- Gateway = 0.0.0.0
- ; DNS server, irrelevant
- DNS = 0.0.0.0
- ; Ping the host for disconnection detection. 0.0.0.0 indicates that this function is disabled.
- PingHost = 0.0.0.0
- ; Timeout time for each packet sending (seconds)
- Timeout = 8
- ; Interval of sending the Echo packet (seconds)
- EchoInterval = 30
- ; Failed wait (seconds) authentication failed wait for RestartWait seconds or server request and then restart Authentication
- RestartWait = 15
- The multicast address type when searching for the server 0 standard 1 ruijie 2 Use MentoHUST for Xaar Authentication
- StartMode = 1
- DHCP Mode 0 (not used) 1 (Secondary authentication) 2 (after authentication) 3 (before authentication)
- DhcpMode = 0
- ; Whether to run in the background: 0 (NO) 1 (yes, disable output) 2 (yes, retain output) 3 (yes, output to file/tmp/mentohust. log)
- DaemonMode = 3
- ; Whether to display notifications: 0 (NO) 1 ~ 20 (yes)
- Showpolicy = 5
- Client Version number. If Client verification is not enabled but the version number is required, you can specify it here, as shown in Figure 3.30
- Version = 3.94
- ; Authenticate the data file. If you need to verify the client, you need to set it correctly.
- DataFile =/etc/mentohust/
- ; DHCP script
- DhcpScript = dhclient
6. Run mentohust on the root terminal, input mentohust to run directly, or enter sudo mentohust on a non-root terminal to run. Input mentohust-h to display help.