At school, students using CERNET may know the mentohust software. I am a newbie in Linux and want to learn it recently. I also use mentohust in windows. Therefore, after installing Ubuntu12.10, I must also want to use mentohust, therefore, the problem of configuring mentohust is caused. To configure mentohust, you must first determine whether your CERNET uses DHCP (Dynamic Host setting protocol). Actually, you must determine whether a static IP address is used.
At school, students using CERNET may know the mentohust software. I am a newbie in Linux and want to learn it recently. I also use mentohust in windows. Therefore, after installing Ubuntu12.10, I must also want to use mentohust, therefore, the problem of configuring mentohust is caused.
To configure mentohust, you must first determine whether your CERNET uses DHCP (Dynamic Host setting protocol). Actually, you must determine whether a static IP address is used, if you are using a static IP address, you do not use DHCP. If you do not use a static IP address, DHCP is used. When I configured mentohust myself, I was in a hurry and went to the first doctor. I saw an article about how to configure it. However, I used DHCP, but I didn't use it, according to his results, he has never been able to access the Internet.
1. Network Configuration without DHCP
1. Get the mentohust client http://code.google.com/p/mentohust/downloads/list
2. Install mentohust
Sudo dpkg-I./mentohust_0.3.4-1_i386.deb
3. Configure static IP information
Find the corresponding Nic In the network connection, and edit the information (IP address, subnet mask, gateway, and DNS server) in IPV4. Select Manual (not DHCP) as the method ).
4. initialize the configuration and start mentohust.
Www.linuxidc.com @ linux :~ /Download $ sudomentohust
Welcome to MentoHUST version 0.3.4.
Copyright (C) 2009-2010 HustMoon Studio
People are in the Chinese mainland, sweet and spicy. Mingde is an innovator.
Bug report tohttp: // code.google.com/p/mentohust/issues/list
** Nic [1]: eth0
** Nic [2]: wlan0
** Nic [3]: nflog
?? Select Nic [1-5]: 1
** You have selected the [1] Nic.
?? Enter the User name: XXXXXXXX
?? Enter Password: XXXXXX
?? Select the multicast address (0 standard 1 ruijie private 2 Xaar): 0
?? Select DHCP mode (0 does not use 1 second authentication 2 after authentication 3 before authentication): 0
** User name: XXXXXXXX
** NIC: eth0
** Authentication Timeout: 8 seconds
** Heartbeat interval: 30 seconds
** Failed wait: 15 seconds
** Failed: 8 times
** Multicast address: Standard
** DHCP mode: not used
** Notification Timeout: 5 seconds
** Local MAC: XXXXXXXX
** IP: XXXXXXXX
** Subnet mask: 255.255.255.0
** The authentication parameter has been successfully saved to/etc/mentohust. conf.
> Find the server...
** MAC authentication: XXXXXXXX
> Sending username...
> Send password...
> Authentication successful!
$ System prompt: your current service is internet;
The account balance is 6.00 yuan;
The billing policy is 20 RMB per month;
The access control you are currently using is the student network access control template; the service you are currently using is the internet;
The account balance is 6.00 yuan;
The billing policy is 20 RMB per month;
The access control you are currently using is the student network access control template;
!! Failed to open libnotify. Check whether the library file is installed.
> Send heartbeat packets to stay online...
Launched successfully.
For more details, refer to the highlights on the next page.: Http://www.linuxidc.com/Linux/2013-10/91158p2.htm
Reading:
Ubuntu campus network ruijie certification with mentohust solution version too low problem http://www.linuxidc.com/Linux/2010-10/29518.htm
Use MentoHUST in Ubuntu to replace ruijie certified Internet http://www.linuxidc.com/Linux/2013-01/78222.htm