2013年5月16日 星期四

ubuntu 10.0.4 下安裝wireshark問題


 

@linux下是用flex和bison来分别代替lex和yacc的,安装直接使用命令

#apt-get install flex bison

2013年5月15日 星期三

Raspberry pi

1)網路ip設定

/etc/network/interface



2)vnc 設定

2.1):server 設定

#apt-get install tightvncserver

#vncserver

 

2.2):client 連線

 Use vnc client to connect
 UltraVNC on windows
Safari type "vnc://192.168.1.204:5901" on OSX

2013年5月13日 星期一

Windows 7 如何更改local hosts file

1.手動編輯,但會遇到權限問題,解決方法就是先使用管理帳權限開啟notepad之類的編輯軟體後,在使用他去開啟編輯hosts檔案,即可以修改存檔

c:\windows\system32\driver\etc\hosts

 

2.透過第三方軟體,例如Hostsman之類的軟體幫忙管理編輯

2013年5月8日 星期三

How Mac OS support multiple IP address

ifconfig lo0 alias 127.0.0.2

and to delete:

ifconfig lo0 -alias 127.0.0.2

How to silent install pkg or mpkg file on Mac

echo <password> | sudo -S installer -verbose -pkg your_installer_file.pkg -target /

How to convert mpkg to dmg

1. Open Disk Utility, click New Image. Create a .dmg having whatever size and other characteristics you like.

2. Copy the .mpkg into the .dmg

3. Click Burn in Disk Utility to burn the DVD.

2013年5月7日 星期二

Daiblo III MAC 1.08 更新問題

又到了暗黑三更新的時刻了,如果遇到一直無法更新成功的話,可以進入遊戲選單後,更改伺服器區域,另如先從

美洲更改到亞洲,然後馬上在更改回美洲區域,然後關閉暗黑三,在重新啟動,即會開始進行更新

Diablo3

How to restore a deleted onenote page

復原不小心誤刪的onenote