“How to install driver of optical-network-card and setup the ip-config”版本间的差异
来自cslt Wiki
(以“# Optical port network card plugging * First verify the type of your Optical-network, usually PCI-E (x8/x16). * Scan the mother-board to check if there are any PCI-E...”为内容创建页面) |
|||
(2位用户的5个中间修订版本未显示) | |||
第1行: | 第1行: | ||
− | + | == Optical port network card plugging == | |
− | + | # First verify the type of your Optical-network, usually PCI-E (x8/x16). | |
− | + | # Scan the mother-board to check if there are any PCI-E(x8/x16) left, then plug the card to the match one. | |
+ | # Run "lspci |grep net" to see the numbers of network-card. | ||
+ | # Run "ethtool enp4s0" to check the speed property of the network-card. 1000 or 10000bits/s | ||
− | + | == Driver install(ixgbe) == | |
− | + | # First check the chip-type and adapter-type of the network-card. | |
− | + | # Go to https://www.intel.com/content/www/us/en/support/products/36773/network-and-i-o/ethernet-products.html to find the corresponding drivers. | |
− | + | # ln -s /usr/src/kernels/xxx.x86_64 /usr/src/linux | |
− | + | # Download the source code of driver and then compile it on your target machine according to the README in src. | |
− | + | :# make & make install | |
− | + | :# modinfo ./ixgbe.ko | |
− | # | + | :# rmmod ixgbe |
+ | :# insmod ixgbe | ||
+ | :# modprobe ixgbe | ||
+ | |||
+ | == Ip-config settings == | ||
+ | # Run "systemctl start NetworkManager" and "nmtui" to grab the name of the new card. | ||
+ | # Copy raw electric-network-card config to the optical one."cp ifcfg-enp0s31f6 ifcfg-enp4s0". | ||
+ | # ifdown the electric-network-card && ifup optical-network-card. | ||
+ | # Restart the network "systemctl restart network". |
2018年12月9日 (日) 11:34的最后版本
Optical port network card plugging
- First verify the type of your Optical-network, usually PCI-E (x8/x16).
- Scan the mother-board to check if there are any PCI-E(x8/x16) left, then plug the card to the match one.
- Run "lspci |grep net" to see the numbers of network-card.
- Run "ethtool enp4s0" to check the speed property of the network-card. 1000 or 10000bits/s
Driver install(ixgbe)
- First check the chip-type and adapter-type of the network-card.
- Go to https://www.intel.com/content/www/us/en/support/products/36773/network-and-i-o/ethernet-products.html to find the corresponding drivers.
- ln -s /usr/src/kernels/xxx.x86_64 /usr/src/linux
- Download the source code of driver and then compile it on your target machine according to the README in src.
- make & make install
- modinfo ./ixgbe.ko
- rmmod ixgbe
- insmod ixgbe
- modprobe ixgbe
Ip-config settings
- Run "systemctl start NetworkManager" and "nmtui" to grab the name of the new card.
- Copy raw electric-network-card config to the optical one."cp ifcfg-enp0s31f6 ifcfg-enp4s0".
- ifdown the electric-network-card && ifup optical-network-card.
- Restart the network "systemctl restart network".