Re: Wheezy no longer accepts my passwords to open /home and /mnt partitions on boot

2016-12-08 Thread David Christensen

On 12/07/16 22:06, Ken Heard wrote:

In my Wheezy box I have two encrypted hard drive partitions, 
/dev/mapper/md07_crypt for /home and /dev/mapper/md05_crypt for /mnt. (Mnt is 
no longer used. That partition was originally for /tmp; in a weak moment I 
persuaded myself that I needed to encrypt /tmp. I have since changed the mount 
point for /tmp to tmpfs and consequently changed the mount point of 
/dev/mapper/md05_crypt to /mnt pending its deletion. In the meantime it still 
has to be opened.)

This morning, when I tried to boot this box, I found that the passwords for 
those two partitions were not accepted. Finally, after entering the correct 
passwords numerous times, the following messages were received.

[info] Loading kernel module loop.
[info] Loading kernel module coretemp.
[info] Loading kernel module it87.
[ok] Activating lvm and md swap ... Done
[] Checking file systems ... Fsck from util-linux 2.20.1
BOOT was not cleanly unmounted, check forced.
BOOT: 245/120960 files (20.4% non-contiguous) 58505/241664 blocks
Fsck.ext4 No such file or directory while trying to open /dev/mapper/md07_crypt.
Possibly non-existent device?
VAR: recovering journal
Fsck died with exit status 9
Failed (code 9).
[FAIL] File system check failed. A log is being saved in /var/log/fsck/checkfs 
if that location is writable.
{My note: that location was not writable; so no such log was created.}
Please repair the system manually ... Failed!
[warn] A maintenance shell will now be started. CONTROL-D will terminate the 
shell and resume system boot ... (warning)
Give root password form maintenance
(or type CONTROL-D to continue):

After entering the root password the root bang appeared.

At this point I did not know what to do by way of reparing the system manually. I 
consequently closed the box, first by running "shutdown now". After various 
messages flashed by on the monitor I was asked once more to give the password for 
maintenance or type CONTROL-D again. After typing CONTROL-D again my user login appeared, 
but of course I could not log in. At that point I was finally able to close the computer 
with the Alt-S command.

I hope that somebody or bodies can tell me what to do to make this computer 
usable again -- short of having to do a completely new installation.


If you don't care about the data on that drive, wipe it and do a fresh 
install.



If you do care and don't have a backup, disconnect that drive, add 
another drive, do a fresh install on the additional drive (you might 
want to avoid encryption), reconnect the first drive, and see what you 
can recover.



David



Re: Brother HL-L2300D Mono Laser

2016-12-08 Thread John Conover

Ditto Brother HL-2270DW. Used via Ethernet as a network/wifi
printer-its been a soldier. Use it for PCB artwork on vellum. Line
width/spacing measures out at +/- 0.5 mil. accuracy at 1:1, using
default Debian CUPS on Postscript artwork, (both Jessie and Wheezy,
gEDA.) Responds to "lpoptions -l" for 1200 dpi, etc. Notice that
transparencies are not supported.

John

Celejar writes:
> On Thu, 8 Dec 2016 19:44:32 -0500
> Felix Miata  wrote:
> 
> > Lisi Reisz composed on 2016-12-09 00:21 (UTC):
> > 
> > > On Thursday 08 December 2016 23:52:21 Lisi Reisz wrote:
> > 
> > >> Any comments on this printer?  Brother HL-L2300D Mono Laser
> > 
> > >> There seems to be a .deb for an LPR and  CUPSwrapper driver.
> > 
> > > That was intended to have this URL in it, for the .deb:
> > > http://support.brother.com/g/b/downloadlist.aspx?=gb=en=hll2300d_us_eu_as=128=625=dlf006893_000
> > 
> > No complaints about my year old Brother laser, other than a confusing web 
> > site 
> > WRT driver installation:
> > http://www.brother-usa.com/Printer/ModelDetail/1/HL5470DW/spec
> 
> I've been using a Brother HL-2280DW mono laser for a couple of years or
> so. It seems to have the same arrangement Lisi's does - Brother
> supplied lpr and cupswrapper .debs. They're closed source blobs, and
> you need to accept some sort of licensing agreement, which I really
> don't like, but once you do, the thing just works (I use it with CUPS).
> It's been very reliable, rarely jams, and the print quality has
> generally been good, except for with one toner cartridge - I buy third
> party, and seem to have gotten a bad one. One of the attractions of
> Brother lasers is that third party consumables are really cheap - at
> least here in the USA, TN-450 compatible cartridge, rated for 2000
> copies, frequently go on sale for about $10-$11 US.
> 
> The D models are auto-duplex, which I really like, and the feature has
> always worked flawlessly. My W model is wireless, and I currently use
> it via my WiFi network, which works perfectly. I previously used it via
> ethernet, which also worked perfectly.
> 
> Celejar

-- 

John Conover, cono...@rahul.net, http://www.johncon.com/



Re: Brother HL-L2300D Mono Laser

2016-12-08 Thread Celejar
On Thu, 8 Dec 2016 19:44:32 -0500
Felix Miata  wrote:

> Lisi Reisz composed on 2016-12-09 00:21 (UTC):
> 
> > On Thursday 08 December 2016 23:52:21 Lisi Reisz wrote:
> 
> >> Any comments on this printer?  Brother HL-L2300D Mono Laser
> 
> >> There seems to be a .deb for an LPR and  CUPSwrapper driver.
> 
> > That was intended to have this URL in it, for the .deb:
> > http://support.brother.com/g/b/downloadlist.aspx?=gb=en=hll2300d_us_eu_as=128=625=dlf006893_000
> 
> No complaints about my year old Brother laser, other than a confusing web 
> site 
> WRT driver installation:
> http://www.brother-usa.com/Printer/ModelDetail/1/HL5470DW/spec

I've been using a Brother HL-2280DW mono laser for a couple of years or
so. It seems to have the same arrangement Lisi's does - Brother
supplied lpr and cupswrapper .debs. They're closed source blobs, and
you need to accept some sort of licensing agreement, which I really
don't like, but once you do, the thing just works (I use it with CUPS).
It's been very reliable, rarely jams, and the print quality has
generally been good, except for with one toner cartridge - I buy third
party, and seem to have gotten a bad one. One of the attractions of
Brother lasers is that third party consumables are really cheap - at
least here in the USA, TN-450 compatible cartridge, rated for 2000
copies, frequently go on sale for about $10-$11 US.

The D models are auto-duplex, which I really like, and the feature has
always worked flawlessly. My W model is wireless, and I currently use
it via my WiFi network, which works perfectly. I previously used it via
ethernet, which also worked perfectly.

Celejar



Re:Ian Martin

2016-12-08 Thread Ian Martin
 
 http://level.mclaughlindevelopmentgroup.com/wu.wir 



 Ian Martin 
  5:03 PM



Re: non-free software requirement

2016-12-08 Thread Henrique de Moraes Holschuh
On Fri, 09 Dec 2016, Mark Fletcher wrote:
> So, if your computer is generally working it's possible that the device 
> driver that is complaining about missing firmware is actually a driver 
> you don't need... and if that turns out to be the case, you have the 

Not in this case, the BCM43xx network device is right there in his PCIe
bus (lspci output).

-- 
  Henrique Holschuh



Re: Brother HL-L2300D Mono Laser

2016-12-08 Thread Felix Miata

Lisi Reisz composed on 2016-12-09 00:21 (UTC):


On Thursday 08 December 2016 23:52:21 Lisi Reisz wrote:



Any comments on this printer?  Brother HL-L2300D Mono Laser



There seems to be a .deb for an LPR and  CUPSwrapper driver.



That was intended to have this URL in it, for the .deb:
http://support.brother.com/g/b/downloadlist.aspx?=gb=en=hll2300d_us_eu_as=128=625=dlf006893_000


No complaints about my year old Brother laser, other than a confusing web site 
WRT driver installation:

http://www.brother-usa.com/Printer/ModelDetail/1/HL5470DW/spec
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Brother HL-L2300D Mono Laser

2016-12-08 Thread Lisi Reisz
On Thursday 08 December 2016 23:52:21 Lisi Reisz wrote:
> Any comments on this printer?  Brother HL-L2300D Mono Laser
>
> There seems to be a .deb for an LPR and  CUPSwrapper driver.
>
> Thanks.
>
> Lisi

That was intended to have this URL in it, for the .deb:
http://support.brother.com/g/b/downloadlist.aspx?=gb=en=hll2300d_us_eu_as=128=625=dlf006893_000



Re: Re: potential damage to Debian "stable" when installing packages from "testing"

2016-12-08 Thread Clive Standbridge

> 0) backport it yourself. It is not that hard to dget a dsc file from
> testing and try to build it for the current release. Often works without
> additional efforts.

The great debian-reference has a guide to doing that:
https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_porting_a_package_to_the_stable_system



Brother HL-L2300D Mono Laser

2016-12-08 Thread Lisi Reisz
Any comments on this printer?  Brother HL-L2300D Mono Laser 

There seems to be a .deb for an LPR and  CUPSwrapper driver.

Thanks.

Lisi



Re: non-free software requirement

2016-12-08 Thread Mark Fletcher
On Thu, Dec 08, 2016 at 08:34:49PM +0100, Yvan Masson wrote:
> So, from the result of:
>   # dmesg | grep firmware
> -> you know that kernel module "b43" is missing some firmware
> (ucode15.fw)
> 
> After enabling contrib and non-free repository, you can search for
> related packages:
>   $ apt search b43
> This lists interesting packages: "firmware-b43-installer" and
> "firmware-b43legacy-installer".
> 
> Next run:
>   $ apt show firmware-b43-installer
> and
>   $ apt show firmware-b43legacy-installer
> -> this show that these packages are useful for different chipsets, so
> you need to know which one is in you laptop.
> 
> As pointed Henrique de Moraes, you can run "lspci" for that:
> …
> Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev
> 01)
> …
> 
> So, finally, if you see that this device is not working well, you can
> install "firmware-b43-installer" :-)
> 
> Then reboot you computer to check that errors from dmesg have
> disappeared.
> 
All true, BUT... The stock Debian kernel contains a lot of device 
drivers that aren't necessarily needed for your particular setup. This 
is the only way it can work in a large number of different systems. Most 
of these drivers are compiled as modules and hence SHOULD only be 
getting loaded if actually needed, but two things can go wrong with 
that: 1) some drivers, for esoteric reasons, don't work as modules and 
have to be compiled into the kernel image, 2) udev rules may have subtle 
flaws that cause drivers that are not needed to be loaded when hardware 
is detected.

So, if your computer is generally working it's possible that the device 
driver that is complaining about missing firmware is actually a driver 
you don't need... and if that turns out to be the case, you have the 
option to ignore the warnings. The other option is to blacklist the 
device driver module (if it IS a module) to prevent it being loaded -- 
no module load, no complaints.

On my Jessie install, there are several complaints about missing 
firmware for drivers for hardware I don't have... I ignore them. If 
memory were tight I might look into suppressing the drivers from being 
loaded, but it isn't, and the drivers aren't doing any harm, so I ignore 
them on the basis that if I leave them alone, they seem to leave me alone.

Mark



Re: [HS] programme compteur en php5 : résolu

2016-12-08 Thread andre_debian
PHP Hypertext Preprocessor, ex "Personal Home Page",
est un langage de programmation libre, 
* principalement utilisé * pour produire des pages Web dynamiques 
via un serveur HTTP.
mais pouvant également fonctionner comme n'importe quel langage 
interprété de façon locale. PHP est un langage impératif orienté objet.

* PHP a permis de créer un grand nombre de sites web célèbres.
Il est considéré comme la base * de la création des sites Internet * 
dits dynamiques mais également des applications web.
https://fr.wikipedia.org/wiki/PHP

PHP is a server scripting language, and a powerful tool for making 
dynamic and interactive Web pages.
www.w3schools.com/php/

> > Le PHP ne s'installe qu'avec un serveur Web (apache, nginx...).
> > Sans celui-ci, pas de php ! :
Ici, par contre, j'ai appris que l'ont pouvait installer le module PHP
sans serveur Web.

> php <<<"" :
A quoi ça sert ? le bash ira mieux.

On peut toujours utiliser une F1 Ferrari, pour labourer un champ de 
pommes de terre et faire des déménagements de châteaux... 
Ça risque de fonctionner un tantinet quand même.

Comme dans la chanson de Boris Vian :
"je regarde la télé à l'envers, je suis snob".

Y a même des gens qui utilisent, des Mac OS/X pour les
transformer en tous rôles serveurs (web, mail, ftp, dns, dhcp...)
et des tournevis comme burin.

André

PS : https://packages.debian.org/fr/jessie/php5-cli :

Interpréteur en ligne de commande pour le langage de script PHP5

Ce paquet fournit l'interpréteur de commande /usr/bin/php5, utile pour tester 
des scripts PHP depuis la ligne de commande ou utiliser des scripts à 
vocation généraliste.

PHP est un langage de script libre très utilisé et généraliste. 
Il est particulièrement adapté * au développement web * et peut être embarqué 
dans du HTML.


On Thursday 08 December 2016 20:42:06 François TOURDE wrote:
> Le 17143ième jour après Epoch, andre debian écrivait:
> > Sauf erreur, je ne vois pas comment utiliser un script PHP
> > sans passer par un navigateur pour le résultat.
> Essaye ça en ligne de commande :
> php <<<""

> Ah? Comment es-tu si sûr de ça ? : 
> > Écrire que "le php  n'a pas de rapport avec le Web",
> > me parait être une erreur de taille ! :
> C'est vrai, voir l'article sur le PHP dans Wikipedia

> > Le php est un langage Web :
> Non, c'est un langage.
> 
> > Le PHP est un langage qui permet, entre autres, l'interactivité 
> > d'un site Web, c'est souvent pour cela qu'on l'utilise.
> 
> Pas tout à fait. Il permet le dynamisme d'un site web. 
> C'est pour ça qu'il a été inventé d'ailleurs.



Re: choix d'un template pour un album photo

2016-12-08 Thread daniel huhardeaux

Le 08/12/2016 à 19:42, bernard schoenacker a écrit :

bonjour,

 j'ai 39 photo qui sont en lgne et je souhaiterai alléger le tout
 pour obtenir une page web exploitable ...

 quel est l'album photo le plus simple à employer pour moi

 le code html est correct mais la vitesse de téléchargement est
 ecxécrable ...

 exemple de code (39x) :

 
 
 


 slt
 bernard




J'utilise fgallery

https://www.thregr.org/~wavexx/software/fgallery/

--
Daniel



Re: OT?: FAT32(/16?) Question: Max. files in top level directory

2016-12-08 Thread rhkramer
On Thursday, December 08, 2016 12:49:42 PM Henrique de Moraes Holschuh wrote:
> On Thu, 08 Dec 2016, rhkra...@gmail.com wrote:

...

> Ugh. Well, for FAT32, "it depends" on the implementation, but it is not
> unlimited.
> 
> Even for FAT12/16, the number of entries in the root directory region
> could be changed at filesystem creation time (within some limits).
> OTOH, when you use VFAT on top, it can consume more than one "directory
> entry" per file...
> 
> So you never know for sure with FAT12/16/32 + VFAT ;-)
> 
> Here:
> https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system
> 
> > The limit might have existed in FAT12 as well (or some similar limit),
> > but as I recall it was in FAT16 or later.
> 
> FAT32 has its own limits, and you should consider that particular
> implementations will also have extra limits, especially on embedded
> devices.

Thanks very much to all who replied!

The intended use is on an embedded device (old photo frame) for which we don't 
have the manual, I guess we'll find out when we hit the limit...



Presentación

2016-12-08 Thread Quijote Libre
Saludos a todos.

Soy un antiguo programador (ya tengo mis añitos y mis inicios en la
programación fueron en COBOL, picando los programas en tarjetas
perforadas halla por finales de los 70 y primeros 80).

Desde los 90 sigo GNU/Linux, especialmente Debian, aunque mi trabajo de
gestión, no programando, me ha atado a Windows.

He probado, aunque nunca profundizado, Mandrake, Ubuntu, SuSe, Debian,
Mint y alguna otra, pero en estos momentos en que estoy decidido a tomar
el camino del Softwae LIbre y recuperar mi pasión por la Informática y
la programación he instalado en mi equipo un Debian (estable) sin
contrib, ni non-free hace unos meses y ando tanteando Trisquel, pero
Debian siempre ha sido mi distro de referecnia, aunque cómo soy un
curioso seguro probaré otras cosas.

Soy un admirador del trabajo de D. Richard Stallman y muy especialmente
de su GNU Emcas, y voy contando mi camino en un pequeño Blog.

Mi equipo es este:

Placa: Asus P5Q, BIOS Date: 03/11/10 18:47:16 Ver: 08.00.14
Procesador: Intel® Core™2 Duo CPU E8400 @ 3.00GHz (2 CPUs), ~3.0GHz
Memoria: 8 GB
Gráfica: NVIDIA GeForce GTX 650
1 Disco SSD Samsung EVO 750 de 250 GB
2 Discos sata WD de 500 GB
2 Discos sata WD de 1 TB
1 Disco USB de 1 TB
1 Disco USB de 500 GB

Los temas para los que lo quiero usar:
- Mantener mi Blog 
- Temas de Ofimática sencillos
- Conocer Linux a fondo
- Virtualizar maquinas de pruebas (Mi idea es montar el mismo sistema e
ir probando los cambios antes de hacerlo en el sistema real, y una
segunda maquina para programar pero aún tengo que leer de este tema)
- Retomar un poco la programación (soy informático pero de gestión y
hace años no programo, quisiera reaprender)

En estos momentos estoy aprendiendo a manejarme con GNU Emacs, para
montar mi sistmea GTD en org-mode

Por otro lado, para mí sería un sueño, llegar a poder participar
activamente y colaborar en la comunidad Debian y para eso estoy aquí,
aunque he de reconocer que manejar estas listas de correo no se me hace
sencillo y mi inglés es bueno para leer y traducir pero no sobrevive a
un IRC.  En estos dos aspectos cualquier recomendación o sugerencia será
agradecida.

No obstante aparte de esos aspectos cualquier consejo, sugerencia u
orientación para no perderme en este macro proyecto será bien recibido.

Un saludo a todos y perdonad el rollo.


Quijote Libre

___ Datos de contacto ___

Usuario GNU/Linux: #609825
GNUsocial: quitter.se/quijotelibre
Jabber/XMPP: QuijoteLibre ARROBA member.fsf.org
Diáspora: quijotelibre ARROBA joindiaspora PUNTO com
Web: http://quijotelibre.com/




Re: [HS] programme compteur en php5 : résolu

2016-12-08 Thread Grégory Reinbold
Le jeudi 08 décembre 2016 à 20:44 +0100, Ph. Gras a écrit :
> Hello !
> 
> > Suite à ce que tu as écrit, je préfère répondre afin que 
> > personne ne soit trompée sur la ML :-)
> > 
> > Sauf erreur, je ne vois pas comment utiliser un script PHP
> > sans passer par un navigateur pour le résultat.
> 
> https://packages.debian.org/fr/jessie/php5-cli
> 
> Ph. Gras

J'allais le dire :D

-- 
Grégory Reinbold 



Re: [HS] programme compteur en php5 : résolu

2016-12-08 Thread François TOURDE
Le 17143ième jour après Epoch,
andre debian écrivait:

> Sauf erreur, je ne vois pas comment utiliser un script PHP
> sans passer par un navigateur pour le résultat.

Essaye ça en ligne de commande :

php <<<""


> Le PHP ne s'installe qu'avec un serveur Web (apache, nginx...).
> Sans celui-ci, pas de php !

Ah? Comment es-tu si sûr de ça ?

> Écrire que "le php  n'a pas de rapport avec le Web",
> me parait être une erreur de taille !

C'est vrai, voir l'article sur le PHP dans Wikipedia

> Le php est un langage Web.

Non, c'est un langage.

> Le PHP est un langage qui permet, entre autres, l'interactivité 
> d'un site Web, c'est souvent pour cela qu'on l'utilise.

Pas tout à fait. Il permet le dynamisme d'un site web. C'est pour ça
qu'il a été inventé d'ailleurs.

> Bonne soirée.

Idem.

-- 
Try to relax and enjoy the crisis.
-- Ashleigh Brilliant



Re: potential damage to Debian "stable" when installing packages from "testing"

2016-12-08 Thread Rob van der Putten

Hi there


On 08/12/16 16:27, Alex Mestiashvili wrote:


0) backport it yourself. It is not that hard to dget a dsc file from
testing and try to build it for the current release. Often works without
additional efforts.


That's what I do. I'm rather blunt about it;
1. Does it compile?
2. Does it install?
3. Does it work?
4. Am I still happy about it after a while?

Recently I ran into some squid and libcap3 problems;
http://www.sput.nl/software/squid/squid-backport.html

According to a friend it's OK to replace the maintainer supplied symbols 
file with the generated one. And the libcap3 does indeed compile and 
build a package.
I'm considering building Squid with it and want to name the new package 
3.5.22-1~bpo8+2 instead of 3.5.22-1~bpo8+1.

Is this possible and how do I do this?


Regards,
Rob





Re: [HS] programme compteur en php5 : résolu

2016-12-08 Thread Ph. Gras
Hello !

> Suite à ce que tu as écrit, je préfère répondre afin que 
> personne ne soit trompée sur la ML :-)
> 
> Sauf erreur, je ne vois pas comment utiliser un script PHP
> sans passer par un navigateur pour le résultat.

https://packages.debian.org/fr/jessie/php5-cli

Ph. Gras


Re: non-free software requirement

2016-12-08 Thread Yvan Masson
So, from the result of:
  # dmesg | grep firmware
-> you know that kernel module "b43" is missing some firmware
(ucode15.fw)

After enabling contrib and non-free repository, you can search for
related packages:
  $ apt search b43
This lists interesting packages: "firmware-b43-installer" and
"firmware-b43legacy-installer".

Next run:
  $ apt show firmware-b43-installer
and
  $ apt show firmware-b43legacy-installer
-> this show that these packages are useful for different chipsets, so
you need to know which one is in you laptop.

As pointed Henrique de Moraes, you can run "lspci" for that:
…
Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev
01)
…

So, finally, if you see that this device is not working well, you can
install "firmware-b43-installer" :-)

Then reboot you computer to check that errors from dmesg have
disappeared.

Cheers,
Yvan


Le mercredi 07 décembre 2016 à 23:19 +, Steve Greig a écrit :
> Thanks for your help. Responses to your suggestions are given below.
> 
> Ben Finney: Detect network hardware.
> Some of your hardware needs non-free firmware files to operate. The
> firmware can be loaded from removable media, such as a USB stick or
> floppy.
> The missing firmware files are: b43/ucode15.fw b43/ucode15.fw b43-
> open/ucode15.fw b43-open/ucode15.fw
> If you have such media available now, insert it, and continue.
> Load missing firmware from removable media?
> NO
> Yes
> 
> Santiago Vila: not quite sure what I am looking for in /var/log.
> Doing a ls on that directory gives the following:
> root@mylaptop:/var/log# ls
> alternatives.log  cups      dpkg.log    fontconfig.log   
> kern.log  popularity-contest      syslog   user.log
> apt          daemon.log  exim4    fsck        lastlog   popularity-
> contest.0      syslog.1 wtmp
> auth.log      debug   faillog    hp        lightdm   popularity-
> contest.gpg  syslog.2.gz  Xorg.0.log
> btmp          dmesg   firebird    installer    messages  speech-
> dispatcher      syslog.3.gz  Xorg.0.log.old
> 
> Yvan Masson: I got the following:
> root@mylaptop:~# dmesg | grep firmware
> [   17.356396] b43 ssb0:0: firmware: failed to load b43/ucode15.fw (-
> 2)
> [   17.356487] b43 ssb0:0: Direct firmware load failed with error -2
> [   17.357131] b43 ssb0:0: firmware: failed to load b43/ucode15.fw (-
> 2)
> [   17.357219] b43 ssb0:0: Direct firmware load failed with error -2
> [   17.357980] b43 ssb0:0: firmware: failed to load b43-
> open/ucode15.fw (-2)
> [   17.358072] b43 ssb0:0: Direct firmware load failed with error -2
> [   17.358674] b43 ssb0:0: firmware: failed to load b43-
> open/ucode15.fw (-2)
> [   17.358766] b43 ssb0:0: Direct firmware load failed with error -2
> [   17.359404] b43-phy0 ERROR: You must go to http://wireless.kernel.
> org/en/users/Drivers/b43#devicefirmware and download the correct
> firmware for this driver version. Please carefully read all
> instructions on this website.
> 
> Henrique de Moraes... 
> root@mylaptop:~# lspci
> 00:00.0 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory
> Controller (rev a2)
> 00:01.0 ISA bridge: NVIDIA Corporation Device 075e (rev a2)
> 00:01.1 SMBus: NVIDIA Corporation MCP78S [GeForce 8200] SMBus (rev
> a1)
> 00:01.3 Co-processor: NVIDIA Corporation MCP78S [GeForce 8200] Co-
> Processor (rev a2)
> 00:01.4 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory
> Controller (rev a1)
> 00:02.0 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] OHCI
> USB 1.1 Controller (rev a1)
> 00:02.1 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] EHCI
> USB 2.0 Controller (rev a1)
> 00:04.0 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] OHCI
> USB 1.1 Controller (rev a1)
> 00:04.1 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] EHCI
> USB 2.0 Controller (rev a1)
> 00:07.0 Audio device: NVIDIA Corporation MCP72XE/MCP72P/MCP78U/MCP78S
> High Definition Audio (rev a1)
> 00:08.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI
> Bridge (rev a1)
> 00:09.0 SATA controller: NVIDIA Corporation Device 0ad5 (rev a2)
> 00:0b.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI
> Express Bridge (rev a1)
> 00:13.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI
> Bridge (rev a1)
> 00:14.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI
> Bridge (rev a1)
> 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h
> Processor HyperTransport Configuration (rev 40)
> 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h
> Processor Address Map
> 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h
> Processor DRAM Controller
> 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h
> Processor Miscellaneous Control
> 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h
> Processor Link Control
> 02:00.0 VGA compatible controller: NVIDIA Corporation C77 [GeForce
> 9100M G] (rev a2)
> 08:00.0 Network controller: Broadcom Corporation BCM4312 

Re: [HS] programme compteur en php5 : résolu

2016-12-08 Thread andre_debian
On Thursday 08 December 2016 08:44:13 Yves Rutschle wrote:
> Non non, ce que je veux dire c'est que PHP n'a pas de
> rapport avec le Web. C'est un langage généraliste qui sait
> tout faire, et dont il se trouve qu'il est souvent utilisé
> côté serveur Web, mais il n'y a rien qui limite PHP à ça :

Suite à ce que tu as écrit, je préfère répondre afin que 
personne ne soit trompée sur la ML :-)

Sauf erreur, je ne vois pas comment utiliser un script PHP
sans passer par un navigateur pour le résultat.
Le PHP ne s'installe qu'avec un serveur Web (apache, nginx...).
Sans celui-ci, pas de php !
Écrire que "le php  n'a pas de rapport avec le Web",
me parait être une erreur de taille !
Le php est un langage Web.
(son concurrent est ASP qui s'installe sur Windows-Server)

> En y arrivant à travers un serveur Web, c'est normal (le
> serveur attend la fin de l'exécution du programme PHP avant
> d'envoyer la réponse globale au navigateur.
> Je ne sais pas exactement ce que tu cherches à faire :

Comme bien indiqué dans mon 1er mail, 
faire défiler des chiffres de 1 à 10, l'un après l'autre.

> mais si tu as besoin d'interactivité je t'encouragerais à
> regarder du côté de frameworks plus complet, voire
> d'applications qui existent déjà (des Wordpress et autres) :

Pas de CMS.
Le PHP est un langage qui permet, entre autres, l'interactivité 
d'un site Web, c'est souvent pour cela qu'on l'utilise.

Bonne soirée.

André




Re: memoria flash con particion y unidad de CD

2016-12-08 Thread Carlos Andrés Martín

Hola!

El 07/12/16 a las 16:33, l...@ida.cu escribió:

hola a todos

Tengo una memoria USB de 8GB que la formateo y le cambio las particiones
sin problemas.

Peeero la misma en el programa de Utilidad de Discos de Debian me pone a
parte de una particion de 7 GB que la tengo en FAT32 me pone otra como una
unidad de CD, pero no la puedo quitar.

No se si es así por el fabricante pero primera vez que vreo eso y no la
puedo eliminar y es una unidad de CD en la misma memoria de 128 MB

Alguna idea para dejar solamente en la memoria de 8gb una sola partición
como NTFS
Se puede formatear desde consola con el comando 'mkntfs'. Los pasos 
serían los siguientes:


# fdisk -l (ejecutar fdisk como root para listar los dispositivos 
conectados e identificar el pendrive)
# umount /dev/sdc1(desmontar el pendrive... suponiendo que esté en 
'/dev/sdc1', es sólo un ejemplo)
# mkntfs -f -L PENDRIVE /dev/sdc1 (formatear '-f' por fast y '-L' por 
label, en este caso le puse 'PENDRIVE' de nombre)

General UDISK esa es la marca de la memoria flash de 8GB

Agradezco toda ayuda





choix d'un template pour un album photo

2016-12-08 Thread bernard schoenacker
bonjour,

j'ai 39 photo qui sont en lgne et je souhaiterai alléger le tout
pour obtenir une page web exploitable ...

quel est l'album photo le plus simple à employer pour moi

le code html est correct mais la vitesse de téléchargement est
ecxécrable ...

exemple de code (39x) :






slt
bernard



-- 
bernard schoenacker 
 'fortune -e'



novidade para você

2016-12-08 Thread Douglas Gatto
olá, venho aqui para trazer uma novidade para você
você ja trabalha na internet, ou deseja trabalhar

para você trabalhar na internet, você precisa investir em conhecimento, porém 
os cursos de hoje ensinam as mesmas coisas, onde o resultado é demorar e o 
gasto é muito alto. você que trabalha na internet em qualquer segmento, e 
deseja fazer vendas diárias de forma gratuita e diferente de tudo que você ja 
pesquisou.

[1] máquina de lista

então hojé é seu dia de sorte, esqueça a forma antiga de capturar emails, por 
página de captura e demorar meses e anos para ter uma lista grande e 
qualificada, você vai conseguir fazer a sua lista em um dia, com emails super 
segmentados e vendas diárias, ou você que trabalha com multinivel, terá muitos 
contatos para cadastrar.

porque você deve conhecer [2] a máquina de lista?

1 não precisa investir em nada
2 você vai formar uma lista super segmentada em um dia
3 da forma tradicional, demoraria meses ou anos para montar uma lista

se você quer, mudar de idéia e ter esse poderoso conhecimento e ja começar a 
fazer vendas hoje, [3] clique aquie conheça esse método profissional

clique aqui em baixo e veja como tudo funciona

[4] clique aqui

[5] view this email in your browser
you are receiving this email because of your relationship with douglas. please 
[6] reconfirmyour interest in receiving emails from us.  if you do not wish to 
receive any more emails, you can [7] unsubscribe here.
this message was sent to t...@test.com by douglas gatto
douglasempreendedordigi...@gmail.com

unsubscribe| manage subscription| forward email| report abuse


 References:

1. u=6a77aca
2. u=6a77aca
3. u=6a77aca
4. u=6a77aca
5. 
http://dicasparatrabalharonline.bmetrack.com/c/v?e=A70EBF=A9A12=0=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D
6. 
http://dicasparatrabalharonline.bmetrack.com/c/opt?e=A70EBF=A9A12=0=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D
7. 
http://dicasparatrabalharonline.bmetrack.com/c/u?e=A70EBF=A9A12=0=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D


This message was sent to debian-user-portuguese@lists.debian.org by 
douglasempreendedordigital.gmail@mail.benchmarkapps.com

You can modify/update your subscription via the link below.

Unsubscribe from all mailings
http://dicasparatrabalharonline.bmetrack.com/c/su?e=A70EBF=A9A12=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=265F6855


Manage Subscription
http://dicasparatrabalharonline.bmetrack.com/c/s?e=A70EBF=A9A12=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=265F6855


Forward Email
http://dicasparatrabalharonline.bmetrack.com/c/f?e=A70EBF=A9A12=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=265F6855


Report Abuse
http://dicasparatrabalharonline.bmetrack.com/Abuse?e=A70EBF=A9A12=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=265F6855


douglasempreendedordigi...@gmail.com

Email Marketing
BenchmarkEmail.com
 [http://dicasparatrabalharonline.bmetrack.com]

View this email in your browser: 

http://dicasparatrabalharonline.bmetrack.com/c/v?e=A70EBF=A9A12=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=265F6855


You are receiving this email because of your relationship with Douglas. Please 
reconfirm your interest in receiving emails from us.  If you do not wish to 
receive any more emails, you can unsubscribe here or report abuse.

http://dicasparatrabalharonline.bmetrack.com/c/u?e=A70EBF=A9A12=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=265F6855


Re: OT?: FAT32(/16?) Question: Max. files in top level directory

2016-12-08 Thread Henrique de Moraes Holschuh
On Thu, 08 Dec 2016, rhkra...@gmail.com wrote:
> Does anybody else (reading this) recall that, and recall more details, like 
> the maximum number of files and which FAT systems (32 or 16) this applied to, 
> and, further, is it still a limit on FAT32?

Ugh. Well, for FAT32, "it depends" on the implementation, but it is not
unlimited.

Even for FAT12/16, the number of entries in the root directory region
could be changed at filesystem creation time (within some limits).
OTOH, when you use VFAT on top, it can consume more than one "directory
entry" per file...

So you never know for sure with FAT12/16/32 + VFAT ;-)

Here:
https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system

> The limit might have existed in FAT12 as well (or some similar limit), but as 
> I recall it was in FAT16 or later.

FAT32 has its own limits, and you should consider that particular
implementations will also have extra limits, especially on embedded
devices.

-- 
  Henrique Holschuh



Re: ssh doesn't work.

2016-12-08 Thread Reco
Hi.

On Thu, 8 Dec 2016 15:37:45 +
Darac Marjal  wrote:

> On Thu, Dec 08, 2016 at 01:18:38AM +0300, Reco wrote:
> >On Wed, 7 Dec 2016 15:54:46 -0500
> >Henning Follmann  wrote:
> >
> >> On Wed, Dec 07, 2016 at 11:28:53PM +0300, Reco wrote:
> >> >  Hi.
> >> >
> >> > On Wed, 7 Dec 2016 21:14:51 +0200
> >> > Antti Talsta  wrote:
> >> >
> >> > > On Wed, Dec 07, 2016 at 01:49:34PM -0500, Greg Wooledge wrote:
> >> > >
> >> > > > Changing the port at least decreases the number of brute force 
> >> > > > attacks
> >> > > > against you, which saves resources (bandwidth, CPU) that are 
> >> > > > otherwise
> >> > > > wasted by the attackers.
> >> > >
> >> > > How about fail2ban for that?
> >> >
> >> > How fail2ban can help against an army of bots trying one single
> >> > password per bot?
> >> >
> >> That actually works well. Usually it's multiple attempts from one ip.
> >> fail2ban catches exactly that. And then blacklists that ip.
> >
> >Probably it is so. It's been awhile since I ran publicly accessible
> >sshd on port 22 with password authentication enabled.
> >
> >Personally I prefer a bunch of simple iptables rules to fail2ban
> >though. After all, why bother running a userspace tool, if you can
> >force the kernel itself to do the job?
> 
> Could you share with the group what "simple iptables rules" you use? I 
> presume that iptables, by itself, can't replicate the idea of "block 
> after X failures in Y minutes", but presumably you're using some kind of 
> rate limiting, instead?

Sure. It's in archives somewhere already, but:

iptables -A INPUT -p tcp -m tcp --dport 22 -m conntrack --ctstate NEW \
-m hashlimit --hashlimit-upto 1/hour --hashlimit-burst 8 \
--hashlimit-mode srcip --hashlimit-name ssh \
--hashlimit-htable-expire 65536 -m comment --comment "HTTPS Blocker" \
 -j ACCEPT

iptables -A INPUT -p tcp -m tcp --dport 22 --tcp-flags SYN,RST,ACK SYN \
-m comment --comment "HTTPS Blocker" -j DROP

Back in the day I was not that lazy for building kernel modules I used
TARPIT instead of DROP.


PS From the previous discussion of this very topic I was pointed that
such iptables configuration is unsuitable for certain 'Modern Desktop
Environment'. Therefore this iptables configuration should be used on
'understand what I'm doing' basis.

Reco



mendeley

2016-12-08 Thread Boyan Penkov
opt/mendeleydesktop/bin/mendeleydesktop --unix-distro-build is taking
forever (over two days, with no end in sight).

Does anbody else see this?

Cheers!

-- 

Boyan Penkov
www.boyanpenkov.com




signature.asc
Description: OpenPGP digital signature


Re: Quelle application de développement et de gestion d'un annuaire LDAP

2016-12-08 Thread Jean-Michel OLTRA

Bonjour,


Le jeudi 08 décembre 2016, Olivier a écrit...


> J'ai lu quelques mots sur FreeIPA ou FusionDirectory ?
> Quel logiciel me conseillez-vous (parmi ces logiciels ou d'autres) ?

www.iredmail.org

Mais c'est un peu plus qu'un gestionnaire d'annuaire ldap.

-- 
jm



Quelle application de développement et de gestion d'un annuaire LDAP

2016-12-08 Thread Olivier
Bonjour,

Je souhaite mettre en place un annuaire LDAP.
Son rôle serait de gérer des utilisateurs d'une entreprise (<50 personnes).
Pour ceux-ci, je souhaite ajouter quelques champs spécifiques aux modèles
standard.
Par exemple, j'imagine devoir être capable de configurer que chaque
utilisateur possède jusqu'à 3 champs de type Numéro de téléphone.

Je souhaite que les utilisateurs ou certains d'entre eux puissent eux-mêmes
mettre à jour les données les concernant.
J'imagine qu'une interface web serait parfaite pour ces opérations.

Il me faudrait donc être capable d'étendre (développer et maintenir) les
formulaires d'édition/visualisation des données de l'annuaire.

Je suis assez novice dans le domaine.
Bien entendu, le tout doit fonctionner côté serveur sur Jessie ou Stretch.

J'ai lu quelques mots sur FreeIPA ou FusionDirectory ?
Quel logiciel me conseillez-vous (parmi ces logiciels ou d'autres) ?

Slts


Re: ssh doesn't work.

2016-12-08 Thread Darac Marjal

On Thu, Dec 08, 2016 at 01:18:38AM +0300, Reco wrote:

On Wed, 7 Dec 2016 15:54:46 -0500
Henning Follmann  wrote:


On Wed, Dec 07, 2016 at 11:28:53PM +0300, Reco wrote:
>Hi.
>
> On Wed, 7 Dec 2016 21:14:51 +0200
> Antti Talsta  wrote:
>
> > On Wed, Dec 07, 2016 at 01:49:34PM -0500, Greg Wooledge wrote:
> >
> > > Changing the port at least decreases the number of brute force attacks
> > > against you, which saves resources (bandwidth, CPU) that are otherwise
> > > wasted by the attackers.
> >
> > How about fail2ban for that?
>
> How fail2ban can help against an army of bots trying one single
> password per bot?
>
That actually works well. Usually it's multiple attempts from one ip.
fail2ban catches exactly that. And then blacklists that ip.


Probably it is so. It's been awhile since I ran publicly accessible
sshd on port 22 with password authentication enabled.

Personally I prefer a bunch of simple iptables rules to fail2ban
though. After all, why bother running a userspace tool, if you can
force the kernel itself to do the job?


Could you share with the group what "simple iptables rules" you use? I 
presume that iptables, by itself, can't replicate the idea of "block 
after X failures in Y minutes", but presumably you're using some kind of 
rate limiting, instead?




Reco



--
For more information, please reread.



Re: potential damage to Debian "stable" when installing packages from "testing"

2016-12-08 Thread Alex Mestiashvili
On 12/08/2016 02:14 PM, Greg Wooledge wrote:
> On Thu, Dec 08, 2016 at 01:58:18PM +0200, Martin T wrote:
>> let's say that I need a package named "weechat"(version 1.6-1) from
>> Debian "testing":
> 
> Let's not say that.
> 
> Let's instead say "I am running jessie, but jessie's version of weechat
> (1.0.1-1) is missing some features I need.  What should I do?"
> 
> The next step then is to look at jessie-backports.  There is a newer
> version of weechat (1.5-1~bpo8+1) in jessie-backports.  So try that
> one.
> 
> If that one STILL isn't new enough for you, then you have two choices:
> 
> 1) Install weechat yourself from upstream source code.
> 2) Upgrade your entire system to stretch (testing).
> 

0) backport it yourself. It is not that hard to dget a dsc file from
testing and try to build it for the current release. Often works without
additional efforts.




Pinjaman dana

2016-12-08 Thread Mas Yanto
Saya mau pinjam dana 30jt tenor 36bln saya karyawan tetap


Re: OT?: FAT32(/16?) Question: Max. files in top level directory

2016-12-08 Thread Charlie Kravetz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Thu, 8 Dec 2016 07:42:33 -0500
rhkra...@gmail.com wrote:

>I've been googling to try to answer this question, so far, no luck.
>
>I recall that there is (or used to be?) a limit on the number of files in the 
>top level directory of a FAT32 (or 16?) partition / drive.  If you needed to 
>have more files in a directory, you had to create a subdirectory (and, as I 
>recall, there was no limit on the number of files in a subdirectory).
>
>Does anybody else (reading this) recall that, and recall more details, like 
>the maximum number of files and which FAT systems (32 or 16) this applied to, 
>and, further, is it still a limit on FAT32?
>
>The limit might have existed in FAT12 as well (or some similar limit), but as 
>I recall it was in FAT16 or later.
>

You are correct in the limit in the root directory. I thought the limit
was 128 files/directories, but I could be wrong. I believe the limit
was when using FAT 16. FAT 32 raised this limit, but I don't remember
the numbers, since by then I was using sub-directories to insure never
hitting the limit. 

- -- 
Charlie Kravetz
Linux Registered User Number 425914
[http://linuxcounter.net/user/425914.html]
Never let anyone steal your DREAM.   [http://keepingdreams.com]
-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEEG5QK93YKrQMH22ZTiq6LjqbJ0IAFAlhJasgACgkQiq6LjqbJ
0ICJawgAmykBStEEUV6pezM8Txi4qS29U0PvjMUSKK7mHsLOw1JnXcHqxMoJpOsh
N6SQ76C2J+1QPvKHUdyYuR8ZecoKxaehyEXPccYtV8eMSvPVo8CWXE4rjjdiAxgP
Ww4IknQJWCc8Qsh2BG8F6FglVx+RS/ij62phTT/qOf/2aPG89T/w3Psi/acGt2Y9
+XwMoKGKrqbDRK8NzyWk0fb5XYqvqvYmzCDGGvsCtWzXswsJFzRan18YnFcB43KN
ZggbqgG8YGDWMFxIJcsuMPKrOt5fCLLgysNTcAEeBhlNIUPf0Cl9ZFPUkXqWqc7Y
cgUo0ZuwR8nCUVfXDqrBFvKgFlOMgA==
=L0dZ
-END PGP SIGNATURE-


Re: systemd automount - Parameter TimeoutIdleSec ignored?

2016-12-08 Thread Michael Biebl
Am 08.12.2016 um 13:33 schrieb Andreas Born:
> Hi all,
> I need a device to be automatically mounted on access and unmounted when being
> idle. My /etc/fstab entry:
> 
> /dev/sdc1  /mnt/auto  ext4  defaults,noauto,x-systemd.automount,\
> x-systemd.idle-timeout=10   0   0
> 
> Systemd correctly creates the mnt-auto.mount und mnt-auto.automount unit files
> and automounting works perfectly.
> 
> x-systemd.idle-timeout=10 is getting translated to TimeoutIdleSec=10s within
> mnt-auto.automount. According to the manpages (sytemd.automount(5)),  the
> parameter TimeoutIdleSec specifies the time interval after which the device is
> to be be unmounted:
> 
> "TimeoutIdleSec: Configures an idle timeout. Once the mount has been idle for
> the specified time, systemd will attempt to unmount."
> 
> However, this never happens. It seems that this parameter is completely
> ignored and the device never unmounted.
> 
> Is it a bug, or what did i miss to get it working?

Are you sure nothing is keeping that FS busy?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: systemd and initial tmpfs mounts

2016-12-08 Thread Michael Biebl
Am 08.12.2016 um 13:32 schrieb Andreas Born:
> Hi all,
> 
> earlier in SysV there was /etc/default/tmpfs to configure the initial mounts
> like /run, /run/lock, /dev/shm, /tmp and so on. Now with systemd there is
> /lib/systemd/system/tmp.mount as unit file for /tmp, but where are the other
> tmpfs mounts configured? Which part of systemd is responsible for them?
> 
> (I need to setup size and options)

systemd has hard-coded defaults for them [1].
Overriding those entries is simple: Just add an entry to /etc/fstab with
the options you want.



[1]
https://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/src/core/mount-setup.c#n73


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: potential damage to Debian "stable" when installing packages from "testing"

2016-12-08 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Dec 08, 2016 at 08:14:08AM -0500, Greg Wooledge wrote:

[...]

> > # apt-get install -t testing weechat

[...]

> BAD! BAD! BAD!

Somewhat disagree: not really bad, but definitely dangerous.
Whoever does this should look out for some breakage and
"interesting times" (FWIW I'm running a Frankendebian right
now, with a mix of stable and *unstable*. It's usable, but
I gotta watch out for several things. Among other, aptitude
totally freaks out when told to install anything :)

> > I guess one should not worry about new packages?
> 
> You should ABSOLUTELY worry about the UPGRADED pacakges!  Especially
> when one of them is libc6.  That will affect basically EVERY program
> on your entire system.

Yeah, libc is definitely a tough one (FWIW again, my libc6 does
come from unstable: but I must admit I had to *gulp* before taking
that plunge. It turned out much easier than I expected, but that
will totally depend on the set of packages installed)

> You should NOT do this!

My point of view: you should totally do this, but only if you
*know* what you're getting into and if you know you'll enjoy
the ride. Some experience on how Debian works, some raw will
to tinker and being prepared to jump into the lifeboat (you
got good backups, have you?) are essential.

> Mixing testing and stable sources produces what we call a frankendebian.
> It is an unsupportable mess.  It is not a question of whether it will
> break, but rather HOW SOON it will break.

That's how my work environment has looked for the last ~10 years.
Rock solid. But you better be prepared for some tinkering, and
have your lifeboats ready (something you've got to have anyway,
because... your hardware might as well explode under you).

Apart from that I agree 100% with Greg. And if you don't want to
delve in your distro's innards: keep to stable (or at most, to
late testing, but that's already dipping your toe in the water,
that's how it started out with me and see where I am now ;-)

> This is why we have jessie-backports.

Agreed. An awesome service.

regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlhJZtYACgkQBcgs9XrR2kZpowCfZJI3XncBUm4apCvCLFLGHEjn
KqYAnR5Dj4hO7vAxoVZtAvlpoBAN9Ma2
=vqfb
-END PGP SIGNATURE-



Re: potential damage to Debian "stable" when installing packages from "testing"

2016-12-08 Thread Liam O'Toole
On 2016-12-08, Martin T  wrote:
> Hi,
>
> let's say that I need a package named "weechat"(version 1.6-1) from
> Debian "testing":
>
> # apt-get install -t testing weechat
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>   binutils libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libgcrypt20
> libgnutls30 libhogweed4 libncurses5 libn
>   weechat-curses
> Suggested packages:
>   binutils-doc glibc-doc rng-tools gnutls-bin weechat-doc
> Recommended packages:
>   manpages-dev weechat-plugins
> The following NEW packages will be installed:
>   libc-l10n libgnutls30 libhogweed4 libnettle6
> The following packages will be upgraded:
>   binutils libc-bin libc-dev-bin libc6 libc6-dev libgcrypt20
> libncurses5 libncursesw5 libp11-kit0 libtasn1-6 li
> 16 upgraded, 4 newly installed, 0 to remove and 511 not upgraded.
> Need to get 18.7 MB of archives.
> After this operation, 8,111 kB of additional disk space will be used.
> Do you want to continue? [Y/n] n
> Abort.
> #
>
> I guess one should not worry about new packages? However, as seen
> above, such operation would upgrade some packages which are
> dependencies for many other packages. For example libc6, libgcrypt20
> or libncurses5. What are the consequences with that? I would guess it
> shouldn't cause problems because (usually) dependencies require
> version x OR higher. For example libc6 (>= 2.14) or libgcrypt20 (>=
> 1.6.1).
>
>
>
> thanks,
> Martin
>
>

"Debian Stable should not be combined with other releases. If you're
trying to install software that isn't available in the current Debian
Stable release, it's not a good idea to add repositories for other
Debian releases. The problems might not happen right away, but the next
time you install updates." [1]

Fortunately, a later version of weechat is available from
debian-backports.[2] That would be a much safer choice.

1: https://wiki.debian.org/DontBreakDebian
2: https://backports.debian.org/

-- 

Liam



Re: Intel Atom Poulsbo, gma500

2016-12-08 Thread Steve McIntyre
In article  you write:
>on an older laptop I try to use Debian testing. In dutch it is called a  
>SkoolMate 3 laptop and I believe it is the same as the Intel ClassMate  
>laptop. Inside there is an Intel Atom N2600 CPU which is also responsible  
>with a PowerVR chip for the GPU.
>
>After a lot of reading about this processor it seems there is an impasse  
>for this chip. It is possible to use this chip with the gma500 kernel  
>module, but 3D hardware acceleration is not available. Intel has made  
>their part opensource and tells the end user to ask the device  
>manufacturer (this is Intel???) or the linux distribution for support [1].  
>Imagination Technologies (PowerVR) on their side only tells that they make  
>a chip and it is Intel's responsibility to make a driver.
>
>There are older 3D Intel drivers available but unfortunately they are only  
>for Fedora 14, kernel 2.6 and Xorg 1.9
>
>maybe my Google skills are not as good as they should be, but is there  
>anyone who use this chip on a Debian testing computer or know some way to  
>use the 3D hardware acceleration?

As a one-time owner of a Poulsbo machine, I'd say you're better off
saving yourself the pain and just throwing it away. If you can't live
without acceleration, just give up now. The machines using it were
cheap and nasty (at best!) when they first came out 6 years ago, and
they've not got any better with age.

http://blog.einval.com/2010/06/07#poulsbong
http://blog.einval.com/2010/07/18#poulsbong_2

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
< sladen> I actually stayed in a hotel and arrived to find a post-it
  note stuck to the mini-bar saying "Paul: This fridge and
  fittings are the correct way around and do not need altering"



Re: potential damage to Debian "stable" when installing packages from "testing"

2016-12-08 Thread Greg Wooledge
On Thu, Dec 08, 2016 at 01:58:18PM +0200, Martin T wrote:
> let's say that I need a package named "weechat"(version 1.6-1) from
> Debian "testing":

Let's not say that.

Let's instead say "I am running jessie, but jessie's version of weechat
(1.0.1-1) is missing some features I need.  What should I do?"

The next step then is to look at jessie-backports.  There is a newer
version of weechat (1.5-1~bpo8+1) in jessie-backports.  So try that
one.

If that one STILL isn't new enough for you, then you have two choices:

1) Install weechat yourself from upstream source code.
2) Upgrade your entire system to stretch (testing).


> # apt-get install -t testing weechat
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>   binutils libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libgcrypt20
> libgnutls30 libhogweed4 libncurses5 libn
>   weechat-curses
> Suggested packages:
>   binutils-doc glibc-doc rng-tools gnutls-bin weechat-doc
> Recommended packages:
>   manpages-dev weechat-plugins
> The following NEW packages will be installed:
>   libc-l10n libgnutls30 libhogweed4 libnettle6
> The following packages will be upgraded:
>   binutils libc-bin libc-dev-bin libc6 libc6-dev libgcrypt20

BAD! BAD! BAD!

> I guess one should not worry about new packages?

You should ABSOLUTELY worry about the UPGRADED pacakges!  Especially
when one of them is libc6.  That will affect basically EVERY program
on your entire system.

You should NOT do this!

Mixing testing and stable sources produces what we call a frankendebian.
It is an unsupportable mess.  It is not a question of whether it will
break, but rather HOW SOON it will break.

This is why we have jessie-backports.



Re: [HS] programme compteur en php5 : résolu

2016-12-08 Thread Ph. Gras
Hello la liste !

Javascript me semble plus adapté pour gérer des animations sur un laps de temps 
donné
sur une page Web.

Cette méthode par exemple est très souvent utilisée pour créer des compteurs :
https://developer.mozilla.org/fr/docs/Web/API/WindowTimers/setInterval

Et en plus, ça ne pompe pas de ressource sur le serveur, uniquement chez le 
client :-P

Bonne journée,

Ph. Gras


systemd automount - Parameter TimeoutIdleSec ignored?

2016-12-08 Thread Andreas Born
Hi all,
I need a device to be automatically mounted on access and unmounted when being
idle. My /etc/fstab entry:

/dev/sdc1  /mnt/auto  ext4  defaults,noauto,x-systemd.automount,\
x-systemd.idle-timeout=10   0   0

Systemd correctly creates the mnt-auto.mount und mnt-auto.automount unit files
and automounting works perfectly.

x-systemd.idle-timeout=10 is getting translated to TimeoutIdleSec=10s within
mnt-auto.automount. According to the manpages (sytemd.automount(5)),  the
parameter TimeoutIdleSec specifies the time interval after which the device is
to be be unmounted:

"TimeoutIdleSec: Configures an idle timeout. Once the mount has been idle for
the specified time, systemd will attempt to unmount."

However, this never happens. It seems that this parameter is completely
ignored and the device never unmounted.

Is it a bug, or what did i miss to get it working?


regards,
andy

--
Debian Jessie
Systemd 230-7~bpo8+2







systemd and initial tmpfs mounts

2016-12-08 Thread Andreas Born
Hi all,

earlier in SysV there was /etc/default/tmpfs to configure the initial mounts
like /run, /run/lock, /dev/shm, /tmp and so on. Now with systemd there is
/lib/systemd/system/tmp.mount as unit file for /tmp, but where are the other
tmpfs mounts configured? Which part of systemd is responsible for them?

(I need to setup size and options)


regards,
andy

--
Debian Jessie
Systemd 230-7~bpo8+2



Re: OT?: FAT32(/16?) Question: Max. files in top level directory

2016-12-08 Thread Nicolas George
L'octidi 18 frimaire, an CCXXV, rhkra...@gmail.com a écrit :
> I recall that there is (or used to be?) a limit on the number of files in the 
> top level directory of a FAT32 (or 16?) partition / drive.  If you needed to 
> have more files in a directory, you had to create a subdirectory (and, as I 
> recall, there was no limit on the number of files in a subdirectory).
> 
> Does anybody else (reading this) recall that, and recall more details, like 
> the maximum number of files and which FAT systems (32 or 16) this applied to, 
> and, further, is it still a limit on FAT32?
> 
> The limit might have existed in FAT12 as well (or some similar limit), but as 
> I recall it was in FAT16 or later.

In FAT like many filesystems, directories are just files that contain
the name of other files and pointers to their data. The size of
directories is limited by the size of the file that implements it. It
can grow as needed.

Except in FAT, the root directory is statically allocated, and can not
grow.

You can observe the -r option to mkdosfs for example.


signature.asc
Description: Digital signature


Re: ssh doesn't work.

2016-12-08 Thread Henning Follmann
On Wed, Dec 07, 2016 at 11:35:36PM -0800, emetib wrote:
> > > Sorry, you have to stop this. Now!
> > 
> > I thought that to be a basic manner as the original questioner.
> > Why do you think isn't that good?
> > Everybody else, how do you think?
> 
> he's saying don't change 4 things at once.  
> 

I am going further than that. Don't change anything at all!
Not for a long time!
Based on this thread the OP is making everything too complicated by trying
to be clever. I bet his front door knob turns the other way to confuse
burglars and evrytime he comes home from the pub all pissed he goes: "Ahh
balls...".


-H 


-- 
Henning Follmann   | hfollm...@itcfollmann.com



OT?: FAT32(/16?) Question: Max. files in top level directory

2016-12-08 Thread rhkramer
I've been googling to try to answer this question, so far, no luck.

I recall that there is (or used to be?) a limit on the number of files in the 
top level directory of a FAT32 (or 16?) partition / drive.  If you needed to 
have more files in a directory, you had to create a subdirectory (and, as I 
recall, there was no limit on the number of files in a subdirectory).

Does anybody else (reading this) recall that, and recall more details, like 
the maximum number of files and which FAT systems (32 or 16) this applied to, 
and, further, is it still a limit on FAT32?

The limit might have existed in FAT12 as well (or some similar limit), but as 
I recall it was in FAT16 or later.



Re: problème de route pour une clé 3g

2016-12-08 Thread daniel huhardeaux

Le 08/12/2016 à 12:33, bernard schoenacker a écrit :

bonjour,

 j'ai un problème de route avec un modem 3g et je n'arrive pas
 à obtenir la page d'accueil d'un moteur de recherche

 ci joint les éléments
[...]


eth0 est montée et la route par défaut passe par eth0. Si ce n'est pas 
le comportement voulu, supprime la route par defaut et met celle via la 
clé 3g 10.64.64.64.


--
Daniel



potential damage to Debian "stable" when installing packages from "testing"

2016-12-08 Thread Martin T
Hi,

let's say that I need a package named "weechat"(version 1.6-1) from
Debian "testing":

# apt-get install -t testing weechat
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  binutils libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libgcrypt20
libgnutls30 libhogweed4 libncurses5 libn
  weechat-curses
Suggested packages:
  binutils-doc glibc-doc rng-tools gnutls-bin weechat-doc
Recommended packages:
  manpages-dev weechat-plugins
The following NEW packages will be installed:
  libc-l10n libgnutls30 libhogweed4 libnettle6
The following packages will be upgraded:
  binutils libc-bin libc-dev-bin libc6 libc6-dev libgcrypt20
libncurses5 libncursesw5 libp11-kit0 libtasn1-6 li
16 upgraded, 4 newly installed, 0 to remove and 511 not upgraded.
Need to get 18.7 MB of archives.
After this operation, 8,111 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
#

I guess one should not worry about new packages? However, as seen
above, such operation would upgrade some packages which are
dependencies for many other packages. For example libc6, libgcrypt20
or libncurses5. What are the consequences with that? I would guess it
shouldn't cause problems because (usually) dependencies require
version x OR higher. For example libc6 (>= 2.14) or libgcrypt20 (>=
1.6.1).



thanks,
Martin



Re: problème de route pour une clé 3g

2016-12-08 Thread bernard schoenacker
On Thu, 8 Dec 2016 12:33:21 +0100
bernard schoenacker  wrote:

> bonjour,
> 
> j'ai un problème de route avec un modem 3g et je n'arrive pas 
> à obtenir la page d'accueil d'un moteur de recherche
> 
> ci joint les éléments
> 
> slt
> bernard
> 
> -- 
> bernard schoenacker 


bonjour,

je n'ai pas donné les caractérisitiques de la bête "oeuf corse" :

   Kernel : 3.16.0-4-686-pae
   CPU: i686
   Memory : 2023 MB

 cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
stepping: 7
microcode   : 0x26
cpu MHz : 2000.000
cache size  : 512 KB


slt
bernard


-- 
bernard schoenacker 



Re: Advantages of Debian "backports" over "testing"?

2016-12-08 Thread Martin T
Ok, understood. Thank you!


Martin

On Thu, Dec 8, 2016 at 1:30 PM, Lisi Reisz  wrote:
> On Thursday 08 December 2016 11:06:55 Martin T wrote:
>> One more question regarding Debian backports- is it a good practice to
>> prefer latest versions from backports(jessie-backports) by default
>> while using stable(jessie) distribution?
>
> Definitely not.
>
> [snip]
>> Or is it a better practice to cherry-pick packages from "jessie-backports"?
>
> Yes.
>
> Lisi
>>
>>
>> thanks,
>> Martin
>>
>> On Wed, Dec 7, 2016 at 4:25 PM, maderios  wrote:
>> > On 12/07/2016 12:45 AM, Martin T wrote:
>> >> Hi,
>> >>
>> >> what are advantages of using Debian "backports"("jessie-backports" in
>> >> sources.list file) over "testing"("testing" in sources.list file)? As
>> >
>> > Hi
>> > You can't compare, they are completely different. Backport packages have
>> > stable/Jessie compatibility. Testing/Stretch and Sid are very close to
>> > each other. Very far from stable/jessie-backports/Jessie.
>> >
>> > --
>> > Maderios
>



problème de route pour une clé 3g

2016-12-08 Thread bernard schoenacker
bonjour,

j'ai un problème de route avec un modem 3g et je n'arrive pas 
à obtenir la page d'accueil d'un moteur de recherche

ci joint les éléments

slt
bernard

-- 
bernard schoenacker 
 wvdial free
--> WvDial: Internet dialer version 1.61
--> Cannot set information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0  
ATQ0 V1 E1 S0=0  
OK
--> Sending: AT+CGDCONT=1,"IP","free"
AT+CGDCONT=1,"IP","free"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT 720
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Thu Dec  8 12:17:21 2016
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 1919
--> Using interface ppp0
--> pppd: ��e[08]8�e[08]
--> pppd: ��e[08]8�e[08]
--> pppd: ��e[08]8�e[08]
--> pppd: ��e[08]8�e[08]
--> pppd: ��e[08]8�e[08]
--> pppd: ��e[08]8�e[08]
--> local  IP address 10.181.178.24
--> pppd: ��e[08]8�e[08]
--> remote IP address 10.64.64.64
--> pppd: ��e[08]8�e[08]
--> primary   DNS address 212.27.40.240
--> pppd: ��e[08]8�e[08]
--> secondary DNS address 212.27.40.241
--> pppd: ��e[08]8�e[08]


route -n :

route -n
Table de routage IP du noyau
Destination Passerelle  Genmask Indic Metric RefUse Iface
0.0.0.0 192.168.0.254   0.0.0.0 UG0  00 eth0
10.64.64.64 0.0.0.0 255.255.255.255 UH0  00 ppp0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000   00 ppp0
192.168.0.0 0.0.0.0 255.255.255.0   U 0  00 eth0


Intel Atom Poulsbo, gma500

2016-12-08 Thread Floris
on an older laptop I try to use Debian testing. In dutch it is called a  
SkoolMate 3 laptop and I believe it is the same as the Intel ClassMate  
laptop. Inside there is an Intel Atom N2600 CPU which is also responsible  
with a PowerVR chip for the GPU.


After a lot of reading about this processor it seems there is an impasse  
for this chip. It is possible to use this chip with the gma500 kernel  
module, but 3D hardware acceleration is not available. Intel has made  
their part opensource and tells the end user to ask the device  
manufacturer (this is Intel???) or the linux distribution for support [1].  
Imagination Technologies (PowerVR) on their side only tells that they make  
a chip and it is Intel's responsibility to make a driver.


There are older 3D Intel drivers available but unfortunately they are only  
for Fedora 14, kernel 2.6 and Xorg 1.9


maybe my Google skills are not as good as they should be, but is there  
anyone who use this chip on a Debian testing computer or know some way to  
use the 3D hardware acceleration?


thanks,

Floris


[1] https://01.org/linuxgraphics/documentation/faq



Re: Advantages of Debian "backports" over "testing"?

2016-12-08 Thread Lisi Reisz
On Thursday 08 December 2016 11:06:55 Martin T wrote:
> One more question regarding Debian backports- is it a good practice to
> prefer latest versions from backports(jessie-backports) by default
> while using stable(jessie) distribution? 

Definitely not.

[snip]
> Or is it a better practice to cherry-pick packages from "jessie-backports"?

Yes.

Lisi
>
>
> thanks,
> Martin
>
> On Wed, Dec 7, 2016 at 4:25 PM, maderios  wrote:
> > On 12/07/2016 12:45 AM, Martin T wrote:
> >> Hi,
> >>
> >> what are advantages of using Debian "backports"("jessie-backports" in
> >> sources.list file) over "testing"("testing" in sources.list file)? As
> >
> > Hi
> > You can't compare, they are completely different. Backport packages have
> > stable/Jessie compatibility. Testing/Stretch and Sid are very close to
> > each other. Very far from stable/jessie-backports/Jessie.
> >
> > --
> > Maderios



Re: Advantages of Debian "backports" over "testing"?

2016-12-08 Thread Andy Smith
Hi Martin,

On Thu, Dec 08, 2016 at 01:06:55PM +0200, Martin T wrote:
> is it a good practice to prefer latest versions from
> backports(jessie-backports) by default while using stable(jessie)
> distribution?

[…]

> Or is it a better practice to cherry-pick packages from "jessie-backports"?

Personally I only ever cherry-pick from backports because there is
normally a specific package I want, and I don't want the behaviour
of the entire rest of my system to potentially change.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting



Re: Advantages of Debian "backports" over "testing"?

2016-12-08 Thread Martin T
One more question regarding Debian backports- is it a good practice to
prefer latest versions from backports(jessie-backports) by default
while using stable(jessie) distribution? I mean something like this:

# cat /etc/apt/preferences.d/00_jessie-backports
Explanation: Change pin-priority to
Explanation: 500 for all backported
Explanation: packages.
Package: *
Pin: release n=jessie-backports
Pin-Priority: 500
#

Configuration above would change the priority of "jessie-backports"
from 100 to 500 and thus versions from jessie-backports would be
installed because those are newer than the versions in stable(jessie).
Or is it a better practice to cherry-pick packages from "jessie-backports"?


thanks,
Martin

On Wed, Dec 7, 2016 at 4:25 PM, maderios  wrote:
> On 12/07/2016 12:45 AM, Martin T wrote:
>>
>> Hi,
>>
>> what are advantages of using Debian "backports"("jessie-backports" in
>> sources.list file) over "testing"("testing" in sources.list file)? As
>
>
> Hi
> You can't compare, they are completely different. Backport packages have
> stable/Jessie compatibility. Testing/Stretch and Sid are very close to each
> other. Very far from stable/jessie-backports/Jessie.
>
> --
> Maderios
>



Re: default "Default-Release" for APT

2016-12-08 Thread Martin T
This makes sense, thanks! A good example would be libapparmor1:

# apt-cache policy libapparmor1
libapparmor1:
  Installed: 2.9.0-3
  Candidate: 2.10.95-7
  Version table:
 2.10.95-7 0
500 http://ftp.se.debian.org/debian/ unstable/main amd64 Packages
 2.10.95-6 0
500 http://ftp.se.debian.org/debian/ testing/main amd64 Packages
 2.10.95-4~bpo8+2 0
100 http://ftp.se.debian.org/debian/ jessie-backports/main
amd64 Packages
 *** 2.9.0-3 0
500 http://ftp.se.debian.org/debian/ jessie/main amd64 Packages
100 /var/lib/dpkg/status
#

As seen above, version 2.10.95-7 from "unstable" would get installed
because it is the highest version(checked with "dpkg
--compare-versions") from all three sources with priority 500.


Martin

On Thu, Dec 8, 2016 at 1:35 AM, Mark Fletcher  wrote:
>
> On Thu, 8 Dec 2016 at 08:11, Martin T  wrote:
>>
>> Hi,
>>
>> as I showed in my initial post, I don't have that file:
>>
>> # ls -l /etc/apt/apt.conf
>> ls: cannot access /etc/apt/apt.conf: No such file or directory
>> #
>>
>> That's what made me wondering what is the default release if
>> "APT::Default-Release" is not configured and based on what this
>> default release is determined.
>>
>>
>> thanks,
>> Martin
>>
>> On Thu, Dec 8, 2016 at 12:03 AM, maderios  wrote:
>> > On 12/07/2016 07:26 PM, Martin T wrote:
>> >>
>> >> Hi,
>> >>
>> >> I read the apt_preferences man page and it says that "To configure the
>> >> default release in the configuration file, use: APT::Default-Release
>> >> "stable";". While I have multiple distributions in sources.list
>> >> file(stable, testing, unstable, jessie-backports), then I don't have
>> >> the "Default-Release" configured:
>> >>
>> >> # grep -R Default-Release /etc/apt/
>> >> #
>> >>
>> >> What is the default "Default-Release"? How is this determined?
>> >>
>> > Hi
>> > Look at your /etc/apt/apt.conf
>> >
>> > My apt.conf for testing:
>> >
>> > APT::Install-Recommends "false";
>> > APT::Install-Suggests "false";
>> > APT::Default-Release "testing";
>> >
>> > --
>> > Maderios
>> >
>>
>
> It's using all of them, in that case. Then, newest versions of packages
> supersede older ones. Net effect -- you get sid.
>
> Mark



Re: ssh doesn't work.

2016-12-08 Thread Lisi Reisz
On Thursday 08 December 2016 04:19:00 EenyMeenyMinyMoa wrote:
> Hi,
>
> 2016-12-08 5:25 GMT+09:00 Brian :
> > Random script kiddy attacks are of absolutely no consequence. Annoying
> > perhaps, but no threat whatsoever. In terms of security, changing the
> > port number for ssh does bugger all.
>
> What security risk can changing the port number for ssh cause?

If it does bugger all, it isn't a security risk either.  "Does bugger all" 
means that it doesn't do anything whatsoever, so I take it to mean (possibly 
erroneously) that: changing the port number does not create a security risk, 
but neither does it improve security.  It just introduces unnecessary further 
complication.

Not everyone agrees with Brian (I know far too little about it to have an 
opinion, but tend to listen to Brian) but I think that is what he is saying.

Lisi



Re: default "Default-Release" for APT

2016-12-08 Thread maderios

On 12/08/2016 12:11 AM, Martin T wrote:

Hi,

as I showed in my initial post, I don't have that file:

# ls -l /etc/apt/apt.conf
ls: cannot access /etc/apt/apt.conf: No such file or directory

man apt.conf
'/etc/apt/apt.conf is the main configuration file shared by all the
   tools in the APT suite of tools'
Maybe  it was created by apt-config internal command of apt
https://linux.die.net/man/8/apt-config

--
Maderios



Re: [HS] programme compteur en php5 : résolu

2016-12-08 Thread Yves Rutschle
On Wed, Dec 07, 2016 at 08:48:46PM +0100, andre_deb...@numericable.fr wrote:
> J'aurais dû alors écrire "langage Libre pour serveur Web",
> désolé.

Non non, ce que je veux dire c'est que PHP n'a pas de
rapport avec le Web. C'est un langage généraliste qui sait
tout faire, et dont il se trouve qu'il est souvent utilisé
côté serveur Web, mais il n'y a rien qui limite PHP à ça.

> Réponse un peu taquine à mon tour :
> c'était le programme que j'avais écrit, et résultat :
> 1 2 3 4 5 6 7 8 9 10
> au bout de 10 secondes.

En y arrivant à travers un serveur Web, c'est normal (le
serveur attend la fin de l'exécution du programme PHP avant
d'envoyer la réponse globale au navigateur.

> Le programme d'Alain fonctionne au poil,
> comme dans mon cahier des charges.

Je ne sais pas exactement ce que tu cherches à faire, mais
si tu as besoin d'interactivité je t'encouragerais à
regarder du côté de frameworks plus complet, voire
d'applications qui existent déjà (des Wordpress et autres).

Y.