Discussion Locked
0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have Red Hat 8.0. I want to force the NIC to 100 Full Duplex. I'm assuming that the default is auto negotiate. I manage many Solaris servers and found that the negotiation isn't always working with our switches so all ports are forced 100 FD onthe switches. I could set a port back to Auto but I'd rather not. In Solaris ndd is used to set this and many other parameters. I have found that the other similiar parameters are set via /etc/sysctl.conf in Linux, but I don't see the proper syntax for doing this one anywhere.
6 replies
by pokhylchenko
#ifconfig media 100baseTX mediaopt full-duplex
This is live command from FreeBSD, see for some differrences in Linux, I doubt that there's any.
by cpfeiffe
This doesn't seem to let you set the mode in Linux.
by cpfeiffe
I tried ifconfig in Red Hat. It appears that it only allows you to set the speed but not the mode. This would be OK if there is another way to set the mode. I have tried to look everywhere I can think of including redhat.com so I'm completely outof ideas here.
by jasonc
Hello I have recently found a tool in linux 7.3 that i think is included in every version of linux. Try 'mii-tool --h'. You will be able to force the NIC to any speed and restart network or the system.
Jason Couto
by cpfeiffe
This does seem to work except that my NIC driver doesn't allow me to set the mode. I found another NIC which has a more recent driver available and this worked. ifconfig still doesn't let you set mode in Linux.
by cpfeiffe
This question was closed by the author
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending
0 helpful
7 replies
0 helpful
6 replies
Question Locked
RE: How to fix the Docker and UFW security flaw
0 helpful
3 replies
Discussion Locked
Which Linux works best on old phone or tablet?
0 helpful
5 replies
Discussion Locked
My Job and Company
0 helpful
3 replies