[DD-WRT] saned

mount USB to /opt

Install ipkg-opt http://www.dd-wrt.com/wiki/index.php/Optware

# wget http://www.3iii.dk/linux/optware/optware-install-ddwrt.sh

# chmod 755 optware-install-ddwrt.sh

# ./optware-install-ddwrt.sh

ipkg-opt works now!!

Install library, xinetd and saned

# ipkg-opt install libtiff libjpeg libieee1284 xinetd sane-backends

# vi /opt/etc/xinetd.d/saned

service saned 
 { 
 type = UNLISTED 
 port = 6566 
 socket_type = stream 
 server = /opt/sbin/saned 
 protocol = tcp 
 user = root 
 group = root 
 wait = no 
 disable = no 
 }

fix xinetd startup issue

# vi /opt/etc/init.d/S10xinetd

unset library path before run:

unset LD_LIBRARY_PATH

fix saned startup issue

# mkdir /opt/mnt

# cp -a /etc /opt/mnt

# vi /opt/etc/init.d/S01sane-backends

mount rw etc before run:

mount /opt/mnt/etc /etc

fix libusb issue by replace libusb to /opt/lib

http://cargon.net/linux/ddwrt/libusb-0.1.so.4.4.4

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=37104&sid=a8f3e7b641abdf47b28d918ceb1f125a

http://www.right.com.cn/forum/thread-45255-1-1.html

[Ubuntu] Intel CPU Temperature Sensors

Install:

# apt-get install lm-sensors

Load module

# modprobe coretemp

My laptop CPU temperature… lol

# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +70.0°C  (crit = +96.0°C)
temp2:        +60.0°C  (crit = +113.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +66.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:       +71.0°C  (high = +100.0°C, crit = +100.0°C)

[Ubuntu] VirtualBox Install

https://www.virtualbox.org/

Install:

# dpkg -i virtualbox-4.1_4.1.22-80657~Ubuntu~precise_amd64.deb

File > Preferences > Extension >

Add : Oracle_VM_VirtualBox_Extension_Pack-4.1.22-80657.vbox-extpack

Change group to enable usb support

# usermod -a -G vboxusers <username>