Documente Academic
Documente Profesional
Documente Cultură
DEBIAN
######
XWNT2-K7CHT-GD2EN-HQAZD-BTBK5
«match target="font" »
«edit mode="assign" name="rgba" »
«const»none«/const»
«/edit»
«/match»
«match target="font" »
«edit mode="assign" name="hinting" »
«bool»true«/bool»
«/edit»
«/match»
«match target="font" »
«edit mode="assign" name="hintstyle" »
«const»hintfull«/const»
«/edit»
«/match»
«match target="font" »
«edit mode="assign" name="antialias" »
«bool»false«/bool»
«/edit»
«/match»
«dir»~/.fonts«/dir»
«/fontconfig»
««««
novj
novjccomp
nobsdcomp
defaultroute
# Enter below your path to modem
/dev/ttyACM0
«««
3» In /etc/ppp/edge-gprs-connect-chat
»»»
/usr/sbin/chat \
TIMEOUT 20 \
ECHO ON \
ABORT '\nBUSY\r' \
ABORT '\nERROR\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nNO CARRIER\r' \
ABORT '\nNO DIALTONE\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
SAY "Press CTRL-C to close the connection at any stage!" \
TIMEOUT 60 \
'' '\rAT' \
OK 'ATE1' \
OK 'AT+CGDCONT=1,"IP","AP_OPERATORA"' \
OK 'ATD*99***1#' \
TIMEOUT 30 \
CONNECT "" \
SAY "\nConnected."
«««
= (ORANGE; "www.idea.pl")
Dodatkowo do /etc/ppp/peers/edge-gprs dopisujemy "noauth".
= (PLUS; "www.plusgsm.pl")
Dodatkowo do /etc/ppp/peers/edge-gprs dopsujemy "noauth".
[http://gentoo-wiki.com/HOWTO_PowerNow!]
[http://www.ndap.net/archives/2007/04/23/cpu_frequency_scaling_in_debian_4_0_etch/]
[http://www.thinkwiki.org/wiki/Installing_Debian/Sid_on_a_ThinkPad_T43#ACPI]
Formatowanie partycji
---------------------
1» apt-get install dosfstools
# mkdosfs -F 32 -n PENDRIVE -v /dev/sdb1
Aktualizacja Debiana
---------------------
1» edit source.list
change all code name from one into another (eg. "etch" to "sid and "stable" to
"testing")
2» apt-get update
3» apt-get dist-upgrade
Stos bluetoooth
-----------------
1» aptitute -» "/" -» bluez-utils -» "g"
Uźycie module-assistant
------------------------
1» m-a a-i «nazwa-pakietu» #m-a uzupelnia nazwe o source lub src
WineHQ repozytorium
------------------------
1» wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
2»
#######
FIREFOX
#######
#http://kb.mozillazine.org/Browser.backspace_action
#############
GENERAL LINUX
#############
montowanie obrazu cd
----------------------
mount -o loop -t iso9660 /ścieżka/do/obrazu/image.iso
/ścieżka/docelowa/montowanego_obrazu
Tworzenie ramdysku
-------------------
1» sprawdzanie bloku ramdysku
dmesg | grep RAMDISK
2» zmiana wielkości urządzenia /dev/ram?
a) przez przekazanie parametru do kernela ramdisk_size=x*1024B
-GRUB (In /boot/grub/menu.lst)
»»» kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdc=ide-scsi ramdisk_size=16000
title Red Hat Linux (2.4.20-20.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdc=ide-scsi ramdisk_size=16000
initrd /initrd-2.4.20-20.9.img
-LILO (In /etc/lilo.conf)
»»» image=/boot/vmlinuz
label=linux
root=/dev/hda2
read-only
ramdisk_size=10000
b) przez dynamicznie ładowania modułu jądra rd
- #» insmod rd rd_size=10000
- In /etc/conf.modules
»»» options rd rd_size=10000
Obsługa truecrypt
------------------
1» montowanie woluminu (z hasłem z pliku)
# truecrypt -p 'manual_pass' -k /path/to/passwd.file /path/to/encrypted/volume
/where/to-mount/
2» wyswietlanie zamontowanych woluminów
# truecrypt -l
3» odmontowywanie woluminu
# truecrypt -d /dev/mapper/truecrypt? ( ? - numer urządzenia mapującego
zaszyfrowany wolumin, zazwyczaj 0)
6» instalacja GRUB-a
# mount -o bind /dev /mnt/usbflash/dev/
# chroot /mnt/usbflash/
# mkdir /boot/grub ; update-grub
# exit
# umount /mnt/usbflash/dev/
# grub-install --no-floppy --recheck --root-directory=/mnt/usbflash /dev/sdd
#############
GENTOO
#############
iptables SNAT
-----------------
1»emerge iptables
2»Kernel configuration 2.6.20
Networking ---»
Networking options ---»
[*] Network packet filtering framework (Netfilter) ---»
framebuffer grub
-----------------------
1»Kernel configuration 2.6.*
a» Wymagane komponenty
Device Drivers »
Graphics support: »
[*] Support for frame buffer devices
«*» VESA VGA graphics support
VESA driver type (vesafb-tng) ---»
(1280x1024@60) VESA default mode
Device Drivers » Graphics support » Console display driver support:
[*] Video mode selection support
«*» Framebuffer Console support
Device Drivers » Graphics support:
[*] Support for the framebuffer splash
c» wylaczamy
Device Drivers » Graphics support:
[ ] Enable Tile Blitting Support
2» Wpis w grub
video=vesafb:1280x1024-16@60,ywrap,mtrr:2
1» Gentoo
cd /usr/src/linux
make menuconfig
make
make modules_install
cp ./arch/i386/boot/bzImage /boot/kernel-"version"-"distroname"-"arch"