As you might know P2V 2.1 has been released I’ve been playing with the BETA for a while. There’s little to report – you be pleased to know that no unnecessary changes have been made. What is new is the P2V Boot CD itself – which is based around the Knoppix Boot CD and loads an X-Windows UI. The actually P2V application is still the same – find my hardware – and set my IP address of the target physical machine. If you are using the new boot CD you might want to know two tips…
Firstly, if you rather not have X-Windows load up because you have graphics card issues – then type:
Knoppix 2
This gives you run-level 2 with text mode only – it boots from the CD a little quicker
Secondly, in the previous edition of P2V the only network tools we had was mii-tool. This wasn’t Gigbit aware and would only work with certain NIC vendors (it didn’t work with Intel Pro 1000 cards). Mii-tool is still there – but we now have the ethtool as well. A common problem with the boot CD is that auto-negioatites link speed/duplex on eth0. If you switches don’t support or have had auto-negiotaite switched off – you have to manual set these parameters. To do this do the following:
In the P2V Window (this assumes your running X-Windows – Alt-F2 if you running in text-mode)
- Choose the menu, Session
- Choose New Session
At the command prompt use the following commands:
sudo ethtool
- to report link speed
sudo ethtool -s eth0 speed 100 duplex full autoneg off
- turns on 100/FD and switches off auto-negotiation
sudo ethtool -s eth0 autoneg on
- switches back to auto- negotiation
You can still use sudo dmesg | grep “etho” as alternative way of reporting link speed and duplex for cards that don’t support ethtool and mii-tool