Linux uses Shellscript to install the NIC driver instance

  

Linux system kernel upgrade, the network card driver will be re-installed once, then what is the simple way to install the NIC driver? The following small series will introduce you to Linux using Shellscript to install the NIC driver. Let's take a look at it.

######################################### ################################ File Name: NetcardCompiler.sh# Author: ymy# Created Time: Tue 15 Jul 2014 09:58:37 AM CST############################################################# ###################################### /bin/bashcd ~/Compile/hybrid-v35_64-nodebug-pcoem-6_30_223_141make cleanmake API=WEXTif [ -f ‘wl.ko’ ] ; then cp wl.ko /lib/modules/`uname -r`/kernel/Net/wirelesselse echo ‘Compile failed! ’ exitfimodprobe lib80211modprobe lib80211_crypt_tkipinsmod wl.kodepmod -aecho modprobe wl》 /etc/rc.local

The driver's tarball was unzipped before. If you want to compile frequently or do not delete the decompressed folder, it is best to extract the commonly used software to a unified place.

The above is the introduction of Linux using Shellscript to install the NIC driver. Shellscript is a script that comes with the Linux system. The compiler can automatically install the NIC driver without having to re-download it.

Copyright © Windows knowledge All Rights Reserved