Drcom for linux

Source: Internet
Author: User

I have been thinking about changing win7 to ubuntu11.04, but I am reluctant to play some games. Today I want to solve the problem of drcom login on linux. The school server does not provide direct web authentication method, originally wanted to directly use open source drcom-1.4.8, compiled and installed successfully, but always can not log on, the home page says that the current version 3.73 (u33) does not support our version 3.73 (u60. However, there has always been a god-like html file used to log on. Since it is a God-like file, we can also use it here. However, I forget to log out every time I shut down, so I often cannot log in again for a long time after the shutdown. Because, two scripts are written for automatic login upon startup, and automatic logout upon shutdown.
#! /Bin/sh
# Filename drcomlogin
# This is drcom-client script. use "chkconfig -- level 35 drcomlogin off" to disable script
# Chkconfig: 35 88 09
# Description: drcom login
Curl-d "DDDDD = username @ mingzheng & upass = password & 0 MKKey = % B5 % C7 % C2 % BC + Login" xxx. xx
Exit 0

[Root @ localhost/] # chkconfig -- add drcomlogin
[Root @ localhost/] # chkconfig -- level 35 drcomlogin on

#! /Bin/sh
# Filename drcomlogout
# This is drcom-client script. use "chkconfig -- level 06 drcomlogout off" to disable script
# Chkconfig: 06 00 95
# Description: drcom logout
Curl "xxx. xxx/F.htm? Submit = Logout"
Exit 0

[Root @ localhost/] # chkconfig -- add drcomlogout
[Root @ localhost/] # chkconfig -- level 06 drcomlogout on

######### Replace the username with the account name, password with the password, and XXX with the authentication server IP address, which is in the installation directory of drcom in windows. the dat file contains.

Author: "Ling"

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.