Archive | system RSS for this section

set IP address manually in Synology NAS via command

1. “vi /etc/sysconfig/network-scripts/ifcfg-eth0”
With an example config below:
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=<ip address>
NETMASK=<netmask eg.255.255.240.0>
2. After modifying IPADDR and NETMASK information, use the next command for changes to take effect.
“/etc/rc.network restart”

Problem on installing Android usb driver in windows 8 64bit

Reason: Device not supported in usb driver provided by Android SDK

Solution: Find from Device vendor for signed driver or

find the device info and add it into usb driver file provided by Android SDK

example case for HTC Desire z:

1. open <androidSDK path>\sdk\extras\google\usb_driver\android_winusb.inf

– add lines:

;Desire Z
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C91
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C91&MI_01

under section [Google.NTamd64] if  using 64bit or [Google.NTx86] if using 32bit

2. shutdown /r /o

– pick reboot with troubleshooting with advance option- startup setting

ref: http://www.howtogeek.com/131916/how-to-use-the-advanced-startup-options-to-fix-your-windows-8-computer/

– when boot up, choose option 7 i.e. disable signed check

– open windows explorer, browse to  <androidSDK path>\sdk\extras\google\usb_driver\ , right click on ‘android_winusb.inf’and click ‘install’

– connect android device via usb, and run “adb.exe devices” to confirm  it’s detected.

3. restart OS back to normal mode.