2013年6月21日 星期五

Network Troubleshooting Tools, IPv4 and IPv6

A summary of various troubleshooting commands for common client operating systems for both IPv4 and IPv6.

Apple OS X, *BSD

Ping for IPv4/sbin/ping
Ping for IPv6/sbin/ping6
Traceroute for IPv4/usr/sbin/traceroute
Traceroute for IPv6/usr/sbin/traceroute6
Interface Info/sbin/ifconfig
IPv4 Route table/usr/sbin/netstat -f inet -rn
IPv6 Route table/usr/sbin/netstat -f inet6 -rn
IPv4 arp table/usr/sbin/arp -an
IPv6 ndp table/usr/sbin/ndp -an

Windows: Vista, 7, Server 2008 and higher

Ping for IPv4ping -4
Ping for IPv6ping -6
Traceroute for IPv4tracert -4
Traceroute for IPv6tracert -6
Interface Infoipconfig /all
IPv4 Route tablenetsh interface ipv4 show route
IPv6 Route tablenetsh interface ipv6 show route
IPv4 arp tablearp -a
IPv6 ndp tablenetsh interface ipv6 show neighbors

Linux

Ping for IPv4ping
Ping for IPv6ping6
Traceroute for IPv4traceroute -4
Traceroute for IPv6traceroute -6
Interface Infoip address show
IPv4 Route tablenetstat -A inet -rn
IPv6 Route tablenetstat -A inet6 -rn
IPv4 arp tablearp -an
IPv6 ndp tableip -6 neighbor show
Notes:
  • Paths differ between distributions.
  • traceroute6 is usually installed as a hard link to traceroute and defaults to using the -6 flag. Forcing the -4 or -6 options is useful to make sure you are using the correct ip version during troubleshooting.

Solaris

Ping for IPv4/usr/sbin/ping -A inet
Ping for IPv6/usr/sbin/ping -A inet6
Traceroute for IPv4/usr/sbin/traceroute -A inet
Traceroute for IPv6/usr/sbin/traceroute -A inet6
Interface Info/bin/netstat -ain
IPv4 Route table/bin/netstat -f inet -rn
IPv6 Route table/bin/netstat -f inet6 -rn
IPv4 arp table/bin/netstat -pn -f inet
IPv6 ndp table/bin/netstat -pn -f inet6

2013年6月2日 星期日

在MAC OS上開啟su 最高權限設定

啟動root作法如下:

1.在$後鍵入sudo passwd root
按下

2.看到提示 Password:
輸入你個人的管理者密碼

3.接著看到
Changing password for root.
New password:
輸入root要使用的新密碼,然後在驗證一次

4.已經啟動root帳號了

往後只需輸入su再輸入password,就可登入root

2013年5月29日 星期三

T428 官方韌體更新 刷機教學說明

刷機工具 Flash tool:
RK3188 驅動程式 USB drivers:
5/28 釋出

1.首先先按住T428側邊的按鈕,

2.MicroUSB接上T428, USB接上PC

3.此時PC上會發現到新裝置後,裝上上面連結所提供的RK3188 USB驅動程式.


4.安裝驅動程式完畢後,打開下載回來刷機工具(flash tool),並選擇欲刷入之韌體檔案(update.img)
5.若有RK3188 USB成功驅動時,刷機工具程式下方Connected Devices 出現下圖綠色狀態   .

6.執行"Restroe" ,則自動開始刷機流程

8.等待出現下圖即刷機完成.

PS.(首次開機會比較久)

2013年5月11日 星期六

What firewall ports need to be open for AirPlay to work?



The ports that need to be opened are:
 
Port Number
Type
Protocol
RFC
Used by
80
TCP
HTTP
2616
AirPlay
443
TCP
HTTPS
-
AirPlay
554
UDP / TCP
RTSP
2326
AirPlay
3689
TCP
DAAP
-
iTunes Music Sharing / AirPlay
5297
TCP
-
-
Bonjour
5289
TCP / UDP
-
-
Bonjour
5353
UDP
MDNS
-
Bonjour / AirPlay
49159
UDP
MDNS (Windows)
-
Bonjour / AirPlay
49163
UDP
MDNS (Windows)
-
Bonjour / AirPlay

2013年5月8日 星期三

RK3188 取得Root權限方法 (Tromsmart T428)


方法:
1 打開 USB Debugging (Settings –> Developer Options)
2 透過USB連接你的RK3188裝置到你的電腦.
3 此時電腦將會通知偵測到新的硬體,請下載下面網址所提供之驅動程式並安裝之:
4 安裝完驅動程式之後,請下載下面的root工具:
5 解壓縮後,請點擊“ TPSparkyRoot.bat” 完成所指示的步驟後重新開機.你的設備就已經取得root權限了!

How to repair and clone disk with ddrescue

  ddrescue  is a tool that can be used to repair and clone disks on a  Linux system . This includes hard drives, partitions, DVD discs, flas...