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"