I am using the rhel5.3 kernel, 2.6.18-128. el5pae, according to the kernel find and download the corresponding version of the TAR package drcom-1.3.7.
# Tar-xvf drcom-1.3.7.tar
# Cd drcom-1.3.7/
# Make
# Make install
# Vim/etc/drcom. conf
You need to modify the configuration file in the following ways:
Username = XXXX # username for online Logon
Password = XXXX # logon Password
MAC = XX: XX # MAC address of the NIC that you access the School Intranet
Nic0 = XXX. XXX # IP address used to access the Intranet Nic of the school (it is best to help set the IP address of the NIC before using drcom to access the Internet; otherwise, the IP address here should be changed each time)
Dnsp = XXX. XXX # primary DNS Server
DNSS = XXX. XXX # secondary DNS Server
Servip = XXX. XXX # IP address on the logon page
Save and exit without modification elsewhere.
# Drcomd # load the drcom Module
# Drcomc login # log on to drcom. If no failed exists, it means you can access the Internet. You can ping the Internet. If no failed exists, it may be caused by the configuration file, we can use the kill-9 $ (PS aux | grep drcomd | cut-D ''-F7) command or killall drcomd command to end the loaded drcom module, re-compile the configuration file and use drcomd to load and log on.