Install the NIC driver in deban

Source: Internet
Author: User
1. download the corresponding cd image from the official website and use the cd ROM for installation. No network is selected during the installation process. after the installation is complete, you can enter the console and cannot access the Internet. 2. prepare materials (1) Download the NIC driver and decompress it to prepare for the next installation. (2) place the cd used for installation...

 

1. install the system

Download the corresponding cd image from the official website and use the cd ROM for installation. No network is selected during the installation process. after the installation is complete, you can enter the console and cannot access the Internet.

 

 

2. prepare materials

 

(1) Download the NIC driver and decompress it to prepare for installation.

 

(2) place the cd used for installation to the optical drive, and enter

# Apt-cdrom add

Index the content of the CD to the system to install the following content.

(3) input

# Apt-get install linux-headers

If the kernel header file cannot be installed, use apt-cache search linux-headers to search and use apt-get install to install the kernel header file of the corresponding version. There are two options for installing the header file, and we can enter the apt-get install linux-headers-2.6.26-2-amd64 file

(4) input

# Apt-get install build-essential

The gcc, make, and so on will be installed automatically when the creation tool is installed.

(5) enter the src make & make install compilation file in the AR8151 folder.

 

 

 

On the Internet, there is another way to extract from the true elegance

 

 

Debian compilation AR8151 NIC driver

 

Debian compiles the AR8151 NIC driver (use a DVD, and use the source code package for CD !)

1. apt-get install build-essential development tool

2, apt-get install linux-source-2.6.26 kernel source code

3. apt-get install linux-headers-2.6.23-2-amd64 kernel header file

4. cd/usr/src

5. tar jxvf linux-source-2.6.26.tar.bz2

6. ln-s/usr/src/linux-source-2.6.26/usr/src/linux

7. unzip the cd AR81Family-linux-v1 after the NIC driver [1]. 0.1.14/src

8. make & make install

9. insmod/lib/modules/2.6.26-2-amd64/kernel/drivers/net/alt1e/alt1e. ko

10. enable the Nic ifconfig eth0

 

11. add a configuration file

Vim/etc/network/interfaces

Auto eth0

Iface eth0 inet static

Address 218.6.1.2

Netmask has been released successfully

Gateway 218.6.1.1

Dns-nameservers 218.85.157.99

 

Restart www.2cto.com

 

 

This article is from the "boss" blog

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.