<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
   <channel>
      <title>[tomopugh@localhost /]#</title>
      <link>http://waterbee.net/cgi-bin/weblog/</link>
      <description>Memo for the setup, related to Linux, Mac OS X and so on...</description>
      <language>ja</language>
      <copyright>Copyright 2011</copyright>
      <lastBuildDate>Wed, 13 Apr 2011 17:41:45 +0900</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <item>
         <title>Win Server 2008 - ログインパスワード</title>
         <description><![CDATA[Windows Server 2008 のパスワードを設定するとき、簡単なパスワードは全部蹴られて、難しいパスワードしか設定できません。数字をいれたり、大文字も使用しないと蹴られる様です。
そんなときの対処方法。

１）<strong>ファイル名を指定して実行</strong>　から、　<font color="#00ff00">gpedit.msc</font>　を起動。

２）<strong>ローカルグループポリシーエディター</strong>　が起動します。

３）下記に移動。

コンピューターの構成
Windows の設定
セキュリティの設定
アカウントポリシー

４）<strong>複雑さの用件を満たす必要があるパスワード</strong>　を、無効にする。

これで、どんなパスワードでも設定できます！


]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2011/04/win_server_2008.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2011/04/win_server_2008.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">042)Windows</category>
        
        
         <pubDate>Wed, 13 Apr 2011 17:41:45 +0900</pubDate>
      </item>
            <item>
         <title>VNC Server</title>
         <description><![CDATA[If you would like to connect GUI remotely,

<u>Install VNC</u>
<font color="#00ff00"># yum install vncserver</font>


<u>Setup VNC　with init</u>
Comment and uncomment like below. Then you can use VNC with a current desktop env. Otherwise VNC will boot up with TWM, which is a minimum desktop env.

<font color="#00ff00"># nano .vnc/xstartup</font>

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
#vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &


<font color="#00ff00"># /etc/sysconfig/vncservers</font>

VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 1024x768"


Then 1 of VNC Server is always booted up with above resolution once VNC server daemon is started.


<u>Start VNC Server daemon</u>
<font color="#00ff00"># /etc/rc.d/init.d/vncserver start
# /sbin/chkconfig vncserver on</font>
(Input VNC password for the first time. Or use <strong>vncpasswd</strong> to setup password.)

<u>
Start or Kill VNC Server forcibly</u>
<font color="#00ff00"># vncserver</font>
or
<font color="#00ff00"># vncserver -kill :1</font>

<u>
Check how many VNC processes are currently working</u>
<font color="#00ff00"># ps aux | grep vnc</font>


------------------------
Reference
<a href="http://www.nabe.bne.jp/linux/vncserver.html"target="_blank">http://www.nabe.bne.jp/linux/vncserver.html</a>]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2010/11/vnc_server.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2010/11/vnc_server.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">005)Linux</category>
        
        
         <pubDate>Fri, 19 Nov 2010 13:09:45 +0900</pubDate>
      </item>
            <item>
         <title>ユーザープロファイルの変更</title>
         <description><![CDATA[基本的に、Windows XP上で新規ユーザーを作ると、下記のディレクトリにユーザーフォルダができます。

<font color="#00ff00">C:\Documents and Settings\user_name</font>

この中にユーザーのファイル、プロファイル類が入っています。AD環境でも同様。

現在のユーザープロファイルの場所は、ＤＯＳ窓で <font color="#00ff00">set</font> と打つと、<font color="#00ff00">USERPROFILE</font> ってとこに出てきます。


AD環境で間違えてユーザーを消してしまうと、同じユーザー名で作り直しても、次回Windowsにログオンすると全く新しいユーザープロファイルが作られて、以前の環境にログインできなくなります。同じユーザー名で作り直しても、以前の環境にはログインできません。
結局同じ名前を後で作っても、同じユーザーとは認識されません。（バックグラウンドのsystem idが違うから。）

基本的には、新しいユーザーを作って、<strong>システムのプロパティ</strong>の、<strong>ユーザープロファイル</strong>で、ユーザーのファイルの丸々コピーはできます。ただ、設定関係はまったく引き継げません。

ただ、全部また設定しなおすのは大変！


そんなときは、下記レジストリを修正。
<strong>ファイル名を指定して実行</strong>から、<font color="#00ff00">regedit</font> を実行。

<font color="#00ff00">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList</font>


ここで、このPC内にあるユーザーが一覧できます。
このなかの　<font color="#00ff00">ProfileImagePath</font>　が、実際のユーザープロファイルの場所。ここで自分の好きなディレクトリに変更できます。

基本的にはコレでウマく行くと思います。設定関係もちゃんと保存されています。
ただ、パスワード関係はこのディレクトリに保存されていないみたいで、もう一度聞かれます。
その他にも色々不具合でてくるかもだけど、一応これで昔のプロファイルにログイン出来ます。

ユーザー名を変えたけど以前の環境で入りたいとか、色々応用できると思います。

----------------------------
Reference
<a href="http://support.microsoft.com/kb/236621/ja"target="_blank">http://support.microsoft.com/kb/236621/ja</a>]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2010/06/post_19.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2010/06/post_19.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">042)Windows</category>
        
        
         <pubDate>Tue, 29 Jun 2010 13:21:45 +0900</pubDate>
      </item>
            <item>
         <title>ドメインコントローラでインストール出来ない！！</title>
         <description><![CDATA[ドメインコントローラ上で何かをインストールしようとしたら、下記エラーが出る時の対処法。（VMwareを入れようとしたらエラーがでる。）


<em>システム管理者によって、ポリシーはこのインストールを実行できないように設定されています。</em>


１） 管理ツールから、ドメインコントローラセキュリティーポリシーを開く。
２） 「ソフトウェアの制限のポリシー」を右クリックして、「新しいソフトウェアの制限のポリシー」を選択。
３） 「強制」をダブルクリック。
４）　「ローカルの管理者を除くすべてのユーザー」を選択して、OKで抜ける。

その後、再起動。

これで、インストール出来るはずです！！

]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2010/01/post_17.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2010/01/post_17.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">042)Windows</category>
        
        
         <pubDate>Wed, 13 Jan 2010 15:22:23 +0900</pubDate>
      </item>
            <item>
         <title>スキーマのバージョンアップ</title>
         <description><![CDATA[プライマリドメインコントローラがWindows Server 2003で、それ以上のバージョンのサーバをドメインコントローラとして追加したい場合、DCの設定中に下記エラーが出ます。今回はWindows Server 2003 R2を追加DCとして入れてみました。


<em>次のエラーにより、操作に失敗しました:
Windows Server 2003 のインストール用にフォレストが準備されていないために Active Directory インストールウィザードを続行できません。
Adprep コマンドラインツールを使ってフォレストおよびドメインの両方を準備してください。
"ソースフォレストの Active Directory スキーマのバージョンはこのコンピュータの Active Directory のバージョンと互換性がありません。"</em>


この場合は、プライマリドメインコントローラのスキーマのバージョンをアップデートしてあげればOK。
スキーマのバージョンはココからチェック出来ます。

１） ファイル名を指定して実行から、<font color="#00ff00">adsiedit.msc</font> を起動。
２） [CN=Schema,CN=Configuration,DC=<ドメイン名>] を右クリックし、プロパティ。
３）　objectVersion　をチェック。

<em><strong>objectVersion - OS
13 - Windows 2000 Server
30　-　Windows Server 2003
31　-　Windows Server 2003 R2
44　-　Windows Server 2008</strong></em>


今回は、30から31にバージョンアップします。

１）　Windows Server 2003 R2 のディスク2をプライマリドメインコントローラに入れる。
２）　DOS窓を開いて、下記のディレクトリまで移動。

<font color="#00ff00">cd D:\CMPNENTS\R2\ADPREP</font>

３）　ここで、下記を実行。
<font color="#00ff00">
adprep.exe /forestprep</font>


これでスキーマがバージョンアップします。その後、ドメインコントローラの追加。

-------------------
Reference
<a href="http://support.microsoft.com/kb/917385/ja"target="_blank">http://support.microsoft.com/kb/917385/ja</a>
]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2010/01/post_18.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2010/01/post_18.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">042)Windows</category>
        
        
         <pubDate>Wed, 13 Jan 2010 14:37:03 +0900</pubDate>
      </item>
            <item>
         <title>トマトジュース 好き？？</title>
         <description><![CDATA[開けましておめでとうございます〜。
みなさまお元気でしょうか？
年末年始は、ヨーロッパの色々な国を、ブラブラしておりました。
スペイン最高！ホント住みたい！
ベルギーも良かった〜。


で、みなさん、トマトジュース好き？
僕はかなり好物で、毎晩お風呂上がりに必ず飲みます。
毎日かなりジャンクな生活をしているので、健康になるかな？って思い、かなり前から毎日飲んでます。

トマトジュースって、色んな種類あるの知ってる？
加塩と無塩。
そして、濃縮還元とストレート。


実際、無塩のストレートは、そのものトマトの味です。
か〜な〜り〜、おいしいよ。
トマト好きな人なら、毎日飲みたいくらい！
でも、加塩の濃縮還元って、かなり微妙なんだよね。

で、僕のお気に入りが、コレ。

<a href="http://waterbee.net/cgi-bin/weblog/image/tomato1.html" onclick="window.open('http://waterbee.net/cgi-bin/weblog/image/tomato1.html','popup','width=85,height=175,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://waterbee.net/cgi-bin/weblog/image/tomato-thumb.jpg" width="85" height="175" alt="" /></a><a href="http://waterbee.net/cgi-bin/weblog/image/tomato1.html" onclick="window.open('http://waterbee.net/cgi-bin/weblog/image/tomato1.html','popup','width=85,height=175,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://waterbee.net/cgi-bin/weblog/image/tomato-thumb.jpg" width="85" height="175" alt="" /></a><a href="http://waterbee.net/cgi-bin/weblog/image/tomato1.html" onclick="window.open('http://waterbee.net/cgi-bin/weblog/image/tomato1.html','popup','width=85,height=175,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://waterbee.net/cgi-bin/weblog/image/tomato-thumb.jpg" width="85" height="175" alt="" /></a>

これは、加塩ストレートなんだけど、か〜な〜り〜、おいしい。
トマト食べてるみたい。
でもね、コレ限定らしくて、もう近くのヤマヤに無くなっちゃった。
毎月、１ヶ月分買ってたのに、すんごくショック！！


おいしいトマトジュース知ってます？
もしくは、これ、まだどこかで買えないかな？
教えて〜〜。

スペインのトマトジュースの種類は異常な程すごかったよ。
リコピニストもびっくりです。
いいなぁ〜☆]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2010/01/post_16.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2010/01/post_16.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">050)Other</category>
        
        
         <pubDate>Fri, 08 Jan 2010 14:47:06 +0900</pubDate>
      </item>
            <item>
         <title>Restore IOS</title>
         <description><![CDATA[In case that system does not boot up since IOS is broken or missing.

<u>TFTP</u>
This is for Cisco 800 series.　Make sure IOS file is ready on TFTP site.

Check whether IOS is in flash or not.
<font color="#00ff00">boot# list</font>

<font color="#00ff00">boot# set file-name = c800-y6-mw.121-5.yc2.bin</font> (IOS name on TFTP)
<font color="#00ff00">boot# set serv-ip = 192.168.10.51</font> (IP address for TFTP)
<font color="#00ff00">boot# set unit-ip = 192.168.10.2</font> (IP address for Router)
<font color="#00ff00">boot# set netmask = 255.255.255.0</font> (Subnet mask)
<font color="#00ff00">boot# set gate-ip = 192.168.10.1</font> (In case that TFTP is on other network)

<font color="#00ff00">boot# save</font>
Save above setup.

<font color="#00ff00">boot# upload tftp</font>
Download from TFTP.

<font color="#00ff00">boot# save file = c800-y6-mw.121-5.yc2.bin</font>
Save IOS from RAM to flash

<font color="#00ff00">boot# boot</font>
]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2009/11/restore_ios.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2009/11/restore_ios.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">044)Cisco</category>
        
        
         <pubDate>Mon, 02 Nov 2009 16:23:37 +0900</pubDate>
      </item>
            <item>
         <title>Collect data for analizing</title>
         <description><![CDATA[This is how to collect data for Router and network when it is unstable.
<font color="#00ff00">
Router# show tech-support (page)</font>
You can show all results with show command at once. This is good to see a router and netowrk status with one command. <font color="#00ff00">page</font> option can show data page by page.

If you would like to see password too.
<font color="#00ff00">Router# show tech-support password</font>

<font color="#00ff00">Router# show logging</font>
Show log data which Router has output.
<font color="#00ff00">
Router(config)# logging console (level)</font>
Router can output a real time message. You need to specify below level.
<em>
level0 : emergencies
level1 : alerts
level2 : critical
level3 : errors
level4 : warnings
level5 : notifications
level6 : informational
level7 : debugging</em>

<font color="#00ff00">Router(config)# logging hostname</font> or <font color="#00ff00">IP-address</font>
You can save a log file to syslog server.

<font color="#00ff00">Router# show processes cpu</font>
You can see CPU occupancy when Router is slow.

]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2009/11/collect_data_for_analizing.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2009/11/collect_data_for_analizing.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">044)Cisco</category>
        
        
         <pubDate>Mon, 02 Nov 2009 15:26:02 +0900</pubDate>
      </item>
            <item>
         <title>Backup IOS</title>
         <description><![CDATA[This is how to backup IOS.

<u>TFTP</u>
Download TFTP software from below. This is for Mac OS X.
<a href="http://mac.softpedia.com/get/Utilities/TFTP-Server.shtml"target="_blank">http://mac.softpedia.com/get/Utilities/TFTP-Server.shtml</a>

(When uploading files to this TFTP software, a blank file has to be created first prior to upload your file from router by clicking "Create File" from menu. Otherwise you will always get a error message "Access violation". See HELP of this software for more details.)


Check which IOS is installed.
<font color="#00ff00">Router# show flash</font>

Send IOS from flash to tftp server.
<font color="#00ff00">Router# copy flash tftp
Source filename []? c800-y6-mw.121-5.yc2.bin
Address or name of remote host []? 192.168.10.50
Destination filename [c800-y6-mw.121-5.yc2.bin]?</font>

Then IOS file has been uploaded to TFTP server!!


-------------
Reference
http://atnetwork.info/ccna/copy_ios_backup.html

]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2009/10/backup_ios.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2009/10/backup_ios.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">044)Cisco</category>
        
        
         <pubDate>Tue, 27 Oct 2009 17:33:28 +0900</pubDate>
      </item>
            <item>
         <title>Setup routing</title>
         <description><![CDATA[<u>Static Routing</u>
<font color="#00ff00">Router(config)# ip route destination-network subnet-mask (address</font> or <font color="#00ff00">interface) (administrative instance) (permanent)</font>

If you input <font color="#00ff00">permanent</font>, this routing information is not deleted even though interface is shut down. 

For example,
<font color="#00ff00">Router(config)# ip route 172.16.1.0 255.255.255.0 192.168.1.1</font>

You can check this setup with below commands.
To see setup,
<font color="#00ff00">Router# show running-config</font>
To see routing info,
<font color="#00ff00">Router# show ip route</font>
To see active routing protocols,
<font color="#00ff00">Router# show ip protocols</font>

<u>Default Routing</u>
If there is no routing information for destination network on the router, all packets are sent to here. (If no setup for default routing, all packets are lost.)
<font color="#00ff00">Router(config)# ip route 0.0.0.0 0.0.0.0 (address</font> or <font color="#00ff00">interface) (administrative instance) (permanent)</font>

For example,
<font color="#00ff00">Router(config)# ip router 0.0.0.0 0.0.0.0 192.168.0.1</font>

If you would like to delete the setup,
<font color="#00ff00">Router(config)# no ip route (address</font> or <font color="#00ff00">interface) (administrative instance)</font>

Just put <font color="#00ff00">no</font> to above setup, then it will be deleted.


<strong><u>RIP</u></strong>
Set RIP as routing protocol,
<font color="#00ff00">Router(config)# router rip
Router(config-router)# network network-address</font>

For example,
<font color="#00ff00">Router(config)# router rip
Router(config-router)# network 192.168.0.0
Router(config-router)# network 192.168.1.0</font>

<u>Kill RIP auto routing update</u>
Router send a RIP information to another router every 30 seconds by UDP 520 port. It sometimes occupies network bandwidth. This is how to kill auto sending.

Only specific interface,
<font color="#00ff00">Router(config)# router rip
Router(config-router)# passive-interface interface-name</font>

Or all interfaces,
<font color="#00ff00">Router(config)# router rip
Router(config-router)# passive-interface default</font>

This is example for killing all routing update except FastEther0/0,
<font color="#00ff00">Router(config)# router rip
Router(config-router)# network 192.168.1.0
Router(config-router)# passive-interface default
Router(config-router)# no passive-interface FastEther0/0</font>

<u>Clear routing table</u>
Clear all routing table,
<font color="#00ff00">Router# clear ip route *</font>

Clear routing table only for specific network,
<font color="#00ff00">Router# clear ip router 192.168.2.0</font>


<strong><u>OSPF</u></strong>
To setup OSPF as a routing protocol,
<font color="#00ff00">Router(config)# router ospf process-ID
Router(config-router)# network network-address wild-card-mask area area-number</font>

For example,
<font color="#00ff00">Router(config-router)# network 172.16.0.0 0.0.255.255 area 0</font>

<u>Check information for OSPF neighbor</u> (check status for neighborhood routers)
<font color="#00ff00">Router# show ip ospf neighor</font>

<u>Check status for OSPF interface on router</u>
<font color="#00ff00">Router# show ip ospf interface interface-name</font>
]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2009/10/setup_routing.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2009/10/setup_routing.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">044)Cisco</category>
        
        
         <pubDate>Tue, 27 Oct 2009 14:14:42 +0900</pubDate>
      </item>
            <item>
         <title>Telnet from Cisco router</title>
         <description><![CDATA[This is how to use telnet connection from Cisco router.

<font color="#00ff00">Router# telnet IP-address</font> or <font color="#00ff00">host-name</font>

When disconnet it,
<font color="#00ff00">Router# exit</font> or <font color="#00ff00">logout</font>

<u>Show console message on telnet connection</u>
When  you login to the router from telnet, console message does not appear while it always appears when logging in from console port. This is how to activate it with telnet connection. This setup can not be saved, so you need to excute everytime as needed.
<font color="#00ff00">Router# terminal monitor</font>

<u>Disconnect forcibly</u>
If you can not disconnect from telnet because the network or router has hung up.
<font color="#00ff00">Router# Ctl + Shift + 6</font>   --->>> <font color="#00ff00">x
Router# disconnect</font>


<u>Connect with host name</u>
Yon can use host name instead of IP address. Firstly you need to map which IP address belongs to which host name.
<font color="#00ff00">Router(config)# ip host host-name IP-address</font>

For example,
<font color="#00ff00">Router(config)# ip host tokyo 192.168.10.1</font>

Then you can use this host name for telnet connection.
<font color="#00ff00">Router# telnet tokyo</font>

]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2009/10/telnet_from_cisco_router.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2009/10/telnet_from_cisco_router.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">044)Cisco</category>
        
        
         <pubDate>Wed, 21 Oct 2009 16:41:03 +0900</pubDate>
      </item>
            <item>
         <title>Setup network interface</title>
         <description><![CDATA[<u>Login to interface configuration</u>

For a fixed interface,
<font color="#00ff00">Router(config)# interface interface-type port-number</font>

For a modular interface, (which you can additionally assemble to the router)
<font color="#00ff00">Router(config)# interface interface-type slot-number/port-number</font>

For example,
<font color="#00ff00">Router(config)# interface serial 0/0</font>


<u>Activate interface</u>
<font color="#00ff00">Router(config-if)# no shutdown</font>

<u>Deactivate interface</u> (This is default)
<font color="#00ff00">Router(config-if)# shutdown</font>


<u>Setup IP address</u>
<font color="#00ff00">Router(config-if)# ip address ip-address subnet-mask</font>

For example,
<font color="#00ff00">Router(config-if)# ip address 192.168.10.1 255.255.255.0</font>

If you want to turn this setup off,
<font color="#00ff00">Router(config-if)# no ip address 192.168.10.1 255.255.255.0</font>

<u>Setup bandwidth</u>
<font color="#00ff00">Router(config-if)# bandwidth 768</font>

<u>Setup the method for capsule</u>
<font color="#00ff00">Router(config-if)# encapsulation encapsulation-type</font>

<u>Setup clock rate</u>
<font color="#00ff00">Router(config-if)# clock rate 64000</font>

<u>Setup comments</u>
<font color="#00ff00">Router(config-if)# description your-comment</font>


<u>Check interface's status</u>
<font color="#00ff00">Router# show interfaces (interface-type etc.)</font>
or
<font color="#00ff00">Router# show ip interface (interface)</font>   <<<----more details

If it is too long,
<font color="#00ff00">Router# show ip interface (interface) brief</font>

For hardware info of interface (Layer 1 : physical layer)
<font color="#00ff00">Router# show controllers (interface)</font>

<u>Clear the counter for packets, bytes, etc. in log file</u>
<font color="#00ff00">Router# clear counters</font>
Clear all.

<font color="#00ff00">Router(config-if)# clear counters Ethernet 0</font>
Clear only specific interface.
]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2009/10/setup_interface.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2009/10/setup_interface.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">044)Cisco</category>
        
        
         <pubDate>Tue, 20 Oct 2009 18:35:34 +0900</pubDate>
      </item>
            <item>
         <title>1CD Linux - Knoppix</title>
         <description><![CDATA[Windows、Mac、Linuxを使ってて、OSが壊れちゃって立ち上がらない、ってことは時々あるよね。そんなときは、ディスクを抜き出して外付けUSBとかのケースにいれれば、最悪データはサルベージできるよね。でも、やった事ある人わかるだろうけど、Windows OSの入ってるディスクをWindows XPとかにさすと、動作がかなり遅くなるよね。これはなんでだろうね。あとは、物理的にハードディスクを抜き出すのが難しい機種とか。

そんなときは、1CD　Linux のCDを作って、CDから立ち上げれば、Linux が立ち上がります。今回は、GUI。そのままWindows 感覚で、ファイルの修正や、コピーが出来るよ。かなり便利だよ！！

１）　下記サイトから、Knoppix をダウンロード。
<a href="http://unit.aist.go.jp/itri/knoppix/"target="_blank">http://unit.aist.go.jp/itri/knoppix/</a>

DVD版もあるけど、重いからパス。今回はデータ救出用なので、普通のCD版でいいよん。

２） iso ファイルをCDに書き込みます。で、出来上がったCDをPCに入れてCDから起動。

３）　これで Knoppix っていうLinux が立ち上がります。
操作はいたって簡単。Windows のGUIにかなり似てるよね。

すでに、いくつかのHDDがデスクトップに見えると思います。そして壊れたPCのHDDが物理的に壊れていないなら、普通にアクセス出来るはずです。ここでHDDが見えなかったり開かなければ、HDD本体に異常がある確率が高い。
マウントされていないときは、右クリックでマウント。


これに、USBハードディスクなどをさして、ファイルをコピーしちゃえばいいよね。
簡単〜。そして、かなり使えるよ！！！

<a href="http://waterbee.net/cgi-bin/weblog/image/knoppix.html" onclick="window.open('http://waterbee.net/cgi-bin/weblog/image/knoppix.html','popup','width=640,height=480,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://waterbee.net/cgi-bin/weblog/image/knoppix-thumb.jpg" width="300" height="225" alt="" /></a>

]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2009/10/1cd_linux_knoppix.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2009/10/1cd_linux_knoppix.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">005)Linux</category>
        
        
         <pubDate>Tue, 20 Oct 2009 13:19:13 +0900</pubDate>
      </item>
            <item>
         <title>Setup password</title>
         <description><![CDATA[This is how to setup and change password.
<u>
Enable password</u>
This is not encrypted. You can see it with <font color="#00ff00">show running-config</font>.

<font color="#00ff00">Router(config)# enable password your-password</font>

<u>Encrypted enable password</u>
<font color="#00ff00">Router(config)# enable secret your-password</font>

You can setup both or either one. Of course you should use enable secret password.

<u>Console password</u>
This is password to login from console port.

<font color="#00ff00">Router(config)# line console 0
Router(config)# config-line)# password your-password
Router(config)# login</font>   (to enable console password)
<font color="#00ff00">Router(config)# exit</font>

You need to input <font color="#00ff00">login</font> before exit. Otherwise console password is not enabled. If you skip this, you can login to console without password even though you set it up here.

<u>Telnet password</u>
<font color="#00ff00">Router(config)# line vty 0 4
Router(config)# config-line)# password your-password
Router(config)# login</font>   (to enable telnet password)
<font color="#00ff00">Router(config)# exit</font>


<u>Encrypt all password</u>
Password for Cisco router is basically written by a plan text　except enable secret password. You can check with <font color="#00ff00">show ruuning-config</font>. This is how to encrypt all passwords at once.

<font color="#00ff00">Router(config)# service password-encryption</font>

]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2009/10/setup_password.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2009/10/setup_password.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">044)Cisco</category>
        
        
         <pubDate>Mon, 19 Oct 2009 17:52:10 +0900</pubDate>
      </item>
            <item>
         <title>DHCP server</title>
         <description><![CDATA[This is how to setup DHCP server on Cisco router

In case that you would like to setup with below scenario.

Setup name : test
Default gateway : 192.168.0.1
The range of leased IP address : 192.168.0.30 - 192.168.0.199
Subnet mask : 255.255.255.0
Domain name : abc (If needed)
DNS server : 192.168.0.2 and 192.168.0.3
Lease time : 3 days


<font color="#00ff00">Router(config)# ip dhcp pool test
Router(dhcp-config)#  network 192.168.0.1 255.255.255.0
Router(dhcp-config)# default-router 192.168.0.1
Router(dhcp-config)# domain-name abc
Router(dhcp-config)# dns-server 192.168.0.2 192.168.0.3</font>
<font color="#00ff00">Router(dhcp-config)# lease 3</font> (or <font color="#00ff00">infinite</font> for forever lease)
<font color="#00ff00">Router(dhcp-config)# exit
Router(config)# ip dhcp excluded-address 192.168.0.1 192.168.0.29
Router(config)# ip dhcp excluded-address 192.168.0.200 192.168.0.254</font>

Check setup
<font color="#00ff00">Router# show running-config</font>

Check leased IP status
<font color="#00ff00">Router# show ip dhcp binding</font>]]></description>
         <link>http://waterbee.net/cgi-bin/weblog/2009/10/dhcp_server_1.html</link>
         <guid>http://waterbee.net/cgi-bin/weblog/2009/10/dhcp_server_1.html</guid>
                  <category domain="http://www.sixapart.com/ns/types#category">044)Cisco</category>
        
        
         <pubDate>Thu, 15 Oct 2009 17:35:39 +0900</pubDate>
      </item>
      
   </channel>
</rss>

