How to drive the Lenovo D-link Nic in Linux

Source: Internet
Author: User
Tags netconf
Article Title: how to drive the Lenovo D-link Nic in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
D-Link company out of the network card is popular mid-range network card, its DFE-530TX Rev A in the newer Linux (such as Red Flag Linux 2.0, Red Flag Linux 2.4 desktop edition and Red Hat Linux 6.1 or above) drive, but its second NIC: D-link DFE-530TX Rev B NIC (with wake-up function), is currently the majority of Linux (except Red Hat Linux 7.1, soft Linux 3.0) are not automatically recognized and driven. I finally found the following method for your reference:
  
First in the http://www.legend-networks.com.cn/downfile/linux530_321.tar or license. Copy the file to a floppy disk and run it with the Linux super user permission:
  
Mount-t msdos/dev/fd0/mnt/floppy
Cd/root
Mkdir temp
Cd temp
Cp/mnt/floppy/*. */root/temp
Tar xvf linux5 ~ 1. tar
Make all
  
In this way, you can choose one of the following two to generate a key module File via-rhine.o:
1. overwrite the original via-rhine.o, and then run the netconf configuration as usual.
2. Modify/etc/rc. rc under d. local: Add the following two lines. If you want to bind two IP addresses, add the third line (modify the specific IP address and mask value). If you want to set the default route, add row 4 (modify the specific IP address of the gateway ):
Insmod/root/temp/via-rhine.o
Ifconfig eth0 up 10.4.4.29 netmask 255.0.0.0
Ifconfig eth0: 0 up 11.11.11.11 netmask 255.0.0.0
Route add-net 0.0.0.0 netmask 0.0.0.0 gw 192.168.0.201
  
Note: eth0 indicates the name of the network device, 10.4.4.29 indicates the IP address, and 255.0.0.0 indicates the mask. The three parameters are modified based on the actual situation. Note: You can run netconf, linuxconf, and control-panel in different situations without modifying/etc/conf. modules. The NIC is started only after the system is started. Therefore, the NIC startup status (such as eth0... OK) cannot be seen at startup ). The debugging computers are NEC PowerMate lx pii/400 and HP Vectra VL 5/90. In Red Hat Linux 6.2, 7.0, Hongqi Linux2.0 Server retail, download, and login? Inux 2.0 is successfully debugged on the desktop.
Related Article

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.