2021/1/7

PSU calculation

 [OuterVision PSU Calculator part list](https://outervision.com/b/BvWKNx)


Type|Item

:----|:----

**Motherboard** | Desktop

**CPU** | 1 x Intel Core i5-6600K

**CPU Speed** | 3500MHz

**CPU Vcore** | 1.2V

**CPU Utilization** | 90%

**Memory** | 2 x 8GB DDR4 Module

**Core Clock** | 970MHz

**Memory Clock** | 1203MHz

**Storage** | 0 x SATA 5.4K RPM

**Storage** | 1 x SATA SSD

**Other Device** | 2 x USB 3.0 Device

**Keyboard** | 1 x Gaming Keyboard

**Mouse** | 1 x Standard Mouse

**Fan** | 2 x 120mm

**Fan** | 1 x 80mm

**Computer Utilization** | 4 hours per day

**Gaming/Video Editing/3D Rendering Time** | No Gaming / 3D Apps

**Load Wattage** | 172W

**Recommended Wattage** | 222W

**Amperage** | +3.3V: 8.1A, +5V: 10.3A, +12V: 12.0A

**Recommended UPS Rating** | 400VA

Generated by OuterVision PSU Calculator 2021-01-07 12:26:11



[OuterVision PSU Calculator part list](https://outervision.com/b/s3Vnjr)


Type|Item

:----|:----

**Motherboard** | Mini-ITX

**CPU** | 1 x AMD Athlon 64 3000+ 1800 MHz Clawhammer

**CPU Speed** | 800MHz

**CPU Vcore** | 1.03V

**CPU Utilization** | 90%

**Memory** | 2 x 512MB DDR Module

**Core Clock** | 970MHz

**Memory Clock** | 1203MHz

**Storage** | 1 x IDE 7.2K RPM

**Storage** | 0 x SATA SSD

**Other Device** | 0 x USB 3.0 Device

**Keyboard** | 1 x Gaming Keyboard

**Mouse** | 1 x Standard Mouse

**Fan** | 0 x 120mm

**Fan** | 0 x 80mm

**Computer Utilization** | 4 hours per day

**Gaming/Video Editing/3D Rendering Time** | No Gaming / 3D Apps

**Load Wattage** | 88W

**Recommended Wattage** | 138W

**Amperage** | +3.3V: 3.1A, +5V: 8.6A, +12V: 7.0A

**Recommended UPS Rating** | 250VA

Generated by OuterVision PSU Calculator 2021-01-07 12:42:50

2021/1/3

自建NAS補完計畫OMV篇(OpenMediaVault)

一樣在virtualbox掛載一個虛擬磁碟跟一個iso

在virtualbox設定port- forwarding 80 22都要

記得語系選中文的話 在console畫面的中文是菱形

只要putty用ssh登入就可以看到

打開 http://host-os-ip/

 網頁預設帳號密碼admin/openmediavault

OMV就是Debian改的

所以安裝docker套件使用debian就行了


2021/1/2

用iptables改TTL就知道電信業者是不是利用TTL判斷是否使用分享

 Modifying the TTL

The Time To Live is the maximum number of routers a packet will travel through before it is discarded. In certain situations, it may prove useful to increase it (typically) in order to make your network more reliable.


Example 1: Set the incoming TTL to 10, before the router routes it into the LAN

iptables -t mangle -I PREROUTING -i `get_wanface` -j TTL --ttl-set 10

Example 2: Set the outgoing TTL to 128, just as if a Windows machine was connected directly to the modem.

iptables -t mangle -I POSTROUTING -o `get_wanface` -j TTL --ttl-set 128

Example 3: Try to hide the fact that an outgoing packet was routed, by incrementing the TTL by one.

iptables -t mangle -I POSTROUTING -o `get_wanface` -j TTL --ttl-inc 1

軟體路由器補完計畫dd-wrt篇

軟體路由器補完計畫dd-wrt篇

依網路文章的教案下載dd-wrt,發現這個任務麻煩。

首先dd-wrt關閉網頁下載連結,不過檔案還是在的。

所以直接由 https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2014/06-23-2014-r24461/x86_64/dd-wrt_public_vga.image 下載。

用工具轉成vdi也無法於virtualbox開機。

但我的目的是使用舊主機來跑多款軟路由

vdi格式也無法直接開機


所以我先下載core linux

用最小的core-current 14MB那個就可以

virtualbox以iso形式掛載到虛擬光碟

core-linux登入後

先更換密碼 sudo passwd

再sudo

wget https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2014/06-23-2014-r24461/x86_64/dd-wrt_public_vga.image

dd if=dd-wrt_public_vga.image of=/dev/sda1


把光碟退出 再reset 就可以啟動dd-wrt

或者直接在windows下執行 physdiskwrite -u dd-wrt_public_vga.image

現在瀏覽器是打不開dd-wrt管理web

執行 iptables -D logreject 1 跟 iptables -D logdrop 1 後

會自動出現一個eth0介面

ifconfig eth0 192.168.0.11

打開瀏覽器,輸入路由器的預設IP地址192.168.0.11,按Enter

輸入管理者「admin」,密碼為「xxxxx」。

另外利用vhd開機的方式 就可以實體多重開機啟動多款軟路由器window環境

mAKE A LOT OF vhd files

mAKE A LOT OF vhd files


 Windows 7 Ultimate SP1剛安裝好, 大約佔6~8GB空間, 但為了將來一堆Service Pack的安裝, 以及Page File等等的使用, 建議至少規劃20GB給Windows 7用, 如果有足夠硬碟空間, 最好是40GB.


CentOS...安裝好要4GB空間, 但規劃10GB到20GB給CentOS會比較好.


XP Pro. SP3, 安裝好大約3GB...但規劃10GB到20GB給XP會比較好.


版大有什麼原因需要計較硬碟空間嗎? 一般來講, 現在的硬碟都有數百GB以上的空量.


如果是想切割出系統磁區, 那麼切出60~80GB做系統磁區一定夠用了.