1) Boot a LiveCD
2) open a Terminal / Console
3) become root
- su or sudo -s
run grub
- grub
type the following commands
- root (hd0,0)
- setup (hd0)
- quit
reboot
finished – grub should work again 😀
1) Boot a LiveCD
2) open a Terminal / Console
3) become root
run grub
type the following commands
reboot
finished – grub should work again 😀
You just have to mirror ftp://ftp.minix3.org/pub/minix/packages/ with e.g. http://www.debian.org/mirror/ftpmirror.en.html or http://www.debian.org/mirror/ftpmirror or
wget –mirror ftp://ftp.minix3.org/pub/minix/packages
Size of Minix 3.2 ( ftp://ftp.minix3.org/pub/minix/packages/3.2.0/ ) is about 400 MB (05.07.2011)
next step is to edit /usr/pkg/etc/pkgin/repositories.conf and change the path to your local one.
after a pkgin update you are done 😀
aptitude install build-essential capiutils libcapi20-dev linux-headers-$(uname -r) bzip2
cd /opt
sourcen holen
wget https://belug.de/~lutz/pub/fcpci/fritz-fcpci-2.6.31.tar.bz2
entpacken
tar xvfj fritz-fcpci-2.6.31.tar.bz2
cd fritz-fcpci-2.6.31/lib
rm fcpci-lib.o
#ln -s 64_fcpci-lib.o fcpci-lib.o
ln -s 32_fcpci-lib.o fcpci-lib.o
cd ../fcpci_src
make clean
make all
mkdir /lib/modules/`uname -r`/extra
cp fcpci.ko /lib/modules/`uname -r`/extra/
depmod -a
modprobe -rf fcpci
modprobe -rf avmfritz
modprobe -v fcpci
echo ‘blacklist avmfritz’ > /etc/modprobe.d/blacklist-avmfritz.conf
nano /etc/isdn/capi.conf
fcpci – – – – – –
# -> Zeile entkommentieren
echo ‘# Fritz!Card
capidrv
capi
fcpci’ >> /etc/modules
capiinit start
capiinfo # sollte info zur isdn hw liefern
aptitude install ant-phone isdnutils-base isdnlog
# -> Land und Vorwahl setzen
nano /etc/isdn/isdn.conf
LOGFILE = /var/log/isdn.log # abändern
touch /var/log/isdn.log
touch /etc/isdn/noconfig #isdnutils sagen dass keine config nötig ist
service isdnutils restart
mkdir ~/.ant-phone/
touch ~/.ant-phone/options
ant-phone
unter Optionen > Einstellungen sende MSN einstellen
# User rechte geben isdn zu verwenden
nano /etc/group
dialout:x:20:user
Quelle:
http://www.pro-linux.de/artikel/2/1469/1,einrichtung-des-capi-treibers.html
wget -r -k -c URL
-r : recursiv
-k : links anpassen
-c : continue
-e robots=off : ignore robots
-l1
–no-parent
-A gif,jpg,pdf : nur diese dateiformate
-p : only title page
–post-data=user=xy^&pass=yz : mit POST übergabe oder
–post-data ’user=foo&password=bar’
–http-user=user –http-passwd=password : .htaccess auth
-i file.dat
–limit-rate=20k
–max-redirect 0 : do not follow redirects
–follow-ftp
–html-extension / -E : save all in .html
# Download the entire contents of example.com
wget -r -l 0 http://www.example.com/
# Mirror
wget –mirror –convert-links –backup-converted –html-extension -o log http://www.gnu.org/
wget -mkEpnp http://example.com
wget -c -r –ftp-user USER –ftp-password PASS –limit-rate=1.5m ftp://host/*
list of distros:
debian 8 unstable: Jessie
debian 7: Wheezy (~ 106 GB)
debian 6: Squeeze (~ 61 GB)
debian 5:Lenny
debian 4: etch
ubuntu 10.04 (LTS): Lucid
ubuntu 10.10: Maverick
ubuntu 11.04: Natty
ubuntu 11.10: Oneiric
ubuntu 12.04 (LTS): Precise
ubuntu 12.10: Quantal
ubuntu 13.04: Raring
ubuntu 13.10: Saucy
ubuntu 14.04 (LTS): Trusty
ubuntu 14.10: Utopic
make a image with eg. ddrescue or Clonezilla or SystemRescueCd or Disk2vhd
dd if=/dev/sda of=/wtf/ImageFile.dd
Convert image into a virtual disc
VBoxManage convertfromraw ImageFile.dd OutputFile.vdi
Create a new VM and boot it :-D
Windows needs special care: Migrate_Windows
download http://ftp.de.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-nonfree_0.27.tar.gz or later
extract the files required and copy them to eg. /lib/firmware/e100/d101s_ucode.bin4
reboot and enjoy!
btw – fck intel for not beeing 100% DFSG conform!
On running System:
apt-get install apt-file
apt-file update
apt-file search /lib/firmware/e100/
My little Script doing all the Stuff
m4a2mp3.sh
#!/bin/bash # #aptitude install mplayer twolame # for i in *.m4a; do echo "Convert: ${i%.m4a}.mp3" mplayer -ao pcm:file="${i%.m4a}.wav" "$i" twolame "${i%.m4a}.wav" "${i%.m4a}.mp3" rm "${i%.m4a}.wav" done
or
wma2mp3.sh
#!/bin/bash # #aptitude install mplayer twolame # for i in *.wma; do echo "Convert: ${i%.wma}.mp3" mplayer -ao pcm:file="${i%.wma}.wav" "$i" twolame "${i%.wma}.wav" "${i%.wma}.mp3" rm "${i%.wma}.wav" done
Just call “m4a2mp3.sh” of “wma2mp3.sh” in the dir where the files are 😀
user@linux(Ubuntu 10.10):~$ bc -l bc 1.06.95 Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 1+1 # Eingabe 2 # Ausgabe 7+5^4 # Eingabe 632 # Ausgabe sqrt(3) # Eingabe 1.73205080756887729352 # Ausgabe a=5 # Eingabe a+2 # Eingabe 7 # Ausgabe define f(x) { return x+3 } # Eingabe f(5) # Eingabe 8 # Ausgabe scale=100 # Eingabe -> Verändert die länge der Nachkommastellen define abs(x) { if ( x<0 ) return -x; return x } # Eingabe -> Betragsfunktion define sgn(x) { if ( x==0 ) return 0 else { if ( x<0 ) return -1; return 1 } } # Eingabe -> Signumfunktion define fact (x) { if(x < 1) return 1 ; return (x*fact(x-1)) } # Eingabe -> Produkt der ganzen Zahlen von 1 bis x fact(5) # Eingabe 120 # Ausgabe # quit # Programm beenden :-D # #Diese Definitionen können auch in einer Datei einfach abgelegt werden und wie folgt wieder beim Programmstart eingelesen werden. user@linux(Ubuntu 10.10):~$ bc -l mydefs.file #