Hey there,
I am currently trying to set up an Ubuntu box that receives VRPN
coordinates[1] from an outside server running Windows 7. The box's network
is bridged to the host's network card that has both the host and the
external server. The box can be ping the server, but the server can not
ping the box. The box does not receive any data via VRPN. The host system
can ping the guest and guest can ping the host. The box receives data via
VRPN from a sample VRPN server on the host. I was able to ping the host and
a Windows 8 guest VM from the external server.
The Vagrant file looks like this:
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# To avoid an error, we add an hostname
# Get more info here:
http://blog.doismellburning.co.uk/2013/01/19/upgrading-puppet-in-vagrant-boxes/
config.vm.hostname = "3d-sketch.hpi.de"
# Enable port forwarding (this does not work since the server is
not run locally
# RepetierServer
# config.vm.network "forwarded_port", host: 3344, guest: 3344
# vrpn
# config.vm.network "forwarded_port", host: 3883, guest: 3883
# box's crossbar server
config.vm.network "forwarded_port", host: 8080, guest: 8080
# bridge for the magic...
config.vm.network "public_network", bridge: "wlan0"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.synced_folder "../3d_sketch", "/vagrant/3d_sketch",
create: true
# for defining a name
config.vm.define "3d_sketch_server" do |s|
end
config.vm.provider "virtualbox" do |vb|
#
https://serverfault.com/questions/453185/vagrant-virtualbox-dns-10-0-2-3-not-working?rq=1
#
https://serverfault.com/questions/495914/vagrant-slow-internet-connection-in-guest
# vb.customize ["modifyvm", :id, "--natdnshostresolver1",
"on"]
# comment the following line if there are too many DNS
lookups
# vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
# overkill to get all network devices into Promiscuous Mode
vb.customize ["modifyvm", :id, "--nicpromisc0", "allow-all"]
vb.customize ["modifyvm", :id, "--nicpromisc1", "allow-all"]
vb.customize ["modifyvm", :id, "--nicpromisc2", "allow-all"]
vb.customize ["modifyvm", :id, "--nicpromisc3", "allow-all"]
end
end
In the box, I get these network interfaces:
$ ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:15:cb:68
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe15:cb68/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2041 errors:0 dropped:0 overruns:0 frame:0
TX packets:1131 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1103174 (1.1 MB) TX bytes:100901 (100.9 KB)
eth1 Link encap:Ethernet HWaddr 08:00:27:ab:f6:a3
inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4766 errors:0 dropped:0 overruns:0 frame:0
TX packets:416 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:577080 (577.0 KB) TX bytes:124365 (124.3 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Any ideas? I am quite desperate...
Regards
Max
[1] VRPN is a protocol for transmitting information of physical devices
(position, orientation, etc.) via the network. This section may be
interesting:
https://github.com/vrpn/vrpn/wiki/Troubleshooting-VRPN#no-unreliable-messages-seem-to-get-through-cant-send-udp
--
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.