Entries from 2013-06-01 to 1 month

mechanize "OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed"

原因:OpenSSLの証明書が間違っているもしくは古くなった。HTTPSの意味はなくなるが、簡単に動く様になる方法。 a.agent.http.verify_mode = OpenSSL::SSL::VERIFY_NONE ※特定のサイトで相手を完全に信用している場合は、これで良い。http://limi.co.uk/post…

ubuntu NetworkManagerにrouteを新たに加える, 2 NICs, 2 routers, port forwarding from 2nd router, VPN routing

2つのルーターが別々のネットワークに繋がっていて場合、1台のPCに2枚のネットワークカードをインストールしそれぞれのネットワークにつなげると、デフォルト・ネットワークでしかポートフォワードが設定できない。原因=>PCにデフォルト・ルートがNetworkM…

Finding/Configuring your network interface. IP

https://help.ubuntu.com/community/NetworkConfigurationCommandLine/Automatic ip: policy routing http://www.softpanorama.net/Net/Internet_layer/Routing/policy_routing.shtml

NetworkManagerでデフォルトの設定がおかしくなったとき

The way to use network manager for default network assignment is by checking the 'Use this connection only for resources on its network' option in editing IPv4 routes on all connections you do NOT want to be the default.To do this without …