顯示具有 MS-Windows 標籤的文章。 顯示所有文章
顯示具有 MS-Windows 標籤的文章。 顯示所有文章

2013年12月19日 星期四

關閉Window7右下角行動作業中心旗子

1.首先執行gpedit.msc
2.然後在使用者設定->系統管理範本->[開始]功能表和工作列->移除行動作業中心圖示
3.點及進入編輯,將尚未設定改為已啟用

2013年10月28日 星期一

改變人生的超。速習法-書摘

l   學習的策略很重要,策略對了,速度快也更有效率
l   「讓自己以最快速度,出類拔萃的最有效方法」,那就是閱讀。
l   以最快的速度、最短的時間,將許多聖賢偉人的智慧及知識下載安裝到你的腦袋。
l   「書」X「速習法」=「成功的捷徑」

第一章    什麼是速習法?
l   所謂學習,就是同時掌握概要與細節,以累積知識。
l   創造力不是才能,而是知識的量。
l   「速習法」是重視「牢記知識」甚於「閱讀速度」的一種讀書方式。
l   所謂「既有知識」就是「已具備的知識」
l   閱讀大量的書使得「既有知識」增加,因而能夠快速地閱讀。
l   理解事物的方法分為「由上而下的處理系統」(掌握概念),以及「由下而上的處理系統」(掌握細節)兩種
l   適合運用「由上而下的處理系統」的閱讀=蜻蜓點水式略讀。
適合運用「由下而上的處理系統」的閱讀=標靶式精讀
l   人的大腦只會記憶「必要的事物」
l   要確認「不知道的事物」

第二章    建立「速習腦」的方法1,設定明確地的目的的「待機」
l   確立為了什麼目的讀書?
創造容納知識的「容器」
在你打開書本前,請先在腦袋中準備好接下來要存放的知識及訊息的容器。
準備周全的心
你是為什麼而唸?
你想達成什麼樣的夢想?
你想從本書中學習到什麼?
你打算以什麼樣的方式來讀?
讀完本書後,自己可以獲得什麼?
l   看書之前先設定好「待機狀態」
目的(目的及報酬)
條件(環境和能力)
欲求
形象
l   決定「目的」和「報酬」的話,能提升處理能力
報酬指的是獎賞
l   讀書之前先想清楚「目的」、「目標」和「手段」
目的是「終點」,「目標」就是路標
決定好「目標」,才講求具體的「手段」
l   檢視「環境」和「能力」是否備齊
l   「目的」成立於欲求之上
「目的」不是一切,重點在「渴望的事物」
把學習的「目的」結合「生理的欲求」
馬洛斯五大需求層級理論=>生理的需求(活的下去)、安全感的需求(活的安定)、愛跟歸屬的需求(活的開心)、尊重的需求(活的體面)、自我實現的需求(活的極致)。
越是底層的需求,驅動人的原動力越強。
如果把讀書的目的和「生理的需求」及「安全感的需求」結合(就算牽強附會也沒關係),意願動機就會提高。
l   「想像」達成目的後的自己
發揮想像力,想像達成後的自己。
推論能力及想像力的豐富與否,關鍵在於思考事物的柔軟性。專門訓練商業人士的創造力開發而聞名的羅傑。馮歐克(Roger V. Von Oech)提出了「十項思考的桎梏,阻礙了自由的創意」的看法。倘若能「夠掙脫思考的桎梏,頭腦就會變的靈活」,想像力就會大幅提高。
1.
正確答案永遠只有一個。2.要講邏輯。3.請遵守規定。4.現實一點!5.不要那麼曖昧嘛!6.不可犯錯!7.抱著玩樂的心態是很不認真的。8.這不是我的長項。9.不要想些有的沒的。10.我缺乏想像力。不要有以上想法阻礙了你的想像力
l   「速習法」的實踐者這樣建立速習腦
一些學員的實例,掃描下來參考附圖











讀書與學習的管理

2012年8月22日 星期三

Router OS搭配L2網管型SWITCH(SMC8024L2)實現單網路孔多WAN

一般來說在多路對外線路的環境下,發生RouterOS機器上的網路孔不夠用時,可利用Switch切VLAN方式從RoterOS一孔在switch分出多孔使用。這裡以RouterOS之ETH4分出兩孔為例,一孔撥接出兩條PPPoe。

RouterOS設定:
於Interface新增2個vlan介面,VLAN ID分別指定2跟3,介面選擇ETH4,如下圖

 之後新增各將兩條PPPoe並將之介面各指定為vlan2跟vlan3

SMC Switch設定:

假設我們RouterOS上的ETH4孔與SMC的Port1孔對接,那SMC的設定方法為
VLAN Membership=>Add VLAN Group 新增VLAN ID 2跟VLAN ID 3
並在VLAN ID 1裡將P1;P2;P3取消打勾。
之後在VLAN ID 2中將P1;P2打勾。 之後在VLAN ID 3中將P1;P3打勾。




以下是SMC原廠關於VLAN說明之官方文件
Introduction to VLANs
VLANs (or Virtual LANs) are logical partions of the physical LAN. You can use VLANs to:
  • Increase network performance
  • Increase internal network security
If the network has adequate performance and security for your current needs, it is recommended that you leave the VLAN settings in the default configuration. The default configuration is as follows:
  • All ports are members of VLAN 1
  • The switch management interface is on VLAN 1
  • All ports have a Port VLAN ID (PVID) of 1
  • All ports can send and receive both VLAN-tagged and untagged packets (i.e. they are "hybrid" ports)
In the default configuration, any port is able to send traffic to any other port and a PC connected to any port will be able ro reach the management interface. Broadcast traffic, for example, will be flooded to all ports on the switch.

Add VLAN Group
Type into the VLAN ID (1-4093) of the VLAN group which you want to setup. After pressing the ADD button, you will be navigated to a new page for configuring VLAN membership. Only one VLAN group can be setup per time. Note: For QinQ application, The number of VLAN groups that would be setup is equal to the number of customer ports. Each VLAN group consists of two ports, customer port and network port. The VID equals to PVID of the customer port. Network port is member of the VLAN of customer port.

VLAN Group List
This table displays all the VLAN groups and they are sorted for display purposes. Click the radio button which is associated with the VLAN that is displayed immediately below it and use Modify or Delete button can modify or delete an existing VLAN group. Modify button will navigate to a web page for configuring VLAN membership. 


VLAN Awareness
  • VLAN aware ports will strip the VLAN tag from received frames and insert the tag in transmitted frames (except PVID). VLAN unaware ports will not strip the tag from received frames or insert the tag in transmitted frames.
  • For QinQ application, customer port should be VLAN unaware and network port (trunk port) should be VLAN aware.

  • QinQ
  • QinQ enabled port will accept packets up to 1526 bytes in length, which means double tag header frames can be accepted.
  • For QinQ application, the QinQ should be enabled for provider port but not for customer port. Note: For QinQ application, customer ports indicate those ports which are connected to normal VLAN aware switches at the customer network and the network ports are those which are connected to the service provider network. To tunnel the packets through MAN, QinQ needs to be enabled on network ports.

  • Packet Type
    • PCs should be connected to ports with Packet Type set to All. PCs cannot, in general, send or receive tagged packets.
    • Switches should be connected to each other with Packet Type set to Tagged Only.
    • If the Packet Type is set to All, the port can accept incoming tagged and untagged packets. Untagged packets will be associated with the VLAN identified by the PVID. Tagged packets will be dropped unless the port is a member of the VLAN identified by the VLAN tag in the packet. Outgoing packets will be tagged unless the packet's VLAN ID is the same as the PVID.
    • If the Packet Type is set to Tagged Only, the port will drop untagged packets and will only send and receive tagged packets. Tagged packets will be dropped unless the port is a member of the VLAN identified by the VLAN tag in the packet. The PVID has no effect in this case.

    Port VLAN ID
    • The PVID is (Port VLAN ID) is the VLAN ID that is associated with untagged, ingress packets.
    • It is not possible to remove a port from VLAN 1 unless its PVID has been changed to something other than 1.
    • The PVID has no effect on ports that have Packet Type set to Tagged Only.
    • Untagged frames received on the port will be classified to this VLAN ID. Frames classified to this VLAN ID will be sent untagged on the port.
    • None is used for trunk port.
    • For QinQ application, the PVID for each customer port must be unique.

    QinQ Application Example
    This example shows how to configure one network port and three customer ports with the following setup on this switch. Port 1 as network port and port 2-4 are customer ports.
    • Click off VLAN aware enabled checkboxes for port 2-4 and click VLAN aware enabled checkbox for port 1.
    • Clear the QinQ enabled checkboxes for port 2-4 and click QinQ enabled checkbox for port 1.
    • Type PVID 2,3,4 individually for port 2-4. The PVID for each customer port must be unique.
    • In VLAN membership page, add VLAN group 2 with port 1 and port 2 as members. Add VLAN group 3 with port 1 and port 3 as members. Add VLAN group 4 with port 1 and port 4 as members. 

    grub4dos pxe啟動應用

    無標題文件 工具:
    TFTP

    1.架設TFTP還有DHCP Server

    2.利用Grub4DOS grldr為引導文件PXE啟動




    3.啟動RXPE menu.lst寫法
    map --mem (pd)/RXPE.ISO (0xff)

    說明:將(pd)/RXPE.ISO映射成(0xff)並裝載到記憶體,--mem為裝載到記憶體的參數
    map --hook
    說明:map交換命令不是馬上起作用,因此需要用--hook參數使上一行映射提前生效
    chainloader (0xff)
    說明:把啟動磁區的內容裝入記憶體
    boot
    說明:啟動作業系統

    或

    map --mem (pd)/RXPE.ISO (HD32)
    map --hook
    chainloader (HD32)
    boot



    參考文檔:
    http://3cup.blogspot.tw/2007/11/grub-for-dos-043.html
    http://diddy.boot-land.net/grub4dos/files/pxe.htm
    http://diddy.boot-land.net/grub4dos/files/map.htm#hd32

    修改WIM並設定你想要的捷徑在XPE桌面

    工具:
    UltraISO=>編輯ISO檔
    WIMTOOL=>編輯 *.WIM檔

    步驟:
    開啟UltraISO讀取RXPE的ISO檔以提取要修改的*.WIM檔案。
    之後用WIMTOOL讀取*.WIM並解開以編輯,如下圖


    *.WIM解開後,開啟outtool.ini,內容如下


    LINK %PROGRAMS%\磁碟工具\GHOST\GHOST 8.3,GHOST83.EXE
    LINK %Desktop%\重推批次檔,重推批次檔.bat

    說明:
    LINK  %Desktop% =>將捷徑加至桌面
    LINK %PROGRAMS%=>將捷徑加至程式集
    綠色字為捷徑名稱
    灰色字為原始檔名


    更改完後利用WIMTOOL上面頁籤點擊"新制和追加",如下圖
    壓縮類型:最大壓縮
    最後選擇"新增映像"後完成



    2011年12月18日 星期日

    指令開啟Windows內建視窗管理工具

    taskmgr 開啟工作管理員
    lusrmgr 開啟本機[本機使用者和群組]


    Widows 7 HOME版(指令)
    \\net user administrator /active:no

    Windows內建Telnet伺服器

    安裝Telnet Server:

    pkgmgr /iu:"TelnetServer"

    圖形模式安裝:
    按一下 [開始],然後按一下 [控制台]。
    按一下 [控制台首頁] 頁面中的 [程式集]。
    在 [程式和功能] 區段下,按一下 [開啟或關閉 Windows 功能]。
    如果出現 [使用者帳戶控制] 對話方塊,請確認顯示的動作為所需動作,然後按一下 [繼續]。
    在 [Windows 功能] 清單中,選取 [Telnet 伺服器],然後按一下 [確定]。

    啟動Telnet伺服器

    可於服務管理員 services.msc=>Telnet 啟動
    或是cmd指令列打
    "net start telnet" 啟動
    "net stop telnet" 停止服務

    設定Telnet登入憑證

    cmd指令模式下 "lusrmgr.msc" 開啟本機使用者級群組

    從這裡設定登入使用者
    P.S 帳號密碼為windows中的使用者


    設定Telnet Server

    變更Windows server Telnet 伺服器 TCP Port 指令:
    tlntadmn [\\server] config port=PortNumber



    微軟MSDN文件

    2011年12月4日 星期日

    內部NAT回流問題分析實作

    在虛擬IP的環境下,routeros裡區網中有一台WEB伺服器也是虛擬ip,外部要經過wan 的public ip 訪問這台web server主要做兩步驟,也就是在ip=>firewall=>nat裡加兩條規則即可,第一針對此台web server ip作src-nat,此時web server已經可以對外通訊,出去的ip為ros中的對外public ip;第二欲讓外部ip訪問此台server則必須做Dst-nat將ros上的public ip映射80 port到此台server。
    以上兩規則所指定的界面都是wan介面,基本上沒什麼問題。

    但是欲實現區網Client透過此台pubic ip訪問區網中web伺服器,則必須做NAT回流,在此必須先分析一下觀念,設定起來才比較清楚。請先看下圖....

    如上圖,黃色虛線即是錯誤通訊,客戶機經router os公網ip欲回到本身同區網訪問web server,也是加兩條規則即可,第一針對客戶機對區網作src-nat但是"out-interface要指定routeros裡的內網介面";第二針對server作dst-nat並"in-interface要指定routeros的內網介面",說簡單一點就是對外通訊的兩條nat規則除了介面不同其他設定值一樣。

    這裡有一個重要觀念就是在routeros中要將nat分成外網跟內網才不會造成錯誤通訊。撇除介面在將routeros的公網跟內網ip想成都是屬於routeros並針對介面不同去做設定。

    以下在分享從網路找到的兩張圖,參考看看














    參考資料:
    http://ewangsoft.blog.163.com/blog/static/7721558220105581734591/
    http://ewangsoft.blog.163.com/blog/static/77215582201062361238621/