The use of Ruijie authentication client in South China Normal University under Linux

Source: Internet
Author: User

This article tests the Linux system environment for Ubuntu15.10 Destop, which is not verified under other systems, does not represent the LTS version or the older version according to the method described herein can be 100% correct use of the latest Ruijie authentication client.

This article is oriented to the students of South China Normal University, the school Ruijie authentication Client please click HERE (limited to intranet access), if there are more questions please visit the New Pottery Garden BBS forum. Due to the different degrees of the use of Ruijie Authentication Client version of each university, there is no guarantee that other university students can use Ruijie authentication client correctly according to the method described herein.

How do i download it? :

1, first open the browser, to enter the school Ruijie authentication Client download page, you can also bookmark this address: http://10.10.232.51:8012/Setup/index.htm, usually if the network is correctly connected, in the case of unauthorized access to any page will automatically jump to the page.

2, select "Linux system client: RG supplicant for Linux V1.31" to download, if your browser is Firefox, before downloading will pop up a confirmation box, please select "Save" instead of "open".

3, after the download is complete, open the File Manager, the default download folder is "Download", find just download the file "Rg_supplicant_for_linux_v1.31.zip", the right-click menu to select Unzip. If your system prompts you to download and install unzip, please connect to WiFi and let the system download and install.

the above operation does not do the demonstration, below we use the command to complete all things :

1. Use the shortcut key Ctrl+alt+del to open the terminal, use the command CD ~/download or CD ~/downloads (if your system language is English) to enter the file download directory.

2, use the command LS to view the contents of the folder, found the red name of the "Rg_supplicant_for_linux_v1.31.zip", that is, the folder just downloaded.

3.1. Use command unzip *. Zip Unzip the file, if your download directory more than one zip file, please make a full name, such as: unzip rg_*. Zip .

3.2, if prompted unzip not installed, please install it: sudo apt-get install unzip , if prompted to enter a password, please enter your system account password, There is no display of * * * during the input process.

4, if no accident, again the LS found to extract a new folder Rjsupplicant, in blue font marked. Go to Folder: CD rjsup* .

5, again LS found inside there is a readme file, a. sh file, a x64 and x86 directory, open the Readme: gedit Readme , you will find:

5.1, first it requires us to run the command sudo chmod +x./rjsupplicant. SH , add permissions to the. sh file.

5.2, it said it turned out to be a tar package, but we download the zip package, it is very bad!

5.3, x86 and x64 are almost identical, so if we are a 64-bit system, it is completely possible to delete the x86 folder (the contents of. SH Verify this)

5.4. For the first time use, we need to run . /*. SH--help see instructions for use.

6, however, in fact, Ruijie a small software it needs a high level of authority! So we run sudo with root privileges . /*. SH--help , output the following information:

1Authentication Client-Use Help2-A--Auth authentication method (with parameters, 0 for wireless authentication, 1 for wired authentication; When not specified3 using the last authentication method or for the cable authentication)4-D--DHCP DHCP mode (with parameters, 0 for static IP authentication, 1 for use of dynamic acquisition of IP-side5Type of authentication; not used-d Use the last configuration by default)6-N--nic authentication nic (parameter is the NIC name (reference-l result), when not specified with the last7 NIC or first net card used)8-S--service Service (parameter for service name (reference-l result), with the last use when not specified9 Service or the first service)Ten-I--SSID Wireless authentication SSID (parameter is SSID name (reference-l result), not specified when using the upper One one-use SSID or first SSID, valid for wireless authentication) A-W--wlan Scan Wireless network: No parameters, can be used-N Specify a wireless network card to view wireless networks - List --U--User username (parameter is user name, not specified with last user name) the-P--password Password (parameter is password, if the password is not set, after running the program can be reset, the default - empty unless the password has been saved) --S--Save password (with parameter, 0 means no password is saved, 1 means save password, do not specify - when the last configuration is used) +-Q--quit Exit program (without parameters, use-q command to exit the client running in the background) --L--List view mode: No parameters, when specifying this mode, only view information, not authentication. Content + include: Version number, current authentication mode, current network card, current service (optional), with A user name, list of services (optional), List of network cards. Default view current authentication method under the letter at Information .  ---comments background run mode, output log in"/home/******/downloads/rjsup -Plicant/x64/log/run.log"in

7, we can run it again   sudo . /* .sh-l   If the wireless card is enabled, the name of the two network cards will be output, which is usually not a very big deal, because everyone has different NIC names:

 version 1        rg-su for Linux V1.  2 authentication method    Wired authentication 3 authentication nic     4 user name       5 - ---------------------------------------6 mesh Cards    [1]  enp4s0f27             [2]  wlp3s0

8, we can run the ifconfig command, it will output the details of the network card, and the cable network card access to our school network after the address characteristics are very good identification:

1ENP4S0F2 Link encap:ethernet HWaddr the: fa:5b:xx: 3e: the  2inet Addr:172.16.40.57Bcast:172.16.43.255Mask:255.255.252.03Inet6 addr:fe80::82fa:5bff:fe00:3e66/ -Scope:link4Inet6 Addr:2001:d a8:200b:c617:a15f:49d9:d8b7:5c86/ -Scope:global5Inet6 Addr:2001:d a8:200b:c617:82fa:5bff:fe00:3e66/ -Scope:global

Our school gateway is 255.255.252.0, and WiFi is usually 255.255.255.0, in addition to see 172.16.40.57 such IP address, is obviously the local LAN IP, and IPv6 prefix 2001:da8 : 200b is also a typical IP prefix for our school v6. So I can conclude that this is called "ENP4S0F2" network card is connected to the network of the Wired network card (judging method is not unique, here is just shaking a clever, cough).

9, after the information given, coupled with their own campus network account password can be verified on the Internet:

1 sudo . /* . SH--dhcp=1--nic=enp4s0f2--user=20142005xxx--password=xxxxxxxx

The account password has been hidden. Please fill in your own account and password. Actually does not specify the network card is also possible, here is to prevent some classmate's network card configuration is very strange, for example the desktop computer it may have the integrated network card and the independent network card, and so on situation.

After running the above command, you will get a bunch of authentication information:

1 authentication Method Cable Authentication2 authentication nic Enp4s0f23User name20142005xxx4 Service Students5  .-Geneva-Geneva  the: the:Genevainitializing ...6  .-Geneva-Geneva  the: the:GenevaFind authentication Server ...7  .-Geneva-Geneva  the: the:Genevaconnection authentication Server ...8  .-Geneva-Geneva  the: the:GenevaCertification in progress ...9  .-Geneva-Geneva  the: the:Genevagetting IP address ...Ten  .-Geneva-Geneva  the: the: .Find authentication Server ... One  .-Geneva-Geneva  the: the: .connection authentication Server ... A  .-Geneva-Geneva  the: the: .Certification in progress ... -  .-Geneva-Geneva  the: the: .Certification Success -  .-Geneva-Geneva  the: the: .Central Administration Tips: the                      - The service you are currently using is students; - The account balance is 0.00 yuan; - The billing strategy is M30; +The access control you are currently using for student access control;

10. Now you will find two interesting questions:

10.1, Ruijie shut down the system's Network-manager service, so you can no longer see the network icon in the upper right corner, even if you close the Ruijie.

This article does not provide a workaround, if necessary, log off and then log on to it.

10.2, this way is the foreground operation, obsessive-compulsive disorder means that more than a terminal window is very uncomfortable.

10.2.1, by adding a "&" after the program name, put the command into the job queue,

1 sudo . /* . SH--dhcp=1--nic=enp4s0f2--user=20142005xxx--password=xxxxxxxx &

In this way, Ruijie looks like it is running in the background, and it can be run with other commands in the terminal, and you can use the jobs command to view the commands in the queue, which can be toggled with the FG command. However, when the terminal is closed, Ruijie will also be turned off together.

10.2.2, we only need simple small changes, put the command in the half-width brackets () can be:

1 (sudo .  /*. SH--dhcp=1--nic=enp4s0f2--user=20142005xxx--password=xxxxxxxx &)

This way, even if the terminal is closed, Ruijie is still running and will not be disconnected from the network.

11, if you need to disconnect the Ruijie certification, in the terminal (first to CD to Ruijie's directory) input sudo . /*. SH--quit .

12, if you do not like Ruijie shut down the system of Network-manager services, you can use Mentohust.

--This article original by Blackstorm, reproduced please indicate the source.

This address http://www.cnblogs.com/BlackStorm/p/5236172.html

The use of Ruijie authentication client in South China Normal University under Linux

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.