TP-Link 703n, OpenWrt, Cisco VPN, CHNROUTES
前段日子在@weeker的怂恿下购置了TP-Link 703N,100软妹币有找。买这么个烂牌子的小东西回来当然是用来折腾的,以下便是折腾内容:
先来看看703N的硬件参数:
- Atheros AR7240 CPU (400Mhz)
- Atheros AR9331 Chipset (integrated wireless)
- 802.11 b/g/n 150Mbps (130Mbps real)
- wireless power output 20dBm – 100mW
- 4 MB flash memory
- 32 MB RAM
- USB 2.0 port
- Powered via micro-USB socket
- Tiny form factor: 5.7cm x 5.7cm
Can you share this?
我希望这封信有更多人能看见,所以不转发,直接在这里贴出。
Jimmy Wales
Thu, Dec 29, 2011 at 9:05 AM
Reply-To: Jimmy Wales
To: kDolphin
Dear kDolphin,Here’s how the Wikipedia fundraiser works: Every year we raise just the funds that we need, and then we stop.
Because you and so many other Wikipedia readers donated over the past weeks, we are very close to raising our goal for this year by December 31 — but we’re not quite there yet.
You’ve already done your part this year. Thank you so much. But you can help us again by forwarding this email to a friend who you know relies on Wikipedia and asking that person to help us reach our goal today by clicking here and making a donation.
If everyone reading this email forwarded it to just one friend, we think that would be enough to let us end the fundraiser today.
Of course, we wouldn’t turn you down if you wanted to make a second donation..
Google might have close to a million servers. Yahoo has something like 13,000 staff. We have 679 servers and 95 staff.
Wikipedia is the #5 site on the web and serves 470 million different people every month – with billions of page views.
Commerce is fine. Advertising is not evil. But it doesn’t belong here. Not in Wikipedia. Wikipedia is something special. It is like a library or a public park. It is like a temple for the mind. It is a place we can all go to think, to learn, to share our knowledge with others.
When I founded Wikipedia, I could have made it into a for-profit company with advertising, but I decided to do something different. We’ve worked hard over the years to keep it lean and tight. We fulfill our mission, and leave waste to others.
Thanks,
Jimmy Wales
Wikipedia FounderYou are receiving this email as a valued donor of the Wikimedia Foundation. If you do not wish to receive any future emails from the Wikimedia Foundation, unsubscribe instantly.
Wikimedia Foundation, Inc.
P.O. Box 98204
Washington, DC 20090-8204
United States of America
Linode搬家指南
Linode前几天新开了Tokyo,JP机房,对于中国用户来说Tokyo机房的速度相较之前大部分人选择的Fremont,CA机房速度来说提升可不是一点点。根据我的测试,从Tokyo机房下载可以到1.2MB/s左右,而上传跑满了我的上行带宽5MB/s,ping值在100ms以下,不管是电信还是联通都是如此。
搬迁
搬迁很简单,在Linode后台进入“Support”开一个新的Ticket,就说你要把VPS搬迁到Tokyo。一般半个小时以内客服就会回信告知你已经准备完毕,同时提供给你新的IP地址。只需要去后台关闭VPS,然后点击大大的搬迁按钮就开始搬迁了。整个搬迁过程1-5小时不等。
Tip: 最好在搬迁之前记下原有的IP地址,如果你同时开启了内网IP也请一并记下。
修改域名DNS
搬迁过程中可以先修改域名的DNS指向,如果使用Linode的DNS,只需要在后台修改“DNS Manager”中相关项目。
修改配置
搬迁完毕后进入Linode后台,查看“Remote Access”下的“Lish via SSH”项目,使用这里提供的地址登陆VPS。搬迁后所要修改的基本上就是原有配置中的IP地址,这里提供一条命令来快速修改:
# cd /etc
# find ./ -exec grep old.x.x.x ‘{}’ \; -exec sed -i.bak s/old.x.x.x/new.x.x.x/g ‘{}’ \;
此命令会替换掉旧IP地址,并且留下.bak的备份文件。
其中old.x.x.x是原有的IP地址,new.x.x.x是新的IP地址。需要修改的IP包括:Public IPs, Private IPs, Default Gateways, DNS Resolvers。
个人建议Public IPs和Private IPs使用以上命令替换,Default Gateways和DNS Resolvers最好手动修改以下两个配置文件:
/etc/network/interfaces
/etc/resolv.conf
最后
重启服务器,然后等待DNS设置同步完毕就可以使用了。
如果你对Linode有兴趣可以用这个地址注册:http://www.linode.com/?r=2423bd4b1aea90e0163241cd71513fe1b81108d3或者在注册的referral code中填2423bd4b1aea90e0163241cd71513fe1b81108d3,大约在三个月后我能得到一些好处,当然你直接跑去注册也没问题,以上链接并不会给你带来更多的优惠(当然也没什么坏处)。我个人在这里提供一个首月返还$10的Promo Code:storecrowd,这个是实在的优惠。