How to install debian system and dial-up Internet access on Campus Network (ruijie certification)
Source: Internet
Author: User
How to install the debian system and dial-up Internet access on the campus network (ruijie certification)-Linux Enterprise Application-Linux server application information. For details, refer to the following. The following content assumes that you have some knowledge of linux and have installed and configured linux. (Currently, my linux is Ubuntu7.04)
Recently, I read debian reference in Ubuntu7.04 (this document is available in documents of the new software package. I want to install debain, the most magnificent linux release in the world, on my own. Because I am using a campus network, I use ruijie certification. I heard that many universities use this Certification software. I recently helped a friend install debian. The following content is written by memory and may be different. Please be flexible. The most convenient is to use the CD for installation (debian4.0 is available for the ftp of the National Defense University and Harbin Institute of Technology. If you want to use a CD later, download the DVD. If you want to use it by yourself, download the minimum version of debian-base.) You can solve the hard disk installation problem by yourself (in fact, it is also very easy ).
Download the debian installation disc from the debian image site. You can download the netinst version, which is only 109 MB in total and burn it to a CD.
For example, when you download http://mirrors.geekbone.org/debian-cd /,
Http://mirrors.geekbone.org/debi... r2-i386-netinst.iso
Download the campus network dialing software xsupplicant (this software is available in ftp of South China Agricultural University. If you cannot find it, please contact me
E-mail: andrew@stu.scau.edu.cn.pdf, that is, the attachment xsupplicant_1.0.1-4_i386.rar, save it to drive C, and change the suffix rar to deb. Is xsupplicant_1.0.1-4_i386.deb
Note: although there are no problems after installation, we strongly recommend that you back up all important data before installation. You know, data is more important than hardware. After several painful attempts to completely lose data. Sensitive to Data. Haha. Okay. Set the bios to start from the disc. Use the debian installation disc that you just burned to start the boot screen. Then, the system prompts "boot :".
Input
Linux26 // enter
In this way, the 2.6 kernel is used by default.
Follow the prompts to perform the partitioning and other steps. I believe this is not difficult for students who have played redhat.
Next is the network configuration, which is important. You must specify your own IP address instead of DHCP. Please refer to the network configuration in windows to set IP and DNS information.
Continue the installation as required until the prompt is complete. In this way, debian-base is installed. // After the installation is complete, you can upgrade it. You can use only the powerful apt-get install file_name to install all files. Powerful enough.
Take out the CD and restart it.
After the debian base system is started, you need to make some simple settings, such as the root password. Continue
Now the most critical step is the difference between debian installation on the campus network and normal installation methods.
You will be prompted to select the apt installation source. Press alt + F2 to switch to the second console and log on as the root user.
Create a directory to mount the C Disk
# Mkdir/c
# Mount-t vfat/dev/hda1/c
Install xsupplicant
# Cd/c
# Dpkg-I xsupplicant_1.0.1-4_i386.deb
Modify the configuration file of xsupplicant
# Nano/etc/xsupplicant. conf // currently, only nano or vi can be used. Therefore, you must first learn to use vi for installation.
Locate identity = Myid@mynet.net This line
Change myid@mynet.net to your user name
Find
Eap-md5 {
Username = Testuser
Password = Testuserpass!
}
Pass testuser and testuser! Field to your user name and password
Modification completed. Press ctrl + x and press enter to save the configuration.
Dial-up Internet access (sometimes you may need to dial twice ):
# Xsupplicant-I eth0 // or # xsupplicant-d ifup eth0. The school uses a static IP address.
Press alt + F3 to switch to the third console. ping the forum to check whether the dial-up is successful. If not, press alt + F2 to switch to the second one.
Console dialing again.
# Ping bbs.gdei.edu.cn
If the ping is successful, press alt + F1 to switch to the first console, which is the first place for you to select the apt installation source.
Select "manually edit apt List". The nano editor is displayed. Delete all the content of the file and enter the following content (
Make sure you entered the correct information ):
Deb http://debian.ustc.edu.cn/debian etch main non-free contrib
Deb http://debian.ustc.edu.cn/debian sid main non-free contrib
Deb http://debian.ustc.edu.cn/debian sarge main non-free contrib // use debian source of National Defense Emy of Science and Technology
Ctrl + x save. If you need a stable debian, you can remove the first and second sentences above.
Then it will let you choose the software package to be installed, then do not select anything, directly confirm.
It starts to install necessary software packages, and then we get a clean debian system.
You only need apt-get install to install any software or upgrade later. For example, to install fcitx, you only need:
# Apt-get install fcitx
You can. You do not need to go to the Internet to find software and dependency packages.
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