Install the NIC driver in linuxsuse10.3

Source: Internet
Author: User
Tags dmesg
Step 1: collect information dmesg to view the startup and output information of the kernel and check whether there is any information related to the NIC, check if the NIC recognizes ifconfig-a and shows all the Nic lspci | grepEthernet check the Nic model lsmod to see if the NIC driver has been loaded Step 2: Next...

 

Step 1: collect information

Dmesg checks the startup output information of the kernel to see if there is any information related to the NIC.

Ifconfig-a shows all NICs

Lspci | grep Ethernet check the Nic model

Lsmod: Check whether the NIC driver is loaded.

Step 2: Download the corresponding driver and copy it with a USB flash drive

1. I believe everyone will download the driver.

2. use a USB flash drive or a mobile hard disk to copy the driver to the hard disk for installation. it is worth looking at for some new users.

Insert a USB flash drive or a mobile hard disk, and run the fdisk-l command. The system displays the hardware storage devices that can be identified currently,

General U disk is sdb1, of course, it may be other, then you can see the loaded U disk capacity,

Then mount and copy the file. the command is as follows:

# Mkdir/mnt/usb

# Mount/dev/sdb1/mnt/usb

After the operation is completed, you can directly access or operate the data on the usb flash disk or mobile hard disk in the/mnt/usb directory;

Run the umount command before disconnecting a USB flash drive or a mobile hard disk to prevent data loss. the command is as follows:

# Umount/dev/sdc

Copy the driver file to any Directory:

# Cp xxxx.zip/home/xxxx.zip

Then, decompress the package in the directory and run make to install the package.

 

Step 3: configure to activate the NIC and configure the IP address

This is simple, and everyone will do it. let me give it a simple introduction.

1. run yast2 to directly configure the graphic interface.

2. modify the IP address through the command line

Effective immediately:

# Ifconfig eth0 192.168.0.25 netmask 255.255.255.0

Start effective:

Modify/etc/sysconfig/network-scripts/ifcfg-eth0

Modify the default gateway

Effective immediately:

# Route add default gw 192.168.0.254

Start effective:

Modify/etc/sysconfig/network-scripts/ifcfg-eth0

OK. You can start the NIC to configure the IP address as needed.

Note: If you have the original Nic configuration information, delete the original Nic configuration.

This article is from the "Free Prison Break" blog

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.