Operating System - Linux
1830167 Members
5247 Online
109999 Solutions
New Discussion

setting full duplex..make install ..?

 
SOLVED
Go to solution
mw_4
Frequent Advisor

setting full duplex..make install ..?

ethtool...!!!

can not make install.

any other way except for not making source of ethtool?

do I have to make source file
to set the speed of linux

Here is what i have made source

# ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for sys/ioctl.h... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for ANSI C header files... (cached) yes
checking for socket... (cached) yes
checking for strtol... (cached) yes
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
# make
# make install
make[1]: Entering directory `/home/affis/ethtool-1.3'
/bin/sh ./mkinstalldirs /usr/local/sbin
/usr/bin/install -c ethtool /usr/local/sbin/ethtool
make install-man8
make[2]: Entering directory `/home/affis/ethtool-1.3'
/bin/sh ./mkinstalldirs /usr/local/man/man8
/usr/bin/install -c -m 644 ./ethtool.8 /usr/local/man/man8/ethtool.8
make[2]: Leaving directory `/home/affis/ethtool-1.3'
make[1]: Leaving directory `/home/affis/ethtool-1.3'

problem ..what?
any good tips are helpful.
Step by step
5 REPLIES 5
Dirk Wiedemann
Respected Contributor

Re: setting full duplex..make install ..?

Hi,

can't see any problems in your posting.
However, what linux distrbution do you use? You need at least a kernel 2.4x or higher.

regards
Dirk
Kodjo Agbenu
Honored Contributor
Solution

Re: setting full duplex..make install ..?

Hello,

If the compile fails, try downloading RPM package from http://rpmfind.net.

Another idea : try /sbin/mii-tool (part of net-tools package). An example of usage :

/sbin/mii-tools -F 100baseTx-FD eth0

Good luck.

Kodjo
Learn and explain...
mw_4
Frequent Advisor

Re: setting full duplex..make install ..?

thanks but. --

ethtool rpm was installed

but cannot the opertion.
I installed ethtool-1.6-i686.rpm

I have kernel which is Linux cms 2.4.3-12smp #1 SMP Fri Jun 8 14:38:50 EDT 2001 i686

[root]#ethtool -s eth0 speed 100 duplex full
Cannot get current device settings: Operation not supported
not setting speed
not setting duplex

what is the problem?
Step by step
Kodjo Agbenu
Honored Contributor

Re: setting full duplex..make install ..?

Hi,

Are you using a PCMCIA LAN adapter ? Mine seems unable to recognize mii-tool options (I guess it would be the same with ethtool).

Another thing : check the configuration of the switch you are connected to.

Kodjo
Learn and explain...
John Poff
Honored Contributor

Re: setting full duplex..make install ..?

Hi,

I've played with ethtool on a couple of different boxes. It worked on one but not the other. As one of the other posters mentioned, it depends on the type of LAN card you are using, and the driver for the LAN card. If they don't support changing speed and/or duplex with the card and the driver, ethtool won't be able to do it either.

JP