红联Linux门户
Linux帮助

折腾我好几天的问题,请高手赐教!!! 急

发布时间:2007-08-12 03:21:09来源:红联作者:vekl
前几天装了FC6,可是网卡驱不起来,我的主板是华硕M2V的,集成网卡是ATTANSIC 10/100/1000.主板光盘了提供了网卡linux的驱动,我根据说明试了无数次都没有成功.老提示:“Makefile:101:***Linux kernel source not configured - missing config.h。停止。”,驱动说明文件如下:

NOTE: For the build to work properly, the currently running kernel MUST match
the version and configuration of the installed kernel sources. If you
have just recompiled the kernel reboot the system now.

RPM functionality has only been tested in Red Hat distributions.

1. Move the base driver tar file to the directory of your choice. For example,
use /home/username/atl1 or /usr/local/src/atl1.

2. Untar/unzip archive:

tar zxf atl1-x.x.x.tar.gz

3. Change to the driver src directory:

cd atl1-x.x.x/src/

4. Compile the driver module:

make install

The binary will be installed as:

/lib/modules//kernel/drivers/net/atl1.[k]o

The install locations listed above are the default locations. They might
not be correct for certain Linux distributions. For more information,
see the ldistrib.txt file included in the driver tar.

5. Install the module:

insmod atl1 =

6. Assign an IP address to the interface by entering the following, where
x is the interface number:

ifconfig ethx

7. Verify that the interface works. Enter the following, where
is the IP address for another machine on the same subnet as the interface
that is being tested:

ping

我尝试过进入/usr/src/kernels/<内核版本号> ,运行make menuconfig,但还是失败了。
我是新手,请高手赐教,万分感谢!!!。
文章评论

共有 1 条评论

  1. vekl 于 2007-08-12 03:22:41发表:

    Linux* Base Driver for the Attansic(R) L1 Gigabit Ethernet Adapter
    ==========================================================================

    Contents
    ========

    - In This Release
    - Building and Installation
    - Command Line Parameters
    - Additional Configurations
    - Known Issues
    - Support

    In This Release
    ===============

    This file describes the Linux* Base Driver for the Attansic(R) L1 Gigabit
    Ethernet Adapter, version 1.0.x. This driver supports the 2.4.x and 2.6.x kernels.

    This driver is only supported as a loadable module at this time. Attansic is not
    supplying patches against the kernel source to allow for static linking of
    the driver. For questions related to hardware requirements, refer to the
    documentation supplied with your Attansic(R) adapter. All hardware
    requirements listed apply to use with Linux.

    Building and Installation
    =========================

    To build a binary RPM* package of this driver, run 'rpmbuild -tb
    '. Replace with the specific filename of
    the driver.

    NOTE: For the build to work properly, the currently running kernel MUST match
    the version and configuration of the installed kernel sources. If you
    have just recompiled the kernel reboot the system now.

    RPM functionality has only been tested in Red Hat distributions.

    1. Move the base driver tar file to the directory of your choice. For example,
    use /home/username/atl1 or /usr/local/src/atl1.

    2. Untar/unzip archive:

    tar zxf atl1-x.x.x.tar.gz

    3. Change to the driver src directory:

    cd atl1-x.x.x/src/

    4. Compile the driver module:

    make install

    The binary will be installed as:

    /lib/modules//kernel/drivers/net/atl1.[k]o

    The install locations listed above are the default locations. They might
    not be correct for certain Linux distributions. For more information,
    see the ldistrib.txt file included in the driver tar.

    5. Install the module:

    insmod atl1 =

    6. Assign an IP address to the interface by entering the following, where
    x is the interface number:

    ifconfig ethx

    7. Verify that the interface works. Enter the following, where
    is the IP address for another machine on the same subnet as the interface
    that is being tested:

    ping

    Command Line Parameters
    =======================

    If the driver is built as a module, the following optional parameters are
    used by entering them on the command line with the modprobe or insmod command
    using this syntax:

    modprobe atl1 [