View Full Version : sigo con problemas
eltigre
24-04-2007, 03:43 PM
bueno, despues de haber descubierto que pasaba con el otro problema, me dispongo a colocar las placas de red que habia comprado. estas no son detectadas automaticamente por el kernel, pero vienen con un cd con el modulo para linux. el problema es que sigo los pasos que indica el readme para compilar, los cuales son sencillos, solo entrar al directorio y darle "make install" pero cuando hago esto me tira un "Makefile:43: *** linux kernel source not found. ALTO."
buscando un poco, baje por apt el kernel-source o linux-source, no recuerdo, pero el problema persiste.
alguien sabe que me falta, ya le meti los headers tmb.
saludos
javier
24-04-2007, 06:26 PM
bueno, despues de haber descubierto que pasaba con el otro problema, me dispongo a colocar las placas de red que habia comprado. estas no son detectadas automaticamente por el kernel, pero vienen con un cd con el modulo para linux. el problema es que sigo los pasos que indica el readme para compilar, los cuales son sencillos, solo entrar al directorio y darle "make install" pero cuando hago esto me tira un "Makefile:43: *** linux kernel source not found. ALTO."
buscando un poco, baje por apt el kernel-source o linux-source, no recuerdo, pero el problema persiste.
alguien sabe que me falta, ya le meti los headers tmb.
saludos
Los paso para compilar son:
# ./configure
# make
# make install
Saludos
eltigre
24-04-2007, 06:35 PM
sisi, eso ya se, pero no los agarra, el readme dice solo el make isntall. con el ./configure dice que no existe el archivo o directorio. y con make y make install dice lo de makefile:43
eltigre
24-04-2007, 06:51 PM
esto es lo que dice el readme:
************************************************** *********
** Silan SC92031 PCI Fast Ethernet Adapter
**
** FOR LINUX 2.6 driver
************************************************** *********
Introduction:
=============
The instructions are for linux driver installation. You must
compile the source code to generate sc92031.[k]o and use insmod command to
insert sc92031.[k]o as module.
Contents of the Subdirectory:
=============================
readme.txt This file.
sc92031.c The linux core driver source code file
Makefile Makefile for generating driver object file
Kernel Supported
================
This driver support linux kernel version 2.6.x now.
Building and Installation
=========================
To build a binary RPM* package of this driver run 'rpmbuild -tb
<filename.tar.gz>'. Replace <filename.tar.gz> with the specific file name
of he driver.
NOTES: For the build to work properly it is important that the currently
running kernel MATCH the version and configuration of the installed
kernel source. If you have just recompiled your kernel, reboot the
system and choose the correct kernel to boot.
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/sc92031 or /usr/local/src/sc92031.
2. Untar/unzip the archive by entering the following, where <x.x.x> is the
version number for the driver tar:
tar xfz sc92031-<x.x.x>.tar.gz
3. Change to the driver src directory by entering the following, where
<x.x.x> is the version number for the driver tar:
cd sc92031-<x.x.x>/src/
4. Compile the driver module:
make install
The binary will be installed as below:
/lib/modules/<kernel_version>/kernel/drivers/net/sc92031/sc92031.[k]o
The install location listed above is the default locations. It may
not be correct for certain Linux distributions. For more information,
see the ldistrib.txt file included in the driver tar.
5. Reboot now:
shutdown -r now
6. Install the module:
modprobe sc92031
7. Assign an IP address to the interface by entering the following, where
<x> is the interface number:
ifconfig eth<x> <IP_address>
8. 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>
Uninstallation
==============
Please enter the following commands to uninstall your driver:
# make uninstall
Module Parameter:
=================
The following parameters can be set when we install the driver module. You can add this parameters when
you execute 'insmod' command to install the driver
# insmod sc92031.[k]o work_node =0x00
work_mode
work_mode is used for setting the speed and duplex mode of NIC.Value is as followed:
Autoselect 0x00
M10-half 0x01
M10-full 0x02
M100-half 0x04
M100-full 0x08
If you want to use other modes,it can be changed by the following steps:
# ifdown eth0
# rmmod sc92031
# insmod sc92031.[k]o work_mode= ****
javier
24-04-2007, 07:06 PM
Fijate en la pagina del fabricante de la placa de red si hay drivers mas actualizado y en formato .deb
eltigre
25-04-2007, 03:28 PM
buenas. en la pagina no encontre nada util, pero algo logre, encontre esto en internet http://www.debianfordummies.org/wiki/index.php/Encore_%E2%80%93_ENL832-TX-icnt_-_chipset_Realtek_8139D_falso_(Silan)
mi kernel es el 2.6.18. logre que de alguna manera funcione, me puedo conectar a internet, pero las interfaces andan muy raro, no aparecen en /etc/network/interfaces, y con lspci aparecen como silan y algo mas pero dice unknown device 2031 (REV 01). si a la 2da if le configuro una ip 192.168.0.100 y a una int de otra maquina 192.168.0.101, supuestamente tendrian que pinguear entre ellas no? esto no sucede.
me parece que voy a cambiar las placas por unas 3com que detecte automaticamente y la hago facil.
saludos
vBulletin® v3.6.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.