[ubuntu-ar] [L2 Fast Ethernet driver]

SISMONDA Fernando fernando at sismonda.com.ar
Mon Feb 23 19:57:21 GMT 2009


Lord Gustavo wrote:
> Gente me canse de googlear y nada. no encuentro como solucionar el 
> tema de la placa de red Ethernet de atheros
> todos hablan del proceso para compilarlo pero para red hat y como 
> recien comienzo con ubuntu no entiendo mucho.
> Alguien podría decirme como hacerlo? aca les pego la instruccion que 
> dice en el mismo driver pero para redhat (es el readme
> que trajo el cd donde estan los drivers).
>
> Gracias.
>
> --------- 8< ---------------------
>
> To build a binary RPM* package of this driver, run 'rpmbuild -tb
> <filename.tar.gz>'. Replace <filename.tar.gz> 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/atl2 or /usr/local/src/atl2.
>
> 2. Untar/unzip archive:
>
>      tar zxf atl2-x.x.x.tar.gz
>
> 3. Change to the driver src directory:
>
>      cd atl2-x.x.x/src/
>
> 4. Compile the driver module:
>
>      make install
>
>    The binary will be installed as:
>
>      /lib/modules/<KERNEL VERSION>/kernel/drivers/net/atl2.[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 atl2 <parameter>=<value>
>
> 6. Assign an IP address to the interface by entering the following, where
>    x is the interface number:
>
>      ifconfig ethx <IP_address>
>
> 7. Verify that the interface works. Enter the following, where 
> <IP_address>
>    is the IP address for another machine on the same subnet as the 
> interface
>    that is being tested:
>
>      ping  <IP_address>
>
>
>
> --------- 8< ---------------------

Tenes instalado el paquete build-essential (informational list of 
build-essential packages).

Porque sin eso es imposible que lo puedas compilar al módulo?

Si no tenes eso instalado podes instalarlo desde la consola con el comando

    sudo apt-get install build-essential

Ejecuta el procedimiento modificado para que tenga algo más de logica en 
ubuntu

    tar zxf atl2-x.x.x.tar.gz
    cd atl2-x.x.x/src/
    sudo make install
    sudo modprobe atl2
    sudo ifconfig eth0 up  (o fijate si no es eth1)


Si hiciste eso y te sigue sin andar.

Podes hacer ... y copiarnos que te devuelve en pantalla

    ifconfig -a
    lspci |grep Ethernet


Saludos

-- 
SISMONDA, Fernando Miguel
www.sismonda.com.ar
skype: fmsismonda
msn/gtalk: fernando at sismonda.com.ar
Cel: 1560027849




More information about the Ubuntu-ar mailing list