Monday, May 12, 2014

坑人的联通宽带

家里有一个Raspberry Pi,想弄来做个小的网页服务器玩玩。用lighttpd搭了个测试页面,内网可以正常访问。

路由器已经刷成dd-wrt,设置了DMZ主机和端口映射。听说国内已经禁了普通家庭用户的80端口,也特地设置了不一样的端口号。。。。但是就是无法从外网访问。

然后注意到dd-wrt上显示的WAN IP和www.ip138.com上显示的不一样。。。。。。

原来家里的IP不是外网IP,中间还隔着一个联通宽带的二级ISP。所以无法远程访问内网主机。

联通太坑了。。。以前用电信的光纤宽带好像还是可以的。

参考:这里

Tuesday, May 6, 2014

Mavericks!

Helped upgrade a friend's 2011 MacBook Pro to Mavericks.

Found a nice tutorial on macworld. It indicates 2 options for the upgrade installation:
- use createinstallmedia OR
- use disk utility
The first option never works, it always returns an error when creating a bootable drive:
Failed to start erase of disk due to error (-9999, 0). 
A error occurred erasing the disk.
The second one works like a charm :)

Two useful links:

http://www.macworld.com/article/2056561/how-to-make-a-bootable-mavericks-install-drive.html


http://eric.gavaletz.com/2013/10/making-os-x-mavericks-usb-installer.html