Showing posts with label misc. Show all posts
Showing posts with label misc. Show all posts

2015-05-14

grus4dos : map --mem option

map --mem option
https://github.com/chenall/grub4dos/blob/master/README_GRUB4DOS.txt#L3136 

***                  The CDROM emulation (virtualization)               ***
*****************************************************************

The CDROM emulation is sometimes called ISO emulation. Here is an example:

map  (hd0,0)/myiso.iso  (hd32)
map  --hook
chainloader  (hd32)
boot

if myiso.iso is not contiguous and you have enough memory, add a --mem option:

map  --mem  (hd0,0)/myiso.iso  (hd32)
map  --hook
chainloader  (hd32)
boot

Note: (hd32) is a grub drive number equivalent to (0xA0). If a virtual drive is
specified with a drive number greater than or equal to 0xA0, then it will be
treated as a cdrom (i.e., with 2048-byte big sectors).

Like normal disk emulations, the CDROM emulation also (mainly) works with
real-mode OSes. After a protected-mode OS kernel (such as
WinNT/2K/XP/VISTA/LINUX) gains control, the OS would have no ability to access
the virtual CDROM through BIOS int13.

DOS/Win9x users may google for ELTORITO.SYS and use it in CONFIG.SYS as a
device driver for the virtual cdrom.

Example usage of eltorito.sys in CONFIG.SYS:

device=eltorito.sys /D:oemcd001

Corresponding MSCDEX command which can be placed in AUTOEXEC.BAT:

MSCDEX /D:oemcd001 /L:D


Due to some bugs found in eltorito.sys, the driver could fail to load. If you
encounter such problems, then you may replace (hd32) with (0xFF) for the
virtual cdrom drive number and try again.

2013-11-14

Slitaz -- lsof

lsof (list open files)

How to find what program or service is listening on ports

1.
root@slitaz:/home/tux# lsof -Pnl +M -i4
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
dropbear 1406 0 3u IPv4 4317 0t0 TCP *:22 (LISTEN)
Xorg 1433 0 3u IPv4 4504 0t0 TCP *:6000 (LISTEN)
firefox 1539 1000 45u IPv4 32787 0t0 TCP 192.168.1.30:58613->173.194.72.189:443 (ESTABLISHED)

-P no port names
-l list UID numbers
-n no host names
-i select IPv[46] files
+|-M portMap registration (-)

2.
root@slitaz:/home/tux# netstat -nltp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 1433/Xorg
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1406/dropbear
root@slitaz:/home/tux#

Slitaz -- speedtest-cli

speedtest-cli

Command line interface for testing internet bandwidth using speedtest.net

1.
root@slitaz:/home/tux# date
Fri Nov 15 09:41:17 CST 2013

2.
root@slitaz:/home/tux# wget --no-check-certificate  https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py 
--2013-11-15 09:39:51--  https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
Resolving raw.github.com (raw.github.com)... 103.245.222.133
Connecting to raw.github.com (raw.github.com)|103.245.222.133|:443... connected.
WARNING: cannot verify raw.github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 16485 (16K) [text/plain]
Saving to: `speedtest_cli.py'

100%[======================================>] 16,485      --.-K/s   in 0.07s  

2013-11-15 09:39:52 (226 KB/s) - `speedtest_cli.py' saved [16485/16485]

3.
root@slitaz:/home/tux# chmod 755 speedtest_cli.py

4.
root@slitaz:/home/tux# ./speedtest_cli.py
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from CHTD, Chunghwa Telecom Co., Ltd. (1.165.xx.xx)...
Selecting best server based on ping...
Hosted by Far EasTone Telecommunications Co., Ltd (Taoyuan) [30.61 km]: 12.398 ms
Testing download speed........................................
Download: 29.64 Mbit/s
Testing upload speed..................................................
Upload: 2.98 Mbit/s
root@slitaz:/home/tux#

root@slitaz:/home/tux# ./speedtest_cli.py
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from CHTD, Chunghwa Telecom Co., Ltd. (61.224.xx.xx)...
Selecting best server based on ping...
Hosted by Taiwan Fixed Network (Taichung) [1.67 km]: 14.067 ms
Testing download speed........................................
Download: 39.70 Mbit/s
Testing upload speed..................................................
Upload: 2.90 Mbit/s
root@slitaz:/home/tux#

2013-11-05

Debian HCL




Debian HCL (Hardware Compatibility List) Web system

Debian GNU/Linux device driver check page

Boot your machine with a GNU/Linux OS (such as Debian, Knoppix, Redhat, and so on), run 'lspci -n' and paste the output into the box below, then press 'Check' button.

Notice:
  • This database uses the PCI map of Debian kernel 3.2.0-4-amd64 .
  • The result does NOT guarantee your hardware works perfectly.
  • This database only verifies the PCI devices at this time. X drivers, ISA, USB, IEEE1394 or any other devices are out of the focus. 

2013-09-18

Google URL Shortener


Google URL Shortener
http://goo.gl/

All goo.gl URLs and click analytics are public and can be accessed by anyone.

Shorten, share and track your shortened URLs.
goo.gl allows you to track, in real-time, the clicks and referrers on any shortened URL - a perfect tool to help you understand what appeals to your audience and to help you optimize your social, email, and other click-through campaigns.


LONG URL CREATED SHORT URL CLICKS
docs.google.com/... 13 days ago goo.gl/P1Zuws Details 30

2013-08-06

Slitaz -- guvcview



A simple GTK interface for capturing and viewing video from webcams.

Bus 002 Device 004: ID 1b3f:2002 Generalplus Technology Inc.


1.
root@slitaz:~# tazpkg -gi linux-media
root@slitaz:~# tazpkg -gi guvcview


2.
root@slitaz:~# tazpkg info guvcview

Tazpkg information
===========================================================================
Package    : guvcview
Version    : 1.6.1
Category   : multimedia
Short desc : A simple GTK interface for capturing and viewing video from webcams.
Maintainer : claudinei@slitaz.org
Depends    : gtk+3 portaudio ffmpeg libsdl libv4l libgudev
Build deps : gtk+3-dev portaudio-dev ffmpeg-dev libsdl-dev libv4l-dev libgudev-dev
Web site   : http://guvcview.sourceforge.net
===========================================================================


3.
root@slitaz:~# modprobe uvcvideo

root@slitaz:~# lsmod | head -4
Module                  Size  Used by    Not tainted
uvcvideo               47186  0
videodev               57227  1 uvcvideo
media                   6773  2 uvcvideo,videodev


4.
root@slitaz:~# dmesg | tail -12
Linux media interface: v0.10
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
hub 2-0:1.0: unable to enumerate USB device on port 3
hub 2-0:1.0: unable to enumerate USB device on port 3
usb 2-3: new high-speed USB device number 5 using ehci_hcd
uvcvideo: Found UVC 1.00 device GENERAL - UVC  (1b3f:2002)
uvcvideo: Forcing device quirks to 0x2 by module parameter for testing purpose.
uvcvideo: Please report required quirks to the linux-uvc-devel mailing list.
uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
input: GENERAL - UVC  as /devices/pci0000:00/0000:00:1d.7/usb2/2-3/2-3:1.0/input/input3

root@slitaz:~# lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0002
Bus 003 Device 001: ID 1d6b:0001
Bus 004 Device 001: ID 1d6b:0001
Bus 005 Device 001: ID 1d6b:0001
Bus 006 Device 001: ID 1d6b:0001
Bus 007 Device 001: ID 1d6b:0001
Bus 004 Device 002: ID 046d:c517
Bus 002 Device 005: ID 1b3f:2002


5.
Applications --> Multimedia --> guvcview


Ref:
https://wiki.archlinux.org/index.php/Webcam_Setup



32630-198HDMI-V2 2012.04.24
 
Считана: MiniProg TL866A
CPU / MCU: GPCV3212 A-003A-QL091-1222 MASLPO
EEPROM / FLASH: HY57V641620HG / GD25Q80BSIG


2013-05-20

GW2450HM




http://www.tftcentral.co.uk/reviews/benq_gw2450hm.htm

Specifications and Features
The following table gives detailed information about the specs of the screen:

Monitor Specifications
Size
24"WS
Panel Coating
Anti-glare (matte)
Aspect Ratio
16:9
Interfaces
D-sub, DVI-D, HDMI (with HDCP)
Resolution
1920 x 1080
Pixel Pitch
0.276 mm
Design colour
Glossy black plastic bezel and stand
Response Time
4ms G2G (12ms ISO)
Ergonomics
-5° ~ 15° Tilt adjustment only
Static Contrast Ratio
5000:1
DynamicContrast Ratio
20 million:1
VESA Compatible
Yes 100mm
Brightness (cd/m2)
250
Accessories
VGA cable, power cable, audio cable
Viewing Angles
178/178
Panel Technology
AMVA
Weight
Net weight: 4.1Kg
Backlight Technology
W-LED
Physical Dimensions
 
(WxHxD with stand)
580 x 437 x 181 mm
Colour Depth
16.7m (8-bit)
Colour Gamut
Standard gamut (~sRGB)
72% NTSC
Special Features
2 x 2W integrated stereo speakers



2012-04-09

Slitaz-4.0-RC3




 Update:

SliTaz 4.0 RC3 is out — 18 Mar 2012 (34.5M)
http://mirror.slitaz.org/iso/cooking/slitaz-4.0-RC3.iso

SliTaz 4.0 Releases Notes (draft)
http://doc.slitaz.org/relnotes

Overview/ChangeLog

Welcome to SliTaz 4.0! Modern, secure, stable, fast and flexible the new SliTaz stable version is now out for Desktops and servers in production use.

More than 6500 commits in the wok
More than 1000 packages added to database
Boot in 10 seconds [or less?] on a very recent machine
Centralized configuration with the new control panel
New build tool which lets you create SliTaz packages in a minute
New rolling release ISO is built after each package cook
New installer

2012-02-24

Slitaz 4.0 -RC1




23 Feb 2012 - SliTaz 4.0 -RC1 is out

The SliTaz contributor team is pleased to announce the immediate availability of the first release candidate for SliTaz 4.0. SliTaz can boot in 10-12 seconds on fairly new hardware and with the new 4in1 ISO you can install a full SliTaz desktop with only 48MB of RAM. The 4in1 ISO is able to auto detect the memory and can boot SliTaz in text mode, a minimal X environment or a full graphical desktop.

SliTaz 4.0 will have more than 3000 well tested packages in its repository and the RC series lets us track the latest bugs. From our last Cooking release the packages have all been rebuilt twice to ensure build quality.

This RC1 ISO will prompt you with a new graphical menu and a graphical language and keyboard set up. The ISO features a new desktop layout and artwork as well as a new command line installer with a CGI/web interface accessible via TazPanel. You can download this new ISO from our mirror: SliTaz 4.0-RC1

2012-02-21

Slitaz -- Timeline for 4.0

Timeline for 4.0
  • Make a RC in February, Erjo is in charge and I'll help him
  • Wait 2 weeks and make another RC
  • Wait 2 weeks again and make 4.0 (release process takes about 48 hours)

SliTaz 4.0 Releases Notes (draft)

Overview/ChangeLog

Welcome to SliTaz 4.0! Modern, secure, stable, fast and flexible the new SliTaz stable version is now out for Desktops and servers in production use.
  • More than 6500 commits in the wok
  • More than 1000 packages added to database
  • Boot in 10 seconds on very recent machine
  • Centralized configuration with the new control panel
  • New build tool which let you create SliTaz packages in a minute
.

2012-02-12

Slitaz -- hwclock

Usage: hwclock [-r|--show] [-s|--hctosys] [-w|--systohc]

-s Set system time from hardware clock
-w Set hardware clock to system time
??

tux@slitaz:~$ hwclock --help

Command line: hwclock --help

BusyBox v1.18.4 (2012-01-24 12:31:29 CET) multi-call binary.

Usage: hwclock [-r|--show] [-s|--hctosys] [-w|--systohc] [-l|--localtime] [-u|--utc] [-f FILE]

Query and set hardware clock (RTC)

Options:
-r Show hardware clock time
-s Set system time from hardware clock
-w Set hardware clock to system time
-u Hardware clock is in UTC
-l Hardware clock is in local time
-f FILE Use specified device (e.g. /dev/rtc2)

tux@slitaz:~$

Slitaz -- numlock

Activate numlock when slim starts.

1.
tux@slitaz:~$ grep numlock /etc/slim.conf
# Activate numlock when slim starts. Valid values: on|off
# numlock on

2.
tux@slitaz:~$ sudo sed -i 's/# numlock/numlock/' /etc/slim.conf

3.
tux@slitaz:~$ grep numlock /etc/slim.conf
# Activate numlock when slim starts. Valid values: on|off
numlock on
tux@slitaz:~$

Slitaz -- lxpanel

lxpanel: expecting Plugin section
lxpanel: can't start panel

1.
tux@slitaz:~$ lxpanel --profile slitaz &
tux@slitaz:~$ lxpanel: unknown block Plugin
lxpanel: expecting Plugin section
lxpanel: can't start panel

2.
tux@slitaz:~$ rm -fr ~/.config/lxpanel

3.
logout & relogin



2011-11-30

Slitaz -- ctrl_alt_bksp

Ctrl-Alt-Backspace / ctrl_alt_bksp

Ref:
http://alanyih.blogspot.com/2010/05/slitaz-setxkbmap.html


Extract from:
https://wiki.archlinux.org/index.php/Xorg

[..]
Ctrl-Alt-Backspace does not work

There are two ways of restoring Ctrl+Alt+Backspace; with and without input-hotplugging. Using hot-plugging is recommended.
With input hot-plugging
System-wide

Within /etc/X11/xorg.conf.d/10-evdev.conf, simply add the following:

Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Note: On KDE, this system-wide setting has no effect. To restore, go to Kickoff > Computer > System Settings which will open up the System Settings window. Click on 'Input Devices'. In this new window click the Keyboard tab and then click on the advanced tab. In this new window, click the box for 'Configure keyboard options.' Expand the entry for 'Key sequence to kill the X server' and ensure Control + Alt + Backspace is checked. Click Apply and close the System Settings window. You now have your CTRL-ALT-Backspace back in KDE.
User-specific

Another way is to put this line in xinitrc:

setxkbmap -option terminate:ctrl_alt_bksp

Note: This setting has no effect on Gnome 3.
Without input hot-plugging

New Xorg disables zapping with Ctrl+Alt+Backspace by default. You can enable it by adding the following line to /etc/X11/xorg.conf,

Option "XkbOptions" "terminate:ctrl_alt_bksp"

to InputDevice section for keyboard.

2011-07-04

Slitaz -- kids





slitaz-kids.iso   2011-Jun-26 12:06:23   65.0M

file:///usr/share/doc/slitaz/kids.en.html

http://hg.slitaz.org/flavors/raw-file/7894ae01d959/kids/rootfs/usr/share/doc/slitaz/kids.en.html

SliTaz Kids


SliTaz for kids :-)

Welcome to the SliTaz Kids flavor. This version of SliTaz provide a an easy to use an intuitive desktop for kids older than 5 years. This is the first version, any feedback and wisheses can be done on the SliTaz Forum
It let the child play educational games, listen to music, write text documents and view or create images. The desktop use Openbox window manager, wbar for the icons bar and Nitrogen to set background images. The child can also manage is files with PCmanFM, wich is a standard and simple file manager.

Applications

  • Games: Childsplay
  • Math: Tuxmath
  • Music: Alsaplayer
  • Write: Xournal
  • Paint: MtPaint
  • Images: GQview
As on a standard SliTaz system you can install some more applications with the packages manager Tazpkg. Allowed applications for the child are on the icons bar and can also be in the Openbox menu, this let the admin choose wich applications are avalaible or not.

Desktop

The desktop introduce to a standard desktop (floating windows, tasks bar) with some large and accessible icons but no menu and no files on the desktop). Any mouse click wil popup a small menu with shortcuts to applications, an item to start a slideshow with all images in ~/Images, an admin menu as well as a logout and shutdow item.
If you want a task bar with a clock and notifycation support, you can start tint2 from command line to try it and add it to Openbox start script to get it run on each session.

Music

The defaut icons bar have an icon to play music with alsaplayer, when opened the child must click on the play button to start. The playlist is simply all the sound files found in ~/Music, so you just have to drop songs in this folder to add some songs for childs.

Childsplay alphabet in your language

Childsplay can use voices from Gcompris for the alphabet. We may have support for out-out-the-box for some languages in future version. For now you must install the appropriate Gcompris voices package and create a symlink, exemple for French localisation:
# tazpkg -i gcompris-voices-fr
# ln -s /usr/share/gcompris/boards/voices/fr/alphabet \
 /usr/share/sp_alphabetsounds/fr

2011-06-23

Slitaz -- glib-networking


TLS/SSL support not available; install glib-networking

root@slitaz:~# tazpkg info glib-networking

Tazpkg information
================================================================================
Package    : glib-networking
Version    : 2.28.7
Category   : x-window
Short desc : TLS support for glib.
Maintainer : pankso@slitaz.org
Depends    : glib libgio libgnutls
Build deps : glib-dev libgio-dev gnutls-dev intltool automake autoconf git
Web site   : http://www.gtk.org/
================================================================================

Error - https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fui%3Dhtml%26zy%3Dl&bsv=llya694le36z&scc=1&ltmpl=default&ltmplcache=2&from=login

The page 'https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fui%3Dhtml%26zy%3Dl&bsv=llya694le36z&scc=1&ltmpl=default&ltmplcache=2&from=login' couldn't be loaded.

TLS/SSL support not available; install glib-networking

Slitaz -- review / youtube-dl

tux@slitaz:~$ tazpkg info youtube-dl

Tazpkg information
================================================================================
Package    : youtube-dl
Version    : 2011.03.29
Category   : utilities
Short desc : Downloads videos from various streaming websites.
Maintainer : gokhlayeh@slitaz.org
Depends    : python
Build deps : wget
Web site   : http://rg3.github.com/youtube-dl/
================================================================================

tux@slitaz:~$

youtube-dl  [http://rg3.github.com/youtube-dl/ ]
Download videos from YouTube.com (and mores sites...)
youtube-dl is a small command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter, version 2.x (x being at least 5), and it is not platform specific. It should work in your Unix box, in Windows or in Mac OS X. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.

SliTaz GNU/Linux Cooking 20110531 Review
ItchyHippo  | 2011-05-31

tux@slitaz:~$ youtube-dl http://www.youtube.com/watch?v=3jt3th_nhbE
[youtube] Setting language
[youtube] 3jt3th_nhbE: Downloading video webpage
[youtube] 3jt3th_nhbE: Downloading video info webpage
[youtube] 3jt3th_nhbE: Extracting video information
[download] Destination: 3jt3th_nhbE.mp4
[download] 100.0% of 58.08M at  239.74k/s ETA 00:00
tux@slitaz:~$ ls -lh *.mp4
-rw-r--r--    1 tux      users      58.1M Jun  1 08:07 3jt3th_nhbE.mp4

tux@slitaz:~$

2011-05-16

Slitaz -- nfs / rpcinfo


root@slitaz:~# tazpkg info glibc-dev


Tazpkg information
====================================================================
Package : glibc-dev
Version : 2.13
Category : development
Short desc : The GNU C libraries devel files (Part of SliTaz toolcha
Maintainer : pankso@slitaz.org
Depends : glibc-base
Wanted src : glibc
Web site : http://www.gnu.org/software/libc/
====================================================================

root@slitaz:~# tazpkg info rpcbind

Tazpkg information
====================================================================
Package : rpcbind
Version : 0.2.0
Category : network
Short desc : RPC program numbers to universal addresses converter.
Maintainer : pascal.bellard@slitaz.org
Depends : libtirpc
Build deps : libtirpc-dev
Web site : http://rpcbind.sourceforge.net/
====================================================================

1.
root@slitaz:~# which rpcinfo
/usr/sbin/rpcinfo
root@slitaz:~# tazpkg search-file rpcinfo

Search result for file rpcinfo
======================================================================

Package glibc-dev:
/usr/sbin/rpcinfo

Package rpcbind:
/usr/bin/rpcinfo

======================================================================
2 file(s) found for: rpcinfo

2.
root@slitaz:~# ls -l /usr/bin/rpcinfo /usr/sbin/rpcinfo
-rwxr-xr-x 1 root root 21452 Feb 26 23:29 /usr/bin/rpcinfo
-rwxr-xr-x 1 root root 13736 Feb 24 04:36 /usr/sbin/rpcinfo

3.
root@slitaz:~# echo $PATH
/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/sbin:/usr/local/bin

4.
root@slitaz:~# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 3 udp 2049 nfs
100003 3 tcp 2049 nfs
100005 1 udp 2049 mountd
100005 3 udp 2049 mountd
100005 1 tcp 2049 mountd
100005 3 tcp 2049 mountd
100021 1 udp 48911 nlockmgr
100021 3 udp 48911 nlockmgr
100021 4 udp 48911 nlockmgr
100021 1 tcp 35925 nlockmgr
100021 3 tcp 35925 nlockmgr
100021 4 tcp 35925 nlockmgr

root@slitaz:~# /usr/bin/rpcinfo -p
rpcinfo: can't contact portmapper: RPC: Remote system error - No sucrectory
root@slitaz:~# /usr/bin/rpcinfo -p slitaz
program vers proto port service
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100003 3 udp 2049 nfs
100003 3 tcp 2049 nfs
100005 1 udp 2049 mountd
100005 3 udp 2049 mountd
100005 1 tcp 2049 mountd
100005 3 tcp 2049 mountd
100021 1 udp 48911 nlockmgr
100021 3 udp 48911 nlockmgr
100021 4 udp 48911 nlockmgr
100021 1 tcp 35925 nlockmgr
100021 3 tcp 35925 nlockmgr
100021 4 tcp 35925 nlockmgr

5.
root@slitaz:~# rpcinfo --help
Usage: rpcinfo [ -n portnum ] -u host prognum [ versnum ]
rpcinfo [ -n portnum ] -t host prognum [ versnum ]
rpcinfo -p [ host ]
rpcinfo -b prognum versnum
rpcinfo -d prognum versnum

For bug reporting instructions, please see:
.

root@slitaz:~# /usr/bin/rpcinfo --help
/usr/bin/rpcinfo: invalid option -- '-'
/usr/bin/rpcinfo: invalid option -- 'h'
/usr/bin/rpcinfo: invalid option -- 'e'
Usage: rpcinfo [-m | -s] [host]
rpcinfo -p [host]
rpcinfo -T netid host prognum [versnum]
rpcinfo -l host prognum versnum
rpcinfo [-n portnum] -u | -t host prognum [versnum]
rpcinfo -a serv_address -T netid prognum [version]
rpcinfo -b prognum versnum
rpcinfo -d [-T netid] prognum versnum

6.
root@slitaz:~# cat /var/run/portmap_mapping
100000 2 6 111 1
100000 2 17 111 1
100003 3 17 2049 1
100003 3 6 2049 1
100005 1 17 2049 1
100005 3 17 2049 1
100005 1 6 2049 1
100005 3 6 2049 1
100021 1 17 48911 1
100021 3 17 48911 1
100021 4 17 48911 1
100021 1 6 35925 1
100021 3 6 35925 1
100021 4 6 35925 1

7.
root@slitaz:~# netstat -nltu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:35925 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
netstat: /proc/net/tcp6: No such file or directory
udp 0 0 0.0.0.0:2049 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp 0 0 0.0.0.0:48911 0.0.0.0:*
netstat: /proc/net/udp6: No such file or directory
root@slitaz:~# netstat -ltu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:nfs 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:sunrpc 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:35925 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
netstat: /proc/net/tcp6: No such file or directory
udp 0 0 0.0.0.0:nfs 0.0.0.0:*
udp 0 0 0.0.0.0:sunrpc 0.0.0.0:*
udp 0 0 0.0.0.0:48911 0.0.0.0:*
netstat: /proc/net/udp6: No such file or directory

8.
root@slitaz:~# cat /etc/rpc | head -25
#ident "@(#)rpc 1.11 95/07/14 SMI" /* SVr4.0 1.2 */
#
# rpc
#
portmapper 100000 portmap sunrpc rpcbind
rstatd 100001 rstat rup perfmeter rstat_svc
rusersd 100002 rusers
nfs 100003 nfsprog
ypserv 100004 ypprog
mountd 100005 mount showmount
ypbind 100007
walld 100008 rwall shutdown
yppasswdd 100009 yppasswd
etherstatd 100010 etherstat
rquotad 100011 rquotaprog quota rquota
sprayd 100012 spray
3270_mapper 100013
rje_mapper 100014
selection_svc 100015 selnsvc
database_svc 100016
rexd 100017 rex
alis 100018
sched 100019
llockmgr 100020
nlockmgr 100021
root@slitaz:~#

2011-04-22

Slitaz - Full Circle



Full Circle
ISSUE #44 - December 2010

LINUX LAB
Written by Nikos Karagiannakis

An old laptop with no networking/wifi. Can Slitaz Linux save the day?

http://dl.fullcirclemagazine.org/issue44_en.pdf


http://fullcirclemagazine.org/

About

Full Circle is a free, independent, magazine dedicated to the Ubuntu family of Linux operating systems. Each month, it contains helpful how-to articles and reader submitted stories.

Full Circle also features a companion podcast, the Full Circle Podcast which covers the magazine, along with other news of interest.

2011-03-13

Slitaz -- wodim

Extract from

SliTaz Burnbox Manual
file:///usr/share/doc/slitaz-tools/burnbox.html
About

Burnbox supports:

* ISO burning
* Backup of data and audio CDs
* Data CD/DVD burning (DVD burning requires an optional package dvd+rw-tools)
* Audio CD burning (MP3 requires an optional package mpg123)
* Video CD (VCD/SVCD) burning (requires packages vcdimager and ffmpeg)
[..]

Common Problems

* Burnbox works as root but not for a user: This happens when the user is not added to the "cdrom" group

addgroup tux cdrom

* Cdrom not readable / writable: Make sure the user has proper permissions and is added to the "cdrom" group
* MP3 audio burn does not work: Check if you have installed mpg123
* VCD option does not work: Check if you have installed vcdimager
* AVI, FLV, WMV files are not decoded to MPG: Check if you have installed ffmpeg
* DVD burn does not work: Check if you have installed dvd+rw-tools


tux@slitaz:~$ wodim --devices
wodim: Overview of accessible drives (1 found) :
-------------------------------------------------------------------------
0 dev='/dev/scd0' rwrw-- : 'ATAPI' 'iHAS324 Y'
-------------------------------------------------------------------------
tux@slitaz:~$ wodim -scanbus
scsibus1:
1,0,0 100) 'ATAPI ' 'iHAS324 Y ' 'BL1X' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
tux@slitaz:~$ ls -al /dev/scd0
lrwxrwxrwx 1 root root 3 Mar 13 21:49 /dev/scd0 -> sr0
tux@slitaz:~$ ls -al /dev/sr0
brw-rw---- 1 root cdrom 11, 0 Mar 13 21:49 /dev/sr0
tux@slitaz:~$ cat /etc/group | grep tux
audio:x:20:tux
cdrom:x:1:tux
video:x:8:tux
tux:x:1000:
tux@slitaz:~$ dmesg | grep -i cd-rom
scsi 1:0:0:0: CD-ROM ATAPI iHAS324 Y BL1X PQ: 0 ANSI: 5
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
tux@slitaz:~$ which wodim
/usr/bin/wodim
tux@slitaz:~$ tazpkg search-file wodim

Search result for file : wodim
================================================================================

Package cdrkit :
/usr/bin/wodim

================================================================================
1 file(s) found for : wodim

tux@slitaz:~$ tazpkg info cdrkit

Tazpkg information
================================================================================
Package : cdrkit
Version : 1.1.9
Category : utilities
Short desc : Wodim for recording/blanking CDs/DVDs and genisoimage for ISO.
Maintainer : pankso@slitaz.org
Depends : libcap zlib bzlib attr
Build deps : cmake libcap-dev zlib-dev bzip2-dev attr attr-dev
Web site : http://www.cdrkit.org/
================================================================================

tux@slitaz:~$ tazpkg info dvd+rw-tools

Tazpkg information
================================================================================
Package : dvd+rw-tools
Version : 7.1
Category : multimedia
Short desc : DVD RW tools
Maintainer : jozee@slitaz.org
Depends : cdrkit
Build deps : cdrkit gcc-lib-base m4
Web site : http://fy.chalmers.se/~appro/linux/DVD+RW
================================================================================

tux@slitaz:~$ tazpkg info dvd+rw-media-tools

Tazpkg information
================================================================================
Package : dvd+rw-media-tools
Version : 7.1
Category : multimedia
Short desc : DVD RW media tools
Maintainer : jozee@slitaz.org
Wanted src : dvd+rw-tools
Web site : http://fy.chalmers.se/~appro/linux/DVD+RW
================================================================================

tux@slitaz:~$


====
[..]

wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 3 = CD-ROM XA mode 2
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '/dev/cdrom'
devname: '/dev/cdrom'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.9
SCSI buffer size: 64512
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'ATAPI '
Identification : 'iHAS324 Y '
Revision : 'BL1X'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001A (DVD+RW)
Profile: 0x002B (DVD+R/DL)
Profile: 0x001B (DVD+R)
Profile: 0x001A (DVD+RW) (current)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0010 (DVD-ROM)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1769472 = 1728 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size : 4194304 = 4096 KB
Track 01: data 656 MB
Total size: 753 MB (74:38.29) = 335872 sectors
Lout start: 753 MB (74:40/22) = 335872 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
wodim: WARNING: Data may not fit on standard 74min disk.

Speed set to 5540 KB/s
Starting to write CD/DVD at speed 4.0 in real unknown mode for multi session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...

Starting new track at sector: 0
[..]
.