The aim of this weblog.
・ 基本的にPC関連の設定備忘録
・ ゆくゆくは Knowledge Base のような感じで。
・ 間違っていたり、もっといい方法がある!、って場合はコメントください。
・ 音楽・機械・電気系も徐々にアップします。
・ あとは、忘れちゃいけないスピードキューブ!(90秒 -> 60秒 -> 30秒?)
MY DJ MIX
・ R&B 5 - Oct 2009 <Tracklist>
・ R&B 4 - Jun 2008 <Tracklist>
・ J-R&B (J-R&B & J-POP) - May 2007 <Tracklist>
・ Minimalized Timbre (Techno & Tech House) - Sep 2006 <Tracklist>
・ R&B 3 - Nov 2006 <Tracklist>
・ R&B 2 - Mar 2006 <Tracklist>
(Click above links to download MP3)
I am more than happy to DJ at your party. Please feel free to email me !!
ドメインコントローラ上で何かをインストールしようとしたら、下記エラーが出る時の対処法。(VMwareを入れようとしたらエラーがでる。)
システム管理者によって、ポリシーはこのインストールを実行できないように設定されています。
1) 管理ツールから、ドメインコントローラセキュリティーポリシーを開く。
2) 「ソフトウェアの制限のポリシー」を右クリックして、「新しいソフトウェアの制限のポリシー」を選択。
3) 「強制」をダブルクリック。
4) 「ローカルの管理者を除くすべてのユーザー」を選択して、OKで抜ける。
その後、再起動。
これで、インストール出来るはずです!!
プライマリドメインコントローラがWindows Server 2003で、それ以上のバージョンのサーバをドメインコントローラとして追加したい場合、DCの設定中に下記エラーが出ます。今回はWindows Server 2003 R2を追加DCとして入れてみました。
次のエラーにより、操作に失敗しました:
Windows Server 2003 のインストール用にフォレストが準備されていないために Active Directory インストールウィザードを続行できません。
Adprep コマンドラインツールを使ってフォレストおよびドメインの両方を準備してください。
"ソースフォレストの Active Directory スキーマのバージョンはこのコンピュータの Active Directory のバージョンと互換性がありません。"
この場合は、プライマリドメインコントローラのスキーマのバージョンをアップデートしてあげればOK。
スキーマのバージョンはココからチェック出来ます。
1) ファイル名を指定して実行から、adsiedit.msc を起動。
2) [CN=Schema,CN=Configuration,DC=<ドメイン名>] を右クリックし、プロパティ。
3) objectVersion をチェック。
objectVersion - OS
13 - Windows 2000 Server
30 - Windows Server 2003
31 - Windows Server 2003 R2
44 - Windows Server 2008
今回は、30から31にバージョンアップします。
1) Windows Server 2003 R2 のディスク2をプライマリドメインコントローラに入れる。
2) DOS窓を開いて、下記のディレクトリまで移動。
cd D:\CMPNENTS\R2\ADPREP
3) ここで、下記を実行。
adprep.exe /forestprep
これでスキーマがバージョンアップします。その後、ドメインコントローラの追加。
-------------------
Reference
http://support.microsoft.com/kb/917385/ja
開けましておめでとうございます〜。
みなさまお元気でしょうか?
年末年始は、ヨーロッパの色々な国を、ブラブラしておりました。
スペイン最高!ホント住みたい!
ベルギーも良かった〜。
で、みなさん、トマトジュース好き?
僕はかなり好物で、毎晩お風呂上がりに必ず飲みます。
毎日かなりジャンクな生活をしているので、健康になるかな?って思い、かなり前から毎日飲んでます。
トマトジュースって、色んな種類あるの知ってる?
加塩と無塩。
そして、濃縮還元とストレート。
実際、無塩のストレートは、そのものトマトの味です。
か〜な〜り〜、おいしいよ。
トマト好きな人なら、毎日飲みたいくらい!
でも、加塩の濃縮還元って、かなり微妙なんだよね。
で、僕のお気に入りが、コレ。
これは、加塩ストレートなんだけど、か〜な〜り〜、おいしい。
トマト食べてるみたい。
でもね、コレ限定らしくて、もう近くのヤマヤに無くなっちゃった。
毎月、1ヶ月分買ってたのに、すんごくショック!!
おいしいトマトジュース知ってます?
もしくは、これ、まだどこかで買えないかな?
教えて〜〜。
スペインのトマトジュースの種類は異常な程すごかったよ。
リコピニストもびっくりです。
いいなぁ〜☆
In case that system does not boot up since IOS is broken or missing.
TFTP
This is for Cisco 800 series. Make sure IOS file is ready on TFTP site.
Check whether IOS is in flash or not.
boot# list
boot# set file-name = c800-y6-mw.121-5.yc2.bin (IOS name on TFTP)
boot# set serv-ip = 192.168.10.51 (IP address for TFTP)
boot# set unit-ip = 192.168.10.2 (IP address for Router)
boot# set netmask = 255.255.255.0 (Subnet mask)
boot# set gate-ip = 192.168.10.1 (In case that TFTP is on other network)
boot# save
Save above setup.
boot# upload tftp
Download from TFTP.
boot# save file = c800-y6-mw.121-5.yc2.bin
Save IOS from RAM to flash
boot# boot
This is how to collect data for Router and network when it is unstable.
Router# show tech-support (page)
You can show all results with show command at once. This is good to see a router and netowrk status with one command. page option can show data page by page.
If you would like to see password too.
Router# show tech-support password
Router# show logging
Show log data which Router has output.
Router(config)# logging console (level)
Router can output a real time message. You need to specify below level.
level0 : emergencies
level1 : alerts
level2 : critical
level3 : errors
level4 : warnings
level5 : notifications
level6 : informational
level7 : debugging
Router(config)# logging hostname or IP-address
You can save a log file to syslog server.
Router# show processes cpu
You can see CPU occupancy when Router is slow.
This is how to backup IOS.
TFTP
Download TFTP software from below. This is for Mac OS X.
http://mac.softpedia.com/get/Utilities/TFTP-Server.shtml
(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.
Router# show flash
Send IOS from flash to tftp server.
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]?
Then IOS file has been uploaded to TFTP server!!
-------------
Reference
http://atnetwork.info/ccna/copy_ios_backup.html
Static Routing
Router(config)# ip route destination-network subnet-mask (address or interface) (administrative instance) (permanent)
If you input permanent, this routing information is not deleted even though interface is shut down.
For example,
Router(config)# ip route 172.16.1.0 255.255.255.0 192.168.1.1
You can check this setup with below commands.
To see setup,
Router# show running-config
To see routing info,
Router# show ip route
To see active routing protocols,
Router# show ip protocols
Default Routing
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.)
Router(config)# ip route 0.0.0.0 0.0.0.0 (address or interface) (administrative instance) (permanent)
For example,
Router(config)# ip router 0.0.0.0 0.0.0.0 192.168.0.1
If you would like to delete the setup,
Router(config)# no ip route (address or interface) (administrative instance)
Just put no to above setup, then it will be deleted.
RIP
Set RIP as routing protocol,
Router(config)# router rip
Router(config-router)# network network-address
For example,
Router(config)# router rip
Router(config-router)# network 192.168.0.0
Router(config-router)# network 192.168.1.0
Kill RIP auto routing update
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,
Router(config)# router rip
Router(config-router)# passive-interface interface-name
Or all interfaces,
Router(config)# router rip
Router(config-router)# passive-interface default
This is example for killing all routing update except FastEther0/0,
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
Clear routing table
Clear all routing table,
Router# clear ip route *
Clear routing table only for specific network,
Router# clear ip router 192.168.2.0
OSPF
To setup OSPF as a routing protocol,
Router(config)# router ospf process-ID
Router(config-router)# network network-address wild-card-mask area area-number
For example,
Router(config-router)# network 172.16.0.0 0.0.255.255 area 0
Check information for OSPF neighbor (check status for neighborhood routers)
Router# show ip ospf neighor
Check status for OSPF interface on router
Router# show ip ospf interface interface-name
This is how to use telnet connection from Cisco router.
Router# telnet IP-address or host-name
When disconnet it,
Router# exit or logout
Show console message on telnet connection
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.
Router# terminal monitor
Disconnect forcibly
If you can not disconnect from telnet because the network or router has hung up.
Router# Ctl + Shift + 6 --->>> x
Router# disconnect
Connect with host name
Yon can use host name instead of IP address. Firstly you need to map which IP address belongs to which host name.
Router(config)# ip host host-name IP-address
For example,
Router(config)# ip host tokyo 192.168.10.1
Then you can use this host name for telnet connection.
Router# telnet tokyo
Login to interface configuration
For a fixed interface,
Router(config)# interface interface-type port-number
For a modular interface, (which you can additionally assemble to the router)
Router(config)# interface interface-type slot-number/port-number
For example,
Router(config)# interface serial 0/0
Activate interface
Router(config-if)# no shutdown
Deactivate interface (This is default)
Router(config-if)# shutdown
Setup IP address
Router(config-if)# ip address ip-address subnet-mask
For example,
Router(config-if)# ip address 192.168.10.1 255.255.255.0
If you want to turn this setup off,
Router(config-if)# no ip address 192.168.10.1 255.255.255.0
Setup bandwidth
Router(config-if)# bandwidth 768
Setup the method for capsule
Router(config-if)# encapsulation encapsulation-type
Setup clock rate
Router(config-if)# clock rate 64000
Setup comments
Router(config-if)# description your-comment
Check interface's status
Router# show interfaces (interface-type etc.)
or
Router# show ip interface (interface) <<<----more details
If it is too long,
Router# show ip interface (interface) brief
For hardware info of interface (Layer 1 : physical layer)
Router# show controllers (interface)
Clear the counter for packets, bytes, etc. in log file
Router# clear counters
Clear all.
Router(config-if)# clear counters Ethernet 0
Clear only specific interface.
Windows、Mac、Linuxを使ってて、OSが壊れちゃって立ち上がらない、ってことは時々あるよね。そんなときは、ディスクを抜き出して外付けUSBとかのケースにいれれば、最悪データはサルベージできるよね。でも、やった事ある人わかるだろうけど、Windows OSの入ってるディスクをWindows XPとかにさすと、動作がかなり遅くなるよね。これはなんでだろうね。あとは、物理的にハードディスクを抜き出すのが難しい機種とか。
そんなときは、1CD Linux のCDを作って、CDから立ち上げれば、Linux が立ち上がります。今回は、GUI。そのままWindows 感覚で、ファイルの修正や、コピーが出来るよ。かなり便利だよ!!
1) 下記サイトから、Knoppix をダウンロード。
http://unit.aist.go.jp/itri/knoppix/
DVD版もあるけど、重いからパス。今回はデータ救出用なので、普通のCD版でいいよん。
2) iso ファイルをCDに書き込みます。で、出来上がったCDをPCに入れてCDから起動。
3) これで Knoppix っていうLinux が立ち上がります。
操作はいたって簡単。Windows のGUIにかなり似てるよね。
すでに、いくつかのHDDがデスクトップに見えると思います。そして壊れたPCのHDDが物理的に壊れていないなら、普通にアクセス出来るはずです。ここでHDDが見えなかったり開かなければ、HDD本体に異常がある確率が高い。
マウントされていないときは、右クリックでマウント。
これに、USBハードディスクなどをさして、ファイルをコピーしちゃえばいいよね。
簡単〜。そして、かなり使えるよ!!!

