Ylianst / MeshCommander

MeshCommander is a Intel(R) Active Management Technology (Intel(R) AMT) remote management tool. It's feature rich and includes a built-in remote desktop viewer for Hardware-KVM, a Serial-over-LAN terminal, IDER-Redirection support and much more. MeshCommander is built on web technologies and runs on many plaforms. In addition to being available as a stand-alone tool, MeshCommander was built to be very space efficient to that it can be uploaded into Intel AMT flash space to have it served diretly from the Intel AMT web serve.
Apache License 2.0
326 stars 71 forks source link

Feature Request: a workaround for "stuck at 10Mbps" issue #16

Open i3v opened 4 years ago

i3v commented 4 years ago

When I shutdown my Dell T7910 and do "Remote Command -> Remote Reboot to BIOS Setup" (to change the boot order and boot to another OS), my LAN adapter (built-in I217-LM Gigabit Ethernet) gets stuck at 10 Mbps connection speed. This seem to be a somewhat known issue, except that I'm using Serial-Over-Lan, not KVM... But I guess it works the same way.

They say "It is recommended to start the KVM session in S0". Thus, it would be nice if MeshCommander would automatically follow this advice, e.g. power on first and then (re)connect to SOL and go to BIOS somehow.

Ylianst commented 4 years ago

Interesting. So, serial-over-LAN, KVM and IDE redirect all use the Intel AMT redirection channel and does impose some constraints on how the network interface can be setup so not to drop the connection. In this case, I imagine the network adapter goes into low-power 10 Mbps mode when the computer is sleeping and can't switch to a faster mode while a redirection session is active.

I guess that could be possible. I would have to disconnect KVM, hold a few seconds and reconnect after power up. MeshCommander would need to poll for power state, etc.

Horgster commented 3 years ago

Hey!

It is correct that "Intel AMT" runs at 10mbit/s if power state is S5, S4 and S3, this is by design by Intel. By powering on S0, the Intel AMT will run in maximum negotiated network speed.

You can avoid this issue if;

  1. Force the switch port to 1000/100 auto, which excludes the 10mbps speed or
  2. Powering On the Intel AMT to power state S0 before starting the redirection session (KVM, SOL etc) or
  3. Script this with PowerShell if you e.g. has access to CISCO switch or
  4. @Ylianst add functions to MeshCommander where he wait to start the redirection sessions untilthat Intel AMT is in PowerState (S0). (best option)

Please be aware that you can't force the switch port to 1000mbps as Intel AMT will not connect in S5, S4, S3 power states.

For PXE Boot it is crucial that the redirection session is started in power state S0, otherwise PXE boot will be done in 10mbps.

Also do remember that Intel AMT will stay in 10mbps if the KVM session started in S5, S4, S3 even if booted into Windows and you have disconnected ;) This is important to be aware of! You don't want to have your Windows machines running in 10mbps ;)

rjblake commented 1 year ago

Still see this issue. What is the way around it? I don't see option to power on to S0

tristan-k commented 1 month ago

I'm also struggeling with this issue. I've flashed MeshCommander to a M910Q (i5-6500t) but everytime I shut it down the LAN port on my FritzBox Router switches to 10 Mbps and doesn't switch back to 1 Gigabit after I power it up again via KVM.

PrestarLin commented 4 weeks ago

it‘s still a question,if you are in the 10mbps,you must Power off and power on again by physics,don‘t use cd-rom function...

i3v commented 1 week ago

Actually, I was able to switch the LAN adapter mode after booting to Windows, by running the tests that Intel drivers provide. You got disconnected for a short while (which might be scary, if you don't have physical access to the system and do not want to reboot it), but then it comes back with a normal link speed. image