ubuntu

warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/panticz.de/modules/taxonomy/taxonomy.pages.inc on line 33.

Remaster Ubuntu CD (TEST)

sudo apt-get install squashfs-tools mkisofs qemu
 
-- wget ubuntu-8.04-desktop-i386.iso
sudo mount download/iso/ubuntu-8.04-desktop-i386.iso /mnt/ -o loop
 
mkdir ~/live
cd ~/live
 
mkdir extract-cd
#rsync --exclude=/casper/filesystem.squashfs -a mnt/ extract-cd
 
mkdir squashfs
sudo mount -t squashfs -o loop /mnt/casper/filesystem.squashfs squashfs
 
mkdir edit
sudo cp -a squashfs/* edit/
 
sudo cp /etc/resolv.conf edit/etc/
 
sudo cp /etc/hosts edit/etc/
 
sudo mount --bind /dev/ edit/dev
 
sudo mount --bind /dev/ edit/dev
 
sudo chroot edit
mount -t proc none /proc
mount -t

Ekiga 3.0 snapshot

#!/bin/bash
 
sudo su
 
 
# add intrepid repository
cat <<EOF> /etc/apt/sources.list.d/jaunty.list
deb http://archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://archive.ubuntu.com/ubuntu/ jaunty main restricted
EOF
 
# run update
apt-get update
apt-get install ekiga
 
# remove repository
rm /etc/apt/sources.list.d/jaunty.list
apt-get update
 
 
# LINKS
http://snapshots.ekiga.net/
http://packages.ubuntu.com/jaunty/ekiga
 
 
### OLD ###
 
wget http://ge.archive.ubuntu.com/ubuntu/pool/main/e/evolution-data-server/libedataserver1.2-9_2.22.3-0ubuntu2_i386.deb -P /tm

Install VLC player

wget https://raw.githubusercontent.com/panticz/installit/master/install.vlc.sh -O - | bash -

#!/bin/bash

if [ "$1" == "-n" ]; then
  sudo add-apt-repository -y ppa:videolan/stable-daily
  sudo apt-get update
fi

sudo apt-get install -y vlc
sudo apt-get install -y vlc-plugin-pulse
sudo apt-get install -y browser-plugin-vlc

# set vnc as default media player
sudo sed -i 's|totem.desktop|vlc.desktop|g' /etc/gnome/defaults.list

Create printer on command line

List all installed printer
lpstat -p -d

Kyocera FS-C5016N
lpadmin -p LaserColor -v ipp://192.168.1.11:631/ipp -E -P /usr/share/ppd/openprinting/Kyocera/en/Kyocera_Mita_FS-C5016N_en.ppd.gz

PDF Printer
sudo sudo apt-get install -y cups-pdf
#sudo lpadmin -p PDF -v cups-pdf:/ -E -P /usr/share/ppd/cups-included/postscript.ppd
#/usr/share/ppd/cups-pdf/PostscriptColor.ppd

Define default prnter
lpadmin -d printer1

Ubuntu USB boot (Ubuntu Live CD boot from USB)

#!/bin/bash
 
DEVICE=/dev/sdb
ISO=ubuntu-16.10-desktop-amd64.iso
VOLUME=BOOTUSB
 
# install needed apps
sudo apt-get install -y syslinux mbr mtools dosfstools
 
# OPTIONALY format drive 
# sudo umount ${DEVICE}1
# sudo mkfs.vfat -n ${VOLUME} ${DEVICE}1
 
# install mbr and syslinux
mkdir /tmp/${VOLUME}
sudo mount ${DEVICE}1 /tmp/${VOLUME}
sudo install-mbr ${DEVICE}
 
sudo mkdir /tmp/${VOLUME}/boot
sudo syslinux -f ${DEVICE}1 -d boot
#sudo syslinux -f ${DEVICE}1
#sudo syslinux -smf ${DEVICE}1
 
sudo cp /usr/lib/syslinux/modules/bios/vesamenu.c32 /tmp/${VOLUME}/boot/
 
sudo mkdi

AVM FRITZ!Card PCI

Installation (tested on Linux squezze 2.6.32-5-xen-amd64)
apt-get install -y wget capiutils
wget http://dl.dropbox.com/u/4170695/www/fcpci.tar.gz -O /tmp/fcpci.tar.gz
tar xzf /tmp/fcpci.tar.gz -C /tmp/
/tmp/fcpci/install.sh

# test
capiinfo
capifax -v [0]YOUR_FAX_NO /etc/hosts

Install and configure AVM Fritz!Card USB driver

#!/bin/bash
 
# If you use Ubuntu Gutsy you don´t need to compile the fcusb2 driver at self, follow this howto
# it will automaticly download and configure all needed files
 
# be sure that you running this script as root
if [ "$USER" != "root" ]; then
	sudo $0
	exit 0
fi
 
# install needed packages
apt-get install -y avm-fritz-firmware linux-restricted-modules-$(uname -r) wget
 
# install avm firmware
#wget http://www.avm.de/files/cardware/fritzcrdusb.v20/linux/suse.93/fcusb2-suse93-3.11-07.tar.gz -P /tmp
#tar -xzf /tmp/fcusb2-suse93-3.11-07.tar.gz -C /tmp
#mkdir /usr/share/isdn/

Compile AVM Fritz!Card USB driver for Ubuntu (fcusb2.ko)

#!/bin/bash
 
# note
# successfully tested on Ubuntu Gutsy 7.10, this driver currently dont work with Hardy 8.04
 
apt-get install -y wget rpm build-essential linux-headers-$(uname -r) avm-fritz-firmware
 
wget http://opensuse.foehr-it.de/rpms/10_3/src/fcusb2-0.1-0.src.rpm -P /tmp
cd /tmp
rpm2cpio fcusb2-0.1-0.src.rpm | cpio -i --make-directories
 
if [ $(uname -m) == "x86_64" ]; then
	# amd64
	tar -xzf fcusb2-suse93-64bit-3.11-07.tar.gz
	cd /tmp/fritz/src/
	patch -p2 < /tmp/fritz-usb.diff
	patch -p2 < /tmp/fritz_init_work.diff
	patch -p2 < /tmp/fritz_urb.diff
	patch -p2 < /tmp/f

Ubuntu LiveCD PXE boot (Ubuntu Live CD boot from network)

DEFAULT_URL=http://releases.ubuntu.com/releases/12.04/ubuntu-12.04-desktop-i386.iso
NFS_SERVER=192.168.1.9
 
if [ ! -z $1 ]; then
        FILE=$1
 
        if [ !

Compile Ubuntu kernel

apt-get install fakeroot build-essential makedumpfile ncurses-dev
 
cd /usr/src
?? apt-get build-dep linux-image-$(uname -r)
apt-get source linux-image-$(uname -r)
 
?? apt-get build-dep linux-ubuntu-modules-$(uname -r)
??
Syndicate content