Re: olivetti pcs 42P

2016-12-27 Thread Wilko Fokken
On Tue, Dec 27, 2016 at 03:54:20PM +, gonzalo Fernandez _ Peindo Diaz wrote:
> hello i need help about of my computer olivetti pcs 42P because when y start 
> it
> 
> When I turn it on it leads me to a paguine that tells me that I have to 
> insert a disk with drivers I have a bag full of floppy disks of that type are 
> drivers of windows 95 well there are manyisimos the case is that I have tried 
> them all and everyone tells me That are not bleats or not reads nothing so I 
> would like that if you can help me since I do not know much this world of 
> informatic
> 
> 
> PS: I do not know anything about how to use this computer since my 
> grandfather gave it to me and since he did not know how to use it, he was 
> raising dust because of its disuse

(How old are your floppies?)

Actual Debian OS won't accept your time honoured hardware: 486 CPU.

For embarking on a retro-pioneering achievement, you may take a look at URLs 
like:

https://lists.debian.org/debian-user/2000/03/msg02535.html



Re: Sub interface not working in Debian 8

2016-12-27 Thread Muhammad Yousuf Khan
Thanks issue is resolved. as i mentioned tcpdump command not receving
packets from ISP gateway. thus we discussed this matter with ISP and the
restarted the router. and things got fixed. it seems that ISP router keeps
the old MAC entries thats why it didn't worked


On Tue, Dec 27, 2016 at 8:41 PM, Xen  wrote:

> Muhammad Yousuf Khan schreef op 27-12-2016 15:15:
>
>> Thanks this is what i already did and i was about to send you guys the
>> details and fortunately your msg comes in.
>> tcpdump is telling me very interesting story.
>> when i 'tcpdump -i eth3 icmp' it shows all the ping packet that are
>> received for ip 50.x.x161 but not for 50.x.x.162
>> that means ISP gateway is not sending packets to virtual IPs. so this
>> issue pointing to ISP or MAC related issue.
>>
>> but confusion is the system before current system it has the Virtual
>> IPs and it was working fine it has debian 5 (old version)
>>
>
> Only thing I can say is to not give the address to the alias but see what
> happens if you just give it to eth3.
>
> I don't know how you assign it but if this is your public IP then of
> course there is no such thing as "Virtual IP". They are just two IPs
> assigned to the same interface right, which is perfectly normal.
>
> IPtables chokes on eth3:1 syntax though. Do not use it for your firewall
> pls :).
>
> Regards.
>
> Or if you do: iptables-save | sed "s/ eth3:. / eth3 /g" | iptables-restore
>
> But maybe it is completely different, I don't know, it's just odd I guess
> to me.
>
> Regards.
>
>


Re: [Partial Resolution] Re: Synaptic icons - where defined/explained?

2016-12-27 Thread Lisi Reisz
On Wednesday 28 December 2016 02:40:33 Richard Owlett wrote:
> On 12/27/2016 4:42 PM, Lisi Reisz wrote:
> > On Tuesday 27 December 2016 22:34:35 Richard Owlett wrote:
> >> On 12/27/2016 12:55 PM, Richard Owlett wrote:
> >>> On 12/27/2016 8:40 AM, Richard Owlett wrote:
>  [snip]
>  I can't give any info from the particular box in use at the start
>  of this thread. It has developed some strange, apparently hardware
>  related, that prevents me from doing a clean Debian install using
>  my normal preseed.cfg . It no longer has a functional Debian.
> 
>  However I have another box displaying the same symptoms. But I do
>  not know from how many DVDs of Debian 8.6.0 packages were
>  installed.
> 
>  When running aptitude it reports:
>  
>  aptitude 0.6.11
>  --- Installed Packages (869)
>  --- Not Installed Packages (41553)
>  --- Virtual Packages (5124)
>  --- Tasks (216)
>  
> 
>  Synaptic shows >> 200 packages with the star in box icon.
> 
>  [snip]
> >>
> >> At least some of my problems were related to not quite failed
> >> hardware.
> >> My test bed laptop has been replaced by a new (to me ;) laptop.
> >> An install using DVD #1 only and my custom preseed went smoothly.
> >> There no "star in box icons" showing in Synaptic at this time.
> >
> > Try adding another of the DVDs into the repository list and see whether
> > the stars appear - and let us know!
>
> The more DVDs scanned -> the more "star in box icons".
>
> After having scanned the first 6 DVDs, aptitude reports:
>
> --- New Packages (11291)
> --- Installed Packages (870)
> --- Not Installed Packages (6892)
> --- Virtual Packages (2382)
> --- Tasks (214)
>
> CONCLUSION - "star in box icons" meaningless.

False conclusion.  Your case is far too special and corner for the software to 
be designed for it - and in your case it means:  not in the original DVD, 
which could in fact feasibly be useful information. ;-)

When one uses the internet, aptitude reports on how many new packages.

Lisi



Re: [Partial Resolution] Re: Synaptic icons - where defined/explained?

2016-12-27 Thread Richard Owlett

On 12/27/2016 4:42 PM, Lisi Reisz wrote:

On Tuesday 27 December 2016 22:34:35 Richard Owlett wrote:

On 12/27/2016 12:55 PM, Richard Owlett wrote:

On 12/27/2016 8:40 AM, Richard Owlett wrote:

[snip]
I can't give any info from the particular box in use at the start
of this thread. It has developed some strange, apparently hardware
related, that prevents me from doing a clean Debian install using
my normal preseed.cfg . It no longer has a functional Debian.

However I have another box displaying the same symptoms. But I do
not know from how many DVDs of Debian 8.6.0 packages were
installed.

When running aptitude it reports:

aptitude 0.6.11
--- Installed Packages (869)
--- Not Installed Packages (41553)
--- Virtual Packages (5124)
--- Tasks (216)


Synaptic shows >> 200 packages with the star in box icon.

[snip]


At least some of my problems were related to not quite failed
hardware.
My test bed laptop has been replaced by a new (to me ;) laptop.
An install using DVD #1 only and my custom preseed went smoothly.
There no "star in box icons" showing in Synaptic at this time.


Try adding another of the DVDs into the repository list and see whether the
stars appear - and let us know!



The more DVDs scanned -> the more "star in box icons".

After having scanned the first 6 DVDs, aptitude reports:

--- New Packages (11291)
--- Installed Packages (870)
--- Not Installed Packages (6892)
--- Virtual Packages (2382)
--- Tasks (214)

CONCLUSION - "star in box icons" meaningless.






krusader -> perte des icônes sous openbox

2016-12-27 Thread Sylvain Schneider (ML)

Bonjour à tous,

J'utilise régulièrement Krusader pour gérer mes fichiers et depuis 
quelques temps,
l'interface a perdu la quasi-totalité de ses icônes... La barre d'outils 
par exemple

n'affiche que du texte.

Lorsque je lance des application telles que systemsettings5, aucune 
icône n'apparaît non plus...


La version en cause est la 2.5.0, qui utilise Qt 5.7.1
Quand à mon gestionnaire de bureau, je tourne avec openbox et ma debian 
est stretch et est à jour...


Est-ce que vous avez eu un cas similaire et avez des pistes à me donner 
car notre ami google est

bien peu loquace sur le sujet !

Merci à tous

Sylvain




A Linux ebook quick launcher - looking for testers and feedback

2016-12-27 Thread Jan

Hello,

I wrote a piece of software for Linux and or Debian and I am looking for 
testers and of course feedback.


In particular, it is about a ebook quick launcher application called 
"KISS Ebook" or kisslib in short, which is right now in development.


Its not a viewer of any kind, its simply purpose is, to quickly navigate 
through ebooks in a table view and launch any application connected to 
the ebook format - which can be set up on demand.


Supported ebook file types are:
- PDF
- EPUB
- MOBI
- CHM

The original problem, why I wrote this application:
Most ebook viewers dont care much about organizing your ebooks, you can 
view then just fine or start reading at the place where you left of - 
like "evince" in example.


But they dont support organizing your ebooks in a KISS (keep it simple 
and stupid) way.


Thats where kisslib comes into place.

kisslib let you define starting applications and lauch the ebook format, 
like .pdf, with a particular viewer of choice.


Like middle ware, but with some ability to label and search your ebooks.

The project is under development, but I thought it might be of interest 
as it is already in a usable state.


Its using GTK3 as a UI framework, sqlite3 as database storage and libzip 
for handling the EPUB format.

And its written in pure C.

Screenshots and further information can be found at:
Gallery: https://www.picflash.org/gallery.php?id=9RGDIIE7K8 (latest 
screenshots first)


Github: https://github.com/jrie/kisslib (Usage, Features, Compilation)


I would love to get your feedback about KISS Ebook.


Jan



Re: [Partial Resolution] Re: Synaptic icons - where defined/explained?

2016-12-27 Thread Lisi Reisz
On Tuesday 27 December 2016 22:34:35 Richard Owlett wrote:
> On 12/27/2016 12:55 PM, Richard Owlett wrote:
> > On 12/27/2016 8:40 AM, Richard Owlett wrote:
> >>[snip]
> >> I can't give any info from the particular box in use at the start
> >> of this thread. It has developed some strange, apparently hardware
> >> related, that prevents me from doing a clean Debian install using
> >> my normal preseed.cfg . It no longer has a functional Debian.
> >>
> >> However I have another box displaying the same symptoms. But I do
> >> not know from how many DVDs of Debian 8.6.0 packages were
> >> installed.
> >>
> >> When running aptitude it reports:
> >> 
> >> aptitude 0.6.11
> >> --- Installed Packages (869)
> >> --- Not Installed Packages (41553)
> >> --- Virtual Packages (5124)
> >> --- Tasks (216)
> >> 
> >>
> >> Synaptic shows >> 200 packages with the star in box icon.
> >>
> >> There is one more data-point. Before the first box went into
> >> meltdown I had run a install using the first entry on the
> >> installer's menu. I showed none of the "star in box" icons. I'm
> >> beginning to suspect these aberrant "star in box" icons revolve
> >> around my choice of which packages to load with my preseed.cfg
> >> file. I've got a full morning's work ahead of me. More later.
> >
> > I have done an install on the *SECOND* using preseeding and ONLY
> > DVD #1.
> > It has no apparent problems, particularly no "star in box" icons.
> >
> > I have done TWO installs on the *FIRST* machine. It *HAS
> > developed* a machine related problem.
> >
> > First Install:
> > Use preseeding and DVD #1.
> > Install appeared typical. Boot appears to proceed normally until
> > when I expect GUI to appear. I always get a blank screen.
> > _Sometimes_ booting with "recovery mode" and entering Cntrl-D
> > gives me the GUI.
> >
> > Second Install:
> > Use no preseeding with first menu choice.
> > When asked for choice of desktop etc. I clear all except
> > "standard utilities".
> > I get a functional CLI environment.
> > I do apt-get install with the same set of packages specified in
> > the preseed file.
> > At completion typing startx brings up the GUI.
> > However booting from the grub menu has the same set of problems
> > as the first install.
> >
> > That laptop's fan had failed. I now suspect component failure had
> > occurred before the fan was replaced. I'll keep it for education
> > experiments in trouble shooting. Off to get another machine to be
> > my test bed for Debian.
> >
> > Thanks you all.
>
> At least some of my problems were related to not quite failed
> hardware.
> My test bed laptop has been replaced by a new (to me ;) laptop.
> An install using DVD #1 only and my custom preseed went smoothly.
> There no "star in box icons" showing in Synaptic at this time.

Try adding another of the DVDs into the repository list and see whether the 
stars appear - and let us know!

Lisi



[Partial Resolution] Re: Synaptic icons - where defined/explained?

2016-12-27 Thread Richard Owlett

On 12/27/2016 12:55 PM, Richard Owlett wrote:

On 12/27/2016 8:40 AM, Richard Owlett wrote:

[snip]
I can't give any info from the particular box in use at the start
of this thread. It has developed some strange, apparently hardware
related, that prevents me from doing a clean Debian install using
my normal preseed.cfg . It no longer has a functional Debian.

However I have another box displaying the same symptoms. But I do
not know from how many DVDs of Debian 8.6.0 packages were
installed.

When running aptitude it reports:

aptitude 0.6.11
--- Installed Packages (869)
--- Not Installed Packages (41553)
--- Virtual Packages (5124)
--- Tasks (216)


Synaptic shows >> 200 packages with the star in box icon.

There is one more data-point. Before the first box went into
meltdown I had run a install using the first entry on the
installer's menu. I showed none of the "star in box" icons. I'm
beginning to suspect these aberrant "star in box" icons revolve
around my choice of which packages to load with my preseed.cfg
file. I've got a full morning's work ahead of me. More later.



I have done an install on the *SECOND* using preseeding and ONLY
DVD #1.
It has no apparent problems, particularly no "star in box" icons.

I have done TWO installs on the *FIRST* machine. It *HAS
developed* a machine related problem.

First Install:
Use preseeding and DVD #1.
Install appeared typical. Boot appears to proceed normally until
when I expect GUI to appear. I always get a blank screen.
_Sometimes_ booting with "recovery mode" and entering Cntrl-D
gives me the GUI.

Second Install:
Use no preseeding with first menu choice.
When asked for choice of desktop etc. I clear all except
"standard utilities".
I get a functional CLI environment.
I do apt-get install with the same set of packages specified in
the preseed file.
At completion typing startx brings up the GUI.
However booting from the grub menu has the same set of problems
as the first install.

That laptop's fan had failed. I now suspect component failure had
occurred before the fan was replaced. I'll keep it for education
experiments in trouble shooting. Off to get another machine to be
my test bed for Debian.

Thanks you all.


At least some of my problems were related to not quite failed 
hardware.

My test bed laptop has been replaced by a new (to me ;) laptop.
An install using DVD #1 only and my custom preseed went smoothly.
There no "star in box icons" showing in Synaptic at this time.




Re: chgrp with user

2016-12-27 Thread Xen

Xen schreef op 27-12-2016 22:54:


What I do works and provides a solution. What you do is complain and
you do not provide anything, save for yourself, but I am not helped
with that, nor is anyone else if you complain like that.

Now enough.


Lost my temper there, Winston would say. Yes, I play video games too. 
What's the problem with that? You have a problem with that too? :).




Re: Anyone working config for DVB-T?

2016-12-27 Thread Tibor Attila Anca
Hi,
Am Dienstag, den 27.12.2016, 22:37 +0100 schrieb Nicolas George:
> Another person's config would be useless for you, unless they live
> really near your home.
> 
> Last time the broadcast changed in my parents' region, I used
> "w_scan -c FR -X -v" and it worked.

Actually, this was sufficient. I just changed to DE, dumped a
channels.conf and vlc is working now like a charm.

Thanks,
-- 

Tibor

I use OpenSource'



Re: chgrp with user

2016-12-27 Thread Xen

Greg Wooledge schreef op 27-12-2016 22:44:

On Tue, Dec 27, 2016 at 10:43:19PM +0100, Xen wrote:

Wrong does not exist.


Irony.


It is perfectly acceptable to do things a different way.

It is also perfectly clear that many tools such as Dokuwiki do not 
provide the tools that perhaps Mediawiki provides, or the tools that 
have been written for it. It is also very clear that OwnCloud provides 
very limited data import utilities. Do you wait around until it has been 
written, or do you do your own thing?


I'm the idiot that does his own thing yes and it works very well, if I 
may add. Owncloud had no problem with importing "new files" and neither 
does Dokuwiki. So why should I listen to others who think they have a 
better idea, but won't solve my problems? All those very smart people 
only have opinions but don't solve anything for you. You are the only 
one that will care about you. You need to solve your own problems and 
not listen to others who are in different life situations or are running 
different companies or have different life goals or needs that they 
attribute to you because they cannot live or see outside the bubble of 
their own little world, and cannot understand why you are doing it or 
what you need. A solution to one person does not apply to another if 
that other person is living in a different world, has different needs, 
or different requirments.


I needed to move gigabytes of Data into Owncloud and it did not provide 
tools for it. So I moved it there myself. What's the problem with that? 
If I may add, what's the problem with that? Can you answer it? It 
updated its database just fine and all was fine? What was the problem 
with that? Seriously, what is the problem with that? You're making me 
really angry now.


Always this messing about with other people's choices but you are not 
providing solutions for me, only complaints. Talking about the other 
person that I won't even mention anymore.


Complaining about people doing the wrong thing but you are not providing 
solutions for me or doing any work. So I will do it my way thank you 
very much. It is just empty talk, what you do.


What I do works and provides a solution. What you do is complain and you 
do not provide anything, save for yourself, but I am not helped with 
that, nor is anyone else if you complain like that.


Now enough.



Re: chgrp with user

2016-12-27 Thread Greg Wooledge
On Tue, Dec 27, 2016 at 10:43:19PM +0100, Xen wrote:
> Wrong does not exist.

Irony.



Re: Bloquer péripheriques Usb

2016-12-27 Thread Gian Luca Dequecker
Avant de vous demander conseil, j'avais désactivé l'accès au stockage usb
avec Modprobe: "install usb-storage /bin/true" dans le fichier
/etc/modprobe.d/usb-storage.conf (un peut trop radical). Je vais donc
explorer udev. Merci a vous, bonnes fêtes.

Le 26 décembre 2016 à 22:35, BERBAR Florian  a
écrit :

> On 26/12/2016 18:08, jerome wrote:
> > Le lundi 26 décembre 2016 à 18:01 +0100, Gian Luca Dequecker a écrit :
> >> Pour des raisons de sécurité, je voudrais bloquer l’utilisation des
> >> périphériques connectés sur les ports USB (écriture sur le disque
> >> dur, ssd,
> >> pendrive), mais laisser la possibilité de connecter un appareil photo
> >> numérique (décharger les photos). Pouvez-vous m'indiquer comment
> >> procéder?
> >> Merci pour votre aide.
> >
> > Bloquer je sais, bloquer sans bloquer... peut être simplement en
> > utilisant des règles UDEV, mais il y aura quand même un accès sur le
>
> Je complète la proposition de jerome en confirmant que UDEV peut
> permettre de filtrer les périphériques USB. UDEV repose sur des règles
> qui sont définies dans le répertoire de configuration de UDEV.
>
> Sur la debian que j'utilise pour écrire ce message :
> $ ls -l /etc/udev/rules.d/
> total 20
> -rw-r--r-- 1 root root 1468 sept.  2  2014 56-hpmud.rules
> -rw-r--r-- 1 root root  755 août  25 20:15 60-vboxdrv.rules
> -rw-r--r-- 1 root root  788 janv.  9  2013 70-persistent-cd.rules
> -rw-r--r-- 1 root root  832 déc.  17  2015 70-persistent-net.rules
> -rw-r--r-- 1 root root  223 juil. 31 19:01 70-persistent-usb.rules
>
> Les règles concernant les périphérique USB sont dans le fichier
> "70-persistent-usb.rules".
>
> Voici un exemple de règle :
>
> SUBSYSTEMS=="usb", KERNEL=="sd*", ACTION=="add",
> RUN+="/usr/local/bin/add.sh '%E{DEVNAME}' '%E{ID_FS_UUID}'"
>
> Pour procéder à un filtrage, il est possible de définir un script qui
> sera appelé lors qu'un périphérique USB sera inséré. Ce script ce
> chargera de l'action à réaliser lors de l'insertion : montage ou rejet
> d'un périphérique.
>
> Dans la continuité de l'exemple précédant la règle est en écoute des
> événements "usb" (SUBSYSTEMS=="usb") qui créera un "device" nommé "sd*"
> (* sera remplacé par la dernière lettre disponible) dans le répertoire
> /dev (KERNEL=="sd*"), l'interception d'une action d'ajout de
> périphérique (ACTION=="add") exécutera le script "/usr/local/bin/add.sh"
> avec comme paramètres le nom du périphérique inséré (%E{DEVNAME}) et et
> sont UUID (%E{ID_FS_UUID}) (RUN+="/usr/local/bin/add.usb '%E{DEVNAME}'
> '%E{ID_FS_UUID}'").
>
> A partir de la, tu peux facilement imaginé un script qui parcours une
> liste de périphérique représentant les périphériques USB autorisé afin
> compare le périphérique inséré au périphérique USB autorisé (ton
> appareil photo).
>
> Certes cette solution nécessite un peu d'assurance en programmation de
> script, mais elle n'est pas irréalisable.
>
> Voici la documentation officielle pour plus d'informations :
> https://www.freedesktop.org/software/systemd/man/udev.html
>
> > périphérique au moment de l'identification.
> >
>
> Affectivement les périphérique présent lors de la phase de démarrage
> semble être montés automatiquement malgré la règle UDEV. Peut-être que
> la désactivation du support USB lors de la phase de peut être une solution.
>
> Cordialement,
>
> Florian
>


Re: [OT] Consulta GIT

2016-12-27 Thread Alberto Luaces
Edwin De La Cruz writes:

> Gracias, con git reset --hard master funcionó, ya aparecen los
> archivos que por error fueron borrados.
> Ahora mi pregunta es... haciendo eso se vuelven a bajar todos los
> archivos o solo los que falta y/o han cambiado?

Me alegro de que te funcione.

La respuesta es que nunca se baja nada, ya que git como sistema
distribuido posee toda la historia y el contenido de los ficheros en el
almacén local, sin necesidad de conexión.  De hecho, podrías volver a
cualquier instante previo.

Únicamente se necesita una conexión para la sincronización de nuevo
contenido desde el almacén central.

-- 
Alberto



Re: chgrp with user

2016-12-27 Thread Xen

deloptes schreef op 27-12-2016 21:05:

You are an i**ot I would immediately fire. Start reading the interfaces 
and
using the programs as designed. If you want to do things your own way I 
do

not want to know about it.


Nobody asked you about it. You should stop feeling addressed as if you 
were the sole person on this thread or this mailing list. I did not 
explicitly address you and so you should not act as if I did.


You are the idiot that thinks you are special or something. Now be gone.


You keep insisting doing wrong things. If you use mediawiki, you do not 
need

write access as a user. Leave this to the system and use the interface
and/or tools provided.


Same here. Wrong does not exist. You are an idiot that does not know the 
distinction between wrong as in "the wrong thing to do" and wrong as in 
"the wrong solution to a problem".




Re: Anyone working config for DVB-T?

2016-12-27 Thread Nicolas George
Le septidi 7 nivôse, an CCXXV, Tibor Attila Anca a écrit :
> does anyone have a working config of DVB-T? I user Debian Testing
> (gnome-shell) and would like to use DVB-T either with totem or with vlc.
> I tried this several times with other Distros, but never got a stable
> setup. I am thankful for any hints.

Another person's config would be useless for you, unless they live
really near your home.

Last time the broadcast changed in my parents' region, I used
"w_scan -c FR -X -v" and it worked.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Anyone working config for DVB-T?

2016-12-27 Thread Tibor Attila Anca
Hi,

does anyone have a working config of DVB-T? I user Debian Testing
(gnome-shell) and would like to use DVB-T either with totem or with vlc.
I tried this several times with other Distros, but never got a stable
setup. I am thankful for any hints.

Regards,
-- 

Tibor

I use OpenSource'



Re: Canon MF 3010 [résolu]

2016-12-27 Thread Klaus Becker
On mardi 27 décembre 2016 18:36:35 CET didier gaumet wrote:
> Le 27/12/2016 à 17:42, Klaus Becker a écrit :
> [...]
> 
> > Est-ce que par hasard qn a cette imprimante ou sait comment faire ?
> 
> à priori ça a déjà marché (print et scan) sur du debian ou dérivé.
> as-tu vu cet article:
>  https://wiki.debian.org/PrinterDriver/Canon/UFR-II ?
> la mf3010 semble concernée


J'ai trouvé grâce à cet article, finalement c'était tout simple.

L'impression et le scanner sont très rapides.

Un grand merci et bonne fin d'année 

Klaus



Re: Asus Eee PC Flare series (1025c) -- SOLUCIONADO

2016-12-27 Thread Wiliam Freitas
Deve ser a imagem mesmo.Tenho esse netbook com o Debão instalado.Usei a imagem 
nonfree com KDE4.
Roda fininho. -- Wiliam Freitas .twitter: @wili4m .mail: wilia...@yahoo.com.br 
.blog: http://blogporta80.com.br

  De: Thiago Canuto Ferreira 
 Para: debian-user-portuguese@lists.debian.org 
 Enviadas: Quarta-feira, 21 de Dezembro de 2016 19:10
 Assunto: Re: Asus Eee PC Flare series (1025c) -- SOLUCIONADO
   
Que bom Ednardo. Fico feliz pela solução do problema. Então você estava
tentando instalar com uma interface gráfica diferente da XFCE, e era
esse o problema?

Thiago C. F.

Em Ter, 2016-12-20 às 20:01 -0200, Ednardo Lobo escreveu:
> Pessoal,
> 
> Agradeço as sugestões, muitas delas contribuíram para que chegasse a 
> solução do problema. Ao que tudo indica, o problema estava com o kernel 
> utilizado no sistema de instalação que não lidava bem com gerenciamento 
> de temperatura do netbook em questão.
> 
> Baixei então a imagem "debian-live-8.6.0-i386-xfce-desktop.iso" e 
> experimentei no netbook. Tudo funcionou perfeitamente bem, sendo 
> reconhecido sem que nenhuma intervenção fosse necessária, todos os 
> dispositivos (ex: video, som, mouse, teclado, usb, ethernet, wifi, 
> etc.). Efetuei então a instalação definitiva no disco e novamente todos 
> os dispositivos foram adequadamente reconhecidos.
> 
> Grato,
> 
> On 10-12-2016 19:50, Ednardo Lobo wrote:
> > Caros,
> >
> > Estou tentando sem sucesso instalar um Debian Jessie i386 neste netbook.
> > Durante o processo de instalação, sendo realizado através de um
> > pendriver com a imagem "debian-8.6.0-i386-netinst.iso", ele simplesmente
> > trava.
> >
> > Repeti o processo várias vezes e o travamento não ocorre num ponto
> > específico da instalação, mas em pontos aleatórios. O mais longe que
> > cheguei foi a fase de download dos pacotes, após o particionamento.
> >
> > Esse netbook está em perfeito estado de funcionamento, não apresentando
> > travamentos quando rodando o Windows 7 que foi reinstalado sem nenhum
> > problema.
> >
> > Utilizo o Debian a muitos anos e já o instalei em muitos computadores e
> > nunca havia enfrentado problemas de travamento. Necessito, portanto, de
> > qualquer sugestão que ajude a identificar e contornar esse problema.
> >
> > Grato,
> 
> 




   

Re: chgrp with user

2016-12-27 Thread deloptes
Xen wrote:

> Wrong. These programs typically create stuff without g+w so your user
> has no write access to it.
> 
> So you need at least one of the solutions mentioned.

You keep insisting doing wrong things. If you use mediawiki, you do not need
write access as a user. Leave this to the system and use the interface
and/or tools provided.

> The same applies to OwnCloud and I'm the kind of person that likes to do 
> stuff outside of control of the application because the application may 
> be severely limited in moving data around or importing data.

You are an i**ot I would immediately fire. Start reading the interfaces and
using the programs as designed. If you want to do things your own way I do
not want to know about it.

regards



Re: Synaptic icons - where defined/explained?

2016-12-27 Thread Richard Owlett

On 12/27/2016 8:40 AM, Richard Owlett wrote:

On 12/26/2016 9:56 PM, David Wright wrote:

On Mon 26 Dec 2016 at 14:10:16 (-0600), Richard Owlett wrote:

On 12/26/2016 2:02 PM, Brad Rogers wrote:

On Mon, 26 Dec 2016 13:46:15 -0600
Richard Owlett  wrote:

Hello Richard,


The only repository it has ever seen is DVD 1 of 13 of Debian
8.6.0 ;!


An idea occurs to me;

Check where those "new" packages came from.  I suspect
they're from the
last DVD you added to your repo database.



The universe of discourse is a specific set of Debian 8.6.0 dvds.


So when you run aptitude, is the first entry

--- Upgradable Packages ( )

and, if so, what number is in parentheses?

Also if so, what do you see when you select this item?
(ie press return on this item, then ↓ and return,
repeating until you reach actual package names.)
If you do reach a list of package names, with an appearance
like so:

--\ Upgradable Packages (1)
   --\ video - Utilities to record, view, edit, and stream
video files (1)
 --\ main - The main Debian archive (1)
i get-iplayer
2.94-1 2.97-1

what packages does it want to upgrade, and from which version
to which?

(It would be nice to have some concrete examples of what's
being discussed.)

Cheers,
David.


I can't give any info from the particular box in use at the start
of this thread. It has developed some strange, apparently hardware
related, that prevents me from doing a clean Debian install using
my normal preseed.cfg . It no longer has a functional Debian.

However I have another box displaying the same symptoms. But I do
not know from how many DVDs of Debian 8.6.0 packages were installed.

When running aptitude it reports:

aptitude 0.6.11
--- Installed Packages (869)
--- Not Installed Packages (41553)
--- Virtual Packages (5124)
--- Tasks (216)


Synaptic shows >> 200 packages with the star in box icon.

There is one more data-point. Before the first box went into
meltdown I had run a install using the first entry on the
installer's menu. I showed none of the "star in box" icons. I'm
beginning to suspect these aberrant "star in box" icons revolve
around my choice of which packages to load with my preseed.cfg
file. I've got a full morning's work ahead of me. More later.



I have done an install on the *SECOND* using preseeding and ONLY 
DVD #1.

It has no apparent problems, particularly no "star in box" icons.

I have done TWO installs on the *FIRST* machine. It *HAS 
developed* a machine related problem.


First Install:
Use preseeding and DVD #1.
Install appeared typical. Boot appears to proceed normally until 
when I expect GUI to appear. I always get a blank screen. 
_Sometimes_ booting with "recovery mode" and entering Cntrl-D 
gives me the GUI.


Second Install:
Use no preseeding with first menu choice.
When asked for choice of desktop etc. I clear all except 
"standard utilities".

I get a functional CLI environment.
I do apt-get install with the same set of packages specified in 
the preseed file.

At completion typing startx brings up the GUI.
However booting from the grub menu has the same set of problems 
as the first install.


That laptop's fan had failed. I now suspect component failure had 
occurred before the fan was replaced. I'll keep it for education 
experiments in trouble shooting. Off to get another machine to be 
my test bed for Debian.


Thanks you all.





Re: [OT] Consulta GIT

2016-12-27 Thread Edwin De La Cruz
Mis proyectos de software libre en:
Github - edwinspire


El día 27 de diciembre de 2016, 12:21, Alberto Luaces  escribió:
> Edwin De La Cruz writes:
>
>> Estimados.
>> Reciban un cordial saludo.
>> Tengo una duda respecto al uso de GIT, arme un servidor GIT donde
>> tengo algunas dll de una aplicacion que actualmente es copiada a las
>> maquinas clientes a mano.
>> Las maquinas cliente son Windows server 2003 y el Servidor es Debian 8.
>>
>> Proble clonar el repositorio el las maquinas clientes y hacer PULL
>> para ver que los cambios realizados en el repositorio central se
>> replican a los clientes y funciona sin problema.
>>
>> El inconveniente se presenta cuando por "error" en la maquina cliente
>> alguien borra un archivo, cuando hago GIT PULL no se sincroniza con el
>> repositorio central copiando ese archivo que alguien borró.
>>
>> Hay alguna forma de hacer que en las maquinas clientes se mantenga
>> sincronizados los archivos con el servidor GIT y en caso de que en los
>> clientes se borre algun archivo automáticamente se detecte que falta y
>> lo descargue desde el repositorio?
>>
>
> Entiendo que entonces desde los clientes sólo se obtienen los cambios
> del servidor, pero que no se generan cambios nuevos, ¿no?
>
> En ese caso, antes de sincronizar se puede hacer un
>
> git reset --hard master
>
> para quedarse en el estado sin modificaciones.
>
> --
> Alberto
>

Gracias, con git reset --hard master funcionó, ya aparecen los
archivos que por error fueron borrados.
Ahora mi pregunta es... haciendo eso se vuelven a bajar todos los
archivos o solo los que falta y/o han cambiado?



Re: Canon MF 3010

2016-12-27 Thread didier gaumet
Le 27/12/2016 à 17:42, Klaus Becker a écrit :
[...]
> Est-ce que par hasard qn a cette imprimante ou sait comment faire ?

à priori ça a déjà marché (print et scan) sur du debian ou dérivé.
as-tu vu cet article:
 https://wiki.debian.org/PrinterDriver/Canon/UFR-II ?
la mf3010 semble concernée



Re: Canon MF 3010

2016-12-27 Thread bernard schoenacker
On Tue, 27 Dec 2016 17:42:07 +0100
Klaus Becker  wrote:

> 'soir,
> 
> une petite société m'a appelé au secours pour une imprimante Canon MF
> 3010 qui ne veut pas fonctionner sous Elementary OS (basé sur Debian).
> 
> J'ai pris l'imprimante chez moi, mais je n'y arrive pas non plus. Mon
> système (unstable) n'est pas en cause, j'ai 2 imprimantes qui
> fonctionnent.
> 
> Le pilote de Canon n'est pas installable selon mon expérience, même
> celui de Turboprint ne liste pas cette imprimante. Je me suis adressé
> à Turboprint, je n'ai pas encore de réponse.
> 
> Est-ce que par hasard qn a cette imprimante ou sait comment faire ?
> 
> bye bye
> 
> Klaus
> 
bonjour,

comme je n'ai pas cette impriamante et comme c'est du laser canon :

apt-cache search printer-driver-cjet


autrement wine printer


je ne peut pas en faire plus (rechercher dependency walker)

http://www.dependencywalker.com/

slt
bernard

--
bernard schoenacker 



Re: [OT] Consulta GIT

2016-12-27 Thread Alberto Luaces
Edwin De La Cruz writes:

> Estimados.
> Reciban un cordial saludo.
> Tengo una duda respecto al uso de GIT, arme un servidor GIT donde
> tengo algunas dll de una aplicacion que actualmente es copiada a las
> maquinas clientes a mano.
> Las maquinas cliente son Windows server 2003 y el Servidor es Debian 8.
>
> Proble clonar el repositorio el las maquinas clientes y hacer PULL
> para ver que los cambios realizados en el repositorio central se
> replican a los clientes y funciona sin problema.
>
> El inconveniente se presenta cuando por "error" en la maquina cliente
> alguien borra un archivo, cuando hago GIT PULL no se sincroniza con el
> repositorio central copiando ese archivo que alguien borró.
>
> Hay alguna forma de hacer que en las maquinas clientes se mantenga
> sincronizados los archivos con el servidor GIT y en caso de que en los
> clientes se borre algun archivo automáticamente se detecte que falta y
> lo descargue desde el repositorio?
>

Entiendo que entonces desde los clientes sólo se obtienen los cambios
del servidor, pero que no se generan cambios nuevos, ¿no?

En ese caso, antes de sincronizar se puede hacer un

git reset --hard master

para quedarse en el estado sin modificaciones.

-- 
Alberto



[OT] Consulta GIT

2016-12-27 Thread Edwin De La Cruz
Estimados.
Reciban un cordial saludo.
Tengo una duda respecto al uso de GIT, arme un servidor GIT donde
tengo algunas dll de una aplicacion que actualmente es copiada a las
maquinas clientes a mano.
Las maquinas cliente son Windows server 2003 y el Servidor es Debian 8.

Proble clonar el repositorio el las maquinas clientes y hacer PULL
para ver que los cambios realizados en el repositorio central se
replican a los clientes y funciona sin problema.

El inconveniente se presenta cuando por "error" en la maquina cliente
alguien borra un archivo, cuando hago GIT PULL no se sincroniza con el
repositorio central copiando ese archivo que alguien borró.

Hay alguna forma de hacer que en las maquinas clientes se mantenga
sincronizados los archivos con el servidor GIT y en caso de que en los
clientes se borre algun archivo automáticamente se detecte que falta y
lo descargue desde el repositorio?

Gracias por su ayuda y disculpas por el OffTopic.


Mis proyectos de software libre en:
Github - edwinspire



Re: Son fichier mp4 H264 with AAC audio image jpeg

2016-12-27 Thread didier gaumet

le plus simple serait probablement d'installer la version Qt ou gtk de
easymp3gain pour augmenter le gain des fichiers audio ou vidéo qui te
semblent inaudibles, sans toucher au volume, quel que soit le logiciel
utilisé pour la lecture.

sinon tu peux aussi jouer avec l'égaliseur audio de vlc pour régler le
gain (preamp)



Re: MiniDebConf Curitiba 2017 - 17 a 19 de março

2016-12-27 Thread Éderson Almeida de Jesus
Obrigado pelo anuncio na lista Paulo.

Ja me inscrevi no evento e fiz minhas reservas de transporte e hospedagem.


Atenciosamente;


Éderson A. Jesus
E-mail.: ederjesus at gmail dot com

Em 22 de dezembro de 2016 17:58, Paulo Henrique de Lima Santana <
p...@softwarelivre.org> escreveu:

> Olá a todos,
>
> Está aberta a inscrição gratuita para a MiniDebConf Curitiba 2017 que
> acontecerá de 17 a 19 de março no Campus central da UTFPR - Universidade
> Tecnológica Federal do Paraná, em Curitiba.
> Este será o segundo ano consecutivo que realizamos um evento exclusivo da
> comunidade de usuários e desenvolvedores brasileiros do Debian em Curitiba.
>
> O site da MiniDebConf Curitiba 2017 é:
> http://br2017.mini.debconf.org
>
> Estamos com uma chamada de palestras aberta, então quem quiser palestrar
> sobre Debian é só preencher as informações na nossa wiki:
> https://wiki.debian.org/DebianEvents/br/2017/MiniDebconfCuritiba/
> Atividades/CFP
>
> Para esta edição, abrimos uma campanha para receber doações que ajudarão
> na realização da MiniDebConf. Então mesmo aqueles que não pretendem vir a
> Curitiba podem contribuir com o evento fazendo uma doação de qualquer valor.
> Listaremos no site os doadores como forma de agradecimento pela ajuda.
> Mais informações:
> http://br2017.mini.debconf.org/doacao.shtml
>
> Ah, e não deixe de apoiar a candidatura de Curitiba para sediar 19a.
> edição do encontro mundial de Desenvolvedores Debian - DebConf18.
> Na página abaixo você pode ver como apoiar:
> http://softwarelivre.org:3000/debianbrasil/blog/apoie-a-
> campanha-para-curitiba-sediar-a-debconf18
>
> Fotos da MiniDebConf 2016:
> https://www.flickr.com/photos/curitibalivre/sets/72157665695548695
>
> Esperamos ver vocês aqui em março!
>
> Abraços,
>
> --
> Paulo Henrique de Lima Santana (phls)
> Curador de Software Livre da Campus Party Brasil 2017 (CPBR10)
> Membro da Comunidade Curitiba Livre
> Fone: +55 (41) 99198-1897
> Site: http://www.phls.com.br
> GNU/Linux user: 228719  GPG ID: 0443C450
>
> Apoie a campanha pela igualdade de gênero #HeForShe (#ElesPorElas)
> http://www.heforshe.org/pt
>
>


Canon MF 3010

2016-12-27 Thread Klaus Becker
'soir,

une petite société m'a appelé au secours pour une imprimante Canon MF 3010 qui 
ne veut pas fonctionner sous Elementary OS (basé sur Debian).

J'ai pris l'imprimante chez moi, mais je n'y arrive pas non plus. Mon système 
(unstable) n'est pas en cause, j'ai 2 imprimantes qui fonctionnent.

Le pilote de Canon n'est pas installable selon mon expérience, même celui de 
Turboprint ne liste pas cette imprimante. Je me suis adressé à Turboprint, je 
n'ai pas encore de réponse.

Est-ce que par hasard qn a cette imprimante ou sait comment faire ?

bye bye

Klaus



olivetti pcs 42P

2016-12-27 Thread gonzalo Fernandez _ Peindo Diaz
hello i need help about of my computer olivetti pcs 42P because when y start it

When I turn it on it leads me to a paguine that tells me that I have to insert 
a disk with drivers I have a bag full of floppy disks of that type are drivers 
of windows 95 well there are manyisimos the case is that I have tried them all 
and everyone tells me That are not bleats or not reads nothing so I would like 
that if you can help me since I do not know much this world of informatic


PS: I do not know anything about how to use this computer since my grandfather 
gave it to me and since he did not know how to use it, he was raising dust 
because of its disuse




Re: Sub interface not working in Debian 8

2016-12-27 Thread Xen

Muhammad Yousuf Khan schreef op 27-12-2016 15:15:

Thanks this is what i already did and i was about to send you guys the
details and fortunately your msg comes in.
tcpdump is telling me very interesting story.
when i 'tcpdump -i eth3 icmp' it shows all the ping packet that are
received for ip 50.x.x161 but not for 50.x.x.162
that means ISP gateway is not sending packets to virtual IPs. so this
issue pointing to ISP or MAC related issue.

but confusion is the system before current system it has the Virtual
IPs and it was working fine it has debian 5 (old version)


Only thing I can say is to not give the address to the alias but see 
what happens if you just give it to eth3.


I don't know how you assign it but if this is your public IP then of 
course there is no such thing as "Virtual IP". They are just two IPs 
assigned to the same interface right, which is perfectly normal.


IPtables chokes on eth3:1 syntax though. Do not use it for your firewall 
pls :).


Regards.

Or if you do: iptables-save | sed "s/ eth3:. / eth3 /g" | 
iptables-restore


But maybe it is completely different, I don't know, it's just odd I 
guess to me.


Regards.



Re: chgrp with user

2016-12-27 Thread Xen

Gene Heskett schreef op 27-12-2016 15:51:


Since they create lost of files those programs typically create those
files as the user the webserver is running as, which would typically
be www-data. Sometimes you want to be able those files directly as a
user outside of the application (which is typically the case for me)
so how do you give access to those files as your user?

That's rather hard?


Uhh, no. Add yourself to the www-data group.


Wrong. These programs typically create stuff without g+w so your user 
has no write access to it.


So you need at least one of the solutions mentioned.

Thanks.



Re: Son fichier mp4 H264 with AAC audio image jpeg

2016-12-27 Thread MERLIN Philippe
Le mardi 27 décembre 2016, 15:26:43 CET Alain Rpnpif a écrit :
> Bonjour,
> 
> Le 27 décembre 2016, MERLIN Philippe a écrit :
> > Bonjour,
> > J'ai des difficultés à lire et surtout à entendre son très faible des
> > fichiers vidéos MP4 H264 with AAC audio image jpeg, avec d'autres
> > fichiers vidéo .avi je n'ai aucun problème ni sur l'image ni sur le son.
> > Il me semble que j'ai tous les codecs nécessaire avez vous rencontré ce
> > problème ? Si oui comment le résoudre toute idée sera la bienvenue.
> 
> Ce n'est pas très clair. Quel est le problème exactement ?
> Avec quel logiciel ?
> 
> Voici quelques outils : vlc, ffmpeg, audacity.
J'ai essayé avec SMplayer2, xine, dragon player, MPV player, Kaffeine et 
chaque fois image correct et son inaudible ou presque inaudible.
L'appareil ayant créé le fichier est un Aver Media EZRecorder 130 qui le relit 
sans problème et il n'y a aucun problème de son.
Si je m'abuse audacity ne lit que des fichiers Audio, ffmpeg c'est en ligne de 
commande?
Amitié.
Philippe Merlin



Re: chgrp with user

2016-12-27 Thread Gene Heskett
On Tuesday 27 December 2016 07:28:58 Xen wrote:

> Nicolas George schreef op 23-12-2016 9:32:
> > Le tridi 3 nivôse, an CCXXV, Xen a écrit :
> >> I think my point was more that I didn't know how to chgrp, but I
> >> found I
> >> needed to add myself to www-data first before I could chgrp to it.
> >
> > Just a basic sanity check:
> >
> > If your web server is running as www-data, then it is better if the
> > files do NOT belong to that user and/or group. For the group, it
> > does not matter much, but for the user it is very important.
>
> That's the problem I've had with dokuwiki (and other such programs).
>
> Since they create lost of files those programs typically create those
> files as the user the webserver is running as, which would typically
> be www-data. Sometimes you want to be able those files directly as a
> user outside of the application (which is typically the case for me)
> so how do you give access to those files as your user?
>
> That's rather hard?

Uhh, no. Add yourself to the www-data group.
>
> But any program running under any (limited) user does not have rights
> to chown to another user. What remains is either something filessytem
> specific (inheritance through setfacl, if that works) or some service
> that keeps chowning files in the background.
>
> Which may even be the nicest solution in the end because you are in
> full control of something like that and do not depend on the proper
> functioning of the server. Call it a quick solution that works.
>
> So what you then would get -- but I know no other solution as of now
> -- is that you service/daemon is just going to chown stuff to your
> regular user with www-data as the group, and if the webserver needs
> write access to the files it just created (which it probably does) you
> give g+w to it.
>
> Those are not program files, just data, but not all server
> (applications) exclusively use a database.
>
> The same applies to OwnCloud and I'm the kind of person that likes to
> do stuff outside of control of the application because the application
> may be severely limited in moving data around or importing data.
>
> So the solution each time seems to be to ensure that the files are
> owned by your regular user and given g+w to the group which is then
> www-data, in this case. It can also be the reverse: don't touch the
> ownership but give all files g+w to your own user who is part of
> www-data.
>
> I guess it depends on how "personal" you want to make those files but
> you need to do this anyway. For these packages the program files are
> just sitting in /usr/share, that is not an issue.
>
> But /var/lib/xxx is not a very "user servicable" directory. That is
> not a place you easily go to (as a shell user, and not at all as a GUI
> user either) so in order to keep your data manageable to your own
> person and separate from the rest of the system you have to give it a
> better location anyway, whether it be /data, or /srv, or even some
> home directory of some kind (not recommended in this case I guess). So
> supposing you end up with /srv/owncloud you really want all those
> files to become owned by your regular user and the group that it
> already had + g+w. Or just do g+w while you are in www-data.
>
> I haven't checked those applications but in general since they cannot
> chown anyway I assume that this works:
>
> chmod g+s will retain group ownership from the containing directory
> setfacl -d -m g::rwx will make everything group writable.
>
> Also on the containing directory. I don't consider these acl
> permissions to be so great, but that's just me you know. They stand so
> apart from the regular permissions we have, almost superseding it
> completely.
>
> The only alternative is a service that will retain these permissions
> after the fact (triggered by some event or some watch daemon) but I
> think changing these web applications is really "onbegonnen werk" as
> we say in Dutch (work that seems so endless that there is no use even
> beginning it). I think it is also safer to retain ownership and
> control of that yourself (so you can pick and choose).
>
> Besides this is in this case only about group permissions and the
> webserver already has write access in this case. It's just about your
> user also being able to manipulate it.
>
> And only applies to filesystem data and files created by the web
> application on disk.
>
> It would be nice to have a better sense of "who owns what" in any
> case. I feel the gap between the administrator and the regular user is
> too big, but that's just me. I think it would be helpful if it was
> easier to place user data (such as wiki data) more under control of
> the regular user. Something like ordinarily, something like
> Dokuwiki is a very personal thing, not something big or site-wide.
>
> But we require usually (as per the package at least) site-wide servers
> to run it. Not a very good combination in my idea. Maybe running it AS
> your personal user would be a better idea 

Re: Synaptic icons - where defined/explained?

2016-12-27 Thread Richard Owlett

On 12/26/2016 9:56 PM, David Wright wrote:

On Mon 26 Dec 2016 at 14:10:16 (-0600), Richard Owlett wrote:

On 12/26/2016 2:02 PM, Brad Rogers wrote:

On Mon, 26 Dec 2016 13:46:15 -0600
Richard Owlett  wrote:

Hello Richard,


The only repository it has ever seen is DVD 1 of 13 of Debian
8.6.0 ;!


An idea occurs to me;

Check where those "new" packages came from.  I suspect they're from the
last DVD you added to your repo database.



The universe of discourse is a specific set of Debian 8.6.0 dvds.


So when you run aptitude, is the first entry

--- Upgradable Packages ( )

and, if so, what number is in parentheses?

Also if so, what do you see when you select this item?
(ie press return on this item, then ↓ and return,
repeating until you reach actual package names.)
If you do reach a list of package names, with an appearance like so:

--\ Upgradable Packages (1)
   --\ video - Utilities to record, view, edit, and stream video files (1)
 --\ main - The main Debian archive (1)
i get-iplayer   2.94-1 2.97-1

what packages does it want to upgrade, and from which version to which?

(It would be nice to have some concrete examples of what's being discussed.)

Cheers,
David.


I can't give any info from the particular box in use at the start 
of this thread. I has developed some strange, apparently hardware 
related, that prevents me from doing a clean Debian install using 
my normal preseed.cfg . It no longer has a functional Debian.


However I have another box displaying the same symptoms. But I do 
not know from how many DVDs of Debian 8.6.0 packages were installed.


When running aptitude it reports:

aptitude 0.6.11
--- Installed Packages (869)
--- Not Installed Packages (41553)
--- Virtual Packages (5124)
--- Tasks (216)


Synaptic shows >> 200 packages with the star in box icon.

There is one more data-point. Before the first box went into 
meltdown I had run a install using the first entry on the 
installer's menu. I showed none of the "star in box" icons. I'm 
beginning to suspect these aberrant "star in box" icons revolve 
around my choice of which packages to load with my preseed.cfg 
file. I've got a full morning's work ahead of me. More later.










Re: Sub interface not working in Debian 8

2016-12-27 Thread Pascal Hambourg

Le 27/12/2016 à 15:15, Muhammad Yousuf Khan a écrit :

tcpdump is telling me very interesting story.
when i 'tcpdump -i eth3 icmp' it shows all the ping packet that are
received for ip 50.x.x161 but not for 50.x.x.162


What about ARP packets ?



Re: Son fichier mp4 H264 with AAC audio image jpeg

2016-12-27 Thread Alain Rpnpif
Bonjour,

Le 27 décembre 2016, MERLIN Philippe a écrit :

> Bonjour,
> J'ai des difficultés à lire et surtout à entendre son très faible des 
> fichiers 
> vidéos MP4 H264 with AAC audio image jpeg, avec d'autres fichiers vidéo .avi 
> je 
> n'ai aucun problème ni sur l'image ni sur le son. Il me semble que j'ai tous 
> les codecs nécessaire avez vous rencontré ce problème ? Si oui comment le 
> résoudre toute idée sera la bienvenue.

Ce n'est pas très clair. Quel est le problème exactement ?
Avec quel logiciel ?

Voici quelques outils : vlc, ffmpeg, audacity.

-- 
Alain Rpnpif



Re: Sub interface not working in Debian 8

2016-12-27 Thread Muhammad Yousuf Khan
Thanks this is what i already did and i was about to send you guys the
details and fortunately your msg comes in.
tcpdump is telling me very interesting story.
when i 'tcpdump -i eth3 icmp' it shows all the ping packet that are
received for ip 50.x.x161 but not for 50.x.x.162
that means ISP gateway is not sending packets to virtual IPs. so this issue
pointing to ISP or MAC related issue.

but confusion is the system before current system it has the Virtual IPs
and it was working fine it has debian 5 (old version)


Thanks,


On Tue, Dec 27, 2016 at 6:46 PM, Xen  wrote:

> Muhammad Yousuf Khan schreef op 27-12-2016 13:58:
>
>> I didnt route anything as default gateway was already there. can you
>> please explain your routes more. i didnt get the context of that
>> routes you define.
>>
>
> Nothing special there, if you use the same gateway it won't be needed. I
> just have a 2nd IP on a second subnet, so I need to use the second router
> for that second subnet.
>
> From your other reply it seems that your router is not routing to your
> address..
>
> Maybe nothing changed in Debian but your host is not functioning for your
> second IP?
>
> It would be weird unless something else was going on that you could not
> receive pings on that interface from the outside.
>
> They are probably being sent out, but not getting back, because your
> router is not configured for your 2nd IP?
>
> Of course you can check with tcpdump -i eth3 | grep ""
>
> Or tcpdump -i eth3 | grep "" | grep echo
>
> Regards.
>
>


Son fichier mp4 H264 with AAC audio image jpeg

2016-12-27 Thread MERLIN Philippe
Bonjour,
J'ai des difficultés à lire et surtout à entendre son très faible des fichiers 
vidéos MP4 H264 with AAC audio image jpeg, avec d'autres fichiers vidéo .avi je 
n'ai aucun problème ni sur l'image ni sur le son. Il me semble que j'ai tous 
les codecs nécessaire avez vous rencontré ce problème ? Si oui comment le 
résoudre toute idée sera la bienvenue.
Philippe Merlin



Re: Sub interface not working in Debian 8

2016-12-27 Thread Xen

Muhammad Yousuf Khan schreef op 27-12-2016 13:58:

I didnt route anything as default gateway was already there. can you
please explain your routes more. i didnt get the context of that
routes you define.


Nothing special there, if you use the same gateway it won't be needed. I 
just have a 2nd IP on a second subnet, so I need to use the second 
router for that second subnet.


From your other reply it seems that your router is not routing to your 
address..


Maybe nothing changed in Debian but your host is not functioning for 
your second IP?


It would be weird unless something else was going on that you could not 
receive pings on that interface from the outside.


They are probably being sent out, but not getting back, because your 
router is not configured for your 2nd IP?


Of course you can check with tcpdump -i eth3 | grep ""

Or tcpdump -i eth3 | grep "" | grep echo

Regards.



Re: Sub interface not working in Debian 8

2016-12-27 Thread Muhammad Yousuf Khan
one more thing i can ping to gateway with virtual ip no problem.

hping3 -1 50.x.x.174 -a 50.x.x.162
HPING 50.x.x.174 (eth3 50.x.x.174): icmp mode set, 28 headers + 0 data bytes
len=46 ip=50.x.x.174 ttl=64 id=56571 icmp_seq=0 rtt=3.4 ms
len=46 ip=50.x.x.174 ttl=64 id=56572 icmp_seq=1 rtt=3.3 ms
len=46 ip=50.x.x.174 ttl=64 id=56573 icmp_seq=2 rtt=3.3 ms

On Tue, Dec 27, 2016 at 6:20 PM, Muhammad Yousuf Khan 
wrote:

> btw i never use ip command due to its complexity. i user route command
> instead. which is way more easier. however i tried your commands and it
> didn't work for me any help or idea  guys?
>
> On Tue, Dec 27, 2016 at 5:58 PM, Muhammad Yousuf Khan 
> wrote:
>
>> I didnt route anything as default gateway was already there. can you
>> please explain your routes more. i didnt get the context of that routes you
>> define.
>>
>> On Tue, Dec 27, 2016 at 5:39 PM, Xen  wrote:
>>
>>> Muhammad Yousuf Khan schreef op 27-12-2016 12:22:
>>>
>>> can you guys please guide what is going on . in old Debian version i
 do this with no problem sub interfaces were very easy task. but here i
 invest the whole day.

>>>
>>> I must say I have run into many problems on my own machine but never
>>> this one.
>>>
>>> Are you sure your gateway recognises your secondary IP?
>>>
>>> I even have 2 IPs on such an alias and they all work fine:
>>>
>>> iface eth0 inet manual
>>>   pre-up ip link set eth0 up
>>>
>>> iface eth0:0 inet dhcp
>>>
>>> iface eth0:1 inet static
>>>   address 149.x.x.127
>>>   netmask 255.255.255.0
>>>
>>> In my case I do additional routing:
>>>
>>> ip rule add from 149.x.x.127 (that's the secondary) lookup 2
>>> ip route add default via 149.x.x.1 (gateway address for the second IP)
>>> table 2
>>>
>>>
>>
>


Re: Sub interface not working in Debian 8

2016-12-27 Thread Muhammad Yousuf Khan
btw i never use ip command due to its complexity. i user route command
instead. which is way more easier. however i tried your commands and it
didn't work for me any help or idea  guys?

On Tue, Dec 27, 2016 at 5:58 PM, Muhammad Yousuf Khan 
wrote:

> I didnt route anything as default gateway was already there. can you
> please explain your routes more. i didnt get the context of that routes you
> define.
>
> On Tue, Dec 27, 2016 at 5:39 PM, Xen  wrote:
>
>> Muhammad Yousuf Khan schreef op 27-12-2016 12:22:
>>
>> can you guys please guide what is going on . in old Debian version i
>>> do this with no problem sub interfaces were very easy task. but here i
>>> invest the whole day.
>>>
>>
>> I must say I have run into many problems on my own machine but never this
>> one.
>>
>> Are you sure your gateway recognises your secondary IP?
>>
>> I even have 2 IPs on such an alias and they all work fine:
>>
>> iface eth0 inet manual
>>   pre-up ip link set eth0 up
>>
>> iface eth0:0 inet dhcp
>>
>> iface eth0:1 inet static
>>   address 149.x.x.127
>>   netmask 255.255.255.0
>>
>> In my case I do additional routing:
>>
>> ip rule add from 149.x.x.127 (that's the secondary) lookup 2
>> ip route add default via 149.x.x.1 (gateway address for the second IP)
>> table 2
>>
>>
>


Re: question about aptitudetask-ldxe

2016-12-27 Thread Greg Wooledge
On Mon, Dec 26, 2016 at 12:45:31PM +0100, Floris wrote:
> Not recommended, but it will work
> as the normal user:
> xhost +
> su and run synaptic
> xhost -

Another alternative is to allow ssh connections as root (which may not
be the default, depending on which version of Debian you install),
and then:

ssh -X root@localhost

A third alternative, if your regular user has an ~/.Xauthority file,
is:

su
export XAUTHORITY=/home/youruser/.Xauthority

(The export may not even be necessary; it seems XAUTHORITY is
automatically exported from the X session under certain conditions that I
can't pinpoint.  Just don't use "su -" which would clear the environment.)



Re: Sub interface not working in Debian 8

2016-12-27 Thread Muhammad Yousuf Khan
I didnt route anything as default gateway was already there. can you please
explain your routes more. i didnt get the context of that routes you
define.

On Tue, Dec 27, 2016 at 5:39 PM, Xen  wrote:

> Muhammad Yousuf Khan schreef op 27-12-2016 12:22:
>
> can you guys please guide what is going on . in old Debian version i
>> do this with no problem sub interfaces were very easy task. but here i
>> invest the whole day.
>>
>
> I must say I have run into many problems on my own machine but never this
> one.
>
> Are you sure your gateway recognises your secondary IP?
>
> I even have 2 IPs on such an alias and they all work fine:
>
> iface eth0 inet manual
>   pre-up ip link set eth0 up
>
> iface eth0:0 inet dhcp
>
> iface eth0:1 inet static
>   address 149.x.x.127
>   netmask 255.255.255.0
>
> In my case I do additional routing:
>
> ip rule add from 149.x.x.127 (that's the secondary) lookup 2
> ip route add default via 149.x.x.1 (gateway address for the second IP)
> table 2
>
>


Re: Sub interface not working in Debian 8

2016-12-27 Thread Xen

Muhammad Yousuf Khan schreef op 27-12-2016 12:22:


can you guys please guide what is going on . in old Debian version i
do this with no problem sub interfaces were very easy task. but here i
invest the whole day.


I must say I have run into many problems on my own machine but never 
this one.


Are you sure your gateway recognises your secondary IP?

I even have 2 IPs on such an alias and they all work fine:

iface eth0 inet manual
  pre-up ip link set eth0 up

iface eth0:0 inet dhcp

iface eth0:1 inet static
  address 149.x.x.127
  netmask 255.255.255.0

In my case I do additional routing:

ip rule add from 149.x.x.127 (that's the secondary) lookup 2
ip route add default via 149.x.x.1 (gateway address for the second IP) 
table 2




Re: chgrp with user

2016-12-27 Thread Xen

Nicolas George schreef op 23-12-2016 9:32:

Le tridi 3 nivôse, an CCXXV, Xen a écrit :
I think my point was more that I didn't know how to chgrp, but I found 
I

needed to add myself to www-data first before I could chgrp to it.


Just a basic sanity check:

If your web server is running as www-data, then it is better if the
files do NOT belong to that user and/or group. For the group, it does
not matter much, but for the user it is very important.


That's the problem I've had with dokuwiki (and other such programs).

Since they create lost of files those programs typically create those 
files as the user the webserver is running as, which would typically be 
www-data. Sometimes you want to be able those files directly as a user 
outside of the application (which is typically the case for me) so how 
do you give access to those files as your user?


That's rather hard?

But any program running under any (limited) user does not have rights to 
chown to another user. What remains is either something filessytem 
specific (inheritance through setfacl, if that works) or some service 
that keeps chowning files in the background.


Which may even be the nicest solution in the end because you are in full 
control of something like that and do not depend on the proper 
functioning of the server. Call it a quick solution that works.


So what you then would get -- but I know no other solution as of now -- 
is that you service/daemon is just going to chown stuff to your regular 
user with www-data as the group, and if the webserver needs write access 
to the files it just created (which it probably does) you give g+w to 
it.


Those are not program files, just data, but not all server 
(applications) exclusively use a database.


The same applies to OwnCloud and I'm the kind of person that likes to do 
stuff outside of control of the application because the application may 
be severely limited in moving data around or importing data.


So the solution each time seems to be to ensure that the files are owned 
by your regular user and given g+w to the group which is then www-data, 
in this case. It can also be the reverse: don't touch the ownership but 
give all files g+w to your own user who is part of www-data.


I guess it depends on how "personal" you want to make those files but 
you need to do this anyway. For these packages the program files are 
just sitting in /usr/share, that is not an issue.


But /var/lib/xxx is not a very "user servicable" directory. That is not 
a place you easily go to (as a shell user, and not at all as a GUI user 
either) so in order to keep your data manageable to your own person and 
separate from the rest of the system you have to give it a better 
location anyway, whether it be /data, or /srv, or even some home 
directory of some kind (not recommended in this case I guess). So 
supposing you end up with /srv/owncloud you really want all those files 
to become owned by your regular user and the group that it already had + 
g+w. Or just do g+w while you are in www-data.


I haven't checked those applications but in general since they cannot 
chown anyway I assume that this works:


chmod g+s will retain group ownership from the containing directory
setfacl -d -m g::rwx will make everything group writable.

Also on the containing directory. I don't consider these acl permissions 
to be so great, but that's just me you know. They stand so apart from 
the regular permissions we have, almost superseding it completely.


The only alternative is a service that will retain these permissions 
after the fact (triggered by some event or some watch daemon) but I 
think changing these web applications is really "onbegonnen werk" as we 
say in Dutch (work that seems so endless that there is no use even 
beginning it). I think it is also safer to retain ownership and control 
of that yourself (so you can pick and choose).


Besides this is in this case only about group permissions and the 
webserver already has write access in this case. It's just about your 
user also being able to manipulate it.


And only applies to filesystem data and files created by the web 
application on disk.


It would be nice to have a better sense of "who owns what" in any case. 
I feel the gap between the administrator and the regular user is too 
big, but that's just me. I think it would be helpful if it was easier to 
place user data (such as wiki data) more under control of the regular 
user. Something like ordinarily, something like Dokuwiki is a very 
personal thing, not something big or site-wide.


But we require usually (as per the package at least) site-wide servers 
to run it. Not a very good combination in my idea. Maybe running it AS 
your personal user would be a better idea but that is more work and is 
perhaps, as said here, also not ideal. Personally I am probably going to 
implement one of the above. I think SystemD makes it very easy to watch 
a directory right?


But maybe I will just do it 

Re: Sub interface not working in Debian 8

2016-12-27 Thread Muhammad Yousuf Khan
adding further i can ping the virtual interfaces from local network and
through vpn users
but can not ping public IPs
.

On Tue, Dec 27, 2016 at 4:22 PM, Muhammad Yousuf Khan 
wrote:

> Dear All,
>
> I want to reach sub interface ip from internet but i can not ping no
> matter what i do.
>
>
> inet 50.x.x.161/28 brd 50.255.203.175 scope global eth3 valid_lft forever
> preferred_lft forever
>
> inet 50.x.x.162/28 brd 50.255.203.175 scope global secondary eth3:1
> ce public ip which is set up like this
>
> i can reach the ip address  50.x.x.161 from internet but i can not ping
> 50.x.x.162. i disabled the firewall but still no luck.
>
> i can not ping from 50.x.x.161 but can not ping from 50.x.x.162. like this
>
> hping3 -1 8.8.8.8 -a 50.255.203.161
>
> HPING 8.8.8.8 (eth3 8.8.8.8): icmp mode set, 28 headers + 0 data bytes
> len=46 ip=8.8.8.8 ttl=57 id=17110 icmp_seq=0 rtt=27.6 ms
> len=46 ip=8.8.8.8 ttl=57 id=17833 icmp_seq=1 rtt=23.3 ms
>
>
>  hping3 -1 8.8.8.8 -a 50.255.203.162
> HPING 8.8.8.8 (eth3 8.8.8.8): icmp mode set, 28 headers + 0 data bytes
> (it stays there for every)
>
>
>
> can you guys please guide what is going on . in old Debian version i do
> this with no problem sub interfaces were very easy task. but here i invest
> the whole day.
>
> Thanks,
> Yousuf
>
>
>
>


Sub interface not working in Debian 8

2016-12-27 Thread Muhammad Yousuf Khan
Dear All,

I want to reach sub interface ip from internet but i can not ping no matter
what i do.


inet 50.x.x.161/28 brd 50.255.203.175 scope global eth3 valid_lft forever
preferred_lft forever

inet 50.x.x.162/28 brd 50.255.203.175 scope global secondary eth3:1
ce public ip which is set up like this

i can reach the ip address  50.x.x.161 from internet but i can not ping
50.x.x.162. i disabled the firewall but still no luck.

i can not ping from 50.x.x.161 but can not ping from 50.x.x.162. like this

hping3 -1 8.8.8.8 -a 50.255.203.161

HPING 8.8.8.8 (eth3 8.8.8.8): icmp mode set, 28 headers + 0 data bytes
len=46 ip=8.8.8.8 ttl=57 id=17110 icmp_seq=0 rtt=27.6 ms
len=46 ip=8.8.8.8 ttl=57 id=17833 icmp_seq=1 rtt=23.3 ms


 hping3 -1 8.8.8.8 -a 50.255.203.162
HPING 8.8.8.8 (eth3 8.8.8.8): icmp mode set, 28 headers + 0 data bytes
(it stays there for every)



can you guys please guide what is going on . in old Debian version i do
this with no problem sub interfaces were very easy task. but here i invest
the whole day.

Thanks,
Yousuf


Re: chgrp with user

2016-12-27 Thread Xen

Greg Wooledge schreef op 23-12-2016 14:07:

On Fri, Dec 23, 2016 at 01:17:23AM +0100, Xen wrote:

Life becomes a whole lot easier if you can do stuff with your regular
user, which is why I am putting stuff in my user home directory in the
first place, instead of some central location.


Making your life easier should NOT be your #1 priority when talking
about a public web server, especially if PHP is involved in any way.
Security should be at least somewhere near the top of the list.

You want to minimize the damage that an attacker can do when (not if)
your Apache+PHP stack gets compromised by yet another PHP 
vulnerability.


Trust me, any sane webhost that has websites running under user accounts 
would put those websites in user directories. There is no point in 
putting it in any other location at all because the safety of the 
webserver (instance) is a separate concern from the location and access 
rights of some user files. Typically for a webserver (and I am running 
this in an LXC instance with pretty much nothing else) the only files 
that could ever be at risk are the user's files.


Especially after I get this container to run unpriviledged, I don't 
think that there is a reason to think that web-files owned by www-data 
are less at risk or less risky than web-files owned by your average user 
account.


So yes, I think that have an enclosed space in which you can feel at 
home, not have to worry about anything, and no files exist in that space 
other than those of your unpriviledged user, IS the number one priority.


And well, as Nicholas says.

Most web-applications will also warn you about write access. They tell 
you to get them write access for a single file, and then to remove it 
when they are done.


Yes that means not running the server as your regular user I guess, but 
that is the model of this system: the webserver doesn't run as your 
regular user because normally it would serve many such users. I don't 
know how you would solve that if you really ran a web-host but adding 
users to www-data so they can chgrp and chmod would solve that problem 
just like now right.


Thank you, the other user, for the hint on forwarding port 80 to 
something else. But if I have my unpriviledged container that is also 
almost the same thing right.


So I guess actually running the webserver as my regular user would be a 
bad idea (it is kinda hard in a certain sense to remove write access 
from your own files to your own user) but this comes close, so yeah, I 
guess the problem is already solved.


So thank you for your answers, please.