Gentoo

De Admin -- TALEVAS.
(Différences entre les versions)
(GENTOO UTILS)
 
(10 révisions intermédiaires par 3 utilisateurs sont masquées)
Ligne 6 : Ligne 6 :
  
 
  # ufed
 
  # ufed
 +
 +
emerge portage-utils; qlist -I -C x11-drivers/
 +
 +
=== remettre les drivers pour Xorg ===
 +
emerge -avq $(qlist -IC x11-drivers)
  
 
== TMP EMERGE RAMFS ==
 
== TMP EMERGE RAMFS ==
Ligne 20 : Ligne 25 :
  
  
 +
== KEYMAP KEYBOARD CLAVIER ==
 +
 +
les claviers sont gérés avec evdev et hal cf emerge du xorg-server
 +
 +
Il faut aller mettre les fichiers de config du clavier dans /etc/hal/fdi/policy/ autrement c'est keymap par defaut ... cad KWERTY.
 +
 +
/etc/init.d/hald restart
 +
 +
restart du serveur X et ca marche
 +
 +
 +
== ssh agent démarrage automatique avec KDE ==
 +
 +
aller faire un tour dans le fichier
 +
/usr/kde/3.5/env/agent-startup.sh
 +
http://www.gentoo.org/doc/fr/keychain-guide.xml
 +
 +
== HDMI ==
 +
 +
aplay -L
 +
speaker-test -c 2 -Dhdmi
 +
mplayer -ao alsa:device= hdmi -ac hwac3
 +
 +
 +
== kernel update ==
 +
 +
copier le .config et faire un make oldconfig
 +
 +
module-rebuild
 +
 +
== KDE Plasma desktop ==
 +
If your desktop layout is broken after the upgrade you can reset it by running this command in Konsole:
 +
kquitapp plasma-desktop && rm ~/.kde4/share/config/plasma-desktop* && plasma-desktop &
  
 
== ETERNET ==
 
== ETERNET ==
Ligne 47 : Ligne 85 :
 
* Select "HP Color LaserJet 2600n Foomatic/foo2ph (en)" as the model. Now you should see the text "Printer ColorLaserJet has been added successfully."
 
* Select "HP Color LaserJet 2600n Foomatic/foo2ph (en)" as the model. Now you should see the text "Printer ColorLaserJet has been added successfully."
 
* If you want to know if it works go to Printers up in the menu and print a test page with your added printer.
 
* If you want to know if it works go to Printers up in the menu and print a test page with your added printer.
 
  
  
Ligne 55 : Ligne 92 :
  
 
http://en.gentoo-wiki.com/wiki/Asus_P5Q-E
 
http://en.gentoo-wiki.com/wiki/Asus_P5Q-E
 +
 +
== dm-crypt ==
 +
 +
http://home.coming.dk/index.php/2009/05/20/encrypted_home_partition_using_luks_pam_

Version actuelle en date du 1 mai 2013 à 08:45

Sommaire

GENTOO UTILS

# eix
# qlop
# ufed
emerge portage-utils; qlist -I -C x11-drivers/

remettre les drivers pour Xorg

emerge -avq $(qlist -IC x11-drivers)

TMP EMERGE RAMFS

mount -t tmpfs tmpfs -o size=850M,nr_inodes=1M /var/tmp/portage


WIFI

http://bugs.gentoo.org/show_bug.cgi?id=230844

emerge net-wireless/iwl3945-ucode


KEYMAP KEYBOARD CLAVIER

les claviers sont gérés avec evdev et hal cf emerge du xorg-server

Il faut aller mettre les fichiers de config du clavier dans /etc/hal/fdi/policy/ autrement c'est keymap par defaut ... cad KWERTY.

/etc/init.d/hald restart

restart du serveur X et ca marche


ssh agent démarrage automatique avec KDE

aller faire un tour dans le fichier

/usr/kde/3.5/env/agent-startup.sh

http://www.gentoo.org/doc/fr/keychain-guide.xml

HDMI

aplay -L
speaker-test -c 2 -Dhdmi
mplayer -ao alsa:device= hdmi -ac hwac3


kernel update

copier le .config et faire un make oldconfig
module-rebuild

KDE Plasma desktop

If your desktop layout is broken after the upgrade you can reset it by running this command in Konsole:

kquitapp plasma-desktop && rm ~/.kde4/share/config/plasma-desktop* && plasma-desktop &

ETERNET

http://en.gentoo-wiki.com/wiki/RTL8101E

modifier les noms des cartes reseau

udevadm test eth

dans la liste toutes les infos dont on a besoin dont ce fichier =>

/etc/udev/rules.d/70-persistent-net.rules

Les infos dont la carte mac sont dedans.

lazerjet 2600

http://www.gentoo-wiki.info/HP_Color_LaserJet_2600n

/etc/init.d/cpusd start
rc-update add cpusd default
  • http://localhost:631/admin
  • Select "AppSocket/HP JetDirect" as the Device.
  • Set the Device URI to "socket://192.168.1.9:9100" (replacing the IP with the correct IP for your printer).
  • Select "HP" as the make.
  • Select "HP Color LaserJet 2600n Foomatic/foo2ph (en)" as the model. Now you should see the text "Printer ColorLaserJet has been added successfully."
  • If you want to know if it works go to Printers up in the menu and print a test page with your added printer.


CPU -- cpufreq -- sensors -- lm_sensors

http://fr.gentoo-wiki.com/wiki/Lm_sensors

http://en.gentoo-wiki.com/wiki/Asus_P5Q-E

dm-crypt

http://home.coming.dk/index.php/2009/05/20/encrypted_home_partition_using_luks_pam_