2016年11月3日星期四

安装vpn服务器

https://www.strongswan.org/

strongSwan

the OpenSource IPsec-based VPN Solution

2016年10月9日星期日

在iPhone上使用shadowsocks翻墙

参考资料:https://github.com/shadowsocks/shadowsocks-iOS/wiki/Help
在未越狱的iPhone上使用shadowsocks有两种模式,一种是网页浏览器模式,一种是全局代理模式。以下只讨论全局代理模式,全局代理模式只能在wifi网络下使用。
步骤如下:

  1. 在苹果市场安装shadowsocks软件(需要进入美国市场,软件作者是YumeWorks)
  2. 打开shadowsocks软件,设置代理服务器,代理模式选global)
  3. 设置wifi的http代理,自动代理模式,URL网址填http://127.0.0.1:8090/proxy.pac


2016年9月21日星期三

树莓派GPIO接口图

参考网址:
https://www.raspberrypi.org/documentation/usage/gpio-plus-and-raspi2/README.md
http://blog.mangolovecarrot.net/2015/04/20/raspi-study01/
1)物理编号
2)GPIO编号
3)详细说明




用微信控制树莓派

原文网址:http://blog.just4fun.site/pi-wechat.html

2016年9月1日星期四

在树莓派上安装远程桌面服务

1、使用Windows远程桌面服务——Windows Remote Desktop (RDP)
1)安装服务:
sudo apt-get update
sudo apt-get install xrdp
2)查看xrdp服务是否启动
ps ax | grep xrdp

2、使用VNC远程桌面服务——TightVNC
1)安装服务:
sudo apt-get update
sudo apt-get install tightvncserver
2)启动服务
tightvncserver :1

远程控制树莓派(Raspberry Pi)

一、目的
通过互联网远程访问和控制树莓派,不需要固定ip地址,树莓派连接在内网也可以访问。

二、工具
使用weaved工具,官网地址 www.weaved.com

三、步骤
1)在weaved网址注册账号
2)在树莓派上安装weaved工具
参考网址 https://www.weaved.com/installing-weaved-raspberry-pi-raspbian-os/

sudo apt-get update
sudo apt-get install weavedconnectd
sudo weavedinstaller

四、连接树莓派
1)登录weaved网站,选择在树莓派上已经建立的连接服务。
2)使用SSH、WEB等方式登录树莓派。