2010-11-11

解決IE永遠用同一視窗開啟新連結

This setting controls whether Internet shortcuts are opened in an existing available Internet Explorer window or whether a new window should be spawned.

User Key: [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
Value Name: AllowWindowReuse
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = new window, 1 = existing window)

設為0

fiber lc connector

mini gbic sfp

http://www.tech-faq.com/lc-connector.shtml

國內各大ISP DNS伺服器位址

國內各大ISP DNS伺服器位址

Hinet dns - 中華電信dns
168.95.1.1
168.95.192.1
168.95.192.2

SeedNet dns - 數位聯合電信 dns
北區: 台北, 桃園, 新竹, 宜蘭, 花蓮, 苗栗
139.175.55.244
139.175.252.16
中區: 台中, 彰化, 南投, 雲林
139.175.150.20
139.175.55.244
南區: 高雄, 台南, 嘉義, 屏東, 台東
139.175.10.20
139.175.55.244

So-Net dns
61.64.127.1
61.64.127.2

GIGA dns
203.133.1.8
203.133.1.6

APOL dns - 亞太線上 dns
203.79.224.10
203.79.224.30

Sparq dns - 速博 dns
211.78.130.10
211.78.130.11

TFN dns - 台灣固網dns
211.78.215.137
211.78.215.200

TTN dns - 台灣電訊dns
202.145.136.4
202.145.138.1
202.145.138.136
202.145.138.200
210.17.1.1

2010-11-05

彩色轉黑白

其實有很多種方式,Lab、灰階、去飽和度、色板混合器均可,其中效果最好的是色板混合器,因為是單獨挑出三色的色頻來轉,它的色階層次表現會更好。
轉法是------(Photoshop)
影像/調整/色板混合器
其中要把左下角的□單色選項打勾,然後三色的色頻分別調整,通常紅色60,綠色40,藍色0,常數也是0,就可以調整的不錯,但是這只是大概,還是要依圖來調整。
調整完後,不是就結束了,還要再進入色階圖去調整,我的習慣是整個畫面會分離出不同的部分,分別調整。

2010-10-26

ESXi 4.0 upgrade to 4.1 sample with vihostupdate

C:\Program Files\VMware\VMware vSphere CLI\bin>vihostupdate.pl --server 192.168.1
.1 -i -b d:\upgrade-from-ESXi4.0-to-4.1.0-0.0.260247-release.zip -B ESXi410-GA-
esxupdate
Enter username: root
Enter password:
Please wait patch installation is in progress ...
Host updated successfully.

C:\Program Files\VMware\VMware vSphere CLI\bin>vihostupdate.pl --server 192.168.1
.1 -i -b d:\upgrade-from-ESXi4.0-to-4.1.0-0.0.260247-release.zip -B ESXi410-GA
Enter username: root
Enter password:
Please wait patch installation is in progress ...
The update completed successfully, but the system needs to be rebooted for the c
hanges to be effective.

C:\Program Files\VMware\VMware vSphere CLI\bin>vihostupdate.pl --server 192.168.1
.1 --query
Enter username: root
Enter password:
---------Bulletin ID--------- -----Installed----- ----------------Summary-------
----------
ESXi410-GA-esxupdate 2010-10-26T04:02:45 ESXi pre-upgrade Bulletin

ESXi410-GA 2010-10-26T04:06:21 ESXi upgrade Bulletin


C:\Program Files\VMware\VMware vSphere CLI\bin>

2010-09-27

hp proliant server driver

1. install os with smartstart cd
2. install os with os cd. After installed os, use proliant support pack.

2010-09-17

CHT8000 Hard reset

CHT8000 (Huawei U8220) Hard reset factory default
CHT8000清空使用者資料 回復出廠設定

1. shutdown
2. press "menu" + "red button(hang off button)" + "power button"
3. pulse
4. choose "wipe data factory default"
5. choose "reboot"
6. take more time for booting....be patient....
7. boot ok...done....

2010-06-08

Reset Juniper ISG Firewall to factory default settings

Reset Juniper ISG Firewall to factory default settings
I was put in a situation to bring Juniper Firewall to factory default settings.
Firewall Model: Juniper ISG 1000

Note: By default settings of Juniper Firewall, recovery settings are enabled. Some admins might have disabled it by unset admin device-reset

Step 1: Execute "set admin device-reset" command

Step 2: Execure "reset" command

Say "Yes" to confirm saving the configuration and restarting

Step 3: After the image is loaded in the firewall, at login prompt, type the serial number as user name. At password prompt, type the serial number again. The following message appears

!!! Lost Password Reset !!! You have initiated a command to reset the device to factory defaults, clearing all current configuration and settings. Would you like to continue? y/[n]

Press Y in the screen

!! Reconfirm Lost Password Reset !! If you continue, the entire configuration of the device will be erased. In addition, a permanent counter will be incremented to signify that this device has been reset. This is your last chance to cancel this command. If you proceed, the device will return to factory default configuration, which is: System IP: 192.168.1.1; username: netscreen; password: netscreen. Would you like to continue? y/[n]

Press Y in the screen to reset the device to factory default settings

Note: Connect to Management Port (Set your IP in 192.168.1.0 segment) and access 192.168.1.1. Use netscreen/netscreen as default password.

2010-05-25

juniper ssg nat advice

Anyway: My advise as experienced user and instructor on ScreenOS: Allways put every interface in route-mode and do the natting in the policy. It's so much more clear what's going on with natting that way!
because interface base nat only valid for traffic from trust to untrust where interface in trust zone you set in nat mode

2010-05-20

ADSL FTTB MTU 設定

什麼是 MTU 呢?那就是 Maximum Transmission Unit 的縮寫!
 
因為不同的網路介面卡具有不同的 MTU 要求,當 MTU 的需求與你的網路介面卡不同時,就會有問題發生啦!一般而言,MTU 在網路卡(EtherNet)的預設值為 1500 單位!好啦!剛剛說到不同的網路介面具有不同的 MTU 要求,那以下就列出一下各主要的網路介面之 MTU 的要求啦! 
 
網路介面 MTU 列表如下:
EtherNet (一般的網路介面,這是預設值) 1500  
PPPoE(ADSL用的) 1492  
XP Vista PPPoE(內建的) 1480  
Dial-up(modem)  576  
 
Microsoft WnXP 內置PPPoE MTU (Maximum Transmission Unit) 1480 計法: 
1500- 6 (PPPoE overhead)- 4 (PPP header)- 4 (Multilink PPP header)-4 (compression & encryption)- 2 (PPP Header for BRAS identify) = 1480
 
RFC 2516 PPPoE MTU (Maximum Transmission Unit) 1492 計法: 
1500- 6 (PPPoE overhead)- 2 (PPP header) = 1492
 
 
由上面的MTU 列表我們可以知道,預設的網路介面 MTU 是 1500 ,那 PPPOE 使用的是 1492,自然而然的 MTU 要求並不相同,所以啦!有一些網頁、郵件資料等等的咚咚就無法合理的讓你使用啦!


光世代的後端已經不是走ATM而是GigaEthernet了,所以用分享器時可以設定成1492。
不再會有ATM 48byte padding的問題。
XP,Vista內定1480,倒是不用特別去調整,差沒多少啦...
如果是用10M/2M或20M以上的線路,OS最好是Vista以上。
XP可能會因為TCP windows size太小,而造成速度略慢,無法到最高速。

2023 灌籃高手 SLAM Dunk

 2023 哩哩摳摳 昨天是難得的颱風假。 去看了二輪的灌籃高手。 電影院一堆的小朋友阿。 以下有小暴雷。 雖然我不算是非常的迷灌籃高手,但是還是很喜歡這部作品。 井上老師的畫風我也非常喜歡。 整部片是以良田的角度來看的。 以前我並不是很熟習良田這個角色,但是看到良田能重新站起來...