2009-07-25

Slitaz - lcdproc / lirc

http://mirror.slitaz.org/packages/cooking/
http://mirror.slitaz.org/packages/cooking/lirc-0.8.5_2.6.25.5.tazpkg
http://mirror.slitaz.org/packages/cooking/lirc-dev-0.8.5.tazpkg

lirc-0.8.5_2.6.25.5.tazpkg 2009-Jul-22 00:54:21 357.0K application/x-tazpkg
lirc-dev-0.8.5.tazpkg 2009-Jul-21 20:03:53 14.0K application/x-tazpkg

http://sourceforge.net/projects/lcdproc/files/lcdproc/0.5.3/lcdproc-0.5.3.tar.gz/download

Browse Files for LCDproc
File/Folder Name Platform Size Date Downloads Notes/Subscribe
Newest Files
lcdproc-0.5.3.tar.gz Any 869.3 KiB Sun Jun 21 2009 17:44 59 Release Notes
lcdproc-0-5-3-user-html.tar.gz Platform-Independent 92.9 KiB Sun Jun 21 2009 17:44 14 Release Notes
lcdproc-0-5-3-dev-html.tar.gz Platform-Independent 37.1 KiB Sun Jun 21 2009 17:43 12 Release Notes

http://www.mythtv.org/wiki/Futaba
.....
Futaba dm-140gink Demo

The Futaba DM-140GINK Demo is an OEM device from Futaba.

The following machines have the DM-140GINK built in:

* MSI_Media_Live, Hiper HMC-2K53A, FIC Spectra....(please add)

The DM-140GINK includes is a combined device with the following functions:

* a VFD
* a Wireless Network Interface (801.11 B/G usb device Ralink chipset RT2571WF )
* Front Panel Keys

The module is a controlled by a Weltrend WT65F5 USB Micro controller.

VFD

The current LCDproc 0.5.2 does not have support for the dm140 in the package. Henrik Larsson created this rpm with a driver for the dm140.

Henlar: Here is a LCDproc working with dm140 v0.2 have the dm140_char() fixed. It is not bug free but it works.

LCDProc 0.5.2 version with Henlar dm140 driver v0.2
https://zeb.slsp.se/daylight/lcdproc-0.5.2-henlar-v0.2.tar.gz

Quick howto:

tar xvf lcdproc-0.5.2-henlar-v0.2.tar.gz
cd lcdprov-0.5.2/
./configure --enable-drivers=dm140
make
sudo make install
edit /usr/local/etc/LCDd.conf

http://ppa.launchpad.net/pavkamlc/ubuntu/pool/main/l/lcdproc/
http://ppa.launchpad.net/pavkamlc/ubuntu/pool/main/l/lcdproc/lcdproc_0.5.2-0ubuntu2pavka5.diff.gz

Index of /pavkamlc/ubuntu/pool/main/l/lcdproc
[ICO] Name Last modified Size
[DIR] Parent Directory -
[ ] lcdproc_0.5.2-0ubuntu2pavka5.diff.gz 30-Mar-2009 16:40 26K
[ ] lcdproc_0.5.2-0ubuntu2pavka5.dsc 30-Mar-2009 16:40 1.2K
[ ] lcdproc_0.5.2-0ubuntu2pavka5_amd64.deb 30-Mar-2009 17:00 369K
[ ] lcdproc_0.5.2-0ubuntu2pavka5_i386.deb 30-Mar-2009 17:00 332K
[ ] lcdproc_0.5.2.orig.tar.gz 23-Sep-2008 22:20 803K
Apache/2.2.8 (Ubuntu) mod_ssl/2.2.8 OpenSSL/0.9.8g Server at ppa.launchpad.net Port 80

2009-07-08

Slitaz - VirtualBox / NAT / VRDP

C:\Documents and Settings\Administrator>"C:\Program Files\xVM VirtualBox\VBoxSDL.exe" --startvm slitaz-2 --vrdp 3398


C:\Documents and Settings\Administrator>"C:\Program Files\xVM VirtualBox\VBoxManage" setextradata "slitaz-2" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.


C:\Documents and Settings\Administrator>"C:\Program Files\xVM VirtualBox\VBoxManage" setextradata "slitaz-2" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.


C:\Documents and Settings\Administrator>"C:\Program Files\xVM VirtualBox\VBoxManage" setextradata "slitaz-2" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 22
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.


C:\Documents and Settings\Administrator>"C:\Program Files\xVM VirtualBox\VBoxManage" setextradata "slitaz-2" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestwww/Protocol" TCP
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.


C:\Documents and Settings\Administrator>"C:\Program Files\xVM VirtualBox\VBoxManage" setextradata "slitaz-2" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestwww/GuestPort" 80
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.


C:\Documents and Settings\Administrator>"C:\Program Files\xVM VirtualBox\VBoxManage" setextradata "slitaz-2" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestwww/HostPort" 80
VirtualBox Command Line Management Interface Version 2.2.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.


C:\Documents and Settings\Administrator\.VirtualBox\Machines\slitaz-2\slitaz-2.xml
.......

"<"ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" value="TCP"/>
"<"ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" value="22"/>
"<"ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" value="22"/>
"<"ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestwww/Protocol" value="TCP"/>
"<"ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestwww/GuestPort" value="80"/>
"<"ExtraDataItem name="VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestwww/HostPort" value="80"/>
"<"/ExtraData>

Slitaz - Conspy / VNC / Xephyr


Xephyr

http://wiki.slitaz.org/doku.php?id=quickstart:conspy

Conspy : tiny screen or VNC

Slitaz core provides the 10Kb conspy to get remote control of Linux virtual consoles. See http://ace-host.stuart.id.au/russell/files/conspy/
....

conspy as screen (session manager)
Example:

home$ ssh tux@slitazbox
box$ su
box# openvt -c 28 /bin/ash
box# conspy 28
# some commands
...
#
box# exit
box$ exit

Later:

home$ ssh tux@slitazbox
box$ su
box# conspy 28
# more commands
...
#
box# exit
box$ exit

To close the session

home$ ssh tux@slitazbox
box$ su
box# conspy 28
# exit

box# deallocvt 28
box# exit
box$ exit

If you prefer to use screen, see http://www.gnu.org/software/screen:

# tazpkg get-install screen
$ screen -S MySession

If you prefer to share the X11 display, install x11vnc (VNC server) and x11vnc-extra (java VNC client) see http://www.karlrunge.com/x11vnc/ :

SlitazBox# tazpkg get-install x11vnc
SlitazBox# tazpkg get-install x11vnc-extra
SlitazBox# /etc/init.d/x11vnc start

home$ firefox http://SlitazBox:5800/ultrasigned.vnc


http://wiki.slitaz.org/doku.php?id=lang:en:xephyr

Xephyr
Introduction

Xephyr allows you to 「run」 a X window from a chroot environment into a host environment. Then you can run a Slitaz X window into a Slitaz… I still don't know if it's really useful, but at least it's fun LOL . Actually it's a kind of virtualbox.

You need a chroot environment. Check in the handbook how to do so : http://www.slitaz.org/en/doc/handbook/chroot-env.html
Using Xephyr

First install, enter the following in a shell :

# tazpkg get-install xorg-server-Xephyr

Then in a shell from the host environment, enter :

# Xephyr -pn -ac :1.0

It'll make a new 「X window」.
Then, in a chroot shell, enter :

# export DISPLAY=:1.0

Voila ! Easy and fun isn't it?

Now you can run graphical applications from the chroot environment as :

# openbox &
# lxpanel &
# leafpad &
... and whatever you want


http://puppy.cnbits.com/node/678

遠程登錄
SliTaz已經自帶了dropbear,一個輕量級的ssh服務器,不需要怎麼配置就能用。如果希望啟動電腦時就啟動dropbear,則將其加入/etc/rcS.conf文件中的RUN_DAEMONS變量中,其他服務程序也是同樣的做法。另外在X環境下也可以用tazctrlbox來完成。dropbear和emacs的TRAMP兼容得不好,列目錄時會出現ANSI Color Codes,原因不詳,不過架個FTP服務器就行了,也不一定非要scp來傳文件的。

SliTaz的源裡也有x11-vnc,可以提供X界面的遠程VNC訪問。但我更喜歡ssh的X11 forwarding一點。下面是我從Ubuntu中訪問那台Web服務器桌面所用的腳本,需要安裝Xephyr,這樣可以不干擾本地的桌面管理器。

1. Xephyr -ac -screen 1024x768 :5 2>/dev/null &
2. DISPLAY=:5.0 ssh -X -l tux test.cnbits.co.cc openbox-session

Xephyr -ac -screen 1024x768 :5 2>/dev/null &
DISPLAY=:5.0 ssh -X -l tux test.cnbits.co.cc openbox-session

FTP
安裝pure-ftpd。之後我修改了/etc/init.d/pure-ftpd,去掉了OPTIONS中的-A參數,這樣用普通權限用戶如tux登錄後也能訪問到除$HOME以外的目錄。