2013/10/26
| 下載/上傳 | 合計 | Hinet 上網費 | 電路費 | 老客戶八五折 | |
|---|---|---|---|---|---|
| ADSL | 4M/128K | 473 | 269 (原價 299) | 204 | 427=254+173 |
| ADSL | 5M/384K | 526 | 296 (原價 329) | 230 | 476=280+196 |
| 光世代 VDSL + Wi-Fi | 6M/2M | 699 | 341 | 358 | 499 綁約 2 年 |
| 下載/上傳 | 合計 | Hinet 上網費 | 電路費 | 老客戶八五折 | |
|---|---|---|---|---|---|
| ADSL | 4M/128K | 473 | 269 (原價 299) | 204 | 427=254+173 |
| ADSL | 5M/384K | 526 | 296 (原價 329) | 230 | 476=280+196 |
| 光世代 VDSL + Wi-Fi | 6M/2M | 699 | 341 | 358 | 499 綁約 2 年 |
sudo apt-get install bridge-utils
sudo ifconfig eth0 0.0.0.0
sudo ifconfig eth1 0.0.0.0
sudo brctl addbr br0
sudo brctl addif br0 eth0
sudo brctl addif br0 eth1
sudo dhclient br0
auto br0然後
iface br0 inet dhcp
sudo vi /etc/network/interfaces
sync && sudo init 6
修改內容,只保留cp /etc/fonts/conf.d/69-language-selector-zh-tw.conf ~/.config/fontconfig/fonts.conf vi ~/.config/fontconfig/fonts.conf # 修改 monospace 那段如下方 fc-cache -f -v
define Package/套件名或
define KernelPackage/套件名裡面的一些參數,例如 TITLE:= 是填顯示的標題名稱。
KCONFIG:=CONFIG_HOSTAP CONFIG_HOSTAP_FIRMWARE=y CONFIG_HOSTAP_FIRMWARE_NVRAM=y,如果選了 hostap 套件,Kernel 設定就會增加
,對應到 Kernel 程式,包括外部模組,就會有CONFIG_HOSTAP=m CONFIG_HOSTAP_FIRMWARE=y CONFIG_HOSTAP_FIRMWARE_NVRAM=y
#define CONFIG_HOSTAP_MODULE #define CONFIG_HOSTAP_FIRMWARE #define CONFIG_HOSTAP_FIRMWARE_NVRAM
config <section-type> [<section>]
<section> 是 section 的名稱,可有可無。沒有 section 名稱時用 @<section-type>[index] 的方式存取。# 開始為註解註界config section-type section-name config section-type option option-name option-value list option-name option-value
# cat /etc/config/foo首先這裡存在 <config> 檔 foo,內容分成許多 config 開頭的 section,每個 section 有 option 或 list。範例裡 <section-type> 都是 bar。每個 option 定義一對<option> 及 <value>,而 list 讓一個 <option> 有許多 <value>。
config bar first
option name 'Mr. First'
config bar
option name 'Mr. Second'
config bar third
option name 'Mr. Third'
list kid aaa
list kid bbb
# uci
Usage: uci [<options>] <command> [<arguments>]
Commands:
batch
export [<config>]
import [<config>]
changes [<config>]
commit [<config>]
add <config> <section-type>
add_list <config>.<section>.<option>=<string>
show [<config>[.<section>[.<option>]]]
get <config>.<section>[.<option>]
set <config>.<section>[.<option>]=<value>
delete <config>[.<section[.<option>]]
rename <config>.<section>[.<option>]=<name>
revert <config>[.<section>[.<option>]]
reorder <config>.<section>=<position>
Options:
-c <path> set the search path for config files (default: /etc/config)
-d <str> set the delimiter for list values in uci show
-f <file> use <file> as input instead of stdin
-L do not load any plugins
-m when importing, merge data into an existing package
-n name unnamed sections on export (default)
-N don't name unnamed sections
-p <path> add a search path for config change files
-P <path> add a search path for config change files and use as default
-q quiet mode (don't print error messages)
-s force strict mode (stop on parser errors, default)
-S disable strict mode
-X do not use extended syntax on 'show'
# uci get foo.first要注意的是 uci show [<config>] 時,會顯示所有的 <section-type> 及 <value>,<section-type> 的 index 不計有 <section> 的,所以可能會有所不同。
bar
# uci get foo.first.name
Mr. First
# uci get foo.@bar[0].name
Mr. First
# uci get foo.@bar[1].name
Mr. Second
# uci get foo.@bar[-1].name
Mr. Third
# uci get foo.third.kid
aaa bbb
# uci show foo
foo.first=bar
foo.first.name=Mr. First
foo.@bar[0]=bar
foo.@bar[0].name=Mr. Second
foo.third=bar
foo.third.name=Mr. Third
foo.third.kid=aaa bbb
所有 SIP 訊息 都要有 Via,縮寫 v。一開始的 UAC 和後續途經的每個 proxy 都會疊加一個 Via 放傳送的位址,依序作為回應的路徑。 格式 sent-protocol sent-by [ ;branch= branch ][ ; 參數 ...] s...