当前位置: 技术问答>linux和unix
FTP方式安装Linux的问题
来源: 互联网 发布时间:2015-11-18
本文导语: 小弟有一旧本本,P233,128M,4G,只有软驱无光驱,现在想用ftp方式安装redhat7.3。 但是用软盘启动安装后,安装程序不能识别网卡,我的网卡是pcmcia接口的,accton EN2216。 从网上下载的网卡驱动说大部分的Linux的能识别该网...
小弟有一旧本本,P233,128M,4G,只有软驱无光驱,现在想用ftp方式安装redhat7.3。
但是用软盘启动安装后,安装程序不能识别网卡,我的网卡是pcmcia接口的,accton EN2216。
从网上下载的网卡驱动说大部分的Linux的能识别该网卡,如果不能识别的话要通过以下的步骤来做:
1. Insert the EN2216 or EN2316 adapter in the PCMCIA or Cardbus slot in
the notebook, and reboot the system. On a Linux system with the PCMCIA
support software installed, the driver will be installed automatically.
If the adapter works properly, you can skip the rest of this document.
Otherwise please go to the next step.
2. You have to build the PCMCIA environment from the source files. First
check if the Linux kernel source tree is installed. Typically this is in
the directory "/usr/src/linux".
If the kernel source tree does not exist, you have to install it first.
Different Linux systems have different ways to install the source tree.
In the following the Red Hat Linux 7.0 is used as an example. For other
Linux systems, please refer to the documentation that comes with the
system.
a. Mount Red Hat 7.0 CD 1.
b. Find the kernel source files, which are typically located in
/mnt/cdrom/REDHAT/RPMS.
The name of the source package is "kernel-source-2.2.16-22.i386.rpm".
c. Install the package with this command:
rpm -i kernel-source-2.2.16-22.i386.rpm
If you use one of the GUI shells, you can just double click on the
rpm package to install it.
3. Check if the PCMCIA driver files are included in the source tree. The
files are located in /usr/src/linux/pcmcia-cs-x.x.x (The x.x.x designates
the version number). If this directory does not exist, or if the version
number is lower than 3.1.21, you have to download the PCMCIA driver file
"pcmcia-cs-3.1.21.tar.gz" or a higher version of this file from:
ftp://www.sunsite.unc.edu/pub/Linux/kernel/pcmcia
You have to untar this file and place it under /usr/src/linux with this
command:
tar -zxvf pcmcia-cs-3.1.2x.tar.gz
4. Change directory to "/usr/src/linux/pcmcia-cs-3.1.2x". Issue the
following command to build the environment:
make config
When the system prompts to select the Kernel-Specific option, select
"Read from the currently running kernel."
5. Issue the following command to install the environment:
make install
6. Issue the following command to restart the cardmgr:
/etc/rc.d/init.d/pcmcia restart
7. Issue the following command to check the adapter status:
ifconfig -a
8. Refer to the Linux document on how to configure an IP address for the
adapter.
该方法是针对已经安装了Linux的机器做的,我想知道如何在安装过程中加载网卡的驱动程序。
望大侠们指教。
谢谢!
但是用软盘启动安装后,安装程序不能识别网卡,我的网卡是pcmcia接口的,accton EN2216。
从网上下载的网卡驱动说大部分的Linux的能识别该网卡,如果不能识别的话要通过以下的步骤来做:
1. Insert the EN2216 or EN2316 adapter in the PCMCIA or Cardbus slot in
the notebook, and reboot the system. On a Linux system with the PCMCIA
support software installed, the driver will be installed automatically.
If the adapter works properly, you can skip the rest of this document.
Otherwise please go to the next step.
2. You have to build the PCMCIA environment from the source files. First
check if the Linux kernel source tree is installed. Typically this is in
the directory "/usr/src/linux".
If the kernel source tree does not exist, you have to install it first.
Different Linux systems have different ways to install the source tree.
In the following the Red Hat Linux 7.0 is used as an example. For other
Linux systems, please refer to the documentation that comes with the
system.
a. Mount Red Hat 7.0 CD 1.
b. Find the kernel source files, which are typically located in
/mnt/cdrom/REDHAT/RPMS.
The name of the source package is "kernel-source-2.2.16-22.i386.rpm".
c. Install the package with this command:
rpm -i kernel-source-2.2.16-22.i386.rpm
If you use one of the GUI shells, you can just double click on the
rpm package to install it.
3. Check if the PCMCIA driver files are included in the source tree. The
files are located in /usr/src/linux/pcmcia-cs-x.x.x (The x.x.x designates
the version number). If this directory does not exist, or if the version
number is lower than 3.1.21, you have to download the PCMCIA driver file
"pcmcia-cs-3.1.21.tar.gz" or a higher version of this file from:
ftp://www.sunsite.unc.edu/pub/Linux/kernel/pcmcia
You have to untar this file and place it under /usr/src/linux with this
command:
tar -zxvf pcmcia-cs-3.1.2x.tar.gz
4. Change directory to "/usr/src/linux/pcmcia-cs-3.1.2x". Issue the
following command to build the environment:
make config
When the system prompts to select the Kernel-Specific option, select
"Read from the currently running kernel."
5. Issue the following command to install the environment:
make install
6. Issue the following command to restart the cardmgr:
/etc/rc.d/init.d/pcmcia restart
7. Issue the following command to check the adapter status:
ifconfig -a
8. Refer to the Linux document on how to configure an IP address for the
adapter.
该方法是针对已经安装了Linux的机器做的,我想知道如何在安装过程中加载网卡的驱动程序。
望大侠们指教。
谢谢!
|
可以考虑安装其他版本的linux,我试过debian系统可以在安装阶段识别pcima的网卡。
|
不好办。要不然先装windows,把光盘下载到本地安装,然后再升级内核?
|
哎!真是什么麻烦都有啊
我不知道,帮顶了
我不知道,帮顶了
|
不要让沉下去了