June, 2007 的文章

C2611XM upgrades to IOS AdvEnterprise 12.4.9T

26/06/2007 12:18

CISCO suggested AdvEnterprise 12.4.9T  running on the routers that have 48M Flash, and 256M DRAM. But the office router only gets 32M Flash and 128M DRAM(OLD AND DUSTY). I really doubt my boss will agree to spend £300 to upgrade it and at the same time I need to get IPX and VPN working on it. I took the risk to upgrade it to c2600-adventerprisek9-mz.124-9.t.bin.

It took a lot longer to copy the ios to flash and veeeeery long to load it during booting, well, at least, I felt it taking very long time. Luckily, it works :)

我们这个时代

16/06/2007 23:45

经典游戏 1.打弹珠 2.拍画 3.滚铁圈 4.丢沙包 5.画“太平天国” 6.跳皮筋 7.打乒乓 8.踢毽子 9.耍沙 10.“逮猫” 11.打电子游戏  经典玩物 1.挖蚯蚓 2.捉蚱蜢 3.养蚕 4.捉蜻蜓 5.捉知了 6.捉金龟子   7.逮天牛 8.捉螳螂 9.捉螃蟹 10.钓虾子 11.烧蚂蚁    经典连环画    《七龙珠》 《圣斗士星矢》 《机器猫》       经典动画片    《花仙子》 《忍者神龟》 《大力水手》 《米老鼠唐老鸭》 《佐罗》 《最后一只恐龙——丹佛》 《绿野仙踪》 《功夫小子》 《恐龙特缉克塞号》 《希曼》 《希瑞》 《聪明的一休》 《变形金刚》 《蓝精灵》 《黑猫警长》    经典电视      《射雕英雄传》 《霍元甲》 《少林寺》 《西游记》       校园十大经典特色生活    1.排队放学 2.“好好学习,天天向上。”…… 3.小虎队…… 4.抄歌词 5.开运动会 6.赶暑假作业 7.上“二渠道活动”课 8.奖小红花 9.抄《小学生行为规范》 10.老师上课拖堂       经典食物    棉花糖 山楂片 果丹皮 酸梅粉 冰糕,高级点就是”娃娃糕” 泡泡糖 无花果 天府可乐       生于这个时代的我们,是最后一拨这样的人: 是最后一拨对这样一句话耳熟能详的人--“为革命--保护视力,眼保健操--开始……”;    是最后一拨男女生明明互有好感,却故作嫌恶状,在课桌上刻三八线的人;    是最后一拨在小时候写作文时,言必称--“自十一届三中全会以来……”或“改革的春风……”之类的人;    是最后一拨学校开会一冷场有事没事就开唱”没有花香,没有树高……    是最后一拨这样的女孩子--春风越吹越暖,明明早就心痒难搔,却硬着头皮按兵不动,互相观望,最后都快放暑假了,实在熬不住了,才约好第二天同时穿裙子,谁说话不算数谁是小狗;    是最后一拨有过小时候要到别人家看电视,死活赖着不肯回家,被爸妈打的经验的人;    是最后一拨过六一节还必须找齐了白衬衫、蓝长裤的人;    是最后一拨和泥巴、过家家、弹弹子、拍画片,背着军用水壶,揣着茶叶蛋春游的人;    是最后一拨在小学劳动课上还去打扫厕所、捉苍蝇老鼠的人;    是最后一拨对五讲四美三热爱倒背如流,但始终也没搞清楚什么时候才能练成四有新人的人;    是最后一拨告诉自己,要有理想有信念,要好好学习天天向上,走在路上看见方格子地砖想着跳房子,跳橡皮筋的时候唱“我爱北京天安门”,每个月存5元指望小学毕业去看天安门的人;    是最后一拨看过黑白小人书《岳飞》,《丁丁历险记》,《烈火金刚》,《七剑下天山》的人; 连环画: 《三毛流浪记》 经典动画片 《铁臂阿童木》 《天书奇谈》-就是有几只狐狸精的那个,记得不? 《孙悟空大闹天宫》 《阿凡提》 《猴子捞月》 《咕咚来了》 电视连续剧 《一剪梅》 《人在旅途》

OSX86 running perfect on P5B-E Plus + E4400

09/06/2007 18:39

My new machine:

ASUS P5B-E Plus motherboard (Im a ASUS fan ^_^)
Intel Core 2 duo E4400 CPU (still on dual-processor)
2 G dual-channel 800Mhz RAM
160 G SATA-150 (old) + 80 G SATA-300 (new) = 480 G space in total
BFG 7300LE graphic card
Say goodbuy to water cooling system, instead 3 super quiet fans
OS: Windows XP + Mac OS X

Show me more… »

My Computer die

17:52

My computer was killed by heat last sunday, maybe only one CPU was die. But it is too expensive to replace hardware compare with buying new stuff. So I decided to take this chance upgrading my 5 years-old machine. I list the old machine spec to remember it:

Dual Xeon on 3.06 GHz (one of them overheat)
ASUS PC-DL motherboard
4G Dual-Channel 333 MHz RAM
160G SATA x 2 RAID 1
Waterchill water cooling system

sysctl.conf optimization

02/06/2007 02:11

# Controls source route verification
# Default should work for all interfaces
net.ipv4.conf.default.rp_filter = 1
# net.ipv4.conf.all.rp_filter = 1
# net.ipv4.conf.lo.rp_filter = 1
# net.ipv4.conf.eth0.rp_filter = 1

# Disables IP source routing
# Default should work for all interfaces
net.ipv4.conf.default.accept_source_route = 0
# net.ipv4.conf.all.accept_source_route = 0
# net.ipv4.conf.lo.accept_source_route = 0
# net.ipv4.conf.eth0.accept_source_route = 0

# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0

# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1

# Increase maximum amount of memory allocated to shm
# Only uncomment if needed!
# kernel.shmmax = 67108864

# Disable ICMP Redirect Acceptance
# Default should work for all interfaces
net.ipv4.conf.default.accept_redirects = 0
# net.ipv4.conf.all.accept_redirects = 0
# net.ipv4.conf.lo.accept_redirects = 0
# net.ipv4.conf.eth0.accept_redirects = 0

# Enable Log Spoofed Packets, Source Routed Packets, Redirect Packets
# Default should work for all interfaces
net.ipv4.conf.default.log_martians = 1
# net.ipv4.conf.all.log_martians = 1
# net.ipv4.conf.lo.log_martians = 1
# net.ipv4.conf.eth0.log_martians = 1

# Decrease the time default value for tcp_fin_timeout connection
net.ipv4.tcp_fin_timeout = 25

# Decrease the time default value for tcp_keepalive_time connection
net.ipv4.tcp_keepalive_time = 1200

# Turn on the tcp_window_scaling
net.ipv4.tcp_window_scaling = 1

# Turn on the tcp_sack
net.ipv4.tcp_sack = 1

# tcp_fack should be on because of sack
net.ipv4.tcp_fack = 1

# Turn on the tcp_timestamps
net.ipv4.tcp_timestamps = 1

# Enable TCP SYN Cookie Protection
net.ipv4.tcp_syncookies = 1

# Enable ignoring broadcasts request
net.ipv4.icmp_echo_ignore_broadcasts = 1

# Enable bad error message Protection
net.ipv4.icmp_ignore_bogus_error_responses = 1

# Make more local ports available
# net.ipv4.ip_local_port_range = 1024 65000

# Set TCP Re-Ordering value in kernel to ‘5′
net.ipv4.tcp_reordering = 5

# Lower syn retry rates
net.ipv4.tcp_synack_retries = 2
net.ipv4.tcp_syn_retries = 3

# Set Max SYN Backlog to ‘2048′
net.ipv4.tcp_max_syn_backlog = 2048

# Various Settings
net.core.netdev_max_backlog = 1024

# Increase the maximum number of skb-heads to be cached
net.core.hot_list_length = 256

# Increase the tcp-time-wait buckets pool size
net.ipv4.tcp_max_tw_buckets = 360000

# This will increase the amount of memory available for socket input/output queues
net.core.rmem_default = 65535
net.core.rmem_max = 8388608
net.ipv4.tcp_rmem = 4096 87380 8388608
net.core.wmem_default = 65535
net.core.wmem_max = 8388608
net.ipv4.tcp_wmem = 4096 65535 8388608
net.ipv4.tcp_mem = 8388608 8388608 8388608
net.core.optmem_max = 40960

# Disable ping requests

net.ipv4.icmp_echo_ignore_all = 1

Run following command to make it effect

/sbin/sysctl -p
/sbin/sysctl -w net.ipv4.route.flush=1