jeudi 12 juillet 2012

Francisation du système Linux / Knoppix / Debian


Notes pour franciser mon système.
Testé et j'ai trouvé ça pas mal (pour un échec) :
sudo locale-gen : génère des fichiers de langue.
sudo dpkg-reconfigure locales  
Info sur environnement: env 
apt-get install localepurge ou via synaptic

Choisir langues à conserver au moins utf8, de préférence 2 par lang
ue. 

sudo dpkg-reconfigure localepurge
sudo localepurge
reboot
Franciser un système base Debian d
’après
http://www.debian.org/doc/manuals/fr/debian-fr-howto/ch3.html 
La variable LANGUAGE n'est a priori pas nécessaire si LANG a été définie et si vous n'utilisez qu'une seule langue (le français). Toutefois, vous pouvez ajouter LANGUAGE=fr dans le fichier /etc/environment.

Fait en root via leafpad = idem
sudo tasksel semble calicement efficace. 

Je trouve que locale purge fait vraiment
 un boulot de nettoyage gratifiant après les installations des paquets

==============

Trouvailles; 

netenv pour laptops -Chiale si environnement réseau lui conviend pas... 
language-env 
harden-environment pas installé 
---------------------------------------------------------------------------------------
Extrait de:
http://www.debian.org/doc/manuals/fr/debian-fr-howto/ch-autres.html#s6.2 
pour avoir KDE en français :
     apt-get install kde-i18n-fr 

Édit: Pas testé, KDE m'horripile


Si vous êtes le seul utilisateur de votre machine et si vous travaillez uniquement avec un nombre restreint de langues, vous pouvez gagner beaucoup de place en supprimant les fichiers de paramètres régionaux inutiles. 
Le paquet localepurge fait ce travail très proprement.
     apt-get install localepurge


N'oubliez pas de choisir les paramètres régionaux que vous voulez conserver ! En cas de problème, les fichiers de paramètres régionaux supprimés peuvent être récupérés uniquement en réinstallant tous les paquets déjà installés (opération un peu longue). 
Un autre paquet associé aux paramètres régionaux est localeconf
Pour l'instant, je ne lui ai trouvé strictement aucune utilité (rien de plus que ce que propose le debconf de locales). ..
----------------------------------------------------------------------------------------------------- 
Mise-à-jour de l'environnement :  (fonctionne pas pour moi)
http://www.commentcamarche.net/forum/affich-1505592-knoppix-changer-langue-de-tout-le-systeme
réglé le problème en rajoutant dans le fichier /etc/profile : 
export LC_ALL="fr_FR" 
puis une petite mise-à-jour de l'environnement : 
env-update && source /etc/profile 
env-update semble intéressant. Marche pas chez moi. 
--------------------------------------------------------------------------------------

  • From a root shell, edit the file '/ramdisk/skyrix/skyrix41/documents/17780.defaults' and add a new line containing just the string
    language = English;
    to the end of the file, just before the '}' (close-curly-brace) which denotes the end of the configuration information. This should cause the 'andrea' account to use English labels from the start. Do the same thing to the files 10000.defaults and 17210.defaults to change the default language for the 'root' and 'hans' accounts, respectively.

Bonus Fedora:
Try using these steps to change the FEDORA language setting from a command prompt:
  Go to the Fedora system configuration diretory
1. cd /etc/sysconfig
  Make backup copy of your language setting file
2. cp i18n i18n.backup
  Edit language setting file to allow english as default
3. You can edit the file by using nano or vi text editors available on all Fedora systems from SSH. 

I prefer nano so: 4. nano i18n

5. Edit the file to include these lines as the first three lines of the file:
LANG="en_US.UTF-8" SYSFONT="latarcyrheb-sun16" SUPPORTED="en_US.UTF-8:en_US:en"

  6. Save the file and restart system. 
If you can not restart the system you need to have permission to restart init.d

mardi 10 juillet 2012

Le C pour les Ours

Très fier d'avoir un chum qui s'embarque tellement fort à faire du C qu'y me déstabilise... ou, vus mon état, me restabilise.

Tu clanche ,  Ours en feu !

Hate d,avoir fini mon expérience des OS sur Pentium1  pour m'y mettre moi aussi.

jeudi 5 juillet 2012

Live OS pour Laptop pentium 1 (586 )

Critères base pour qualifier;

Gui (X) + wifi wpa2 sur CD sur pentium1mmx.
plupart des isos testés dans virtualbox.


DSL :
oui.

puppy legacy:
oui Vedette car 1er wifi +/- ok

OpenBSD :
OUi Vedette car wifi super. mais fuck partitions.. et MOCHE.


 Frenzy
BSD
processeur Pentium  32 Mo ram startx... gui magnifique...
test: boot rapide sans problème, netconf lan: network wireless wiconf
pas de wifi mais carte détectée. ---PARFAIT impossible à installer

 
knoppix STD 0.1=
Candidat vedette;   voir toute outils; http://s-t-d.org/tools.html
pas de wifi installe sur hd réussit. et startx ok.

Caine:
splash tres cool beau... mais gel apres boot: live gel, safe; gele; install... gele... debug:gele... nomodeset... gele textonly:idem.... dommage...


 Polippix:
BOOT OK... ÉCRAN NOIR.... BASÉ KUBUNTU=BOOT LENT... AIDE DIT MINIMUM384 MO... VGA=788: AFFICHAGE CORRMPUS... STARTX:... LENT. .. OUI.... TRÈS JOLI!.. MAIS PAS LA PATIENCE.

NimbleX
Slackware-based   CD
no root password is required to log on to the desktop, and the default root password is displayed on NimbleX's web site.

Slax kill bill
oui mais pas de wifi. Mais wine inclus


Slax custom:
non. (a date)

dynebolic.org:
non p2 minimum maintenant et dvd..


OVERCLOCKIX: BOOT OK, WIFI ALLUME... LENT... JOLI... PAS DEWIFI

 swiftlinux
.org ... based on Linux Mint 'Debian' edition  retains the spirit of antiX Linux.  keeping the IceWM and ROX pinboard desktop environment t still small enough to fit onto a CD. Download Swift Linux 0.2.0 Download Diet Swift linux 0.2.0, Special editions Taylor Swift   Minnesota Swift  Chicago Swift   Silicon Valley Swift Linux 0.2.0 (Size: 683.4 MB)

BackBox Linux
 i386, dvd Size: 986,2 MB improved WiFi driver (compat-wireless aircrack patched);

 nutyx
n.org/ ....  Non :686, pas possible de faire fonctionner sur i586 Pentium
mais articles bons: http://www.nutyx.org/articles/view.php?id=112&action=methode-favorite-d-installation-des-nutyxien-ne-s

siduction 12.1.1

DebXPde
Debian-based live CD featuring the LXDE desktop environment and a trimmed-down collection of lightweight applications for everyday tasks.

Fermi Linux LTS (Long Term Support)
is a site distribution based on Scientific Linux, which is in essence Red Hat Enterprise Linux, recompiled. It is Scientific Linux with Fermilab's security hardening

Aptosid
686?

Frugalware
i686...

NetSecL:
  i686  live DVD based on openSUSE (starting from version 3.0, previous versions were based on Slackware Linux)...
Mais: Distribution Release: NetSecL 2.4
 Metasploit is updated to its latest version;  installation CD  (675MB, MD5).
voir; http://distrowatch.com/index.php?distribution=netsecl



knoppix = install wifi wpa2 gui: parfait. Manque d'applications et WM plutôt ordinaire.

Matriux:
dvd     2.2 GB
Debian-based security distribution

Deft:
NON 686 CMOV ftp://ftp.cc.uoc.gr/mirrors/linux/deftlinux/iso/
DEFT 7 is  a new concept of Computer Forensic system that use LXDE as desktop environment and WINE for execute Windows tools under Linux and mount manager as tool for device management.
 http://www.deftlinux.net/about/packets-list/

http://www.desktoplinux.com/news/NS4640953056.html?regen=yes&display=yes
opensuse non live custom; ?
opensuse live = non
geexbox=?
http://wmlive.sourceforge.net/
Juppix
 Linux Live-CD with a comfortable programming environment for the Java, C and O'Caml programming languages that has been distributed to hundreds of undergaduate students at the University of Paris 7 over the last few years.

Descent|OS.
Ubuntu-based desktop Linux distribution featuring a traditional desktop environment (GNOME 2 in the 2.x series, MATE in later versions). The project's mission is to provide an intuitive and modern desktop environment anybody can use.

Cultix.
dvd 1 gb Debian-based distribution
http://sourceforge.net/projects/cultix/files/

http://www.imagineos.com.br/=?

http://fr.wikipedia.org/wiki/Scientific_Linux
http://fr.wikipedia.org/wiki/Syllable presque conforme à la norme POSIX

 anonymos
-shmoo.iso

 beakos

-balam
-xfce-1.7-i386.iso

 bsdanywhere
46-i386.iso

miros
MIR80316.ISO  

openSUSE
-12.1-NET-i586.iso

Petite Linux 11.4
i686.torrent

android
-x86-2.2-generic

elive
_1.9.61-zeitgeist NON CMOV 686

  knoppix
-std-0.1.iso

 MIRB0818
.ISO

  puppy-4.2.1retro-k2.6.

  rescatux
_cdrom_usb_hyb

   super_grub2_disk
_hybri

  ToutouLinux
-431.iso

Liste rapideet inexacte  à classer, doublons inside.

alpine-2.4.4-x86.iso
alterslax.iso
ALTFLUXMySLAX.iso
ALTMySLAX.iso
android-x86-2.2-generic.iso
anonymos-shmoo.iso
beakos-balam-xfce-1.7-i386.i
bsdanywhere46-i386.iso
bt2final.iso
delicate-0.1-alpha2.iso
eeebuntu-3.0-standard.iso
generic_x86.iso.7z

GENTOO
-install-x86-minimal-2
boot ok.
Installation via wi-fi pénible: abandonnée.

haiku
-r1alpha3-iso.zip

hakin9
- 18203-h9l-3.1.2-aur

Helix
2008R1.iso

IcarosLight
_1_4_0.7z
icepuppy
-014.iso

Imagineos
_en-20110605-i486-K

knoppix-std
-0.1.iso.torrent

KNOPPIX_V6.7.1CD-2011-09-14-
parfait

kolibri
_0.7.7.0_iso_en.7z

LighthousePup
-5.03-G.iso

linuxconsole
1.0.2010-cd.iso

minix
_R3.2.0-116fcea.iso.bz2

MIR80316.ISO
MIRB0818.ISO

NimbleX
-2010_Beta.iso

opendarwin-7.2.1.iso.bz2

openSUSE-12.1-NET-i586.iso

papuglinux-11.1a.iso

Petite Linux 11.4 i686

Porteus
-XFCE-v1.2-rc2-i486.i

puppy
-4.2.1retro-k2.6.21.7-s

ReactOS
-0.3.14-REL-iso

salix-ratpoison
-13.37.iso

semplice_2.0.2_203.0.iso

slackware-13.37-iso
slax.iso

SyllableDesktop
-0.6.7-1.i586

ToutouLinux
-431.iso

wifiway
-3.0-final-v2.iso

xubuntu
-12.04
-alternate-i386
-desktop-i386.i

zenwalk-openbox-7.0.iso

Commodore (Joke) http://www.commodoreusa.net/CUSA_OS_Vision_Download.aspx

Aide:
http://freeengineer.org/learnUNIXin10minutes.html
"Knoppix Remaster"


Ergonomique et maximum de wm:
pas de kde
pas de gnome
blackbox,enlightenment, hackedbox, lXDE, XFCE ?

assez de fonctions et lib:
partition+forensic+antiforensic + pentest + anonym
Forage
metasploit + armitage ?
pas de cups
pas de sendmail
pas de auto swap?
pas de graphisme
pas de audio
pas de suite de bureau lourde
pas de chat sauf irc
pas de java
pas de flash sauf si passe par gpl,d stuff...
pas de jeux inutiles.
wine?
 probablement pas virtualbox (trop gros)
tor vidalia ?
dosbox ?
qemu ?
bochs ?
francisé.
support wifi maximal
support pdf iso et convert doc.
code:bloc IDE pour n00b comme moi.
sleuthkit

maximum de browser:
mini ffox
pas chrome chromum pe ok
pas sunbird

Derivatives
CeroWrt[12] - CeroWrt purpose is to complement the debloat-testing kernel tree and provide a platform for real-world testing of bufferbloat fixes.[13]
Chillifire - OpenWrt-based firmware with focus on wireless hotspot management[citation needed]
Coova - OpenWrt-based with focus on wireless hotspots.
Gargoyle[14] - A web interface for OpenWrt with a strong emphasis on usability. It was originally available as a set of packages for OpenWrt. As the author of Gargoyle started to make modifications to the base system layout of OpenWrt, the package system was dropped and the only currently available downloads are full firmware images. Gargoyle makes extensive use of JavaScript, to offload as much work as possible to the client computer, and is focused on ease of use, striving to reach a level comparable to the appliance feel of commercial router firmware.
Flukso - Wireless sensor nodes using an Atheros AR2317 chipset running a patched OpenWrt OS for communication. Sources and hardware schematics available on Github.
FON - OpenWrt-based wireless routers acting as hotspots. Sources and toolchain available on fonosfera.org
FreeWRT - A fork of the OpenWrt project.
Freifunk - German software supports wireless mesh networks with OLSR, based on OpenWrt, available in several languages.
LibreWRT - OpenWrt-based GNU/Linux-libre distribution for computers with minimal resources, such as the Ben Nanonote, ath9k based wifi routers, and other hardware.
Midge Linux
Obelisco - (Website in Spanish)
OpenSAN - OpenWRT-based iSCSI target Storage Area Network realization.
OpenWRT/MLPPP - A fork of OpenWrt and Linux/MLPPP. Offers a better than stock MLPPP implementation (to avoid DPI-based throttling and for line bonding) by using Linux/MLPPP code. Developed by Canadian ISP's Acanac and Caneris, it also features web interface tweaks (mostly to make initial setup and basic configuration easier on the average user) and comes pre-packaged with consumer-oriented features like USB support for their most popular hardware and QoS scripts.
PacketProtector - OpenWrt-based security distribution that includes IDS, IPS, VPN, and web antivirus capabilities.
qMp - OpenWrt distribution for quick deployments of Mesh networks and nodes for wireless community networks.
RO.B.IN - ROBIN (ROuting Batman INside) is an FOSS mesh network project, deployed on top of OpenWrt kamikaze, running on any Atheros AP51 routers and using the B.A.T.M.A.N. routing algorithm.
X-Wrt - Enhancements to the OpenWrt web interface.

mercredi 4 juillet 2012

g_vfs_done():md2[WRITE(offset=434585600, length=131072)]error = 28

g_vfs_done():md2[WRITE(offset=434585600, length=131072)]error = 28

La cause ne semble pas être le cd... mais un manque de mémoire... m'as essayer de faire de la swap et un swapon et de jouer avec la taille du ramdisc avant install au hdd...

J'ai des indices qui suivent en dessous;

Extrait de:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2005-12/msg02078.html


What do I need to fix to be able to use a RAM-backed filesystem?


From mdconfig(8):


-t type
Select the type of the memory disk.


malloc Storage for this type of memory disk is allocated with
malloc(9). This limits the size to the malloc bucket
limit in the kernel. If the -o reserve option is not
set, creating and filling a large malloc-backed memory
disk is a very easy way to panic a system.




It allocates kernel address space which is quite scarce on 32-bit
platforms. I'm not sure if it allocated physical memory. Given the
panicking behavior, I suspect that is deferred.


Yes, that's why -o reserve is recommended to allocate it all up-front.

J'ai testé un install2hdd malloc -o;
y'a skippé complètement la copie des fichiers...
Le script m'a aussi dit que l,install était réussie.
Connard. 

I believe this is mostly accurate. If you're actually out of memory,
there's a good chance you're going to be swapping anyway so this might
or might not actually cost you anything. If you have frequent, randomly
distributed access to the file system it's likely to be expensive. On
the other hand, if there are hot spots, the swapping may be beneficial
because it will allow other processes to proceed more efficiently.


Also in the case when you are not swapping, swap-backed md is actually faster than malloc backed.

En fait, dans mon cas spécifiquement, y'a bien un swap file, mais le live-cd s'en sert pas, même avec un swapon...  Bordel.

Really you need to make sure that whatever you use your system for, you have enough RAM that you never need to swap. Otherwise you're throwing away most of your system's performance for no good reason.

===================================================
Extrait qui peut aider:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2007-08/msg00528.html



Re: kernel panic with memory disks
From: Stefan Lambrev <stefan.lambrev@xxxxxxxxxxxxxxxx>
Date: Tue, 21 Aug 2007 10:32:45 +0300
Hello,


Eric Kjeldergaard wrote:
On 20/08/07, Stefan Lambrev <stefan.lambrev@xxxxxxxxxxxxxxxx> wrote:
Hello,


I do not know if this is know behavior, and I know that 6.2 panic if the
memory disk got full,
but on 7-current the panic is before the disk got full.


Here is what I do:


mdconfig -a -t malloc -s 800m
newfs /dev/md0
mount /dev/md0 /mnt
cp 600mb.file /mnt

Si je suis pas dans le champs, le gars assignait ici 800 megs dans son malloc...

-t type
Select the type of the memory disk.


malloc Storage for this type of memory disk is allocated with
malloc(9). This limits the size to the malloc bucket
limit in the kernel. If the -o reserve option is not
set, creating and filling a large malloc-backed memory
disk is a very easy way to panic a system.
-- mdconfig(8)


I really should read manuals more carefully :) Thanks for the information.


Just one more question - to prevent panic I should use "-o reserve" and have to increase:
vfs.maxmallocbufspace
vfs.bufmallocspace




Pages

Membres