Inicio

Driver para RTL8111/8168B

publicado a la‎(s)‎ 26/3/2014 8:36 por Aliosh Neira

RTL8111/8168B PCI Express Gigabit Ethernet controller [10EC:8168]


Configuración de Repositorio Privado

publicado a la‎(s)‎ 26/3/2014 7:21 por Aliosh Neira   [ actualizado el 26/3/2014 15:27 ]

A continuación se muestra un video demostrativo donde se muestra las configuraciones básicas para empezar a usar la aplicación Repositorio Privado.


Un avance de la configuración y uso del repositorio privado.

PeruEduca Escuela - Repositorio Privado



Instalación de Controladores para Tarjetas de Red en el Servidor

publicado a la‎(s)‎ 17/1/2014 9:39 por Aliosh Neira   [ actualizado el 17/1/2014 11:44 ]

Para instalar driver de tarjeta de red se deben seguir los siguientes pasos:

1. Descargar paquetes necesarios para compilar el código del driver:

yum -y install gcc kernel-PAE-devel


2. Descargar el código fuente del driver y seguir el procedimiento del desarrollador del código.

Por ejemplo Driver Atheros AR8161:

Fuente: http://askubuntu.com/questions/165192/how-do-i-install-drivers-for-the-atheros-ar8161-ethernet-controller

Ingresar en la aplicación Terminal y descargar el código del driver mediante comandos:

su

cd

wget http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2012-07-03-pc.tar.bz2

tar xf *.tar.bz2

cd compat-wireless-2012-07-03-pc



- Luego ejecutar el script ./scripts/driver-select alx

[root@schoolserver compat-wireless-2012-07-03-pc]# ./scripts/driver-select alx
Processing new driver-select request...
Backing up makefile: Makefile.bk
Backup exists: Makefile.bk
Backing up makefile: drivers/net/ethernet/broadcom/Makefile.bk
Backing up makefile: drivers/net/ethernet/atheros/Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/ethernet/broadcom/Makefile.bk


- Ejecutar el comando make

[root@schoolserver compat-wireless-2012-07-03-pc]# make
./scripts/gen-compat-autoconf.sh /root/compat-wireless-2012-07-03-pc/.config /root/compat-wireless-2012-07-03-pc/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/2.6.35.14-106.fc14.i686.PAE/build M=/root/compat-wireless-2012-07-03-pc modules
make[1]: se ingresa al directorio `/usr/src/kernels/2.6.35.14-106.fc14.i686.PAE'
CC [M] /root/compat-wireless-2012-07-03-pc/compat/main.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/compat-2.6.36.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/kfifo.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/compat-2.6.37.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/compat-2.6.38.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/compat-2.6.39.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/kstrtox.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/compat-3.0.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/compat-3.1.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/compat-3.2.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/compat-3.3.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/flow_dissector.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/compat-3.4.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/cordic.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/crc8.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/compat_atomic.o
LD [M] /root/compat-wireless-2012-07-03-pc/compat/compat.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/sch_codel.o
CC [M] /root/compat-wireless-2012-07-03-pc/compat/sch_fq_codel.o
CC [M] /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_main.o
CC [M] /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx_ethtool.o
CC [M] /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alc_cb.o
CC [M] /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alc_hw.o
CC [M] /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alf_cb.o
CC [M] /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alf_hw.o
LD [M] /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx.o
Building modules, stage 2.
MODPOST 4 modules
CC /root/compat-wireless-2012-07-03-pc/compat/compat.mod.o
LD [M] /root/compat-wireless-2012-07-03-pc/compat/compat.ko
CC /root/compat-wireless-2012-07-03-pc/compat/sch_codel.mod.o
LD [M] /root/compat-wireless-2012-07-03-pc/compat/sch_codel.ko
CC /root/compat-wireless-2012-07-03-pc/compat/sch_fq_codel.mod.o
LD [M] /root/compat-wireless-2012-07-03-pc/compat/sch_fq_codel.ko
CC /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx.mod.o
LD [M] /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx.ko
make[1]: se sale del directorio `/usr/src/kernels/2.6.35.14-106.fc14.i686.PAE'


Finalmente ejecutar el comando: make install

[root@schoolserver compat-wireless-2012-07-03-pc]$ make install
Warning:
You may or may not need to update your initframfs, you should if
any of the modules installed are part of your initramfs. To add
support for your distribution to do this automatically send a
patch against ./scripts/update-initramfs. If your distribution does not require this
send a patch against the '/usr/bin/lsb_release -i -s': Fedora
tag for your distribution to avoid this warning.

make -C /lib/modules/2.6.35.14-106.fc14.i686.PAE/build M=/root/compat-wireless-2012-07-03-pc modules
make[1]: se ingresa al directorio `/usr/src/kernels/2.6.35.14-106.fc14.i686.PAE'
Building modules, stage 2.
MODPOST 4 modules
make[1]: se sale del directorio `/usr/src/kernels/2.6.35.14-106.fc14.i686.PAE'
make -C /lib/modules/2.6.35.14-106.fc14.i686.PAE/build M=/root/compat-wireless-2012-07-03-pc "INSTALL_MOD_DIR=updates" \
modules_install
make[1]: se ingresa al directorio `/usr/src/kernels/2.6.35.14-106.fc14.i686.PAE'
INSTALL /root/compat-wireless-2012-07-03-pc/compat/compat.ko
INSTALL /root/compat-wireless-2012-07-03-pc/compat/sch_codel.ko
INSTALL /root/compat-wireless-2012-07-03-pc/compat/sch_fq_codel.ko
INSTALL /root/compat-wireless-2012-07-03-pc/drivers/net/ethernet/atheros/alx/alx.ko
DEPMOD 2.6.35.14-106.fc14.i686.PAE
make[1]: se sale del directorio `/usr/src/kernels/2.6.35.14-106.fc14.i686.PAE'
Warning:
You may or may not need to update your initframfs, you should if
any of the modules installed are part of your initramfs. To add
support for your distribution to do this automatically send a
patch against ./scripts/update-initramfs. If your distribution does not require this
send a patch against the '/usr/bin/lsb_release -i -s': Fedora
tag for your distribution to avoid this warning.
depmod will prefer updates/ over kernel/ -- OK!

Now run:

sudo make unload to unload all: wireless, bluetooth and ethernet modules
sudo make wlunload to unload wireless modules
sudo make btunload to unload bluetooth modules

Run sudo modprobe driver-name to load your desired driver.
If unsure reboot.

1-3 of 3