Sunday, July 22, 2012

Google calendar in iPad and iPhone

話說個 Google calendar 看到別人的 shared calendar,但我的 iOS device 就它是看不見,原來做漏了一步... 記緊,大前提是在使用 exchange method 去 Sync google mail.

http://m.google.com/mobile/sync/

Set 好你要 sync 的 calendar,各自每個 device 都要 click 相應的 calendar。

搞定!

Friday, July 20, 2012

WHS 2011 connector 問題解決

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager and then on the right see if there is a value called "PendingFileRenameOperations". Delete it.

this can eliminate the error saying "Setup has detected that another program requires the computer to reboot" error message during connector installation!

Monday, July 09, 2012

OpenWRT and PPTP VPN


opkg update
opkg install pptpd
opkg install kmod-mppe

edit /etc/ppp/options.pptpd
====================
speed 115200
stimeout 10
localip 192.168.1.1
remoteip 192.168.1.200-230
====================


edit /etc/pptpd.conf
====================

lock
debug
name vpn1 #control the usrs allowed
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe
#require-mppe-128
ms-dns 192.168.1.1
proxyarp

====================



edit /etc/ppp.chap-secrets
for login and pw

/etc/config/firewall
======================

#modify
config 'defaults'
option 'syn_flood' '1'
option 'input' 'ACCEPT'
option 'output' 'ACCEPT'
option 'drop_invalid' '1'
option 'forward' 'ACCEPT'


config 'zone'
option 'name' 'wan'
option 'network' 'wan'
option 'input' 'ACCEPT'
option 'output' 'ACCEPT'
option 'forward' 'REJECT'
option 'masq' '1'
option 'mtu_fix' '1'

#add

config 'rule'
option '_name' 'pptpvpn'
option 'src' 'wan'
option 'proto' 'tcpudp'
option 'dest_port' '1723'
option 'target' 'ACCEPT'


======================

/etc/init.d/pptpd start
/etc/init.d/pptpd stop
/etc/init.d/pptpd restart
killall pptp