dimanche 27 mars 2011

Installer le langage français dans Backtrack

On commence ...


On ouvre un terminal

On installe le sélecteur de langue
apt-get install language-selector-qt


On installe le pack de langue FR
apt-get install language-pack-kde-fr
On répond Y à la question d'installation

On installe la gestion du français sous KDE

apt-get install kde-i18n-fr 
On répond Y à la question d'installation

On installe le support de langue FR

apt-get install language-support-fr

On installe le pack de langue FR

apt-get  install language-pack-fr

On se rend dans :
menu k > setting > region and accessibility > country and language



Puis on fait:
"add language" > "french" > "apply"

On édite le fichier 
/root/.kde3/share/config/kxkbrc
nano /root/.kde3/share/config/kxkbrc

Et mettre le "fr" en premier
Ctrl + X > On répond Y


Et Youpi !

Source
http://www.linuxtrack.com/t145-mettre-backtrack-4-en-francais.htm

Installer pilotes graphiques pour carte NVIDIA

Télécharger les drivers
http://www.nvidia.fr/object/linux-display-ia32-260.19.44-driver-fr.html

On tue le serveur X
Ctrl + alt + touche retour

On lance le script
sh NVIDIA-Linux-x86-100.14.11-pkg1.run

Ensuite on éxécute cette commande:
nvidia-installer --update

Happy

Bric à Brac d'astuces pour Backtrack 4

Activer le réseau au démarrage

Déja on démarre le service
/etc/init.d/wicd start

Ensuite on entre cette commande pour que sa l'active à chaque démarrage
update-rc.d wicd defaults

Ajouter ces lignes suivantes au fichier /root/.bash_profile
/etc/init.d/networking start
/etc/init.d/wicd start

Lancer startx au démarrage

On édite un nouveau fichier .bashprofile ( qui contient tout ce qui va se charger au démarrage) où on ajoute
nano /root/.bash_profile

Puis on rentre ces lignes:
/etc/init.d/networking start
/etc/init.d/wicd start

Ctr+X puis Y pour sauvegarder

Source: http://mcompute.co.uk/showthread.php?tid=254

Ajouter le bouton Arrêter à Backtrack

  • Clic droit sur la barre
  • Add Application to Pannel
  • Add Non Applet Application KDE
  • On clic sur les enrouages pour changer l'icone
  • Choisir Actions à la place d'Applications
  • Dans l'executable choisir /sbin/poweroff
  • Ne pas oublier de cocher "Run in terminal window"

Configuration de la carte wifi RTL8191SE sous Backtrack 4

Télécharger le pilote à l'adresse suivante
http://218.210.127.131/downloads/downloadsView.aspx?Langid=1&PNid=48&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true#RTL8191SE-VA2

Extraire l'archive
tar -xzvf rtl8192se_linux_2.6.0019.1207.2010.tar.gz  

On rentre dans le dossier
cd rtl8192se_linux_2.6.0019.1207.2010 

On compile
make

On compile et on installe
make install

On copie le dossier dans /lib/firmware
cp -Ra ~/rtl8192se_linux_2.6.0019.1207.2010/firmware/RTL8192SE/ /lib/firmware
 
Chargement du driver
depmod -a
modprobe r8192se_pci

Configuration du zero configuration
K-Menu > Internet > Wicd Network Manager

On clic sur Préférence puis on ajoute wlan0 dans le champs Wireless

On fait "Refresh" et on et content !

Source
http://samiux.blogspot.com/2010/11/howto-rtl8191se-wireless-card-on.html

Configuration du réseau ethernet avec Backtrack 4

On commence ...


On active l'interface eth0
root@bt:/# ifconfig eth0 up

On regarde si cela à bien été pris en compte
root@bt:/# ifconfig
eth0      Link encap:Ethernet  HWaddr 48:5b:39:07:6b:0c
          inet6 addr: fe80::4a5b:39ff:fe07:6b0c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:328 (328.0 B)
          Interrupt:43

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:400 (400.0 B)  TX bytes:400 (400.0 B)

On configure l'adresse IP ainsi que son netmask
root@bt:/# ifconfig eth0 inet 192.168.0.30 netmask 255.255.255.0

On configure la passerelle par défaut
root@bt:/# route add default gw 192.168.0.1

On configure le DNS (208.67.222.222 étant le DNS d'"Open DNS")
root@bt:/# echo nameserver 208.67.222.222 > /etc/resolv.conf

On ping pour s'assurer que tout fonctionne
root@bt:/# ping google.fr

Et voila !