warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/ on line 33.

ARTEC ULTIMA 2000 (MEDION MD/LT 9385/9375)

Device ID
Bus 003 Device 004: ID 05d8:4002 Ultima Electronics Corp. Artec Ultima 2000 (GT6801 based)/Lifetec LT9385 Scanner

Download firmware
wget -P /tmp
unzip /tmp/sca9385win9xp.exe -d /tmp/
sudo mkdir -p /usr/share/sane/gt68xx/
sudo cp /tmp/DRIVER/SETUPEXT/GT/WINX/gt680xfw.usb /usr/share/sane/gt68xx/

Configure sane
sudo sed -i '61s|#override "artec-ultima-2000"|override "artec-ultima-2000"|g' /etc/sane.d/gt68xx.conf

Create XEN LTSP Domain

### new
# install ltsp
### old
# set domU name
# create domU
xen-create-image --hostname=${DOMAIN_NAME} --dhcp --mac=00:11:22:7a:7b:7c \
--lvm=vg01 --dist=jaunty --mirror= --size=8Gb --memory=2Gb --swap=2Gb
# lucid test
# xen-create-image --hostname=${DOMAIN_NAME} --dhcp --mac=${DOMAIN_MAC} \
--lvm=vg01 --dist=lucid --mirror= --size=${DOMAIN_HDD} --memory=${DOMAIN_RAM} --swap=${DOMAIN_RAM} --arch=i386
# rena

Xenial Xerus (Ubuntu 16.04)



Download - releases
64 bit Netboot CD

# Ubuntu Xenial updates repository
echo "deb xenial-updates main restricted universe multiverse" > /etc/apt/sources.list.d/xenial-updates.list

Faxserver under Ubuntu / Debian

queue status
faxstat -s # shows fax in the queue waiting to be sent
faxstat -d # shows faxes sent
faxstat -r #shows faxes received

delete fax
faxrm JOB_ID
or if you can´t delete run under creator
sudo -u USERNAME faxrm JOB_ID

HylaFax spool directory

delete all send faxes
for i in $(ls /var/spool/hylafax/doneq); do
faxrm ${i:1}

get rejected fax nubers
faxstat -d | grep REJECT | cut -d" " -f 7 > fax_rejected.txt


if var1 != var2:

output to file
text_file = open("/tmp/debug", "w")
text_file.write("option1: %s\n" % option1)
text_file.write("value1: %s\n" % value1)

SSH authentication with pre-shared key

Create new key on client
#ssh-keygen -t rsa
#(confirm with 3x with enter to leave passphrase empty)
ssh-keygen -q -f ~/.ssh/id_rsa -N ''

Copy public key to server
ssh-copy-id ${USER}@

Test login
ssh -v ${USER}@

Login with private key
ssh -i ./backup_ssh_key/id_rsa USER@YOUR_SERVER

Import own ssh key by using previous / master ssh key
cat ~/.ssh/ | ssh -i ./backup_ssh_key/id_rsa USER@YOUR_SERVER 'cat >> .ssh/authorized_keys'


HowtoForge - Linux Howtos and Tutorials - overview of Linux LiveCDs
Debian Testing - daily builds of Debian Testing
ALSA - Advanced Linux Sound Architecture
Linux Apps - best of linux apps

Syndicate content