trema / phut Goto Github PK
View Code? Open in Web Editor NEWVirtual network in seconds
License: GNU General Public License v2.0
Virtual network in seconds
License: GNU General Public License v2.0
When I use phut 0.6.6 in CentOS 6.7(32bit), making vswitch and vlink fails. The commands
sudo /sbin/sysctl -w net.ipv6.conf.#{bridge_name}.disable_ipv6=1 -q # open_vswitch.rb
sudo /sbin/sysctl -w net.ipv6.conf.#{@device_a}.disable_ipv6=1 -q # virtual_link.rb
result in
error: "-q" must be of the form name=value
and it seems that "-q" is recognized as an argument of "-w". So the command
sudo /sbin/sysctl -q -w net.ipv6.conf.#{bridge_name}.disable_ipv6=1
works in CentOS 6.7 successfully.
My sysctl version is below.
$ sysctl --version
sysctl (procps version 3.2.8)
@yasuhito
表題のとおりですが、
仮想NW環境で、デバイスへの接続にポート指定が必要な場合も
あるかと存じます。
ぜひとも、TODOに加えて頂ければ幸いです。
Hi, I tried 'hello_trema' with phut v0.6.6 on Raspbian(RPi2),
but "No such file or directory" error occurred at:
sh "sudo /sbin/sysctl -w net.ipv6.conf.#{bridge_name}.disable_ipv6=1 -q"
This is because Raspbian disalbes IPv6 by default, so you should enable IPv6 before disabling it.
For example, you should do:
$ sudo modprobe ipv6
$ echo ipv6 | sudo tee -a /etc/modules
ref. https://www.raspbian.org/RaspbianFAQ#How_do_I_enable_or_use_IPv6.3F
My environment:
$ ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [armv7l-linux-eabihf]
$ gem -v
2.4.5.1
$ ./bin/trema --version
trema version 0.5.1
$ ./bin/phut --version
phut version 0.6.6
$ uname -a
Linux raspberrypi 4.1.6-v7+ #812 SMP PREEMPT Thu Sep 10 12:16:06 BST 2015 armv7l GNU/Linux
Setup memo (detailed, but in Japanese):
https://gist.github.com/d4tt/a4c1364df9c35ca80085
ignore me
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.