You are on page 1of 12

These instructions were written using Windows 10, but should work on Windows 7 and 8 as well.

1. Before connecting the USB cable, go ahead and open Devices and Printers on your computer.
It is in the Control Panel under Hardware and Sound. (Or just type Devices and Printers in the
start menu.)

2. Connect your EV3 to your Windows computer using the USB cable that came with the EV3. You
should see an unknown device pop up right away.
3. Wait a minute for Windows install the driver. It will detect the EV3 as a Remote NDIS
Compatible Device.
PROTIP: You can get an icon that looks like an actual EV3 by installing Programmable Brick
Icons. Follow the link for more information.
4. Right-click the Remote NDIS Compatible Device and select Network Settings. This takes you to
the Network and Sharing Center.

5. In the Network and Sharing Center, make a note of which connection is your Internet connection
(1) and then click on Change adapter settings (2). In this example, our Internet connection
is Network 5.

6. There will be a connection that says Remote NDIS Compatible Device (1). This is the EV3. Lets
rename it so it is easy to identify. Right-click the adapter and select Rename (2). Call it EV3 or
whatever you like.
7. To share our Internet connection with the EV3, double-click the Internet network connection that
you noted earlier (not the one we just renamed). This will show the connection status.

8. If you have more than one other connection, you will want to verify that this connection is indeed
the Internet connection (1). Then, click on the Properties button (2).
9. In the window that opens, select the Sharing tab (1) and check the box that says Allow other
network users to connect through this computers Internet connection (2).
If you have more than two network connections, it will ask for a Home networking connection.
If you see this, select your EV3s network adapter from the list (this will be called EV3 if you

renamed it earlier in the guide).

Windows Internet Connection Sharing is temperamental. Sometimes it just stops working for no
reason. If this happens, just turn it off (by unchecking Allow other and clicking OK) and then
turn it back on. It should start working again.

10. Click OK when you are done and close the status window as well. Windows will automatically
reconfigure your other network connections.

11. Now, we need to do some setting up on the EV3. Go to Networking and select Manage
connections, then select the Wired connection.
12. Internet Connection Sharing on Windows is temperamental, so we are going to use a static IP
address to make it a bit more reliable. Select IPv4 on the menu.

13. Select Change.

14. Then choose Load Windows Defaults.


15. The settings on the IPv4 screen will remain blank because we are not connected yet. Go back
to the previous screen and check the box for Connect automatically. This way you dont have to
connect manually after you reboot. Then select Connect. State should change to Online to
indicate that your EV3 is connected to the Internet.

Now that you have a network connection, you should connect to your EV3 with SSH if you havent
done so already.

Adicionando suporte USB ao Hyper-V com a ajuda do redirecionador USB

A falta de suporte USB no Hyper-V uma grande preocupao para muitos usurios que
querem ser capazes de acessar dispositivos USB em suas mquinas virtuais. Isto limita
enormemente a utilizao de solues baseadas no Hyper-V.

Muitos produtos de software comercial usam dongles USB para suas necessidades de
licenciamento. Eles nem sequer iniciar se dongle no est ligado. Assim, voc no pode us-
los na mquina virtual executando como convidado no host Hyper-V. Existem muitos outros
softwares que exigem dispositivos USB especficos para sua operao.

Existem duas solues possveis que permitem superar este problema:

Comprar um hardware separado Network Hub USB, que no realmente uma soluo
escalvel.

Use a soluo de software para passar dispositivos USB do host Hyper-V para mquinas
virtuais.

O USB Redirector uma soluo de software que permite passar dispositivos USB para
mquinas virtuais em execuo no Hyper-V Host. E no s redireciona dispositivos USB
conectados mquina host Hyper-V, mas tambm dispositivos conectados a qualquer
computador na LAN ou na Internet.

s vezes, tarefa bastante complicada instalar software adicional no Microsoft Hyper-V


Server, pois baseado no Windows Server Core que no fornece nenhuma interface para um
usurio, exceto a linha de comando. Abaixo vamos fornecer instrues sobre como instalar o
Redirecionador USB usando uma interface de linha de comando do Hyper-V Server. Aqui esto
os passos que precisam ser realizados:

Instalar o redirecionador USB no host do Hyper-V Server

Iniciar o redireccionador USB e compartilhar dispositivos USB

Configurar Firewall do Windows no host do Hyper-V se necessrio

Instale o USB Redirector Client em mquinas virtuais e use-o para conectar os dispositivos
compartilhados

Antes de voc comear

Voc precisa ter um segundo PC que ser usado para preparar um instalador do
Redirecionador USB para execuo na mquina host Hyper-V.

Ento vamos comear! Primeiro, voc deve fazer logon no servidor Hyper-V localmente ou
atravs da rea de Trabalho Remota e alternar para a janela Console.

Instalando o Redirecionador USB no Servidor Hyper-V


Antes de instalar o Redirecionador USB, voc deve extrair o arquivo do instalador
usbredirector_setup64.exe do pacote do Redirecionador USB. Em seguida, inicie-o no Servidor
Hyper-V usando uma das formas listadas abaixo:

Grave o instalador em CD ou DVD, insira-o no seu Servidor Hyper-V e inicie o instalador a


partir do CD.

Escreva o instalador para a unidade flash USB, anexe-o ao servidor Hyper-V e inicie o
instalador a partir do flash.

Coloque o instalador no compartilhamento de rede e acesse-o a partir do servidor Hyper-V.

Instalando a partir de CD ou DVD

Use sua ferramenta de gravao de disco favorita para gravar o arquivo


usbredirector_setup64.exe em um disco. Insira este disco na unidade de CD / DVD no seu
Servidor Hyper-V e execute o seguinte comando no console:

D: \ usbredirector_setup64.exe

Onde D: a letra da unidade de CD / DVD. Se voc no sabe exatamente o que a sua letra
de unidade de CD / DVD, seria uma boa opo para tentar vrias letras comeando de A ou
digite wmic logicaldisk obter legenda, comando de descrio para exibir todas as unidades.

Instalando a partir do USB Flash

Em outro computador, escreva o arquivo usbredirector_setup64.exe para a unidade USB


Flash. Insira o USB Flash na porta USB do seu Servidor Hyper-V e execute o seguinte comando
no console:

E: \ usbredirector_setup64.exe

Onde E: a sua letra de unidade USB Flash. Se voc no sabe exatamente qual letra usada
para o seu USB Flash, seria uma boa opo para tentar vrias letras comeando de A ou
digite wmic logicaldisk get caption, comando de descrio para exibir todas as unidades.

Instalando a partir do compartilhamento de rede

Coloque usbredirector_setup64.exe em uma pasta compartilhada no seu computador. Em


seguida, conecte este compartilhamento como unidade de rede no Servidor Hyper-V com a
ajuda do comando NET USE:

NET USE X: \\ MY-WORK-PC \ Share


Onde \\ MY-WORK-PC \ Share um caminho de pasta compartilhada em sua LAN. Este
comando anexar sua pasta compartilhada como uma unidade de rede X: no Servidor Hyper-
V. Voc pode ser solicitado a digitar uma senha para acessar o compartilhamento.

Para iniciar o instalador, digite o seguinte comando no console e pressione Enter:

X: \ usbredirector_setup64.exe

Iniciando o redirecionador USB

Depois de terminar de instalar o redirecionador USB, digite o seguinte comando no console e


pressione Enter para inici-lo:

"C: \ Arquivos de programas \ USB Redirector \ usbredirector.exe"

Supondo que o redirecionador USB foi instalado em "C: \ Program Files \ USB Redirector".

Configurando o Firewall do Windows

Normalmente, o Redirecionador USB configura automaticamente regras de firewall durante a


instalao. Se por algum motivo no o fizer, use o seguinte comando no host do Hyper-V
Server:

Netsh advfirewall firewall adicionar regra name = "Permitir conexes de redirecionador USB
de entrada" dir = no protocolo = tcp localport = 32032 action = allow

Esse comando permitir que o Redirecionador USB aceite conexes de mquinas virtuais. Para
obter uma configurao de firewall mais avanada, consulte a documentao do comando
Netsh.

Instalando o cliente redirecionador USB em mquinas virtuais

Instalao de USB Redirector Cliente em mquinas virtuais no diferente de instal-lo em


um computador normal. Voc s tem que carregar um pacote de instalao para VM e estrela

You might also like