Use mentohust to completely solve the problem of Fedora Campus Network Access

Source: Internet
Author: User
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

  1. # MentoHUST for Linux By HustMoon Studio
  2. #
  3. # The configuration file name must be lower case/etc/mentohust. conf, and the recommended encoding format is UTF-8
  4. # Spaces and tabs starting with a line in the configuration file will be ignored. Others will be considered as part of the Parameter
  5. # The Section and Key in the configuration file are case-insensitive. Rows starting with # Or; are considered as comments.
  6. # If the same parameter is set in both the command line parameter and configuration file, use the command line parameter
  7. # 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.
  8. # Use the-w parameter in the command line to update the configuration to/etc/mentohust. conf.
  9. [MentoHUST]
  10. MaxFail = 8
  11. ; User name, length up to 64
  12. Username = cse_506a_hy
  13. ; Password
  14. Password = HVJfYBEaCkkuH0s =
  15. ; Nic
  16. Nic = p33p1
  17. Static IP users can use non-local IP addresses
  18. IP = 10.136.2.183
  19. ; Mask, irrelevant
  20. Mask = 255.255.255.0
  21. ; Gateway, if specified, it will monitor the gateway ARP Information
  22. Gateway = 0.0.0.0
  23. ; DNS server, irrelevant
  24. DNS = 0.0.0.0
  25. ; Ping the host for disconnection detection. 0.0.0.0 indicates that this function is disabled.
  26. PingHost = 0.0.0.0
  27. ; Timeout time for each packet sending (seconds)
  28. Timeout = 8
  29. ; Interval of sending the Echo packet (seconds)
  30. EchoInterval = 30
  31. ; Failed wait (seconds) authentication failed wait for RestartWait seconds or server request and then restart Authentication
  32. RestartWait = 15
  33. The multicast address type when searching for the server 0 standard 1 ruijie 2 Use MentoHUST for Xaar Authentication
  34. StartMode = 1
  35. DHCP Mode 0 (not used) 1 (Secondary authentication) 2 (after authentication) 3 (before authentication)
  36. DhcpMode = 0
  37. ; Whether to run in the background: 0 (NO) 1 (yes, disable output) 2 (yes, retain output) 3 (yes, output to file/tmp/mentohust. log)
  38. DaemonMode = 3
  39. ; Whether to display notifications: 0 (NO) 1 ~ 20 (yes)
  40. Showpolicy = 5
  41. 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
  42. Version = 3.94
  43. ; Authenticate the data file. If you need to verify the client, you need to set it correctly.
  44. DataFile =/etc/mentohust/
  45. ; DHCP script
  46. 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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.