Folks use mii-tool. It's mii-diag, but user friendly.  It's in the
net-tools package under redhat.

[root@flory iso]# whichrpm mii-tool
net-tools-1.60-4
[root@flory iso]# mii-tool eth0
eth0: 100 Mbit, full duplex, link ok
[root@flory iso]# mii-tool --help
usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...]
       -V, --version               display version information
       -v, --verbose               more verbose output
       -R, --reset                 reset MII to poweron state
       -r, --restart               restart autonegotiation
       -w, --watch                 monitor for link status changes
       -l, --log                   with -w, write events to syslog
       -A, --advertise=media,...   advertise only specified media
       -F, --force=media           force specified media technology
media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,
       (to advertise both HD and FD) 100baseTx, 10baseT
[root@flory iso]# mii-tool -F 100baseTx-HD eth0
[root@flory iso]# mii-tool eth0
eth0: 100 Mbit, half duplex, link ok
[root@flory iso]# mii-tool -r eth0
restarting autonegotiation...
[root@flory iso]# mii-tool eth0
eth0: negotiated 100baseTx-FD, link ok
[root@flory iso]# 


On Fri, 2002-08-16 at 06:48, Joe Giles wrote:
> Actually, I found a neat little tool that checks and changes it for you. Its called 
>mii-diag. Simple c program that you can compile yourself. I found it here...
> 
> ftp://ftp.scyld.com/pub/diag/mii-diag.c
> 
> I can set this now, just need to figure out what the setting is for /etc/modules.conf
> 
> 
> Thanks again
> 
> Joe
> 
> > > First, will this cause problems with them talking to each other as I use
> > one interface to forward packets to the other for MASQ? Also, is there a
> > utility that I can use to change the Duplex?
> > 
> > Not sure of a utility. I had to add a line options = blah blah blah to my
> > /etc/modules.conf to make it change modes. You may need to check the net for
> > the correct settings.
> > 
> > Regards,
> > Ed.
> > 
> > 
> > 
> > 
> > -- 
> > redhat-list mailing list
> > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> > 
> 
> 
> Joe Giles
> [EMAIL PROTECTED]
> AOL ID: mcigiles
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to