[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configurando DHCP ("Praticamente" resolvido, mas preciso de ajuda)



Os comandos eu achei na net e tal...
dei uma fuçada enquanto não me respondiam...

mas assim, não tinha o ethtool instalado... aí fui tentar instalar
pelo cd do debian, mas acho q nem tem... de qualquer maneira baixei o
ethtool-5.tar.gz e fui tentar instalar sozinho...

digitei tar -zxvf ethtool-r.tar.gz
desempacotou tudo
entrei no diretório, rodei o ./configure
fez o processo, disse q eu não tinha um compilador C++ (ou algo assim)
e parou por aí...
peguei e instalei o gcc e os dependentes dele, acho, no cd de debian tinha esse
aí blz, rodei o ./configure e foi numa boa
só que depois q fiz esse passo eu tenho q escrever "makefile", "make"
ou algo assim, não?
Só que quando eu digito isso ele ainda continua dizendo que o command
não foi encontrado...
digitei makefile, make, make install, tentei várias coisas...

segue o log do ./configure

<<< ./configure >>>
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... none
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for ANSI C header files... (cached) yes
checking for socket... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ethtool.spec
config.status: creating ethtool-config.h
config.status: ethtool-config.h is unchanged
config.status: executing depfiles commands


On 2/15/07, Maxwillian Miorim <miorimmax@gmail.com> wrote:
On 2/15/07, Douglas Weird <siqueira77@gmail.com> wrote:
> A questão é: Onde eu configuro o tipo da conexão (AutoSense, 100Mbps,
> 10Mbps, Full Duplex, etc...)???
>
> Obrigado pela atenção e pelo tempo já prestado ao meu caso.

Este tipo de coisa eu defino com o comando ethtool:

ethtool -s eth0 autoneg off duplex full speed 100

Assim eu defino que a eth0 vai ser full duplex, 100MBps e sem
autonegotiation (necessário para forçar os outros dois parâmetros).

Dependendo da tua placa de rede pode não funcionar por questões de
compatibilidade do hardware com o ethtool.

Mais detalhes: man ethtool :)


--
Maxwillian Miorim <miorimmax@gmail.com>
----
Moo... Are you happy now?





Reply to: