How to Reset NIC to 1000mbps automatically at login
Posted on 2013-11-21
When I bring my sleeping laptop from home into work, my local network interface card connects at 100mbps instead of 1000mbps. Logging off and back on does not resolve the problem, but a reboot does.
After a bit of playing, I discovered I can fix things by using ncpa.cpl to disable, then enable the NIC.
Is there any way to automate things so the reset happen automatically?
For instance, I already running a daily reset batch macro. Are there .bat command that can reset the NIC?
---- here are more details, but they are not very interesting ---------------
My Lenovo t500 laptop has
NIC1: a gigabit Intel 82567LM Gigabit Network Connection and
NIC2: a Intel(R) WiFi Link 5100 AGN wireless
At work, I connect NIC1 to a Trendnet switch which has 8 1-Gigabit ports, then boot and everything works at 1gigabit -- the Trendnet switch shows all green lights, and NCPA.CPL status shows 1 gpbs.
At home or on the road, I use NIC2 which has a much lower connection speed depending on the access point.
Often when I am working at home, I put my computer into Sleep mode before heading to work.
At the office, I connect NIC1 to the switch, then wake up my computer (instead of booting it).
On these occasions, the trendnet switch shows a YELLOW light and NCPA.CPL shows NIC1 status is 100 mbps !!!