LoginSignup
1
3

More than 5 years have passed since last update.

Raspberry PiにVirtualHereを導入する方法

Posted at

前提条件

  • VirtualHereがなんのソフトかは知っている
  • ラズパイにOSは導入済みで、ネットワークにつながっている

環境

以下の環境では成功しています。

  • Raspberry Pi:Raspberry Pi3 Model B
  • OS:Raspbian jessei

やり方

VirtualHereのサイトのFAQにやり方がありました。

以下のコマンドを打つだけ!

wget https://www.virtualhere.com/sites/default/files/usbserver/vhusbdarm
sudo chmod +x ./vhusbdarm
sudo mv vhusbdarm /usr/sbin
wget http://www.virtualhere.com/sites/default/files/usbserver/scripts/vhusbdpin
sudo chmod +x ./vhusbdpin
sudo mv vhusbdpin /etc/init.d
sudo update-rc.d vhusbdpin defaults
sudo reboot

再起動後に以下のコマンドを打つとクライアント側で認識します。

sudo /usr/sbin/vhusbdarm

補足

コマンドの1行目の最後の「vhusbdarm」はVirtualHereのUSBサーバーの種類を表しています。
ここの記述を変えることで異なるUSBサーバーを取得できます(たぶん)
もしこのリンクで上手く取得できない場合はこちらの公式のページから適切なものを探してみてください
Linux USB Server
ちなみにRaspberry Pi用のUSBServerもあるのですが、こちらはライセンスの購入が必要なので気をつけてください

参考

http://higehige4.blogspot.jp/2015/02/raspberry-pivirtual-hereusb-over-ip.html
http://www.virtualhere.com/oem_faq

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3