• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How to change 10/100 NIC speed from 10 Mbps to 100 Mbps without a reboot in Linux?

Electrode

Diamond Member
I think the title says it all. I just replaced my 10 Mbps hub with a 100 Mbps switch, and I want my Linux server to take advantage of this added speed.

So, how do I do it? The adapter in question is eth1.
 
i would think that ifdown eth1 && ifup eth1 would suffice but if not, then you might have to reload the driver (possibly??? not sure) by doing a modprobe -r <module name> && modprobe <module name>

disclaimer: i am not really sure on it because i have never had to deal with this specific issue, i'm just making a logical guess, so dont flame me if i'm wrong 😛

and at the very least i bumped your thread 😉
 
I was actually looking for information on this yesterday (or the day before), but my computer couldnt find a man 🙁

in OpenBSD (probably Net and Free too) I can change this through ifconfig, so check the manpage.
 
If you ifdown, rmmod, modprobe the NIC will get reset and it should autonegotiate, if that fails you'll have to read the docs (sometimes source) for the driver to find out how to force it to 100Mb.
 
The easiest way is to remove all nics from the box, reboot without a network. If using RedHat, go to console and type control-panel and remove eth0 if present. Then shutdown, but the new nic in, and boot up. If using RedHat, kudzu should pop up asking you to configure your network card. Just say "yes" and let it configure. Finish booting and make sure your IP address is right. If not, change the IP to what you want, the type "/etc/rc.d/init.d/network restart" and that should reinit your card with the new IP. You should be all set as long as you have a 100Mb hub to connect to.
 
Agamar, what you described is neither faster nor easier than what was already suggested. Infact it's a lot of extra work for no reason.
 
Back
Top