Re: remettre windows

2022-03-24 Thread Mathias Dufresne
Avec UEFI, Windows devrait avoir créé une entrée UEFI ou celle-ci peut être
recréée depuis un linux (live cd ou autre). Une fois l'UEFI configuré pour
lancer le bootloader de MS Windows, plus de souci avec grub puisque
celui-ci n'est plus lancé

Le jeu. 24 mars 2022 à 14:41, Luc Novales  a écrit :

> Bonjour,
> Le 24/03/2022 à 12:48, hamster a écrit :
>
> Souci, j'ai pas de CD d'installation.
>
>
> Deux solutions que je n'ai pas testées, prudence... ;)
>
> 1. Peut-être directement sous Windows, en ayant booté via grub.
>
> https://www.diskpart.com/windows-10/fix-mbr-windows-10-0708.html
>
>
> 2. Sinon, il semble que testdisk fasse aussi le travail si le backup du
> boot secteur existe : "Recover NTFS boot sector from its backup".
>
> Il est disponible sur le live-cd ultimatebootcd :
>
> https://www.ultimatebootcd.com/
>
>
> voir : https://www.cgsecurity.org/wiki/TestDisk_Step_By_Step
>
>
> Bonne journée,
>
> Luc.
>
>
>
>
>


Re: [HS] awk afficher une colonne sur deux colonnes

2022-03-21 Thread Mathias Dufresne
_
#!/usr/bin/awk

{
  start = 1
  printf("%s%s", $start, FS)
  inc = 2
}
{
  for(i=start + inc; i < NF+1; ) {
printf("%s%s", $i, FS)
i = i + inc
  }
  print ""
}
_

Je n'ai pas réussi à faire fonctionner l'incrément dans le for() et ça
m'étonne...

Le ven. 18 mars 2022 à 17:09, Marc Chantreux  a écrit :

> salut,
>
> > for i in {100..120}; do echo $i; done | column -c 19
>
> seq 100 120 | xargs -n2
>
> for a b ({100..120}) echo $a $b
>
> print -C2 {100..120}
>
>
> cordialement,
>
> --
> Marc Chantreux
> Direction du numérique de l'Université de Strasbourg
> Pôle de Calcul et Services Avancés à la Recherche (CESAR)
> http://annuaire.unistra.fr/p/20200
>
>


Re: HS: samba+ldap, login smbclient

2022-03-16 Thread Mathias Dufresne
Salut,

Pardon je déterre un peu là, faut croire que je m'ennuie :p

Pourquoi une authentification LDAP ? Est-ce vraiment un Samba faisant
tourner un domaine NT4 (ou pire, un domaine NT4 : ) ?
J'imagine qu'aujourd'hui, Samba pouvant servir à fabriquer un AD en lieu et
place des domaines NT4, l'authentification est gérée par un AD. Si c'est le
cas, pourquoi ne pas simplement passer à une authentification Kerberos ?

Un coup de kinit pour générer un ticket puis ce ticket est utilisable pour
remplacer le mot de passe, de mémoire avec quelque chose qui ressemble à
"smbclient -k //hostname/share"

Le ven. 14 janv. 2022 à 09:06, didier gaumet  a
écrit :

>
>
> *sous toutes réserves*, peut-être que le problème vient d'une
> correspondance entre systèmes d'autentification Windows/Linux, ça
> semble géré par IDMAP. La page man de idmap_ldap pourrait
> éventuellement t'éclairer, et plus largement (suivant l'architecture du
> réseau considéré, même avec du LDAP dedans?) toutes les pages man
> idmap_*
>
> Les pages man sont là:
> https://www.samba.org/samba/docs/current/man-html/
>
>
>
>
>


Re: Afficher la phrase de passe pour LVM-encrypt au boot

2022-03-16 Thread Mathias Dufresne
C'est en anglais mais ça devrait pouvoir aider :
https://forums.debian.net/viewtopic.php?t=143492

Cheers : )

Le lun. 28 févr. 2022 à 10:16, elguero eric  a écrit :

>
>
> un truc qui marche (parfois) : tu tapes
> le mot de passe dans un éditeur puis
> tu le copies/colles dans la fenêtre ou
> le terminale qui le demande.
>
>
> Le lundi 28 février 2022, 08:21:25 UTC+1, ORL  a écrit :
>
>
>
>
>
> Salut,
>
> J'utilise lvm-encrypt sur mon laptop, mais il commence à présenter des
> faiblesses sur certaines touches, et je loupe régulièrement ma
> passphrase sans savoir pourquoi. Par ailleurs, il n'affiche pas si Caps
> Lock est locké ou non, donc un peu galère.
>
> Est-ce qu'il est possible de faire en sorte que le mot de passe que je
> tape soit affiché (plutôt que de mettre des étoiles) ? Parce qu'en
> pratique, je ne taperai pas ce mot de passe si quelqu'un regarde par
> dessus mon épaule (c'est pas trop mon contexte) ? Ou a minima de
> switcher pour voir ce que j'ai tapé ?
>
> Merci.
>
>


Re: Quel(s) serveur(s) DHCP pour 250 LAN de petite taille (/28) ?

2022-03-16 Thread Mathias Dufresne
Salut,

Un extrait de "apt search dhcp" :
isc-dhcp-relay/oldstable,now 4.4.1-2+deb10u1 amd64 [installed]
  ISC DHCP relay daemon

isc-dhcp-server/oldstable 4.4.1-2+deb10u1 amd64
  ISC DHCP server for automatic IP address assignment

Lancé sur le relais DHCP qui est mon mini-routeur. Sur la machine serveur
DHPC, c'est l'autre qui tourne : isc-dhcp-server.

Viser quelque chose de plus complet peut cependant aider. Le mot clé "IPAM"
pour IP Address Management dans google devrait t'indiquer des logiciels
plus complets pour la gestion de tous ces réseaux.

Sinon en jouant avec la configuration offerte par l'isc-dhcp-server et son
mot clé "include" tu devrais pouvoir découper ta configuration pour avoir
un fichier par réseau par exemple plutôt qu'avoir à modifier un seul gros
fichier avec tes 250 réseaux.


Le sam. 12 mars 2022 à 18:13, NoSpam  a écrit :

> Bonjour
>
> Le 11/03/2022 à 12:48, Olivier a écrit :
> > Bonjour,
> >
> > Je souhaite mettre en place sur une machine Bullseye, un service DHCP
> > traitant 250 réseaux locaux de petite taille (/28 soit 16 adresses)
> > mais chacun avec 1 ou 2 machines connectées, au maximum.
> >
> > 1. Qui a déjà mis en oeuvre ce type de chose ? Avec quels composants ?
> > Quel retour d'expérience ?
> >
> > 2. Je connais le serveur DHCP d'ISC. J'ai l'habitude de lister les
> > interfaces sur lesquelles il écoute
> > en complétant la ligne INTERFACESv4 du fichier /etc/default/interfaces.
> > Existe-t-il une autre façon de fournir la liste des interfaces ?
> >
> > 3. Suggestions ? Conseils ?
>
> dnsmasq. Et passer en ipv6 ...
>
> --
> Daniel
>
>


Re: Disques ssd sensibles aux coupures brutales ?

2022-03-16 Thread Mathias Dufresne
En provenance directe du man (7) de fstab :

   *The sixth field (**fs_passno**).*
   This field is used by fsck(8)
<https://man7.org/linux/man-pages/man8/fsck.8.html> to determine the
order in which
   filesystem checks are done at boot time. The root filesystem
   should be specified with a *fs_passno* of 1. Other filesystems
   should have a *fs_passno* of 2. Filesystems within a drive will be
   checked sequentially, but filesystems on different drives will be
   checked at the same time to utilize parallelism available in the
   hardware. Defaults to zero (don’t check the filesystem) if not
   present.


Ensuite, quel fsck (fsck.ext[234], fsck.vaft, .minix ...) est réellement
dépend du FS en question.

Quant à savoir si c'est lié au buffer ou non, je ne me suis simplement
jamais attaqué à obtenir une réponse de ce type. Trop bas niveau à mon sens
et je n'en jamais ressenti le besoin en plus de 20 à jouer les sysadmins : )

Le mer. 16 mars 2022 à 09:58, Daniel Caillibaud  a
écrit :

> Le 15/03/22 à 10:33, Mathias Dufresne  a
> écrit :
> > Je suis par contre assez surpris de lire que tu as besoin de fsck
> > régulièrement vu que (selon moi, c'est pas une vérité gravée dans le
> marbre
> > ; ) le problème est forcément lié à l'écriture et que les systèmes
> > n'écrivent pas grand chose hormis leurs logs
>
> Je sais pas si c'est fsck, mais il scanne pas le FS (ça prend qq ms lors
> du boot), je pensais
> que c'était juste le journal du FS qui avait encore dans son buffer des
> données non écrites, et
> qu'il commençait par les écrire à leur place avant de monter le
> filesystem, d'où les messages
> "recovered inode …".
>
> --
> Daniel
>
> L'idée d'une armée européenne est vraiment intéressante,
> mais pourquoi ne pas aller plus loin en créant une armée
> mondiale dont le principal intérêt serait qu'elle n'aurait
> pas d'ennemis.
> Philippe Geluck, Le chat
>
>


Re: disque plein mais pas plein

2022-03-15 Thread Mathias Dufresne
Salut,

J'ai eu le problème il y a peu (mon .bash_history s'en souvient) et j'ai dû
refaire une partition n'ayant pas trouvé comment utiliser tune2fs pour
modifier le nombre d'inodes.

L'option de mkfs.ext4 est -N pour modifier ce nombre.
Pour recopier le contenu d'une partition aisément sans s'occuper de FS
monté dans des répertoires de la partition à copier, tu peux monter une
seconde fois cette partition dans un autre répertoire puis avec :
find . | cpio -pd /path/to/newFS
Avec cette commande lancée à l'endroit où est montée la partition à copier,
tu recopies l'intégralité du FS et uniquement ce FS.



Le jeu. 17 févr. 2022 à 10:08, Luc Novales  a écrit :

> Bonjour,
> Le 16/02/2022 à 16:28, Benoît SZCZYGIEL a écrit :
>
> Bonne réponse collective, effectivement les inodes sont à 100%. Existe t-il 
> une solution pour les augmenter sans réformateur? Je n'ai pas trouvé.
> Merci
>
> Effacer quelques fichiers pour pouvoir investiguer serait peut être une
> solution. Ensuite, augmenter le nombre d'inodes sans savoir ce qui les
> consomme ne va que retarder un prochain problème.
>
> A part un logiciel crée beaucoup de petits fichiers comme du cache http,
> le nombre d'inodes par défaut est suffisant.
>
> La commande : sudo du --inodes -s /var/*
>
> peut aider à diagnostiquer.
>
> Bonne journée,
>
> Luc.
>


Re: Disques ssd sensibles aux coupures brutales ?

2022-03-15 Thread Mathias Dufresne
Salut,

@home, je ne m'inquiète absolument pas de ça. Sans onduleur, mon
mini-serveur qui fait office de NAS au passage redémarre correctement
depuis des années après chaque coupure d'électricité. Juste pour te
rassurer ^^

Je dirai que le risque est lié à l'utilisation des disques. Pour qu'un
disque présente un problème après une coupure, soit c'est mal géré par le
système (au sens très large) soit c'est que le disque n'a pas eu le temps
de finir le travail d'écriture en cours. Or les SSD écrivent plutôt vite ce
qui limite les risques d'une écriture non terminée.
Le risque augmente avec l'utilisation du FS mais tu parles de NAS perso, ça
sert le plus souvent à la lecture et comme il est "perso", le nombre
d'écriture doit être relativement restreint.

Je suis par contre assez surpris de lire que tu as besoin de fsck
régulièrement vu que (selon moi, c'est pas une vérité gravée dans le marbre
; ) le problème est forcément lié à l'écriture et que les systèmes
n'écrivent pas grand chose hormis leurs logs, peut-être vérifier sur quelle
partition / FS s'appliquent ces fsck, voire si ce n'est pas encore le cas,
séparer les logs du reste du systèmes (en terme de partitions) afin que le
risque soit cloisonné...

Le sam. 12 mars 2022 à 00:30, Daniel Caillibaud  a
écrit :

> Bonjour,
>
> Je reviens sur ce thread parce que :
>
> Le 04/03/22 à 17:21, Olivier  a écrit :
> > Mon objectif est d'éviter d'endommager un disque (toujours de type SSD
> ou NVMe) à cause d'une
> > coupure brutale de courant.
>
> m'étonne un peu.
>
> Un disque ssd est vraiment sensible à une coupure brutale ?
>
> Je me souviens™ du devoir de parquer les disques avant d'éteindre un PC,
> mais c’était au siècle
> dernier !
>
> Assez rapidement les constructeurs ont ajoutés du park auto à l’extinction
> (j’imagine le nb de
> plaintes qu’ils ont eu de gens ayant dépensé des fortunes pour un hd,
> parti en fumée parce que
> qqun avait déplacé un PC éteint), puis du park auto à la coupure de
> courant (ils ont réinventé
> le ressort).
>
> Depuis les ssd y’a plus de tête risquant de se retrouver au mauvais
> endroit au mauvais moment,
> donc en cas de coupure de courant je veux bien qu’il y ait un risque sur
> les datas (et encore,
> avec les fs journalisés ça devrait plus trop être le cas), mais un risque
> sur le matériel ?
>
> C’est toujours d’actualité ?
>
> Si oui faut vraiment que je m’inquiète car sur mon PC actuel j’ai du
> reboot hard ~3×/semaine
> depuis 1an 1/2, du "recovered inode" à chaque reboot après un plantage,
> mais heureusement les
> disques sont toujours là (un nvme et un disque HD classique à plateaux,
> moins sollicité).
>
> Rien d’ironique, je suis une buse en hardware et peux très bien avoir de
> fausses idées reçues,
> si qqun qui sait peut confirmer / infirmer ça m’intéresse.
>
>
> PS: ça ne remet pas en cause l’intérêt d’un onduleur, mais pour du NAS
> perso, ça me paraît un
> peu overkill (je ne parle pas du coût environnemental, changer les
> batteries tous les 2ans,
> toussa, juste du coût humain pour s’occuper de l’onduleur et sa
> communication avec la machine,
> plutôt que de laisser la machine redémarrer toute seule quand le courant
> revient).
>
> --
> Daniel
>
> Lorsque j'ai été kidnappé, ma mère a réagi tout de suite: elle a sous-loué
> ma chambre.
> Woody Allen
>
>


Re: Comment éteindre un serveur proprement pour permettre le redémarrage automatique ?

2022-03-15 Thread Mathias Dufresne
Salut,

L'option mentionnée du BIOS pour le redémarrage automatique ne fonctionne
que si l'alimentation électrique a été coupée. Ici, sur une carte mère sans
doute très différente de la tienne, après un poweroff suivi d'une coupure
électrique, la machine redémarre automatiquement lorsque l'électricité est
à nouveau disponible... à condition d'attendre suffisamment pour que les
condensateurs se vident et que la carte comprenne que l'électricité est
coupée.

Une option peut être le wake-on-lan si le problème du redémarrage
automatique ne fonctionne pas. Malheureusement ça nécessite une machine
allumée donc soit par un démarrage manuelle, soit une machine qui arrive a
se réveiller toute seule après retour de l'électricité. P't'être même qu'un
vieux PC qui s'allume quand le courant revient pour lancer des paquets
wake-on-lan et qui s'éteigne une fois sa tâche terminée pourrait faire
l'affaire : à la fin de la prochaine coupure, cette machine devrait se
réveiller et lancer les paquets...

En espérant que ça puisse t'être utile ; )

Le ven. 4 mars 2022 à 23:06, NoSpam  a écrit :

> Comme déjà proposé, nut permet la gestion des onduleurs en USB, série ou
> ethernet.
>
> Le 04/03/2022 à 17:21, Olivier a écrit :
> > Bonjour,
> >
> > J'envisage de protéger des serveurs distants (de type NUC) avec un
> > "onduleur administrable". Mon objectif est d'éviter d'endommager un
> > disque (toujours de type SSD ou NVMe) à cause d'une coupure brutale de
> > courant.
> >
> > J'accepte que les services soient interrompus tant que dure la panne
> > de courant mais j'aimerai qu'idéalement, les services redémarrent sans
> > intervention humaine quand le courant revient (si par chance, celui-ci
> > devait revenir sans action humaine).
> >
> >
> > Imaginons qu'un serveur distant protégé par cet onduleur
> > administrable, reçoive de ce dernier ou d'ailleurs, la notification
> > d'une panne de courant prolongée.
> >
> > Quelle commande d'extinction-hibernation doit-il émettre afin :
> > 1- qu'il consomme le minimum d'énergie tant que dure la panne de courant
> > 2- qu'il re-démarre dès que le courant revient.
> >
> > J'ai vu dans le BIOS une option "After Power Failure: Stay Off/Power
> > On Normal Boot/Power On PXE". Je l'ai essayé mais elle ne fonctionne
> > après une commande poweroff, ce qui me semble logique.
> >
> > Une idée ?
> >
> > Slts
>
>


Re: [stretch] CUPS en français

2017-10-16 Thread Mathias Dufresne
Le 16 octobre 2017 à 22:24, Mathias Dufresne <mathias.dufre...@gmail.com> a
écrit :

> Le problème est pour ma chère môman qui refuse de se mettre à l'anglais à
> 68 ans. Je vous laisse penser que c'est une feignasse mais j'ai un point de
> vue faussé : c'est ma môman. Perso l'anglais me va très bien mais j'ai
> voulu regarder et je suis venu par ici pour deux raisons : en règle
> générale on trouve par ici une aide intéressante et j'ai opté spécifique
> pour la user-french car on y cause le français. Je me suis dit que le sujet
> pourrait intéresser du monde. Je n'ai pas pensé que ça partirait en
> troll... Je voulais parler d'informatique libre initialement.
>
>
> Le 16 octobre 2017 à 21:03, Manu Baylac <m...@ldd.fr> a écrit :
>
>> Bonsoir,
>>
>>
>> Le 16/10/2017 à 13:10, Michel a écrit :
>>
>> Jessie avec cups 1.7.5, on a: ca, cs, de, es, fr, it, ja, pt_BR et ru.
>>>
>>
>> Oui, mais grâce aux contributeurs. Et la question est bien appuyée dans
>> son titre, ça concerne Stretch. Cette stable est récente, il faut être un
>> peu patient ou contribuer pour faire avancer les choses.
>>
>
> Concernant le fait que la distrib' ne soit pas la même chez François
> plutôt que râler je vais poser une question :
> As-tu un répertoire /usr/share/cups/template/fr ?
>
>
>>
>> Donc je persiste : Si François (Tourde) voit son cups en français sans
>> problème et sans n'avoir rien fait comme il le dit, soit il n'a pas bien lu
>> le titre et du coup porte à confusion car il n'est pas sous stretch, soit
>> il utilise un navigateur avec la traduction automatique activée (c'est en
>> majorité très bien traduit donc c'est bluffant).
>>
>
> Comme dit plus haut l'anglais me va bien et aucun de mes navigateurs sur
> aucun de mes systèmes ne traduit automatiquement les pages en anglais et
> pourtant, je reste persuadé d'avoir déjà eu cette interface Web en
> français. Cups est très utilisé et la traduction de ces pages n'est pas un
> travail hors du commun, ceci dit sans vouloir dénigrer à aucun moment le
> boulot fait par les contributeurs mais plutôt mettre en évidence que je
> serai fort surpris qu'aucune version de Cups n'ai jamais été traduite en
> français.
>
> Suite à la lecture de tout ça j'ai récupéré le dépôt git, j'ai regardé
> dans le répertoire template et sans surprise - pour moi en tout cas - tout
> ou presque est déjà traduit. La communauté du libre fonctionne bien en
> générale, en voilà un autre exemple.
>
> Ici aussi j'ai Cups et il parle en anglais. C'est un Gentoo (pas de troll
> sur ce sujet, merci) qui utilise la version 2.1.4. Dans
> /usr/share/cups/templates il n'y avait pas de répertoire fr, c'est pour ça
> que j'ai récupéré les sources (au passage merci pour le lien du git) et
> j'ai copié le répertoire templates/fr des sources dans
> /usr/share/cups/templates/fr. J'ai redémarré cups via systemd et
> l'interface web est toujours en anglais, malgré :
> - le fait que ce répertoire fr contienne des pages traduites
> - mon navigateur est configuré pour utiliser le français par défaut (fr
> puis fr_fr en second choix dans Préférences -> Contenu -> Langues, c'est un
> firefox)
>
> Ce soir l'ordi de ma chère mère est éteint et je ne peux tester mais si je
> n'arrive pas à faire la manipulation décrite plus haut sur un système je
> serai surpris d'y arriver sur un autre.
>
> Tout ça pour dire qu'ajouter le répertoire fr /usr/share/cups/templates/
> semble insuffisant. Quelqu'un aurait une idée pour faire avancer le
> schmilblick ?
>
> Merci de votre aide.
>

PS : étant joueur j'ai créé un répertoire /usr/share/cups/templates/en pour
tout stocker ici et copier les fichiers fr directement dans templates, sans
succès, ça cause toujours en anglais.


>
>> Le thread grossit alors que la solution est donnée et bien expliquée dans
>> la première réponse 14 minutes après la question :-)
>>
>> --
>> Manu
>>
>>
>>
>>
>


Re: [stretch] CUPS en français

2017-10-16 Thread Mathias Dufresne
Le problème est pour ma chère môman qui refuse de se mettre à l'anglais à
68 ans. Je vous laisse penser que c'est une feignasse mais j'ai un point de
vue faussé : c'est ma môman. Perso l'anglais me va très bien mais j'ai
voulu regarder et je suis venu par ici pour deux raisons : en règle
générale on trouve par ici une aide intéressante et j'ai opté spécifique
pour la user-french car on y cause le français. Je me suis dit que le sujet
pourrait intéresser du monde. Je n'ai pas pensé que ça partirait en
troll... Je voulais parler d'informatique libre initialement.


Le 16 octobre 2017 à 21:03, Manu Baylac  a écrit :

> Bonsoir,
>
>
> Le 16/10/2017 à 13:10, Michel a écrit :
>
> Jessie avec cups 1.7.5, on a: ca, cs, de, es, fr, it, ja, pt_BR et ru.
>>
>
> Oui, mais grâce aux contributeurs. Et la question est bien appuyée dans
> son titre, ça concerne Stretch. Cette stable est récente, il faut être un
> peu patient ou contribuer pour faire avancer les choses.
>

Concernant le fait que la distrib' ne soit pas la même chez François plutôt
que râler je vais poser une question :
As-tu un répertoire /usr/share/cups/template/fr ?


>
> Donc je persiste : Si François (Tourde) voit son cups en français sans
> problème et sans n'avoir rien fait comme il le dit, soit il n'a pas bien lu
> le titre et du coup porte à confusion car il n'est pas sous stretch, soit
> il utilise un navigateur avec la traduction automatique activée (c'est en
> majorité très bien traduit donc c'est bluffant).
>

Comme dit plus haut l'anglais me va bien et aucun de mes navigateurs sur
aucun de mes systèmes ne traduit automatiquement les pages en anglais et
pourtant, je reste persuadé d'avoir déjà eu cette interface Web en
français. Cups est très utilisé et la traduction de ces pages n'est pas un
travail hors du commun, ceci dit sans vouloir dénigrer à aucun moment le
boulot fait par les contributeurs mais plutôt mettre en évidence que je
serai fort surpris qu'aucune version de Cups n'ai jamais été traduite en
français.

Suite à la lecture de tout ça j'ai récupéré le dépôt git, j'ai regardé dans
le répertoire template et sans surprise - pour moi en tout cas - tout ou
presque est déjà traduit. La communauté du libre fonctionne bien en
générale, en voilà un autre exemple.

Ici aussi j'ai Cups et il parle en anglais. C'est un Gentoo (pas de troll
sur ce sujet, merci) qui utilise la version 2.1.4. Dans
/usr/share/cups/templates il n'y avait pas de répertoire fr, c'est pour ça
que j'ai récupéré les sources (au passage merci pour le lien du git) et
j'ai copié le répertoire templates/fr des sources dans
/usr/share/cups/templates/fr. J'ai redémarré cups via systemd et
l'interface web est toujours en anglais, malgré :
- le fait que ce répertoire fr contienne des pages traduites
- mon navigateur est configuré pour utiliser le français par défaut (fr
puis fr_fr en second choix dans Préférences -> Contenu -> Langues, c'est un
firefox)

Ce soir l'ordi de ma chère mère est éteint et je ne peux tester mais si je
n'arrive pas à faire la manipulation décrite plus haut sur un système je
serai surpris d'y arriver sur un autre.

Tout ça pour dire qu'ajouter le répertoire fr /usr/share/cups/templates/
semble insuffisant. Quelqu'un aurait une idée pour faire avancer le
schmilblick ?

Merci de votre aide.


>
> Le thread grossit alors que la solution est donnée et bien expliquée dans
> la première réponse 14 minutes après la question :-)
>
> --
> Manu
>
>
>
>


Re: [stretch] CUPS en français

2017-10-15 Thread Mathias Dufresne
Il me semble pourtant l'avoir déjà vu en français cette interface...
j'affabule peut-être ceci dit.

Le 15 octobre 2017 à 18:54, François LE GAD <francois.le@free.fr> a
écrit :

> Le 15/10/2017 à 18:37, Mathias Dufresne a écrit :
>
>> Je cherche à ce que l'interface web de Cups parle en français mais je n'y
>> arrive pas.
>>
>
> Ce n'est pas prévu, mais tu peux t'y mettre :
> https://www.cups.org/doc/translation.html
>
> --
> François
>
>


[stretch] CUPS en français

2017-10-15 Thread Mathias Dufresne
Bonjour à tous et toutes,

Je cherche à ce que l'interface web de Cups parle en français mais je n'y
arrive pas.

Le navigateur (iceweasel et chromium) est configuré avec le français en
premier dans les langues et j'ai aussi LANG=fr + LANGUAGE=fr_FR:fr dans le
.bashrc.

Quelqu'un saurai ce que j'ai raté ?


Re: renommer l'interface réseau

2017-08-22 Thread Mathias Dufresne
Le nommage à la volée du matériel quand on a plusieurs matériels d'un même
type me semble forcément foireux.
Je comprends que le nommage eth0, eth1... ait été abandonné, par contre je
reproche à la nouvelle méthode de se vanter d'être la solution.
La nouvelle méthode se base sur les ports PCI et/ou PCI express pour
choisir le nom, si je ne dis pas de bêtise. C'est censé être sûr,
définitif. C'est un mensonge éhonté tout simplement.
Lorsque udev a changé sa méthode par défaut j'ai laissé faire, étant
joueur. Sur mon petit serveur de virtualisation qui a 4 cartes ethernet
dont je me sers, j'ai rajouté une carte graphique... Et la nouvelle méthode
infaillible, stable, définitive a tout simplement renommé toutes mes cartes
réseau.

De toute façon c'est foireux, dès qu'on modifie le matériel ça change. Et
j'insiste : dire le contraire c'est de la mauvaise foi.
Pour faire stable il faut forcer les noms manuellement. Debian pourrait
trouver sa propre règle de nommage et forcer un nommage particulier, stable
plutôt que s'appuyer sur un truc bancal qui refuse d'admettre qu'il est
bancal...

Le 21 août 2017 13:50, "Francois Lafont"  a écrit :

> On 08/21/2017 07:27 AM, Pascal Hambourg wrote:
>
> >> Àmha, ce n'est pas forcément une bonne idée de toucher à Grub et
> >> aux options de boot du noyau. La méthode que j'ai indiquée avec
> >> systemd dans mon message précédent me semble plus « propre ».
> >
> > Pourquoi donc ?
>
> Perso, j'ai eu parfois des problèmes avec Grub. Sur des serveurs HP
> par exemple, le simple fait de changer une option de boot avec Grub
> faisait que le serveur ne démarrait plus. Alors c'était sans doute
> plus un souci côté serveur que côté Grub (j'ai jamais eu le fin mot
> de l'histoire, le support HP n'a pas été efficace, c'est le moins
> qu'on puisse dire) mais perso je préfère ne pas pas toucher à la
> configuration de Grub.
>
> Et par ailleurs, la solution avec un fichier dans /etc/systemd/network/
> me paraît tellement simple, avec une syntaxe on ne peut plus claire
> (voir SYSTEMD.LINK(5) exemple 2 sous Stretch).
>
>
> --
> François Lafont
>
>


Re: [KDE5] Icônes manquantes dans Dolphin

2017-08-22 Thread Mathias Dufresne
Le 22 août 2017 à 20:24, Mathias Dufresne <mathias.dufre...@gmail.com> a
écrit :

>
>
> Le 22 août 2017 à 18:40, thierry.jeanmou...@cegetel.net <
> thierry.jeanmou...@cegetel.net> a écrit :
>
>> Le 21/08/2017 à 14:37, Mathias Dufresne a écrit :
>>
>>> Bonjour à tou(te)s,
>>>
>>> Je viens d'installer Debian 9 et celle-ci est iconoclaste : dans Dolphin
>>> je n'ai aucune icône malgré l'installation de "kde-full".
>>>
>>> Quelqu'un aurait une idée sur comment faire pour que ces icônes
>>> reviennent ?
>>>
>>> En vous souhaitant une bonne journée,
>>>
>>> Mathias
>>>
>>
>> Tu ne serais pas en 32 bits par hasard? J'ai le même problème d'icones
>> manquantes avec Skrooge sous Stretch i386. En revanche aucun problème sous
>> Stretch amd64, ou avec Jessie i386. J'ai constaté d'ailleurs pas mal de pbs
>> avec la version 32 bits de Stretch.
>>
>
> Salut,
>
> La probabilité est faible, j'ai utilisé debian-9.1.0-amd64-netinst.iso
> pour l'installation.
> Sinon :
> moman:~# uname -a
> Linux moman 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06)
> x86_64 GNU/Linux
> moman:~# file /lib/systemd/systemd
> /lib/systemd/systemd: ELF 64-bit LSB shared object, x86-64, version 1
> (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for
> GNU/Linux 2.6.32, BuildID[sha1]=70994edf61ebc37695fb0ed7a82eeb48d41413a0,
> stripped
>
> Ceci dit, c'est que j'expliquais dans mon dernier message, celui de ce fil
> de discussion juste avant ton message, le problème est résolu en
> renseignant des variables.
>
> Ça a marché sur ma Gentoo, ça a marché sur le Debian 9 de ma môman, et les
> infos je les avais récupéré, si je me souviens bien, sur le forum ou le
> wiki Archlinux.
>
>

Pardon, en me relisant le ton est un peu rude...

Donc normalement c'est bien du 64bits pour le pc Debian 9 (celui nommé
"moman" dans les commandes précédentes).
Pour ma Gentoo c'est aussi du 64bits.

Ce qui manquait dans le titre c'est le fait que ces systèmes n'utilisent
pas KDE comme interface graphique mais openBox. Je ne pense pas que le
problème intervienne avec une interface KDE, le problème n'était présent
sur ma Gentoo avec le bureau KDE et sur une Gentoo si ça ne marche, c'est
pas la fautes des devs mais de l'utilisateur (donc ma faute à moi ;)
Et comme ça marchait sur Gentoo avec un bureau KDE alors que je n'avais
rien configuré pour, c'est le bureau KDE fait ce qu'il faut pour que les
icônes soient trouvées (via des variables ou autres, je ne sais pas).

Toujours est-il qu'avec openbox qui ne renseigne pas les variables pour KDE
(ce qui se comprend), les icônes étaient absentes. Et avec ces variables,
le problème ne se pose plus. Quelle que soit la version de KDE5 et sans
doute avec des systèmes 32 tout comme 64bits.


Re: [KDE5] Icônes manquantes dans Dolphin

2017-08-22 Thread Mathias Dufresne
Le 22 août 2017 à 18:40, thierry.jeanmou...@cegetel.net <
thierry.jeanmou...@cegetel.net> a écrit :

> Le 21/08/2017 à 14:37, Mathias Dufresne a écrit :
>
>> Bonjour à tou(te)s,
>>
>> Je viens d'installer Debian 9 et celle-ci est iconoclaste : dans Dolphin
>> je n'ai aucune icône malgré l'installation de "kde-full".
>>
>> Quelqu'un aurait une idée sur comment faire pour que ces icônes
>> reviennent ?
>>
>> En vous souhaitant une bonne journée,
>>
>> Mathias
>>
>
> Tu ne serais pas en 32 bits par hasard? J'ai le même problème d'icones
> manquantes avec Skrooge sous Stretch i386. En revanche aucun problème sous
> Stretch amd64, ou avec Jessie i386. J'ai constaté d'ailleurs pas mal de pbs
> avec la version 32 bits de Stretch.
>

Salut,

La probabilité est faible, j'ai utilisé debian-9.1.0-amd64-netinst.iso pour
l'installation.
Sinon :
moman:~# uname -a
Linux moman 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64
GNU/Linux
moman:~# file /lib/systemd/systemd
/lib/systemd/systemd: ELF 64-bit LSB shared object, x86-64, version 1
(SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for
GNU/Linux 2.6.32, BuildID[sha1]=70994edf61ebc37695fb0ed7a82eeb48d41413a0,
stripped

Ceci dit, c'est que j'expliquais dans mon dernier message, celui de ce fil
de discussion juste avant ton message, le problème est résolu en
renseignant des variables.

Ça a marché sur ma Gentoo, ça a marché sur le Debian 9 de ma môman, et les
infos je les avais récupéré, si je me souviens bien, sur le forum ou le
wiki Archlinux.


Re: [KDE5] Icônes manquantes dans Dolphin

2017-08-22 Thread Mathias Dufresne
Salut à tou(te)s,

Vous lire m'a rappelé que j'avais déjà eu le souci avec ma Gentoo, problème
résolu en ajoutant quelques variables à mon .bashrc.
J'ai ajouté ces variables sur la Debian 9, toujours dans le .bashrc de
l'utilisateur ouvrant la session graphique (ici openBox) et le problème est
résolu, les icônes sont revenues.
Ce problème ne touchait pas ma Gentoo lorsque le bureau était KDE, sur
Debian je n'ai pas testé.

On m'a demandé dans le premier message quelles versions j'utilisais : peut
importe. J'ai KDE5 sur ma Gentoo depuis plusieurs mois et les versions ont
bien changé depuis.

Comme je suis un gros fainéant et que je l'affiche - sans remords aucun -
je n'ai pas vérifié si ces variables sont toutes nécessaires, peut-être que
quelqu'un ici s'en donnera la peine, peut-être que je le ferai un jour...

Toujours est-il que les variables ajoutées sont les suivantes :
export XDG_CURRENT_DESKTOP=KDE

export KWIN_EXPLICIT_SYNC=0
export QT_QPA_PLATFORMTHEME="qt5ct"

export XDG_MENU_PREFIX=kde-4-
export XCURSOR_THEME=breeze_cursors
export KDE_SESSION_VERSION=5

Et avec ça, Dolphin ne joue plus les iconoclastes : )

Bonne fin de journée !

mathias


Le 22 août 2017 à 13:47, Haricophile <haricoph...@aranha.fr> a écrit :

> Le Mon, 21 Aug 2017 20:59:33 +0200,
> maderios <mader...@gmail.com> a écrit :
>
> > Bonjour
> > KDE est dans les choux depuis un moment et ce, pour toutes les
> > distro. Ce n'est pas un hasard si le dev principal de Digikam, Gilles
> > Caulier, a supprimé les trois  quarts des dépendances kde au profit
> > de qt5 et il veut même aller plus loin...
>
> Bonne nouvelle ça, KDE a quelques softs intéressants comme ça mais trop
> dépendant de KDE pour être utilisé sur d'autres bureaux.
>
> --
> haricoph...@aranha.fr
>
>


[KDE5] Icônes manquantes dans Dolphin

2017-08-21 Thread Mathias Dufresne
Bonjour à tou(te)s,

Je viens d'installer Debian 9 et celle-ci est iconoclaste : dans Dolphin je
n'ai aucune icône malgré l'installation de "kde-full".

Quelqu'un aurait une idée sur comment faire pour que ces icônes reviennent ?

En vous souhaitant une bonne journée,

Mathias


Re: Problème de souris

2017-07-11 Thread Mathias Dufresne
Bonjour Bernard et merci :)


Voici la liste des paquets xorg-inut installés :
# dpkg -l |awk ' /xorg-input/ {print $1"  "$2 "  "$3}'
ii  xserver-xorg-input-all  1:7.7+19
ii  xserver-xorg-input-evdev  1:2.10.5-1
ii  xserver-xorg-input-libinput  0.23.0-2
ii  xserver-xorg-input-synaptics  1.9.0-1+b1
ii  xserver-xorg-input-wacom  0.34.0-1

Il me manquait donc xkb et mouse que j'ai installé puis relancé la session
en tuant la session du startx pour relancer X via systemd.

Et c'est là que je suis allé me cacher sous le bureau, pas fier de moi :
au bureau j'ai 3 écrans dont deux n'étaient jusqu'à il y a peu pas allumés.
Ces écrans s'étaient gentiment configurés pour un bureau étendu et la
souris était donc sans doute au milieu de l'écran du milieu qui était
éteind... ce qui faisait que je ne voyais pas de souris dans l'écran de
gauche...

Vraiment pas fier de moi, j'espère qu'au moins j'aurai réussi à vous faire
sourire un peu :)

Merci encore pour ton aide en tant cas !

Le 11 juillet 2017 à 10:49, <bernard.schoenac...@free.fr> a écrit :

>
>
> ------
>
> *De: *"Mathias Dufresne" <mathias.dufre...@gmail.com>
> *À: *debian-user-french@lists.debian.org
> *Envoyé: *Mardi 11 Juillet 2017 11:31:14
> *Objet: *Problème de souris
>
> Bonjour,
>
> J'ai un souci avec une installation toute fraîche de Debian 9.0.0 net
> install. Lorsque je lance X avec "startx" le touchpad et la souris
> fonctionnent tous les deux mais lorsque je lance X via system (systemctl
> start display-manager) aucun pointeur n'est disponible.
>
> Vous auriez une idée de ce que je rate ?
>
>
>
> bonjour,
>
> serait il possible de comparer :
>
> dpkg -l |awk ' /xorg-input/ {print $1"  "$2 "  "$3}'
>
>
> ii  xserver-xorg-input-all  1:7.7+19
> ii  xserver-xorg-input-evdev  1:2.10.5-1
> ii  xserver-xorg-input-kbd  1:1.9.0-1+b1
> ii  xserver-xorg-input-libinput  0.23.0-2
> ii  xserver-xorg-input-mouse  1:1.9.2-1+b1
> ii  xserver-xorg-input-synaptics  1.9.0-1+b1
> ii  xserver-xorg-input-wacom  0.34.99.1-1
>
> autrement je ne vois rien d'autre (sos marion dufresne) ;)
>
> slt
> bernard
>


Problème de souris

2017-07-11 Thread Mathias Dufresne
Bonjour,

J'ai un souci avec une installation toute fraîche de Debian 9.0.0 net
install. Lorsque je lance X avec "startx" le touchpad et la souris
fonctionnent tous les deux mais lorsque je lance X via system (systemctl
start display-manager) aucun pointeur n'est disponible.

Vous auriez une idée de ce que je rate ?


Re: [Résolu] Lancement de Sddm au boot

2017-02-22 Thread Mathias Dufresne
Pour activer au démarrage un service avec systemd il suffit [normalement]
de tapoter :
systemctl enable 

ça crée un lien dans /etc/systemd en fait, du coup c'est aussi faisable a
la main : )

Le 21 février 2017 à 18:19, MERLIN Philippe 
a écrit :

> Le lundi 20 février 2017, 20:38:34 CET winnt a écrit :
> > Et avec dpkg-reconfigure sddm ?
> Cela fonctionne maintenant avec cette commande c'est surprenant car j'avais
> précédemment fait un dpkg-reconfigure kdm en choisissant sddm et sddm
> n'était
> pas lancé au boot.
> Merci à tous.
>
>


Re: [Resolu]: exec et php

2015-11-24 Thread Mathias Dufresne
Salut,

Avec les compilations manuelles la première étape devrait être, selon moi,
de lancer l'aide :
./configure --help
si un script configure est présent.

Ç a va cracher un bon gros tas de lignes pas toujours clair pour le
néophyte et néophyte on peut le rester fort longtemps ;)

Toujours est-il que dans ce bordel je chercherai dans les chemins pour voir
l'un d'eux ne sert pas à indiquer le chemin autre que /root.

Bon courage,

mathias

Le 23 novembre 2015 20:53, <nicolas.pec...@laposte.net> a écrit :

> Le 2015-11-23 20:15, nicolas.pec...@laposte.net a écrit :
>
>> Le 2015-11-22 20:47, fra-duf-no-s...@tourde.org a écrit :
>>
>>> Le 16761ième jour après Epoch,
>>> nicolas pechon écrivait:
>>>
>>> J'AI TROUVÉ!
>>>>
>>>> J'ai changé la variable PATH dans /etc/apache2/envvars
>>>>
>>>> Tous est rentré dans l'ordre.
>>>>
>>>
>>> Super ! Mais ce qui serait génial c'est de dire ce qu'il y avait, ce que
>>> tu as mis, et pourquoi ça marche du coup, hein? Histoire de donner des
>>> infos à la liste.
>>>
>>> C'est vrai que ça ne concerne pas spécialement Debian, mais comme les
>>> gens qui postent ici ont l'habitude d'aller faire une recherche sur les
>>> archives avant, ça peut servir :-D ...
>>>
>>> Vu le temps que j'y ai passé, je me suis précipité vers ma fenêtre
>>>> m'attendant a un défilé de joie dans les rues. Malheureusement, la vie
>>>> de geek peut s’avérer très frustrante
>>>>
>>>
>>> Excellent! J'ai adoré l'image. Je te vois bien à la fenêtre, l'air
>>> étonné de ne pas voir une foule t'acclamer :-P
>>>
>>
>>
>> Oui. :-D
>>
>> Malheureusement, je crains de mettre emporter un peu.
>>
>> En fait, cela ne marche pas. :-(
>>
>> Faut que je creuse encore. Pourtant, j'y est cru. Il semble que
>> j'avais laisser le test fait de façon manuel.
>>
>
>
> Je viens de voir ceci lors d'une compilation manuel:
> (see the transcript file for additional information)
>  /ljfour/jknappen/ec/tcti1200.600pk>
>  ec/ecti0600.600pk>
> 
>> 
>> >
> ar/fonts/pk/ljfour/jknappen/ec/ecxc1200.600pk>
>  r/jknappen/ec/ecti1200.600pk>
>  x1728.600pk> 
>  ot/.texmf-var/fonts/pk/ljfour/jknappen/ec/ecrm1200.600pk>
> 
> ts/pk/ljfour/jknappen/ec/ecbx1200.600pk> pe1/public/eurosym/feymr10.pfb>
>
>
> Il semble que pdflatex va chercher dans le répertoire personnel. Hors,
> www-data n'en possède pas.
>
> Comment puis-je changer se comportement? merci d'avance
>
>


Re: [Resolu]: exec et php

2015-11-24 Thread Mathias Dufresne
oops, plein de réponses entre mon mail et celui auquel j'ai répondu, ça
m'apprendra à répondre en partant du répertoire de spam : )

Bonne fin de journée à tous et toutes ;)

Le 24 novembre 2015 16:22, Mathias Dufresne <mathias.dufre...@gmail.com> a
écrit :

> Salut,
>
> Avec les compilations manuelles la première étape devrait être, selon moi,
> de lancer l'aide :
> ./configure --help
> si un script configure est présent.
>
> Ç a va cracher un bon gros tas de lignes pas toujours clair pour le
> néophyte et néophyte on peut le rester fort longtemps ;)
>
> Toujours est-il que dans ce bordel je chercherai dans les chemins pour
> voir l'un d'eux ne sert pas à indiquer le chemin autre que /root.
>
> Bon courage,
>
> mathias
>
> Le 23 novembre 2015 20:53, <nicolas.pec...@laposte.net> a écrit :
>
>> Le 2015-11-23 20:15, nicolas.pec...@laposte.net a écrit :
>>
>>> Le 2015-11-22 20:47, fra-duf-no-s...@tourde.org a écrit :
>>>
>>>> Le 16761ième jour après Epoch,
>>>> nicolas pechon écrivait:
>>>>
>>>> J'AI TROUVÉ!
>>>>>
>>>>> J'ai changé la variable PATH dans /etc/apache2/envvars
>>>>>
>>>>> Tous est rentré dans l'ordre.
>>>>>
>>>>
>>>> Super ! Mais ce qui serait génial c'est de dire ce qu'il y avait, ce que
>>>> tu as mis, et pourquoi ça marche du coup, hein? Histoire de donner des
>>>> infos à la liste.
>>>>
>>>> C'est vrai que ça ne concerne pas spécialement Debian, mais comme les
>>>> gens qui postent ici ont l'habitude d'aller faire une recherche sur les
>>>> archives avant, ça peut servir :-D ...
>>>>
>>>> Vu le temps que j'y ai passé, je me suis précipité vers ma fenêtre
>>>>> m'attendant a un défilé de joie dans les rues. Malheureusement, la vie
>>>>> de geek peut s’avérer très frustrante
>>>>>
>>>>
>>>> Excellent! J'ai adoré l'image. Je te vois bien à la fenêtre, l'air
>>>> étonné de ne pas voir une foule t'acclamer :-P
>>>>
>>>
>>>
>>> Oui. :-D
>>>
>>> Malheureusement, je crains de mettre emporter un peu.
>>>
>>> En fait, cela ne marche pas. :-(
>>>
>>> Faut que je creuse encore. Pourtant, j'y est cru. Il semble que
>>> j'avais laisser le test fait de façon manuel.
>>>
>>
>>
>> Je viens de voir ceci lors d'une compilation manuel:
>> (see the transcript file for additional information)
>> > /ljfour/jknappen/ec/tcti1200.600pk>
>> > ec/ecti0600.600pk>
>> >
>>> 
>>> >>
>> ar/fonts/pk/ljfour/jknappen/ec/ecxc1200.600pk>
>> > r/jknappen/ec/ecti1200.600pk>
>> > x1728.600pk>
>>  > ot/.texmf-var/fonts/pk/ljfour/jknappen/ec/ecrm1200.600pk>
>> >
>> ts/pk/ljfour/jknappen/ec/ecbx1200.600pk>> pe1/public/eurosym/feymr10.pfb>
>>
>>
>> Il semble que pdflatex va chercher dans le répertoire personnel. Hors,
>> www-data n'en possède pas.
>>
>> Comment puis-je changer se comportement? merci d'avance
>>
>>
>


Security updates for wheezy breaking my FAI-installation

2015-05-04 Thread Mathias Friman
Hello,

recently I've encountered this problem when doing a server-installation
with FAI from CD. There seems to be some security updates that break the
dependencies I rely on.

As of now I've disabled the security repository on the install-CD and
enable it when the server is rebooted and do a regular apt-get update 
apt-get upgrade at which point I can install the security updates as
expected.

--

The following packages have unmet dependencies:
 libmysqlclient18 : Depends: libc6 (= 2.14) but 2.13-38+deb7u6 is
installed.
 libcurl3 : Depends: libc6 (= 2.17) but 2.13-38+deb7u6 is installed.
Depends: librtmp1 (= 2.4+20131018.git79459a2-3~) which is a
virtual package.
Depends: libssh2-1 (= 1.2.6) but it is not going to be
installed.
 libgd2-xpm : Conflicts: libgd2 which is a virtual package.
  Conflicts: libgd2-noxpm but 2.0.36~rc1~dfsg-6.1 is to be
installed.
 libcurl3-gnutls : Depends: libc6 (= 2.17) but 2.13-38+deb7u6 is installed.
   Depends: libgnutls-deb0-28 (= 3.3.0) but it is not
going to be installed.
   Depends: librtmp1 (= 2.4+20131018.git79459a2-3~) which
is a virtual package.
   Depends: libssh2-1 (= 1.2.6) but it is not going to be
installed.
 libgd2-noxpm : Conflicts: libgd2 which is a virtual package.
Conflicts: libgd2-xpm but 2.0.36~rc1~dfsg-6.1 is to be
installed.
The following actions will resolve these dependencies:

  Keep the following packages at their current version:
1)  bsd-mailx [Not Installed]
2)  etckeeper [Not Installed]
3)  exim4 [Not Installed]
4)  exim4-daemon-heavy [Not Installed]
5)  fusiondirectory [Not Installed]
6)  fusiondirectory-plugin-asterisk [Not Installed]
7)  fusiondirectory-plugin-autofs [Not Installed]
8)  fusiondirectory-plugin-database-connector [Not Installed]
9)  fusiondirectory-plugin-dhcp [Not Installed]
10) fusiondirectory-plugin-sudo [Not Installed]
11) fusiondirectory-plugin-systems [Not Installed]
12) git [Not Installed]
13) icinga [Not Installed]
14) icinga-cgi [Not Installed]
15) icinga-common [Not Installed]
16) icinga-core [Not Installed]
17) libcurl3 [Not Installed]
18) libcurl3-gnutls [Not Installed]
19) libgd2-xpm [Not Installed]
20) libmysqlclient18 [Not Installed]
21) php-mdb2-driver-mysql [Not Installed]
22) php5-curl [Not Installed]
23) php5-gd [Not Installed]
24) php5-mysql [Not Installed]

-
My sources.list:

deb http://http.debian.net/debian/ wheezy main
deb http://security.debian.org/ stable/updates main
deb http://http.debian.net/debian/ wheezy-updates main

## Backports repository:
deb http://http.debian.net/debian/ wheezy-backports main

# fusiondirectory repository
deb http://repos.fusiondirectory.org/debian wheezy main

# fusiondirectory debian-extra repository
deb http://repos.fusiondirectory.org/debian-extra wheezy main

-

Any ideas on how to fix this? Seems to me to be a problem with the security
updates, but perhaps I've just missed something.

If you wish to test this behaviour, go to http://sverigelinux.github.io and
download the torrent iso-file and do an install from that image.

Kindest regards,
Mathias


Re: Security updates for wheezy breaking my FAI-installation

2015-05-04 Thread Mathias Friman
2015-05-04 13:03 GMT+02:00 Christian Seiler christ...@iwakd.de:

 Am 2015-05-04 12:30, schrieb Alexis:

 Further, afaik, the wheezy-updates line should refer to the same set
 of packages as the wheezy/updates line from security.debian.org. If
 that's so, then having two different lines refer to the same package
 set is merely confusing the config further. If not, then i would
 certainly be interested to know what the difference between the two
 archives is!


 I linked a wiki page in my previous email describing precisely what
 wheezy-updates is (and it is NOT the regular security update
 repository):
 https://wiki.debian.org/StableUpdates

 Christian


Thank you all for the feedback, your tips indeed did the trick. :) Thanks
also to gusnan @ #debian.se who solved it too.

Sometimes one does stare too long at a problem not seeing the obvious...

Kindest regards,
Mathias


Re: How to `echo' the core # a bash script is running on?

2014-02-09 Thread Mathias Bauer
Marco,

* Marco Ippolito wrote on 2014-02-09 at 13:24 (+0100):

 How can I `echo', in `bash', the core # the current script is
 running on?

you can try

  $ grep ^processor /proc/cpuinfo | wc -l

Short question - short answer,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140209171429.ga4...@gmx.org



Re: How to `echo' the core # a bash script is running on?

2014-02-09 Thread Mathias Bauer
* Andrei POPESCU wrote on 2014-02-09 at 19:36 (+0200):
 On Du, 09 feb 14, 18:14:29, Mathias Bauer wrote:
  * Marco Ippolito wrote on 2014-02-09 at 13:24 (+0100):
 
   How can I `echo', in `bash', the core # the current script
   is running on?
 
  you can try
 
$ grep ^processor /proc/cpuinfo | wc -l

 I think the OP wants to know on which particular core the
 script is running on.

I read ...core #... as ...the number of cores on the
machine  Hm, yes, your interpretation is also possible.

Anyway, is it possible at all to determine the particular core
the current script is running?  I mean, there is one underlying
shell process.  But if the script uses a pipeline, a command that
is not builtin in bash, or just a simple while loop, etc. there
will surely be further (sub)processes.  I doubt they are all
running on the same core.  Therefore the particular core a shell
script is running on doesn't seem to be sensible?

Perhaps the OP wants to use taskset, cpuset and the like.  But
without providing much more details...

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140209191827.ga11...@gmx.org



Re: chronyd startup issues

2014-01-31 Thread Mathias Bauer
Philippe,

* Philippe Clérié wrote on 2014-01-29 at 19:18 (-0500):

 On 01/29/2014 06:10 AM, Mathias Bauer wrote:

 Also, it's probably a good idea to add the -s option to
 DAEMON_OPTS in /etc/default/openntpd.

maybe.  But consider time jumps just after booting won't make
reconstructing things easier in case something goes wrong.  Maybe
some process already started before ntpd also won't be very
amused about that.  If you take a look into the logs of an
unsynced machine, you will see that it is soon resynced again.
So I won't do it.

Regards,
Mathias


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140131175624.gb11...@gmx.org



Re: chronyd startup issues

2014-01-31 Thread Mathias Bauer
Marc,

* Marc Shapiro wrote on 2014-01-31 at 07:09 (-0800):

 OK, I just replaced chrony, yesterday.  I have one question.
 Is there an equivalent to using chronyc to check how accurate
 the time is, or what server is being used?  That way, I could
 verify that it is connecting on its own when I have to do a
 reboot.

unfortunately, there isn't.  However you may run something like

# lsof -i UDP:123 | grep ^ntpd

You also can look (grep?) in /var/log/daemon.log for messages
like

ntpd[12345]: ntp engine ready
ntpd[12345]: peer 1.2.3.4 now valid
ntpd[12345]: clock is now synced

Perhaps it also helps to check the periodically written drift
file /var/lib/openntpd/ntpd.drift.

Also sending a SIGINFO signal, it [ntpd] will write its peer and
sensor status to syslog does not work either as there is no
SIGINFO signal in Linux.  ntpd(8) is wrong here.

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140131175026.ga11...@gmx.org



Re: chronyd startup issues

2014-01-29 Thread Mathias Bauer
* Darac Marjal wrote on 2014-01-29 at 10:22 (+):

 On Wed, Jan 29, 2014 at 12:06:13AM -0800, Marc Shapiro wrote:
  When my system boots up it starts chronyd.  The problem is
  that it seems to not have (or find) a network connection at
  the time, so it comes up in offline mode.  If I restart it
  then everything is fine.  Otherwise, the box gradually loses
  time.  Since I rarely reboot my system I always forget that I
  need to restart chronyd.  What do I need to do to get it to
  start up in online mode?  Do I need to position it farther
  down in /etc/rc2.d?  I thought that I had changed it to run
  AFTER network-manager, but, if so, something changed it back.

 Chrony will put offline sources to online when a PPP link
 comes up (any PPP link, bug #252131) but not when an ethernet
 link comes up (bug #312092).

 If you like, there are instructions and a patch in bug #389961
 to fix this.

Yes, but expect some tricky fiddling :-)

However, comparing the bug history - some of chrony's ones
haven't been handled or closed for 5+ years, also the relevant
ones here - and the number of users of chrony (847) and openntpd
(1902), I strongly suggest you considering a switch to the
openntpd package.

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140129111021.ga17...@gmx.org



Re: Help with command - cp

2014-01-26 Thread Mathias Bauer
* Felix C. Stegerman wrote on 2014-01-26 at 15:49 (+0100):

 On 2014-01-26 15:26, Lisi Reisz wrote:
  I am wanting to use the CLI to copy some files from dirA to
  dirB.  I want to exclude all hidden files.  Will this command
  achieve it?

 I prefer using rsync instead:

 $ rsync --dry-run -av --progress --exclude='.*' /path/to/A/ /path/to/B/

 * The slashes after A and B are important.

No, you only have to take care about the trailing slash of the
source A.  See rsync(1):

A trailing slash on the source changes this behavior to avoid
creating an additional directory level at the destination.
You can think of a trailing / on a source as meaning copy
the contents of this directory as opposed to copy the
directory by name, but in both cases the attributes of the
containing directory are transferred to the containing
directory on the destination.  In other words, each of the
following commands copies the files in the same way,
including their setting of the attributes of /dest/foo:

rsync -av /src/foo /dest
rsync -av /src/foo/ /dest/foo

The trailing slash of the target directory B is irrelevant:

$ mkdir -p foo/dir
$ touch foo/file foo/dir/file foo/.hidden foo/dir/.hidden
$ rsync -av --exclude='.*' foo target1
$ rsync -av --exclude='.*' foo target2/

The results are identical directories ./target1 and ./target2.
Of course, both need not exist.

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140126204815.ga29...@gmx.org



Re: Help with command - cp

2014-01-26 Thread Mathias Bauer
* Mr Smiley wrote on 2014-01-26 at 20:56 (+):

  cp -Rp /path/to/sourcedir/A/* /path/to/destinationdir/B

 If you don't put a / after B it will copy all files to a file
 called B

No, obviously not.

$ mkdir src
$ echo foo  src/file1
$ echo bar  src/file2
$ echo baz  src/.hidden1
$ [ -e ./target ] || echo ./target not found!
./target not found!
$ cp -Rp ./src/* ./target
cp: target `./target' is not a directory
$ cp -Rp ./src/* ./target/
cp: target `./target/' is not a directory
$ [ -e ./target ] || echo ./target not found!
./target not found!

 So your above
 cp -Rp /path/to/sourcedir/A/* /path/to/destinationdir/B
 Should be
 cp -Rp /path/to/sourcedir/A/* /path/to/destinationdir/B/

If the target directory *exists* the trailing slash will *not* be
necessary:

$ mkdir target1 target2
$ cp -Rp ./src/* ./target1
$ cp -Rp ./src/* ./target2/

Both directories are identical.  There will be no *file* B!

 Also when using rsync, i use the following

 rsync -vrthiP --progress --stats  source/ destination/

 This also checks for and only updates changed files on any
 subsequent rsync from A to B

 Don't forget the / at the end, even rsync will copy everything to a
 file rather than the wanted directory if you miss of the /

That's not correct.  In contrast to the slash trailing the
*source*, the final slash trailing the *target* is completely
irrelevant.  See my other mail.

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140126222437.ga8...@gmx.org



Re: Help with command - cp

2014-01-26 Thread Mathias Bauer
* Felix C. Stegerman wrote on 2014-01-26 at 23:58 (+0100):

 On 2014-01-26 23:24, Mathias Bauer wrote:

  * Mr Smiley wrote on 2014-01-26 at 20:56 (+):
 
cp -Rp /path/to/sourcedir/A/* /path/to/destinationdir/B
  
   If you don't put a / after B it will copy all files to a
   file called B
 
  No, obviously not.
 
  [...]

 It does if there's only one file in A and B does not exist.

   $ mkdir A; echo HI  A/foo
   $ cp -a A/* B
   $ cat B
   HI

Yes, but ... come on, that's a rather trivial shell expansion!
By the way, don't you consider it a little bit strange to change
the original problem conditions *afterwards*?

* Lisi Reisz wrote on Sun, 26 Jan 2014, at 14:26 (+):

 I am wanting to use the CLI to copy some files from dirA to
 dirB.  I want to exclude all hidden files.

Read ... file*S*.

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140127010425.ga31...@gmx.org



Re: Determine XTerm Geometry

2014-01-20 Thread Mathias Bauer
Hello Patrick,

* Patrick Bartek wrote on 2014-01-20 at 13:18 (-0800):

 Need to get geometry of running xterms.  Resize gives me the
 columns and lines.  How do I get the X  Y offsets?

take a look at

  $ xwininfo -id WINDOW_ID

Perhaps that helps.

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140120213531.ga10...@gmx.org



Re: Determine XTerm Geometry

2014-01-20 Thread Mathias Bauer
* Patrick Bartek wrote on 2014-01-20 at 14:35 (-0800):

 And FYI: you don't even need the WINDOW_ID. Just run xwininfo
 in any terminal, left click on the target window, and it spits
 out THAT windows stats.

I know :-)  You mentioned, you already had columns and lines (via
the $COLUMNS/$LINES shell variables?), so I supposed, you wanted
to do some non-interactive scripting...

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140121063702.ga23...@gmx.org



Re: Installing TrueType Fonts (TTF)

2013-12-12 Thread Mathias Bauer
Hello Siard,

* Siard wrote on 2013-12-12 at 16:48 (+0100):

 On Wed, 11 Dec 2013 18:30:40 +0100, Mathias Bauer wrote:

  To keep things clear I simply don't want to put all these
  files into one single directory,

 Note that dir~/fonts/dir would be sufficient here.  For
 your own convenience you can put your fonts in any sub- or
 sub-sub-directory and they will still be seen.

  neither into ~/.fonts (for a single user) nor into
  /usr/local/share/fonts (for all local users).

 Under these, too, you can create any directory structure you
 like, without having to specify it in ~/.fonts.conf.

ah, I just tried that - it works fine!  Thanks for the hint.

 Not sure why you prefer ~/fonts over one of these, but never
 mind, it's not that important.

Several (upstream) versions of TeX Live plus some other external
fonts and the like.  ~/fonts was a simple example only.  --- OT

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131212190414.ga24...@gmx.org



Re: Installing TrueType Fonts (TTF)

2013-12-11 Thread Mathias Bauer
Hello,

* Siard wrote on 2013-12-10 at 18:56 (+0100):

besides the hints you got from Siard and Patrick, I recommend
GNOME Character Map, package gucharmap, for examining and viewing
fonts.

 Muntasim-Ul-Haque wrote:
  TrueType Fonts (TTF) would open in GNOME with a dialog box,
  and it was just one-click away. But here in XFCE, I see
  nothing that can open the TTFs.

 There is a more general, yet easy way to install fonts: just
 shove them into ~/.fonts (locally) or /usr/local/share/fonts
 (systemwide).

To get all the customization possibilities, take a look at the
fontconfig machinery and the packages fontconfig and
fontconfig-config which are almost certainly installed as you use
XFCE.

Also, fonts-conf(5) contains an example user configuration file
~/.fonts.conf, so that your font files (.ttf, .otf) may remain in
their original directories and need not to be mixed together in
*one* of the directories mentioned above by Siard.  Finally

  $ fc-list

will give you feedback if the fonts had been found and installed
correctly.  You don't need to logout or to restart as the cache
files in ~/.fontconfig will be updated automatically.

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2013121310.ga4...@gmx.org



Re: script line not working as its supposed to, but why?

2013-12-11 Thread Mathias Bauer
* Gian Uberto Lauri wrote on 2013-12-11 at 12:42 (+0100):

 Sharon Kimble writes:

  I want to delete the 'menu-*' files if there are more than 7,
  and the command is parsed when I have 'set -x' at the head of
  the script but this line does nothing! It runs but doesn't
  achieve anything.

 I would try with something like this:

 if [  `ls -1 menu-* | wc -l` -gt 7 ]
 then
 ls -t menu-* | tail $((7-`ls | wc -l`)) | xargs rm
 fi

 The first test ensures that you have more than 7 files.

 Then you list the files in reverse asciibetical order (that is
 older last), then the expression

 $((7-`ls | wc -l`))

 does the magic to compute the option to pass to tail so that it
 shows the last (number of files - 7). And finally xargs feeds
 rm. You can use rm -v to see them being deleted :)

This is too complicated: too many subshells, too many pipelines.

  $ cd /dir/with/files  LC_ALL=C ls menu-* | head -n -7 | xargs -r rm

will do the job:

* cd ... and  ensure that the directory exists and if (and only
  if it does the pipeline will be executed.

* LC_ALL=C ls menu-* lists all relevant files, one file per line,
  in the correct ascending order after the shell had expanded the
  *.

* head -n -7 lists all but the last 7 lines.

* xargs -r will only call rm if there is some input.

For testing purposes run the above line without |xargs... part.

Although bash(1) is very long and its learning curve a little bit
steep I do recommend reading it.  In the long term there is no
way avoiding that.  Beginners may first tend to [1] and later to
[2].  Also, [3] is quite interessting.

Regards,
Mathias

[1] http://tldp.org/LDP/Bash-Beginners-Guide/html/index.html
[2] http://tldp.org/LDP/abs/html/
[3] http://www.gnu.org/software/bash/manual/bashref.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131211141922.gb11...@gmx.org



Re: Installing TrueType Fonts (TTF)

2013-12-11 Thread Mathias Bauer
* Siard wrote on 2013-12-11 at 17:24 (+0100):

 Mathias Bauer:
  Also, fonts-conf(5) contains an example user configuration file
  ~/.fonts.conf, so that your font files (.ttf, .otf) may remain in
  their original directories and need not to be mixed together in
  *one* of the directories mentioned above by Siard.

 Original directories? We're talking about locally installed
 fonts here, living beyond the package manager's realm.

Yes, so do I.  Perhaps I wasn't clear enough.  My ~/.fonts.conf
lists several directories:

snip
?xml version=1.0?
!DOCTYPE fontconfig SYSTEM fonts.dtd
fontconfig
  dir~/.fonts/dir
  dir~/fonts/sourcecodepro/dir
  dir~/fonts/sourcesanspro/dir
  !-- and some more --
/fontconfig
snip

Each font family I use, consists of serveral font files, e.g. 6
files for Adobe SourceCodePro, 13 files for Adobe SourceSansPro,
etc.  To keep things clear I simply don't want to put all these
files into one single directory, neither into ~/.fonts (for a
single user) nor into /usr/local/share/fonts (for all local
users).  I left them in separate directories which I called
original directories in my previous mail and adapted
~/.fonts.conf accordingly.  Sorry for the confusion.

 http://lists.debian.org/debian-user/2013/05/msg00148.html
 For locally installed, system wide fonts, /usr/local/share/fonts
 looks like the most suitable place.

 BTW, /usr/local/share/fonts is mentioned in my /etc/fonts/fonts.conf.

Yes, here it is, too, and there's no need to alter this file.

The above link is a little bit misleading.  For short: Don't run
fc-cache as normal user.  You don't want to have in ~/.fontconfig
a mixture of cache files for all the system font directories
/usr/share/fonts/* with those for the user font directories
specified in your ~/.fonts.conf.  The former ones are located in
/var/cache/fontconfig (you don't have write permissions for it)
and are handled by the package management hooks.  You can simply
remove ~/.fontconfig completely and let it rebuild automatically.
To initiate this rebuild just now, run, e.g. fc-list.

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131211173040.ga14...@gmx.org



Re: Question about bogofilter -R

2013-11-25 Thread Mathias Bauer
Hello!

* pecon...@mesanetworks.net wrote on 2013-11-23 at 11:33 (-0800):

 I have processed some spam and ham to create a bogofilter
 database. I want to use the -R option to create the TEXT data
 frame and examine its contents.

 $ bogofilter -R  bogo-rframe

 This should, to my understanding, write a text file in
 bogo-rframe, but it has been running for about an hour and
 shows no sign of terminating. What is wrong? Please help.

bogofilter -R reads from stdin.  Use

  $ bogofilter -R /path/to/your/wordlist.db bogo-rframe

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131125105046.ga13...@gmx.org



Re: Question about bogofilter -R

2013-11-25 Thread Mathias Bauer
* Mathias Bauer wrote on 2013-11-25 at 11:50 (+0100):

 * pecon...@mesanetworks.net wrote on 2013-11-23 at 11:33 (-0800):

  I have processed some spam and ham to create a bogofilter
  database. I want to use the -R option to create the TEXT data
  frame and examine its contents.
 
  $ bogofilter -R  bogo-rframe
 
  This should, to my understanding, write a text file in
  bogo-rframe, but it has been running for about an hour and
  shows no sign of terminating. What is wrong? Please help.

 bogofilter -R reads from stdin.  Use
   $ bogofilter -R /path/to/your/wordlist.db bogo-rframe

Of course, it must be

  $ bogofilter -R /path/to/your/wordlist.db bogo-rframe

Sorry,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131125105424.gb13...@gmx.org



Re: Privacy Debian 7

2013-11-25 Thread Mathias Bauer
Dave,

* David Guntner wrote on 2013-11-25 at 08:35 (-0800):

 praetorien grabbed a keyboard and wrote:
 
  I'm a Windows user, but Microsoft may collect privacy
  information about users witch is not good, so I wonder does
  Debian 7.2 collect ANY information about Users or monitoring?

 I could be wrong, but to the best of my knowledge, NO Linux
 distribution does.

perhabs you know

https://www.eff.org/deeplinks/2012/10/privacy-ubuntu-1210-amazon-ads-and-data-leaks

Okay, as it's related to Ubuntu/Canonical it'll be rather off
topic here.

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131125181928.ga25...@gmx.org



Re: Debian / Linux på Adaptec 1200A / HPT370

2013-01-29 Thread Mathias
root@Microknoppix:~# lsmod
Module  Size  Used by
nouveau   459689  1
ttm37284  1 nouveau
drm_kms_helper 17759  1 nouveau
mxm_wmi 1029  1 nouveau
wmi 5883  1 mxm_wmi
dm_mirror   9652  1
dm_region_hash  5195  1 dm_mirror
dm_log  6633  3 dm_mirror,dm_region_hash
dcdbas  3724  0
e100   21725  0
mii 2799  1 e100
i2c_i8016174  0
rng_core2328  0

 cfdisk (util-linux-ng 2.17.2)

 Disk Drive: /dev/dm-0
Size: 41110137344 bytes, 41.1 GB
  Heads: 255   Sectors per Track: 63   Cylinders: 4998

NameFlags  Part Type  FS Type  [Label]  Size (MB)
 
--
Pri/Log   Free Space 41109.95

 cfdisk (util-linux-ng 2.17.2)

  Disk Drive: /dev/sda
Size: 41110142976 bytes, 41.1 GB
  Heads: 255   Sectors per Track: 63   Cylinders: 4998

NameFlags  Part Type  FS Type  [Label]  Size (MB)
 
--
Pri/Log   Free Space   41109.95


Någon som vet hur man formaterar och sätter upp kernel/moduler för denna? 
Jag satte upp ett RAID-1 och bootade in Knoppix 6.7.x, men jag vet inte hur
jag ska partionera osv. /dev/dm-0p1, p2, p3 osv. Eller /dev/sda1, sda2 osv.

Någon bra guide kanske? Hittar inget bra på nätet.

Debian / Linux på Adaptec 1200A / HPT370

2013-01-25 Thread Mathias
Går det att köra/installera linux på detta kort nu, med RAID 0 eller 1?
Eller får man helt enkelet nöja sig med att köra MD på/över 2 enheter i 
vanligt ATA100/UDMA-mode? Om man vill få till RAID 0 eller 1 dvs.

Mathias

Re: Authentification AD: directe ou via OpenLDAP ?

2012-10-09 Thread Mathias Dufresne
Salut,

Les deux devraient fonctionner sans souci, d'un point de
l'authentification.

La difficulté réside essentiellement, si je ne dis pas de bêtises, dans la
configuration de Kerberos, mais le net doit fourmiller de documentation
depuis le temps que les Linux accèdent aux AD.
La question du coup me semble plus être :
- faut-il configurer Kerberos pour une auth directe ?
- si oui, ne serait-ce pas plus simple de configurer Kerberos avec OpenLDAP
et avoir une auth web pure LDAP ? Ce qui pourrait faire un poil diminuer la
sécurité du site s'il n'utilise pas krb, celui-ci ne devant pas être
complètement inutile :p

Cdlt,

mathias

Le 8 octobre 2012 08:49, Olivier oza_4...@yahoo.fr a écrit :

 Bonjour,

 Je suis totalement novice dans le domaine des annuaires LDAP.
 Je développe une appli web (apache2, ...) qui comprend un module
 d'authentification-autorisation.
 Elle va être utilisée chez un client qui utilise Active Directory.

 Est-il préférable de configurer apache2 pour authentifier-autoriser les
 utilisateurs en interrogeant directement Active Directory ou bien est-il
 préférable d'interroger une base intermédiaire sous OpenLDAP, par exemple,
 et de mettre en place une synchronisation entre OpenLDAP et Active
 Directory ?

 Slts



[qemu-kvm] nographic + screen, lenny - squeeze, légers problèmes au démarrage

2012-08-30 Thread Mathias Dufresne
Bonjour à tous,

Suite à la mise à jour de mes VMs (Lenny vers Squeeze) tournant dans
qemu-kvm avec l'option -nographic pour les accrocher à screen, j'ai deux
soucis :
- avec grub2 (la version 1.98blabla par défaut) ça ne boot pas directement,
il me faut me connecter à screen et appuyer sur la touche entrée pour que
grub se lance effectivement
- une fois que grub a lancé le noyau, je n'ai pas (plus) d'affichage avant
que le *getty soit lancé et me propose un prompt de login.

Je ne vois pas ce que j'ai pu rater malgré mes recherches, du coup je me
retourne vers vous : )

Cordialement,

mathias


Re: Environment nomenclature undefined.

2012-01-21 Thread Mathias Bauer
* lina wrote on 2012-01-22 at 00:10 (+0800):

 On Sat, Jan 21, 2012 at 11:25 PM, Camaleón noela...@gmail.com wrote:
  On Sat, 21 Jan 2012 21:48:25 +0800, lina wrote:
 
  Are there some debian package which contains some certain
  documentclass which can satisfy the environment for the
  nomenclature and cknowledgement in padflatex. I used the
  article, not work. I am hesitated whether used external
  .cls? or look inside the debian package.
 
  I know nothing about LaTeX but texlive-latex-extra does not
  help? :-?
 This one had been installed long time ago.

You should also have the Debian package texlive-latex-extra-doc
installed.

  For nomenclature → nomencl class, (e.g., \nomenclature)
 I tried the \begin{nomenclauture}, the first time tried this.

In fact, nomencl is not a LaTeX documentation class but a LaTeX
package.  For its documentation and examples see
/usr/share/doc/texlive-doc/latex/nomencl/nomencl.pdf

  For acknowledgements → article/book or amsart/amsbook clases
  (e.g., \thanks)

At first, you should keep using the article document class until
your nomenclature is fine and try to solve the acknowledgement
problems later.

 Later I just roughly used the \section*{Acknowledgement} to
 substitute the \begin{acknowledgment} which worked in other
 article document class.  will refine it later.

For discussing the LaTeX details you can also consult the texhash
mailing list. See http://www.tug.org/mailman/listinfo/texhax

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120121172723.ga15...@gmx.org



command substitution (was: wget and captcha puzzle !!!)

2012-01-21 Thread Mathias Bauer
* Tony Baldwin wrote on 2012-01-21 at 12:15 (-0500):

 Why use $(command) instead of `command`?
 Generally, I've always used $(command), but see scripts all
 over using `command`, and wondered if there were advantages of
 one over the other.  It seems they give the same result, no?

Some do, some don't :-)  See some curious examples on
http://tldp.org/LDP/abs/html/commandsub.html
For short, I think you should use $(...) and try to avoid `...`.
Also keep in mind that in Debian /bin/sh - dash

--test1.sh--
#!/bin/sh
set -xv
echo `echo \\`
echo $(echo \\)


$ ./test1.sh same output as  dash ./test1.sh
echo `echo \\`
+ echo \
+ echo \
\    Watch this...
echo $(echo \\)
+ echo \
+ echo \
\

$ bash ./test1.sh
echo `echo \\`
echo \
++ echo
+ echo
 ...and this!
echo $(echo \\)
echo \\)
echo \\
++ echo '\'
+ echo '\'
\

Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120121180536.gb15...@gmx.org



Re: POP3 in Debian

2012-01-19 Thread Mathias Bauer
* Jon Dowland wrote on 2012-01-19 at 11:38 (+):

 On 19/01/12 09:32, Martin Steigerwald wrote:
 You could try with fetchmail, but I am not completely sure
 whether it can store what it retrieves in a mbox or whether it
 only supports maildir.

 Fairly sure fetchmail (et al) can inject mail to the local MDA,
 so where it ends up afterwards depends on how you've set up
 exim or an alternative.

 I'd strongly recommend using something *other* than fetchmail:
 getmail or mpop are options.

Is this a general advice?  If so, then why?  Or is it your advice
for the OP's aim to directly deliver messages to a mbox or
maildir without exim and without running an MDA.

Yes, I checked the short package descriptions of getmail and
mpop.  And I'm using fetchmail for myself (but no POP3s) without
any problems.

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120119125009.gb12...@gmx.org



getmail replacing fetchmail (was: POP3 in Debian)

2012-01-19 Thread Mathias Bauer
Hello again,

* Martin Steigerwald wrote on 2012-01-19 at 19:28 (+0100):

 Am Donnerstag, 19. Januar 2012 schrieb Jon Dowland:
  On 19/01/12 12:50, Mathias Bauer wrote:
   Is this a general advice?  If so, then why?
 
  Yes.
 
  http://pyropus.ca/software/getmail/faq.html#faq-about-why
  covers many reasons.

thanks for the link.

 Holy smoke!

 Well that are enough reasons for me. OTOH it would be
 interesting to know the other side of the story.

I got curious about getmail so I just gave it a try and it seems
to be quite nice.  But apart from fetchmail's security history
and the asserted complexity of its config file, that was pointed
to several times in the (in some way emotionally heated) document
linked above, getmail lacks two features at first glance:

(a) Any SSL certification check avoiding a man-in-the-middle
attack.

(b) A mechanism for direct re-injection retrieved messages via
SMTP to the client machine's port 25.

Concerning a) it may possibly be implemented by stunnel somehow.
For now I haven't figured it out.  And concerning b) getmail
itself provides a mechanism handing over the retrieved messages
via a pipe (e.g. using /usr/sbin/sendmail to the MTA).  Of course
the needed additional process(es) are far away from being as
efficient as direct delivery via SMTP.  (Although getmail doesn't
(and won't) support (b) and other solutions are recommended in
the docs and its mailing list's messages, there may be situations
where going through the MTA is necessary.)

Well, for the moment it seems to me that this is the price of
replacing fetchmail - and of The Unix Way (tm) - do one thing
and do it well :-)

Regards,
Mathias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120119220908.ga10...@gmx.org



Re: Cartes graphiques Intel intégrée au CPU et Debian

2012-01-11 Thread mathias dufresne
Salut à tous,

Je suis l'heureux possesseur d'une machine à base de double chipset
nvidia + igp liés tous les deux par la technologie optimus. C'est
chouette... sous Windows. Sous Linux ça ne marche pas encore bien
(conf bumblebee et ironhide je crois pour le second) et visiblement
ceci ne sera accessible à tous que dans plusieurs mois (automne
2012?).

Le problème n'est pas la carte igp (intégrée je crois au cpu, c'est de
l'i7), elle marche très bien chez moi mais je ne l'ai testé qu'avec un
kernel 3.X. Le problème c'est la carte nvidia qui sans l'architecture
logicielle adéquat ne s’éteint simplement pas bien qu'elle ne soit pas
utilisée, du coup la batterie se vide à vitesse grand V.

Donc pardon pour ce petit presque-hors-sujet, mais il me semblait
utile de faire un petit retour d'expérience sur ces technologies : )

++)

PS: c'est mon 1er post de l'année : bonne année à tous et toutes,
plein de bonheur à vous !

mathias

Le 7 janvier 2012 18:07, Steve B b.st...@gmx.com a écrit :
 On 01/07/2012 01:12 PM, Tanguy Ortolo wrote:

 andré, 2012-01-06 20:56+0100:

 La question que je me pose est la suivante, la configuration avancée
 avec une carte graphique intégrée au CPU, est-elle compatible avec les
 distributions deb ?


 Après, s'il s'agit d'une carte très récente, il est possible qu'elle ne
 soit prise en charge que par les distributions très récentes comme la
 Debian sid ou testing.


 Bonjour,

 Il me semble que les IGP des processeurs SandyBridge (i3, i5 et i7 2XXX), ne
 sont supportés qu'à partir du noyau 3. Donc à voir avec les noyaux
 disponibles pour Squeeze (éventuellement en backport).
 La partie CPU est supportée sans problème et fonctionnera avec une carte
 graphique séparée sinon.

 Au sujet des deux configurations présentées, je ne sais pas si elles t'ont
 été proposées au même prix, mais c'est pas vraiment la même came...


 --
 Lisez la FAQ de la liste avant de poser une question :
 http://wiki.debian.org/fr/FrenchLists

 Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
 vers debian-user-french-requ...@lists.debian.org
 En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
 Archive: http://lists.debian.org/4f087be9.1080...@gmx.com


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CABwLUpu-C1o_hEoAcYNfe‚hz2G2ExY1YR0u=xp0qahbfp...@mail.gmail.com



Re: Toshiba NB520 : le ventilateur reste à fond !

2012-01-11 Thread mathias dufresne
Hello,

Il se pourrait que ce soit simplement un souci de chauffe de
l'ensemble, quelles sont les températures du cpu ? Y-a-t-il une carte
graphique qui pourrait chauffer ? (Non je ne veux pas aller lire le
pdf descriptif du portable ^^).

Que dit un cpufreq-info ? Surtout la partie gouverneur qui indique
quel comportement a le cpu face aux performances et aux économies
d'énergie...

a+

Le 8 janvier 2012 12:29, Bernard Schoenacker
bernard.schoenac...@free.fr a écrit :
 Le Sun, 8 Jan 2012 11:16:18 +0100,
 Yann Cohen y...@ianco.org a écrit :

 Bonjour,

 Suite à une installation de wheezy sur un Toshiba NB520, le seul
 problème flagrant est que le ventilateur tourne à fond et ne
 semble pas être contrôler par le système.

 Il est bruyant en permanence.

 Sur les autres netbook que j'ai installés (acer, asus ou samsung) il
 est controler et ne démarre que sous condition.

 Mes recherches ne donnent pas grand chose sur ce type de portable...

 QQ1 a-t-il déjà installé ce type de netbook ?

 Ou bien le ventilo sera tjs bruyant...

 Cordialement.
 --
 Yann.

 shalom,


        alors quand sera t-il possible d'obtenir la liste des paquets
        spécifiques à cet ordi portable ?

        apt-cache search $ :

        fnfxd - ACPI and hotkey daemon for Toshiba laptops
        libwiretap1 - network packet capture library -- shared library
        acpi-support - Scripts pour gérer de nombreux événements ACPI
        acpitool - client ACPI en ligne de commande
        aes2501-wy - logiciel pour le numériseur d'empreinte digitale USB
        toshset - Configuration matérielle des ordis portables Toshiba
        laptop-mode-tools
        task-laptop
        laptop-detect
        i8kutils
        powertop
        psensor - display graphs for monitoring hardware temperature
        psensor-server - Psensor server for monitoring hardware sensors
        cpufreqd - démon configurable de contrôle dynamique de fréquence
        cpufrequtils - utilitaires pour contrôler la fonction cpufreq

        de toute façon avant d'avoir installé les paquets nécessaires
        à un ordi portable 


        slt
        bernard



 --
 Lisez la FAQ de la liste avant de poser une question :
 http://wiki.debian.org/fr/FrenchLists

 Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
 vers debian-user-french-requ...@lists.debian.org
 En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/20120108122925.2187dce8.bernard.schoenac...@free.fr


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cabwlupt478vmxshsgnoq1vsgwuzmfcpzr05xl0onyxwtaas...@mail.gmail.com



[HS] regex : correspondance numéros de versions

2011-06-24 Thread mathias dufresne
Bonjour à tous,

D'abord veuillez excuser cette question qui n'est pas du tout pure Debian...

Je cherche à définir une regex pour matcher des numéros de version avec awk.

Soit le fichier de test contenant :
3
3.
3.4
3.4.5
3.44.55
3.44.5.66
3.(4.5).6

Le résultat voulu :
3
3.4
3.4.5
3.44.55
3.44.5.66

Le test :
cat versions_file | awk '{ if ( $1 ~ /^[0-9]+[\.[0-9]+]*$/) print $1 }'

donne:
3.
3.4
3.4.5
3.44.55
3.44.5.66


En remplaçant le dernier + par * ça donne :
cat versions_file | awk '{ if ( $1 ~ /^[0-9]+[\.[0-9]*]*$/) print $1 }'
3
3.
3.4
3.4.5
3.44.55
3.44.5.66

Je n'arrive pas à comprendre où est mon erreur... Si quelqu'un peut
m'aider dans mon apprentissage, il serait le bienvenu : )

Cordialement,

Mathias

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTimPoegu+RK=y3hmlhim_vpx4u5...@mail.gmail.com



Re: [HS] regex : correspondance numéros de versions

2011-06-24 Thread mathias dufresne
Un grand merci, j'ai finalement mis la regexp dans une variable et
matché sur le contenu de cette variable car ce test est fait dans
une condition if() et les parenthèses multiples rentraient en
conflit...

Merci encore, bon week-end à tous : )

Cdlt,

mathias

Le 24 juin 2011 12:27, Jeremie Courreges-Anglas kt...@wxcvbn.org a écrit :
 mathias dufresne mathias.dufre...@gmail.com writes:

 Bonjour à tous,

 D'abord veuillez excuser cette question qui n'est pas du tout pure Debian...

 Je cherche à définir une regex pour matcher des numéros de version avec 
 awk.

 Soit le fichier de test contenant :
 3
 3.
 3.4
 3.4.5
 3.44.55
 3.44.5.66
 3.(4.5).6

 Le résultat voulu :
 3
 3.4
 3.4.5
 3.44.55
 3.44.5.66

 awk '/^[0-9]+(\.[0-9]+)*$/' versions_file

 (pas besoin de cat)

 Le test :
 cat versions_file | awk '{ if ( $1 ~ /^[0-9]+[\.[0-9]+]*$/) print $1 }'

 donne:
 3.
 3.4
 3.4.5
 3.44.55
 3.44.5.66

 Ton utilisation des [ est incorrecte ou plutôt ne correspond pas à ce
 que tu veux faire. [ et ( ont des utilités différentes qui sont très
 bien expliquées dans tout papier traitant des regexs.

 Une autre façon d'écrire ça serait :

 awk '$1 ~ /^[0-9]+(\.[0-9]+)*$/ { print $1 }' versions_file

 Inutile car le résultat ne changera pas mais ça ressemble déjà plus à
 du awk (dont la logique est  PATTERN { ACTION }  ).

 --
 Jérémie Courrèges-Anglas - GPG key : 06A11494


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktim4gzwlvgwy69c7_5c_gkssv71...@mail.gmail.com



Let's talk about compression rates

2011-01-22 Thread S Mathias
http://pastebin.com/raw.php?i=MwDnhknf

$ ls -Sl
total 461252
-rw-rw-r--. 1 g g 111709730 Jan 22 11:06 linux-2.6.37.zip
-rw-rw-r--. 1 g g  93174605 Jan 22 11:03 linux-2.6.37.tar.gz
-rw-rw-r--. 1 g g  73552510 Jan 22 11:10 linux-2.6.37.tar.bz2
-rw-rw-r--. 1 g g  66333786 Jan 22 11:16 linux-2.6.37.7z
-rw-rw-r--. 1 g g  64035788 Jan 22 11:16 linux-2.6.37.tar.7z
-rw-rw-r--. 1 g g  63480808 Jan 22 11:20 linux-2.6.37.tar.xz
$ 

I presume kernel.org knows this. Why doesn't people use e.g.: XZ?

This is the same as in PDF's. DJVU files could be amazing too. They could 
compress [convert] a 400 MByte PDF to a 20 MByte DJVU. Amazing.

Why don't these technologies spread??

Any opinions regarding it?

Thanks.


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/607661.44460...@web121409.mail.ne1.yahoo.com



Re: Let's talk about compression rates

2011-01-22 Thread S Mathias
wow...

http://pastebin.com/raw.php?i=ihLLHyiT


$ time 7z a -mx=9 linux-2.6.37.tar.7z linux-2.6.37.tar; echo; time xz -9 -z 
linux-2.6.37.tar; echo; ls -lS

7-Zip 9.13 beta  Copyright (c) 1999-2010 Igor Pavlov  2010-04-15
p7zip Version 9.13 (locale=en_US.utf8,Utf16=on,HugeFiles=on,2 CPUs)
Scanning

Creating archive linux-2.6.37.tar.7z

Compressing  linux-2.6.37.tar  

Everything is Ok

real6m43.608s
user10m1.092s
sys 0m3.957s


real10m40.788s
user10m33.363s
sys 0m2.106s

total 120264
-rw-rw-r--. 1 g g 61570448 Jan 22 15:42 linux-2.6.37.tar.xz
-rw-rw-r--. 1 g g 61567410 Jan 22 16:13 linux-2.6.37.tar.7z
$ 


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/980971.87919...@web121404.mail.ne1.yahoo.com



Re: Let's talk about HTTPS Everywhere

2011-01-22 Thread S Mathias
Even on a switched network, there may be a way to fool
 the switch into giving you enough data from the HTTP traffic to preform
 a sidejack.


http://hakipedia.com/index.php/CAM_Table_Overflow#Description




--- On Sat, 1/22/11, Camaleón noela...@gmail.com wrote:

 From: Camaleón noela...@gmail.com
 Subject: Re: Let's talk about HTTPS Everywhere
 To: debian-user@lists.debian.org
 Date: Saturday, January 22, 2011, 9:00 PM
 On Sat, 22 Jan 2011 13:37:20 -0600,
 Boyd Stephen Smith Jr. wrote:
 
  In pan.2011.01.22.18.58...@gmail.com,
 Camaleón wrote:
 On Sat, 22 Jan 2011 15:31:10 -0200, Eduardo M
 KALINOWSKI wrote:
  That's the same reason I was advocating that
 people should not leave
  Wi-Fi (even if public) unencrypted. If traffic
 is unencrypted, it is
  trivial for anyone to capture session IDs
 flying in plain text through
  the air. If the network is encrypted, then it
 is much harder to
  capture other people's traffic. (Should be
 impossible, but there are
  attacks. But things are much more difficult.)
 
 I agree. Wired networks are not that exposed to
 these attacks.
  
  Not entirely true.  On a hubbed network, putting
 your network card into
  promiscuous mode will allow you do see other's HTTP
 traffic and
  sidejack them.  Even on a switched network,
 there may be a way to fool
  the switch into giving you enough data from the HTTP
 traffic to preform
  a sidejack.
 
 A wired network can be easily monitored while wireless ones
 need 
 additional effort. You control the cables so you can
 control the traffic 
 and possible black points. A misconfigured wifi access
 point or a buggy 
 firmware in the device can lead to open access to anywhere
 inside the AP 
 range.
  
  WPA2 is still relatively secure.  WEP and WPA
 have known attacks that
  allow attackers in radio range to effectively tap to
 connection
  between the client and the AP, in addition to joining
 the AP as a
  client.
 
 And WPA2 with AES encryption is considerably slow. There
 are also 
 drawbacks when you enforce to use of the best encryption
 method.
  
 And I still fail to see why should we encrypt _all_
 of our browsing
 steps regardless its nature.
  
  Not encrypting is fine, if you are willing to expose
 the entirety of the
  connection to tapping at various locations. 
 Most notably all the
  switches between you and the destination. 
 However, session cookies (and
  other authentication tokens) are not generally
 something you want
  disclosed with is why end-to-end encryption with some
 sort of server
  authentication is recommended for transferring that
 data.
 
 I would prefer to see a good cookie policy that should be
 enforced to 
 companies. If you want to keep a secret do not write it
 anywhere.
 
  At the end of the day, a server must use *something*
 in the request
  itself to associate it with a user.  That
 something must be protected
  from snooping, so end-to-end encryption is
 required.  Encrypted session
  cookies are more secure that any of the HTTP Auth
 mechanisms for use
  after the initial log in / on. For the initial log in
 / on, we are
  already accustomed to using SSL/TLS since it is more
 widely supported
  that any of the secure HTTP Auth mechanisms.
 
 You need more than encrypted traffic to avoid some of those
 hijacking 
 attacks. Https helps, sure, but it's not the panacea and
 the cure for 
 all the treats. It should be used in conjunction with
 additional measures.
 
  HTTP Everywhere is meant as a way for users to protect
 themselves when
  the servers refuse to for whatever reason.  
 
 If the server refuses to provide https the plugin can't do
 much.
 
  Ideally, servers would take only non- sensitive
 actions and provide
  only non-sensitive information over HTTP (and of
 course, automatically
  downgrade cookies transferred over HTTP to only for
 non-sensitive
  status), but some server don't actually see that as
 being in their
  interest.  (E.g. Facebook loses relatively few
 page views if it
  discloses too much information about you.)
 
 And precisely Facebook is a perfect example of bad policy
 (they have a 
 long record of privacy issues, most of them involving
 coding bugs and  
 relaxed privacy rules).
 
 Greetings,
 
 -- 
 Camaleón
 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/pan.2011.01.22.21.00...@gmail.com
 
 





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/97048.73019...@web121403.mail.ne1.yahoo.com



how to set imagemagicks tmp folder?

2011-01-21 Thread S Mathias
my /tmp is too small [when i want to use convert]. how can i set imagemagick, 
to use an other tmp folder, what has enough space?

thank you!


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/778354.58265...@web121401.mail.ne1.yahoo.com



Let's talk about HTTPS Everywhere

2011-01-19 Thread S Mathias
Ok. It's a Firefox Add-on:

https://www.eff.org/https-everywhere

Questions:

1) But: Why can't i find it on the offical Firefox Add-ons site?: 
https://addons.mozilla.org/en-US/firefox/

2) Did anyone audited the HTTPS Everywhere code?

3) Can someone trust this Add-on? Is it safe to install/use?

4) If it's so great why isn't it more prevalent?

What's youre opinion? Or answer? :\

Thanks!


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/518009.96732...@web121410.mail.ne1.yahoo.com



check, that a script is in a folder

2011-01-05 Thread S Mathias
$ echo ${PWD##*/}
somefolder
$ if ${PWD##*/} -eq asdf  /dev/null; then echo this is the asdf folder; 
else exit 1; fi
bash: notthatfolder: command not found...
this is the asdf folder
$ 


So i just want to check that i'm in an exact folder. e.g.: asdf

What's wrong with my one-liner?

I just want to check, that a script is in a folder, and if it isn't, then it 
exits


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/434149.43513...@web121408.mail.ne1.yahoo.com



Re: check, that a script is in a folder

2011-01-05 Thread S Mathias
thank you, the:

if ! [ ${PWD##*/} == asdf ]; then echo error: not the asdf dir; exit 1; fi

worked! :)

--- On Wed, 1/5/11, Pascal Hambourg pascal.m...@plouf.fr.eu.org wrote:

 From: Pascal Hambourg pascal.m...@plouf.fr.eu.org
 Subject: Re: check, that a script is in a folder
 To: debian-user@lists.debian.org
 Date: Wednesday, January 5, 2011, 10:47 AM
 Hello,
 
 S Mathias a écrit :
  $ if ${PWD##*/} -eq asdf  /dev/null; then echo
 this is the asdf folder; else exit 1; fi
  bash: notthatfolder: command not found...
  this is the asdf folder
  
  What's wrong with my one-liner?
 
 Two mistakes :
 1) if expects a command, not a boolean expression. Use
 test
 expression or [ expression ] to evaluate
 the expression.
 2) -eq is the equal operator for numeric integers, not
 strings. Use
 = for string comparison.
 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/4d244c40.7040...@plouf.fr.eu.org
 
 





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/738152.73961...@web121407.mail.ne1.yahoo.com



recursively find duplicate filenames

2011-01-05 Thread S Mathias
find duplicate filenames in a folder
find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++'

find duplicate filenames in a folder recursively
? how? 


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/827694.496...@web121409.mail.ne1.yahoo.com



a perl question

2011-01-04 Thread S Mathias
cat asdf.txt
bla-bla
bla-bla
bla[XYZ]
importantthing
another important thing
[/XYZ]
bla-bla
bla-bla
[XYZ]
yet another thing
hello!
[/XYZ]
bla-bla
etc.
$ SOMEPERLMAGIC asdf.txt  output.txt
$ cat output.txt
importantthing
another important thing
yet another thing
hello!


how can i sovle this question? what is SOMEPERLMAGIC? are there any perl gurus, 
that have a little spare time?

Thank you! :\


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/847887.46702...@web121408.mail.ne1.yahoo.com



Re: firewall package for laptop wi-fi client

2011-01-04 Thread S Mathias
http://lcamtuf.blogspot.com/2010/12/unencrypted-public-wifi-should-die.html
http://www.exploit-db.com/search/?action=searchfilter_page=1filter_description=filter_exploit_text=filter_author=filter_platform=45filter_type=3filter_lang_id=0filter_port=filter_osvdb=filter_cve=

--- On Tue, 1/4/11, Andrei Popescu andreimpope...@gmail.com wrote:

 From: Andrei Popescu andreimpope...@gmail.com
 Subject: Re: firewall package for laptop wi-fi client
 To: debian-user@lists.debian.org
 Date: Tuesday, January 4, 2011, 11:19 AM
 On Lu, 03 ian 11, 12:28:25, tv.deb...@googlemail.com
 wrote:
  
  I wouldn't do my internet banking/shopping over such a
 network though...
 
 Would you care to explain why you find an open wireless to
 be more 
 dangerous than your regular internet connection?
 
 Regards,
 Andrei
 -- 
 Offtopic discussions among Debian users and developers:
 http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/690903.15138...@web121403.mail.ne1.yahoo.com



why is this html looks like this?

2011-01-04 Thread S Mathias
soruce code of the html file:
http://img443.imageshack.us/img443/6448/sourcey.png
it looks like this in the realiy:
http://img443.imageshack.us/img443/6448/sourcey.png

WHY? 

if i put it in  pre , then it's good.
but if it isn't in  pre  then the lines ends are random. why dont they end 
in the same vertical line?

thank you, and sorry for askin html...i just can't figure it out :(


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/846011.86290...@web121409.mail.ne1.yahoo.com



variable in loop

2011-01-02 Thread S Mathias
$ ASDF=hello; a=0; a=$(( 70 - $(echo $ASDF | awk '{print length}') )); echo $a 
$ASDF$(for i in {1..$a}; do printf .; done)
65 hello.
$ 


Why doesn't it print:
65 hello.



What am i missing?


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/733711.52712...@web121404.mail.ne1.yahoo.com



set privoxy to rewrite http to https

2011-01-01 Thread S Mathias
I use the

KB SSL Enforcer
https://chrome.google.com/extensions/detail/flcpelgcagfhfoegekianiofphddckof?hl=en

so i could browse the net safer [i mean webserver - me] with using https, if 
available.

The problem is: e.g.: facebook...

if i go to 
https://www.facebook.com/

that's ok, it's https.
But all the links are http on the site..
if i click on a http link, it will request the page on http, and THEN it 
switches to https. Heres the problem. 

How/where could i write a privoxy rule, to rewrite all the http links to 
https? [so that it would by always trully over https]

Are there any general rules (with privoxy), so that i don't have to write 
rules / site? 

with the KB SSL Enforcer its always first http, then it recognizes that the 
site can do https, than it switches to it. But i want to bypass the http part.

thank you for any information

Happy New Year!


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/249711.75899...@web121410.mail.ne1.yahoo.com



microsoft.com - NetBSD

2010-12-30 Thread S Mathias
http://research.microsoft.com/en-us/downloads/754fee75-c5a0-4542-bf9b-47f236c0a90b/default.aspx

Any comments?


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/726161.5795...@web121403.mail.ne1.yahoo.com



recursively count the words occurrence in the text files

2010-12-30 Thread S Mathias
I just can't google for it:

I'm searching for a bash one liner (awk, perl, or anything) for this: 

there are text files, in several directories: 

mkdir one
mkdir two
mkdir three

echo word1 word2 word3  one/asf.txt
echo word2 word4, word5  one/asfcxv saf.txt
echo word1. word2  one/dsgsdg.txt

echo word6, word3!  two/sdgsd dsf.txt
echo word6  two/ergd.txt

echo asdf, word2  three/werdf.txt
echo word7, word8 word9 word10  three/qwerb erfsdgdsg.txt
echo word4 word3  three/web erg as.txt

so it does the magic* recursively:

$ SOMEMAGIC  output.txt
cat output.txt
asdf 1
word1 2
word2 4
word3 3
word4 2
word5 1
word6 2
word7 1
word8 1
word9 1
word10 1
$



*recursively count the words occurrence in the text files like: word1 2
can anyone point to a howto/link? [re: i just can't google for it :\]


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/788911.43739...@web121407.mail.ne1.yahoo.com



Does anybody know a PeerGuardian like app?

2010-12-29 Thread S Mathias
Are there any programs blocking ip, and has frequently updated lists, like the 
peerguardian on windows?

sorry for the question, but i looking for this kind of application :O

Thank you, and a happy christmas!


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/597761.81921...@web121409.mail.ne1.yahoo.com



what process is sending this packet?

2010-12-27 Thread S Mathias
I can see, that theres a program that keeps sending packets on port 25:

Dec 27 14:11:46 a kernel: [ 6336.992320] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 
DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=61533 DF PROTO=TCP SPT=37263 
DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 
Dec 27 14:12:01 a kernel: [ 6352.635704] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 
DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55853 DF PROTO=TCP SPT=40644 
DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 
Dec 27 14:12:04 a kernel: [ 6355.641085] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 
DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55854 DF PROTO=TCP SPT=40644 
DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 
Dec 27 14:12:10 a kernel: [ 6361.649059] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 
DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55855 DF PROTO=TCP SPT=40644 
DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 

but where or how could i find out, that what process sends these packets?

thank you!


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/564723.48179...@web121403.mail.ne1.yahoo.com



whats wrong with my internet connection checker script?

2010-12-26 Thread S Mathias
$ true  true || echo hi
$ true  false || echo hi
hi
$ false  true || echo hi
hi
$ false  false || echo hi
hi
$ ping -W 1 -c 4 google.com  /dev/null | grep -q 100% packet loss  ping 
-W 1 -c 4 www.yahoo.com  /dev/null | grep -q 100% packet loss || echo no 
internet connection
no internet connection
$
ping -W 1 -c 4 google.com  /dev/null | grep 100% packet loss
$
ping -W 1 -c 4 www.yahoo.com  /dev/null | grep 100% packet loss
$



...both sides false, because they have no output, because google.com and 
www.yahoo.com is reachable.
how come it writes no internet connection? [at the longest line]
i just want a oneliner that checks if theres internet connection or no. :\

where did i screw up? 8)


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/471466.28989...@web121403.mail.ne1.yahoo.com



whats wrong with my internet connection checker script?

2010-12-26 Thread S Mathias
perfect! thank you Oliver Grawert! :) made my day :) it's working! :


ping -W 1 -c 4 google.com  /dev/null  ping -W 1 -c 4 www.yahoo.com  
/dev/null || echo no internet connection



  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/913669.63663...@web121402.mail.ne1.yahoo.com



2 Ethernet cabling question

2010-12-25 Thread S Mathias
Two questions that was not always clear for me [sorry for posting to this list 
:\]:

##

Q1) when cabling, is the color order important? like:

straight cabling:
A side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown
B side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown

could be eg.: like this??
A side: white-orange, brown, white-blue, green, white-green, blue, white-brown, 
orange
B side: white-orange, brown, white-blue, green, white-green, blue, white-brown, 
orange

##

Q2) again cabling.. i know what is the color order of straight and crossover 
cabling. BUT: what are the color orders, when i need to create physically two 
separated networks?

568B; straight; nic to switch:
A side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown
B side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown
--
568A; crossover; nic to nic: [it's not so important about from ~2005]:
switch the pairs: 12 with 36 on one side:
A side: white-green, green, white-orange, blue, white-blue, orange, 
white-brown, brown
B side: white-orange, orange, white-green, blue, white-blue, green, 
white-brown, brown
--
one cable, two straight networks:
A side: 
I.: 
II.: 
B side: 
I.: 
II.: 
--
one cable, two crossover networks:
A side: 
I.: 
II.: 
B side: 
I.: 
II.: 
--
one cable, one straight and one crossover network:
A side [straight]: 
I.: 
II.: 
B side [crossover]: 
I.: 
II.: 
--
one cable, one crossover and one straight network:
A side [crossover]: 
I.: 
II.: 
B side [straight]: 
I.: 
II.: 

##

Thank you for any pointings, links, or specific answers.

Happy Christmas!


  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/300521.28446...@web121410.mail.ne1.yahoo.com



google chrome big brother

2010-12-17 Thread S Mathias
Google Chrome Terms of Service(Google Chrome executable), BSD (source code and 
Chromium executable except chromium 5 beta),BSD License with proprietary parts 
(source code and chromium 5 beta executable, as it integrates Adobe Flash 
Player 10.1[1])[2]
http://en.wikipedia.org/wiki/Google_Chrome
in my interpretation, this means Google Chrome is fully open-source, only the 
flash player has proprietary codes.
am i right, or i'm missing something?
i would be happy if someone could correct me.
thank you!!
*ps.: because they say google is the big brother


  

openssl chat

2010-12-12 Thread S Mathias
i can use natively openssl for anonymous chat: 

# Chat: 
# server side:
openssl req -x509 -nodes -days 365 -newkey rsa:8192 -keyout mycert.pem -out 
mycert.pem

# server side - generate a self-signed cert.
openssl s_server -accept 52310 -cert mycert.pem

# client side - 127.0.0.1 is the IP of the server
openssl s_client -connect 127.0.0.1:52310


1) but how can i set it to require username/password? it would be a great chat 
tool
2) how can i transfer files with openssl? [again: with username/password?]

thank you for any ideas :\

p.s.: or it will be a firewall rule, to restrict to ip addresses in a list? 
those, who are only allowed to connect..


  

ultimate backup choice

2010-12-11 Thread S Mathias
i have:
SERVER A
SERVER B

with full root permisson [ssh, etc]

each server has a folder.

i want to backup a folder in SERVER A.

are there any backup methods, that meets these two requirements? :


1) running from e.g.: a cronjob

2) when running, it just checks the folder in SERVER A and SERVER B. if a 
file/folder has been added/removed/modified in the SERVER A's folder, then it 
copies/removes it/them to SERVER B's folder.

please help!

Thank you in advance! [for any links, howtos :\ ]

have a nice weekend


  

bash increment in a given way

2010-12-11 Thread S Mathias
It's ok, that i can use this, when i want an incrementing sequence, in a given 
way:

# {START..END..INCREMENT}
$ for i in {0..10..2}; do echo Welcome $i times; done
Welcome 0 times
Welcome 2 times
Welcome 4 times
Welcome 6 times
Welcome 8 times
Welcome 10 times
$

but what's the magic for this? :

$ MAGIC; do echo Welcome $i times; done
Welcome 0 times
Welcome 1 times
Welcome 4 times
Welcome 5 times
Welcome 8 times
Welcome 9 times
$

thanks:\



  

Re: bash increment in a given way

2010-12-11 Thread S Mathias
already solved!

$ for i in $(seq 0 4 16); do seq $i 1 $(( $i + 1 )); done
0
1
4
5
8
9
12
13
16
17

thank you!

--- On Sat, 12/11/10, Camaleón noela...@gmail.com wrote:

From: Camaleón noela...@gmail.com
Subject: Re: bash increment in a given way
To: debian-user@lists.debian.org
Date: Saturday, December 11, 2010, 4:57 PM

On Sat, 11 Dec 2010 06:34:14 -0800, S Mathias wrote:

 It's ok, that i can use this, when i want an incrementing sequence, in a
 given way:
 
 # {START..END..INCREMENT}
 $ for i in {0..10..2}; do echo Welcome $i times; done Welcome 0 times
 Welcome 2 times
 Welcome 4 times
 Welcome 6 times
 Welcome 8 times
 Welcome 10 times
 $
 
 but what's the magic for this? :
 
 $ MAGIC; do echo Welcome $i times; done Welcome 0 times
 Welcome 1 times
 Welcome 4 times
 Welcome 5 times
 Welcome 8 times
 Welcome 9 times
 $
 
 thanks:\

Hum... I'm not very good at bashing but, something like this? :-?

***
echo Limit...?
read limit

a=0
echo $a
for ((i=0; i$limit; i++));
do
  a=$(($a + 1))
  echo $a
  a=$(($a + 3))
  echo $a
done
***

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.12.11.16.57...@gmail.com




  

How to check that if a package is installed?

2010-11-30 Thread S Mathias
if [ $(dpkg -l | awk '/tofrodos/  /^ii/ {print $2}' | awk '/^tofrodos/') == 
 ]; then echo -e error: no zip package detected\!\n\nYou could install it 
like e.g.: \apt-get install tofrodos\; fi




Is there a better way then this?

Thank you!



  

5.0.7 out, but where are the torrent files?

2010-11-28 Thread S Mathias
I could seed it [like thousand of people could], but i can't find the 5.0.7 
torrents :O

why? :O



  

Re: xpdf fonts and xresources

2010-08-21 Thread Mathias Bauer
Hi!

* Andreas Goesele schrieb am Sa, 07.08.2010 um 12:51 (+0200):

 for me the xpdf fonts are too small. So I changed them by putting
 xpdf*fontList: -*-helvetica-medium-r-*-*-*-140-*-*-*-*-iso8859-1
 into .Xresources

 But this leaves the fontsize of the textareas (Page, Search
 field, printing dialog) unchanged. Is there a way to change the
 fontsize for these areas in .Xresources?

Have you already tried the editres program (package x11-utils)?

Keep xpdf running and start editres.  After getting the resource
tree into editres you can alter nearly any resource while xpdf is
running.  The altered resources can be saved.

Your question applies to some branch of the
.xpdf.win.form.toolBar.* tree.

Good luck!
Mathias

-- 
-
Mathias Bauer  mba...@gmx.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100821193801.ga29...@gmx.org



Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?

2010-01-10 Thread Mathias

On Sun, 10 Jan 2010, Tsang Kim Wai wrote:


Hi Nick Douma, Liam O'Toole and Mathias,

 It works by simply extracting the downloaded Eclipse 3.5 binary file
into /usr/local/eclipse-3.5/ directory and then run the eclipse script under
that directory. But I think, the eclipse 3.5 simple installation may depend
on some configurations of my old eclipse 3.2 installation. That is, I may
not un-install eclipse 3.2 while expecting eclipse 3.5 would work properly.
Is that the case ?

 Anyway, thank you for all your suggestions.

Yeah, seeing how the apt system on debian mostly works to maintain and 
upgrade the packages to newer version, the 3.4 that is in unstable would 
replace the 3.2 one, unless some changes were made to the newer package.


As mentioned earlier, creating a symlink in /usr/bin seems like a good idea 
too.


Mat

Re: Recommended NIC module

2010-01-10 Thread Mathias

On Sun, 10 Jan 2010, Stan Hoeppner wrote:


Camaleón put forth on 1/10/2010 12:07 PM:

On Sun, 10 Jan 2010 02:31:20 +0100, Mathias wrote:


Which module would you guys (or gals :) recommend for this NIC, the e100
or the eepro100?

00:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet
Pro 100 (rev 08)


I would use the module the kernel detects and automatically loads and if
no problem arises, I'll keep that one O:-)


If the kernel is auto detecting the device and loading a driver, and the device
works properly, it makes one wonder why the OP posted his question here in the
first place...

At first it didn't, it kept on remapping the NIC to eth1, and eth0 was 
disabled or reserved, then after an upgrade eth1/the NIC stopped working 
when booting, I had to manually make it work. :-/


Mat

Re: Recommended NIC module

2010-01-10 Thread Mathias

On Sun, 10 Jan 2010, Camaleón wrote:


On Sun, 10 Jan 2010 12:21:37 -0600, Stan Hoeppner wrote:


Camaleón put forth on 1/10/2010 12:07 PM:

On Sun, 10 Jan 2010 02:31:20 +0100, Mathias wrote:


Which module would you guys (or gals :) recommend for this NIC, the
e100 or the eepro100?

00:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet
Pro 100 (rev 08)


I would use the module the kernel detects and automatically loads and
if no problem arises, I'll keep that one O:-)


If the kernel is auto detecting the device and loading a driver, and the
device works properly, it makes one wonder why the OP posted his
question here in the first place...


Yes, that is a good question that was not properly addressed.

@OP: Mathias, can you specify what kind of errors are you experiencing
with *any* of the drivers? Detection issues, package drop/lost issues,
connection problems, intermittent errors, system locks...?



Well, I kinda just did, in the previous post/mail. But if you want I can 
describe it. It's a Serverworks III LE machine with the NIC on the 
motherboard, and a long time ago I installed what was lenny/sid back then,
I think. Had some problems with it, but nothing major, then with a recent 
upgrade it stopped working, and new kernels wouldn't work either, just 
re-boot/reset. So now I have managed to install stable/lenny on it, from

scratch. I saved all the data, home and etc on another disc for later use.
I guess I'll use e100 from now on, but back then when it was not working
properly, the e100 was installed with the default kernel. Yesterday I 
complied my own kernel so now I'm doing the finishing touches on the system.
This server is a SMP/Dual P3 with 768MB RAM and will be used as a ftp, ssh, 
apache (very little, mysql and a few others.


Let me know if you need more info. ;)

Mat

Re: Recommended NIC module

2010-01-10 Thread Mathias

On Sun, 10 Jan 2010, Stan Hoeppner wrote:


Mathias put forth on 1/10/2010 1:25 PM:


Yesterday I
complied my own kernel so now I'm doing the finishing touches on the
system.


If you're compiling your own kernels, add the e100 driver into the kernel
instead of as a module.  I've got an 82558 and 82559 in the same machine and
both work great without problems using the e100 kernel driver.

Also, you mentioned etho and eth1 being bumped around.  Udev did this to me with
the same two eth cards mentioned above when I moved one of them to a different
PCI slot.  I then researched the problem and had to create a udev rule to always
name the 82559 as eth0 and 82558 as eth1.  I'm guessing something similar
happened to you when you first noticed problems.  This isn't a problem with the
ethernet drivers but is a problem with udev.

Yeah, now that you mention it, that sounds like it, as I recall it. It was a 
few years ago since I installed it, and I can't rememeber the error messages 
and such, and I have wiped it clean, this past week. I was wresting with 
that issue for a while, but forgot about it, and then now when it totally
stopped working after the update, I thought it was time to change a few 
things. Mysql server failed to start, etc. Whenever I installed another 
kernel than the working (2.6.22 or 24) it wouldn't boot, just re-start 
itself. Of course I could have stayed with it and try to resolve all this 
issues, as I always did in the past, but I guess I am getting old and lazy, 
so I just installed Etch and it worked, upgraded to lenny and now everything 
seems to work fine. :)


But if you want, I can start digging in memory archives, and try to back 
track all that was faulty with the old setup. ;)


Mat


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Recommended NIC module

2010-01-09 Thread Mathias

Which module would you guys (or gals :) recommend for this NIC, the e100 or
the eepro100?

00:02.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 
100 (rev 08)


Mat


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: How to install Eclipse 3.5 on Debian 5 (lenny) stable release ?

2010-01-09 Thread Mathias

On Sun, 10 Jan 2010, Tsang Kim Wai wrote:


Hi All,

 I am a newbie in Debian and have just installed Debian 5 (lenny) stable
release. I have used apt-get install eclipse to install a version of
eclipse into my system and that version runs well.

 However, later I find that the installed version of eclipse is 3.2 and
I would like to install the current eclipse release 3.5 as an alternative of
eclipse 3.2.

 I find that eclipse 3.5 Linux version
(eclipse-jee-galileo-SR1-linux-gtk.tar.gz) could be downloaded from the
eclipse site but I do not know how to install it into Debian to make it
co-exist with the older eclipse 3.2.


I see that version 3.4.11 is in sid/unstable:
http://packages.debian.org/sid/eclipse

I guess that could be installed, without too much effort, it has a few
dependencies though. I was hoping to find 3.5 in experimental, but no such
luck. A tar.gz archive like the one you mention above is not that hard to
install either, it's not not as easy as just using apt-get or dpkg. I guess
you could unpack it (tar -zxcf) in /usr/local somewhere and try. That can't 
damaged anything. :)


Mat

Re: Problems with the install kernel on serverworks chipset.

2010-01-08 Thread Mathias

On Fri, 8 Jan 2010, Stan Hoeppner wrote:


On Fri, 8 Jan 2010 15:38:41 + (UTC), Camaleón noela...@gmail.com
wrote:

On Fri, 08 Jan 2010 02:01:53 +0100, Mathias wrote:

(...)


The machine is a HP NetServer E800 with ASUS CUR-DLS mobo, dual P-III.

Any tips?


It's listed here:

http://kmuto.jp/debian/hcl/ASUS/CUR-DLS

It seems that was tested with kernel 2.6.25.


What SCSI RAID card is in the machine, if any?



It's equpiped with 2-chan LSI SYM53C896 U160 and an Adaptec 1200A 
ATA-100/ATA-133 controller to replace the crappy Broadcom IDE controller 
this board has.


Anyway, I managed to install a basic configuration of Etch, late last night, 
booting in with LILO (Wanted Grub 2, but my XFS disks wont work with it).

So I'm going to try and upgrade it further from there.

Mat

Re: Problems with the install kernel on serverworks chipset.

2010-01-08 Thread Mathias

On Fri, 8 Jan 2010, Stan Hoeppner wrote:


On Fri, 8 Jan 2010 18:24:52 +0100 (CET), Mathias m9...@abc.se wrote:


What SCSI RAID card is in the machine, if any?



It's equpiped with 2-chan LSI SYM53C896 U160 and an Adaptec 1200A
ATA-100/ATA-133 controller to replace the crappy Broadcom IDE controller
this board has.

Anyway, I managed to install a basic configuration of Etch, late last
night,
booting in with LILO (Wanted Grub 2, but my XFS disks wont work with it).
So I'm going to try and upgrade it further from there.


If your skills are up to it, I'd recommend building a custom non-initrd
kernel with your storage controller and network drivers (and all needed
drivers for that matter) built in.  That would eliminate this boot problem.


Yeah, that's no problem, just have to figure out all the hardware, so I wont 
miss to include any modules. Been compiling loads of kernels over the years, 
but it's been a while now, hope it hasn't changed that much. :)


Mat


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Problems with the install kernel on serverworks chipset.

2010-01-07 Thread Mathias
When I install Debian 5.0 lenny and reboot, the linux never makes in past 
the first post but crashes/reboots at once.


I can run Knoppix 5.3.1 (kernel 2.6.26) on DVD and older knoppix versions on 
the machine, so it's not a total havoc. I also used
to run an older linux on this machine with kerne image 2.4.22 or 24, on it. 
I've tried the 2.6-486 as well, but no luck.


The installation goes fine, so that one works. But there is something in the 
linux image that doesn't work for me, maybe it's

not supporting Serverworks III LE chipset, or something.

Are there any alternative install discs/isos, unsupported that has a kernel 
that might work for me? It's worth a try.
I'm not new to linux either, have been using linux since ca 1998 and 
installed it over 100 times on different machines,

15 of those I have in my house/basement. So no lack of knowledge there.

The machine is a HP NetServer E800 with ASUS CUR-DLS mobo, dual P-III.

Any tips?


I am also now going to try and install an older version of Debian, (etch) to 
see if I can use it to upgrade with, and use another kernel.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




[HS] awk

2009-10-23 Thread mathias dufresne
Bonjour à tous,

Je cherche un moyen de lancer une commande système au sein d'un script awk
de manière à utiliser le résultat envoyé sur la sortie standard dans le
script awk.

La commande system() semblait prometteuse, mais celle-ci envoie sur la
sortie standard le résultat de la commande et ne renvoie à awk qu'une valeur
de retour.

Auriez vous une idée pour réaliser cela ?

Cordialement,

Mathias


[HS] réponse de la commande df

2009-06-08 Thread mathias dufresne
Bonjour à tous,

Je viens de m'apercevoir que la comande df affiche des résultats souvent
incohérents sur mes FS en ext3, sur des serveurs Solaris en UFS, mais semble
fonctionner convenablement sur les netapp :
  linuxhp001:/mnt/volm01_00/etc# df | egrep '^[ \t]*[0-9]' | awk '{ print
$1, $2 + $3, $5 }'
7680168 7292304 /
18578172 17823200 /home
16777216 16777216 /mnt/volm02_00
15728640 15728640 /mnt/volm01_00
335544320 335544320 /mnt/volm01_01
167772160 167772160 /mnt/volm01_02
411041792 411041792 /mnt/volm02_02

Ici il s'agit d'une Debian stable avec des montages sur filers Netapp (tout
ce qui est dans /mnt) et les deux premières lignes correspondent à de
l'ext3. On voit nettement ici que la somme espace utilisé + espace libre
diffère de la taille totale sur de l'ext3 mais pas sur les Netapp.

J'ai aussi testé sur des systèmes Solaris 10 et les réponses de df ne
correspondent pas non plus lorsqu'il s'agit de files systems en UFS, par
contre en cas de montage sur filer les réponses sont bonnes...

Je cherche à comprendre ce qui peut générer ces erreurs dans les résultats,
serait-ce du à la journalisation ou quelque chose comme ça ?

Cordialement,

mathias


[HS] chrooter les homedir des utilisateurs accédant via sftp

2009-05-07 Thread mathias dufresne
Bonjour à tous,

Je me tourne vers vous car mes recherches dans google et autre me renvoient
essentiellement sur le chrootage du serveur plutôt que des répertoires
utilisateurs...

je cherche donc l'option magique permettant de chrooter le répertoire
d'arriver des utilisateurs sFTP comme on peut le faire avec les utilisateurs
FTP, connaitriez vous cette option magique ?

Cordialement,

mathias


/etc/default/sysklogd?

2009-05-07 Thread Mathias Koerber
In Debian 4, it seems that the sysklogd initscript does not
check any /etc/default (like sysconfig in redhat) file,
and in fact sets SYSLOGD=

SO I gather I need to edit the initscript if I want to change
syslogd's commandline params, or is there some other local
mechanism that allows me to make config changes w/o touching the
file (which may get overwritten on a future upgrade)?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Logiciel d'impressions de photos

2009-03-28 Thread mathias dufresne
Bonjour à tous,

Je cherche un logiciel de visualisation d'images qui imprime convenablement
(ou alors qu'on m'aide un peu pour configurer gqview ^^).

Je viens d'installer une imprimante laser couleur chez ma mère qui voudrait
s'en servir pour imprimer les photos des ses petites filles... J'aime
beaucoup gqview comme visualisateur d'image mais bien que je choisisse
l'option DPI : unlimited dans l'onglet Printer la photo ressort avec
qualité médiocre (type 600x600 au lieu des 2400x600 possibles).

Je cherche donc un remplaçant à ce bon vieux gqview, ou comme dit plus haut,
ce que j'ai oublié dans ma configuration de ce soft :)

merci d'avance ;)


Re: Logiciel d'impressions de photos

2009-03-28 Thread mathias dufresne
Merci je vais tester ça : )

Sinon oui elle est convenablement configurée et fonctionne plutot bien avec
gimp par exemple...

Le 28 mars 2009 19:28, Ebling Andreas ebl...@free.fr a écrit :

 mathias dufresne wrote:
  Bonjour à tous,
 
  Je cherche un logiciel de visualisation d'images qui imprime
  convenablement (ou alors qu'on m'aide un peu pour configurer gqview ^^).
 
  Je viens d'installer une imprimante laser couleur chez ma mère qui
  voudrait s'en servir pour imprimer les photos des ses petites
  filles... J'aime beaucoup gqview comme visualisateur d'image mais bien
  que je choisisse l'option DPI : unlimited dans l'onglet Printer la
  photo ressort avec qualité médiocre (type 600x600 au lieu des 2400x600
  possibles).
 
  Je cherche donc un remplaçant à ce bon vieux gqview, ou comme dit plus
  haut, ce que j'ai oublié dans ma configuration de ce soft :)
 
  merci d'avance ;)
 Bonsoir,

 Est ce que l'imprimante est également bien configurée dans le serveur
 d'impression ?
 Sinon perso j'utilise gthumb comme visualiseur d'images, il est très
 pratique et facile d'utilisation.

 --
 Lisez la FAQ de la liste avant de poser une question :
 http://wiki.debian.org/fr/FrenchLists Vous pouvez aussi ajouter le mot
 ``spam'' dans vos champs From et Reply-To:

 Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
 vers debian-user-french-requ...@lists.debian.org
 En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org




[HS] bind9 et forwarders

2009-03-25 Thread mathias dufresne
Salut à tous,

J'ai un serveur bind qui est configuré avec 4 adresses IP vers ui renvoyer
les requêtes qu'il ne sait résoudre. Ceci marche plutôt bien car le
resolv.conf de ce système ne contient qu'une ligne nameserver pointant vers
lui-même et il arrive à résoudre les noms DNS.

Le hic c'est pour les autres systèmes, mon DNS répond correctement pour les
noms des zones pour lesquelles il fait autorité mais dès qu'il faut
transmettre la requête les logs me donnent ceci :

named[1214]: client A.B.C.D#37555: query (cache) 'www.google.fr/A/IN' denied

Je narrive pas à voir d'où peut bien provenir le soucis...

À plus,

mathias


Re: [HS] bind9 et forwarders

2009-03-25 Thread mathias dufresne
Salut,

Si je mets ça bind ne redémarre pas en me disant que le mot clef acl n'est
pas reconnu...

Le 25 mars 2009 15:03, Julien jul...@nura.eu a écrit :

 Salut,

 est-ce que tu as :

 acl recurseallow {
 127.0.0.1;
 95.154.154.12;
 ...
 }
 dans ta config (/etc/bind/named.conf.local) ?

 ca permet d'autoriser 127.0.0.1 et 95.154.154.12 à faire des requêtes
 DNS vers tout les domaines

 Julien

 Le mercredi 25 mars 2009 à 12:59 +0100, mathias dufresne a écrit :
  Salut à tous,
 
  J'ai un serveur bind qui est configuré avec 4 adresses IP vers ui
  renvoyer les requêtes qu'il ne sait résoudre. Ceci marche plutôt bien
  car le resolv.conf de ce système ne contient qu'une ligne nameserver
  pointant vers lui-même et il arrive à résoudre les noms DNS.
 
  Le hic c'est pour les autres systèmes, mon DNS répond correctement
  pour les noms des zones pour lesquelles il fait autorité mais dès
  qu'il faut transmettre la requête les logs me donnent ceci :
 
  named[1214]: client A.B.C.D#37555: query (cache) 'www.google.fr/A/IN'
  denied
 
  Je narrive pas à voir d'où peut bien provenir le soucis...
 
  À plus,
 
  mathias




Re: [HS] bind9 et forwarders

2009-03-25 Thread mathias dufresne
C'est une Lenny, installée avec un debootstrap donc assez minimale. Le Bind
est celui par défaut.

J'ai aussi des problèmes avec rndc, c'est peut-être lié...

Le 25 mars 2009 15:39, Julien jul...@nura.eu a écrit :

 Tu as quelle version de debian et quelle version de bind ?

 Le mercredi 25 mars 2009 à 15:37 +0100, mathias dufresne a écrit :
  Salut,
 
  Si je mets ça bind ne redémarre pas en me disant que le mot clef acl
  n'est pas reconnu...
 
  Le 25 mars 2009 15:03, Julien jul...@nura.eu a écrit :
  Salut,
 
  est-ce que tu as :
 
  acl recurseallow {
  127.0.0.1;
  95.154.154.12;
  ...
  }
  dans ta config (/etc/bind/named.conf.local) ?
 
  ca permet d'autoriser 127.0.0.1 et 95.154.154.12 à faire des
  requêtes
  DNS vers tout les domaines
 
  Julien
 
  Le mercredi 25 mars 2009 à 12:59 +0100, mathias dufresne a
  écrit :
 
   Salut à tous,
  
   J'ai un serveur bind qui est configuré avec 4 adresses IP
  vers ui
   renvoyer les requêtes qu'il ne sait résoudre. Ceci marche
  plutôt bien
   car le resolv.conf de ce système ne contient qu'une ligne
  nameserver
   pointant vers lui-même et il arrive à résoudre les noms DNS.
  
   Le hic c'est pour les autres systèmes, mon DNS répond
  correctement
   pour les noms des zones pour lesquelles il fait autorité
  mais dès
   qu'il faut transmettre la requête les logs me donnent ceci :
  
   named[1214]: client A.B.C.D#37555: query (cache)
  'www.google.fr/A/IN'
   denied
  
   Je narrive pas à voir d'où peut bien provenir le soucis...
  
   À plus,
  
   mathias
 
 
 




  1   2   3   4   5   6   7   8   9   10   >