Re: Consulta

2016-10-02 Thread Edwin De La Cruz

El 29/09/16 a las 02:35, luis godoy escribió:


Hola, se pueden hacer preguntas sobre debian a este correo? Necesito 
ayuda.




Claro, pon un asunto descriptivo, en el cuerpo del mensaje describe tu 
pregunta lo mas detallado posible, cual es el inconveniente que tienes y 
que has hecho hasta ahora para resolverlo, mientas ma datos envies sera 
mas facil que alguien pueda ayudarte.


--
Edwin De La Cruz
Desarrollador de Software

Skype: edwinspire

Proyectos personales:
https://github.com/edwinspire



Re: veeger is infected ...startx again

2016-10-02 Thread Ric Moore

On 10/01/2016 08:02 PM, Bob Bernstein wrote:

On Sat, 1 Oct 2016, Ric Moore wrote:


Surprise, my sources list reflected Jessie, not Stretch or Sid. I
 FIXED that.


Did you run an 'apt-get dist-upgrade' after making changes to sources.list?

Hang in there.


OK. I gave that a digital whirl.
Login / greeter is~ still~ broken. Maybe I need an ASCII greeter with 
blinking X's for the outline?? startx works for now. :)

Synaptic drop down menus are broke again.
Office drop down menus thankfully DO work.
A new one is that background selection greys out source directory 
selection, while Thunar file selection works. Go figure. I dinked with 
it some more, and using Thunar to select a graphic file, selecting it to 
be used as background, something clicked and I have my backgrounds back. 
Strange. Verrry strange.

xfce4 sound mixer no longer exists. No biggie, I just use pavucontrol.
Everything else appears nOrMaL. :) Ric

--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html



Re: Problems with upgrade from Wheezy to Jessie

2016-10-02 Thread brian
On Sun, 2 Oct 2016 19:29:12 +0200, you wrote:

>what is your hadware?
>graphic card?
>and did you have any drivers or firmware for this? like firmware free or 
>non-free, or drivers for nvidia, or amd etc.

It's an eMachines desktop which was originally supplied with Windows
7. I wiped Windows and loaded on Wheezy from a live DVD. The CPU is an
Athlon II x2 220 @ 800 MHz. The graphics (on the motherboard) is a
GeForce 6150 SE nForce 430 rev a2. Looking at the output from a 
dpkg -l there's no mention of any of the packages you list above. When
I installed Wheezy for my wife, I basically just accepted defaults, so
anything which has been loaded was loaded by the installer. 

I can send you the full output from dpkg -l if you wish, just ask. 


Brian. 



Re: Problems with upgrade from Wheezy to Jessie

2016-10-02 Thread Brian
On Sun 02 Oct 2016 at 20:31:50 +0200, Christian Seiler wrote:

> On 10/02/2016 05:59 PM, Hans Kraus wrote:
> > I upgraded my Debian server about a week ago from Wheezy to Jessie.
> > After that the GUI stopped,
> 
> This is a bit vague, so a better explanation would be good. What
> exactly do you mean "gui stopped"? Did that happen during the
> update? Or at boot? Does the login screen show up? Does this
> message show up after login?
> 
> > I see only  the grey screen with the sad
> > computer telling me " Oh no, Something is Wrong" and the only option is
> > to log out.
> 
> Could you transcribe the precise error message?

He has.



Re: Curiosidade : Rede Pacotes ICMP(Ping) e TCPDUMP

2016-10-02 Thread Rodrigo Cunha
Correto Benedito, mas a resposta q a origem envia ao destino deveria ser
apresentada.
Digo, se eu faço um ping para o ip da rede 192.168.2.0/24 para um ip da
rede 192.168.3.0/24 o host da rede 192.168.2.0 tem que responder, e esse
pacote de resposta eu não consigo capturar no tcpdump, acredito que seja um
erro no output do software para o stdout do linux...
é uma hipotese.


Em 1 de outubro de 2016 08:55, Rafhaeu Benedicto 
escreveu:

> Rodrigo,
>
> Se prestar atenção no comando vc está colocando um filtro de origem e
> destino,
> 192.168.2.0 origem
> 192.168.3.0 destino
> Vc só vai pegar pacotes partindo do ip que vc está enviando os pings
> Para ver a resposta inverta as redes
>  #tcpdump -n src net 192.168.3.0/24  and dst net
> 192.168.2.0/24 
>
> Em 30/09/2016 20:08, "Rodrigo Cunha"  escreveu:
>
>> Olá srs, uma curiosidade, eu em minhas analise de laboratorio descobri
>> uma curiosidade do tcpdump e os pacotes icmp.
>> Fiz o teste onde eu pingava para o ip 192.168.2.9 do ip 192.168.2.3
>> e consegui dados dessa pesquisa com o tcpdump com o comando:
>>
>>  #tcpdump -n src net 192.168.2.0/24 and dst net 192.168.3.0/24
>>
>> Consegui dados dessa naturesa:
>> 19:57:22.079895 IP 192.168.2.3.33324 > 192.168.3.9.22: Flags [.], ack
>> 177, win 362, options [nop,nop,TS val 3527610 ecr 2704381], length 0
>> 19:57:22.080061 IP 192.168.2.3.33324 > 192.168.3.9.22: Flags [.], ack
>> 241, win 362, options [nop,nop,TS val 3527610 ecr 2704381], length 0
>>
>> Porém quando fiz o caminho inverso, do ip 192.168.3.9 para o ip
>> 192.168.2.3 com o mesmo comando:
>> tcpdump -n src net 192.168.2.0/24 and dst net 192.168.3.0/24
>> não recebi informações.
>>
>> Duvida:
>> Quando eu envio um sinal icmp para um host esse host não deveria enviar
>> uma resposta para quem solicitou o pacote.
>> Desenho para ficar facil de entender:
>>
>>
>> ​
>>
>>
>>
>>
>>
>> --
>> Atenciosamente,
>> Rodrigo da Silva Cunha
>>
>>


-- 
Atenciosamente,
Rodrigo da Silva Cunha


Re: Configuring Exim for mail delivery

2016-10-02 Thread Liam O'Toole
On 2016-10-02, Brian  wrote:
> On Sun 02 Oct 2016 at 21:41:50 +0900, Mark Fletcher wrote:
>
>> On Sun, Oct 02, 2016 at 12:52:44PM +0100, Brian wrote:
>> > 
>> > I have the same setup and all customisations (apart from hubbed_hosts)
>> > have been done via debconf. TBH, I cannot see why /etc/hosts should be
>> > consulted because I thought there is first a check for an MX record and
>> > then an attempt to resolve the host *using the DNS* if there was none.
>> > 
>> > Your instructions are clear so I can continue to try more customising
>> > via debconf.
>> > 
>> > mo appears to have had no more success than I have. Don't know about
>> > Mark.
>> > 
>> > -- 
>> > Brian 
>> > 
>> 
>> That's twice you've mentioned conf.d now, bear in mind in a 
>> defaults-accepting Debian installation of exim4, it's not used.
>
> It shouldn't make any difference whether the split configuration is used
> or not for what we are doing.
>
> A defaults-accepting installation would use "local delivery only; not on
> a network". Obviously this would not suit testing mail delivery to other
> machines on the LAN. It was at this first page I made my mistake!
>
> I chose "Internet site.." because that is the way I always send
> mail. No wonder I got "Unrouteable address". Was it clear that I should
> have used "mail sent by smarthost.." (Liam?)?. Mystery solved. I've
> not tested extensively but I can get mail to go to a user on another
> machine.

§2.1 of /usr/share/doc/exim4-base/README.Debian.html (from exim4-base)
provides some assistance.

>
> I'm not enamoured of this technique because it does not suit my mail
> setup. So I will stick with the more versatile hubbed_hosts.
>
> Thanks for all the clues.
>

At least your curiosity has been satisfied. :)

-- 

Liam



Re: Problems with upgrade from Wheezy to Jessie

2016-10-02 Thread Eike Lantzsch
On Sonntag, 2. Oktober 2016 17:59:48 PYST Hans Kraus wrote:
> Hi,
> 
> I upgraded my Debian server about a week ago from Wheezy to Jessie.
> After that the GUI stopped, I see only  the grey screen with the sad
> computer telling me " Oh no, Something is Wrong" and the only option is
> to log out.
> 
> I'm using Gnome as my desktop. I installed the package again with:
> apt-get install task-gnome-desktop
> I did not get any error message, but that didn't cure my problem.
> 
> Afterwards I tried: "dpkg --configure -a". Again, I didn't get any
> error message but  that didn't cure my problem.
> 
> I rebooted the system several times but with no avail.
> 
> Which info should I provide and/or where should I check my system for
> errors? The text based login via ssh (I use Putty from Win 8.1)
> functions without problems.
> 
> Kind regards, Hans

Never had this problem but
searching for "Oh no, Something is Wrong" with a hint of "Debian" or "Jessie" 
or "X Window" brings up the following:

https://bbs.archlinux.org/viewtopic.php?id=161310

https://ask.fedoraproject.org/en/question/69051/why-do-i-get-the-oh-no-something-has-gone-wrong-screen-when-using-the-fedora-22-live-dvd/

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/
1041790

Just my 2 cents ...



Re: [OT] Recuperar Datos de disco con Windows 10 y UEFI desde Linux.

2016-10-02 Thread Edwin De La Cruz

El 07/09/16 a las 18:38, Juan Lavieri escribió:

Hola.


El 07-09-2016 a las 06:31 p.m., Paynalton escribió:

Porqué no retiras el disco y lo conectas a otra compu para respaldar???
Hasta donde yo sé windows no encripta sus particiones y es sencillo
sacarle todos los datos.


Creo que esa sería la opción mas segura.

Sin embargo, si lo deseas, puedes intentar, con el bios en modo 
legacy, arrancar knoppix o ubuntu, a mi nunca me han fallado.




Si se resiste amenázalo con "format c:", con eso suelta todo lo que
tiene jajjajaa



Saludos.



Saludos cordiales.

Estimado, yo lo que acostumbro a hacer antes de trabajar con un disco es 
sacar una imagen, suelo usar ACRONIS.


Luego como ya te han mencionado, monto el disco en una maquina con 
Linux, normalmente lo monta sin problemas, buscas la carpteta USERS que 
tiene todos los datos del usuario a menos que los haya guardado en otra 
particion.


Si por ahi metes la pata y borrar algo o olvidas sacar respando de 
alguna carpeta particular, pues no hay problema, recreas la imagen 
sacada con ACRONIS en otro disco de igual o mayor capacidad y tienes 
todos los datos otra vez.


Normalmente me ha pasado que los disco con ntfs me ha  montado bien con 
la opcion -ro  en el comando mount.


Espero te haya sido de utilidad.



--
Edwin De La Cruz
Desarrollador de Software

Skype: edwinspire

Proyectos personales:
https://github.com/edwinspire



Re: Problems with upgrade from Wheezy to Jessie

2016-10-02 Thread brian
On Sun, 2 Oct 2016 17:59:48 +0200, Hans Kraus wrote:

>Hi,
>
>I upgraded my Debian server about a week ago from Wheezy to Jessie.
>After that the GUI stopped, I see only  the grey screen with the sad
>computer telling me " Oh no, Something is Wrong" and the only option is
>to log out.
>
>I'm using Gnome as my desktop. I installed the package again with:
>apt-get install task-gnome-desktop
>I did not get any error message, but that didn't cure my problem.
>
>Afterwards I tried: "dpkg --configure -a". Again, I didn't get any
>error message but  that didn't cure my problem.
>
>I rebooted the system several times but with no avail.
>
>Which info should I provide and/or where should I check my system for
>errors? The text based login via ssh (I use Putty from Win 8.1)
>functions without problems.
>

Sorry, Hans, not a solution, just a "Me too", My wife has an eMachines
PC bought from Wal-Mart, and each time I have tried to move her from
Wheezy to Jessie, the upgrade reports no errors, you can log in and
the GUI is there, but the moment you touch the mouse the screen breaks
up into a whole series of short horizontal lines, and there is no way
out of it but to reboot. This is totally reproducible, and I've seen
exactly the same effect with a recent Linux Mint (not LMDE, the
Ubuntu-based version) live disk. 

If anyone had this problem and managed to sort it, I'd be very
grateful for the solution, because at the moment my wife's PC is stuck
at Wheezy, and cannot be upgraded. 

Thanks, 

Brian. 



replaygain, soundkonverter, aac/m4a glitch

2016-10-02 Thread Seeker

The story so far. On Debian unstable.

Easymp3gain was removed from Debian unstable. Settling in on 
alternatives before I remove it from my system.


Not completely against using the different *gain tools from the command 
line, but would prefer GUI.


Tried QTGain https://sourceforge.net/projects/qtgain/
Apparently from the change log it had more of an interface, but went 
back to minimal with the port to QT5.


Initially had a not previously gained mp3 file to test. After letting 
QTGain do it's thing, something seemed a little odd when looking with 
easymp3gain, the replaygain tool in Soundkonverter, and Musicbrainz 
Picard to see what replaygain information they showed.


After adding, removing, adding, removing with no issues, went back to 
QTGain a second time and after using QTGain the second time, Easymp3gain 
showed the volume at 89, instead of volume '92' and track tag '-3'.


So QTGain is out.

Generally speaking I'm leaning toward using the replaygain tool in 
Soundkonverter, looked good from my initial testing with mp3, ripped 3 
CDs and used it for them so it looks good with vorbis audio.


Where the glitch comes in is with m4a files. The replay gain tool just 
shows question marks in the track and album gain fields. Tried checking 
the box to force recalculation then clicked the 'Tag Untagged' button, 
looked like it was behaving correctly and doing the 
calculation/recalculation, still shows question marks. Easymp3gain shows 
the gain has been set.


Next found a different album of m4a files, loaded them in Easymp3gain to 
verify the tags were there, loaded them in the replaygain tool and again 
it just showed question marks.


I did also post a message in the KDE forum asking if anybody else has 
seen this behavior


https://forum.kde.org/viewtopic.php?f=19=136507

As I write this there were 6 views, no replies.

Same question here, anybody else seeing this behavior?

Later, Seeker




Problems with upgrade from Wheezy to Jessie

2016-10-02 Thread Hans Kraus

Hi,

I upgraded my Debian server about a week ago from Wheezy to Jessie.
After that the GUI stopped, I see only  the grey screen with the sad
computer telling me " Oh no, Something is Wrong" and the only option is
to log out.

I'm using Gnome as my desktop. I installed the package again with:
apt-get install task-gnome-desktop
I did not get any error message, but that didn't cure my problem.

Afterwards I tried: "dpkg --configure -a". Again, I didn't get any
error message but  that didn't cure my problem.

I rebooted the system several times but with no avail.

Which info should I provide and/or where should I check my system for
errors? The text based login via ssh (I use Putty from Win 8.1)
functions without problems.

Kind regards, Hans



Re: Problems with upgrade from Wheezy to Jessie

2016-10-02 Thread Brian
On Sun 02 Oct 2016 at 17:59:48 +0200, Hans Kraus wrote:

> I upgraded my Debian server about a week ago from Wheezy to Jessie.
> After that the GUI stopped, I see only  the grey screen with the sad
> computer telling me " Oh no, Something is Wrong" and the only option is
> to log out.
> 
> I'm using Gnome as my desktop. I installed the package again with:
> apt-get install task-gnome-desktop
> I did not get any error message, but that didn't cure my problem.
> 
> Afterwards I tried: "dpkg --configure -a". Again, I didn't get any
> error message but  that didn't cure my problem.
> 
> I rebooted the system several times but with no avail.
> 
> Which info should I provide and/or where should I check my system for
> errors? The text based login via ssh (I use Putty from Win 8.1)
> functions without problems.

Difficult this. It doesn't look hardware related because X comes up and
you get what is known as the "fail whale" (and a most informative and
helpful message :) ).

Also difficult because what you had personally configured on Wheezy is
unknown. So we'll try a thing or two. No guarantees.

Disable logging in with gdm3 with

  systemctl set-default multi-user.target

You can reverse this with

  systemctl set-default graphical.target

Make sure you have xinit installed ('dpkg -l xinit') and reboot. Log in
and run 'startx'. Over to you.

-- 
Brian.

  




Re: Problems with upgrade from Wheezy to Jessie

2016-10-02 Thread err404
what is your hadware?
graphic card?
and did you have any drivers or firmware for this? like firmware free or 
non-free, or drivers for nvidia, or amd etc.



signature.asc
Description: OpenPGP digital signature


Re: Problems with upgrade from Wheezy to Jessie

2016-10-02 Thread Christian Seiler
On 10/02/2016 05:59 PM, Hans Kraus wrote:
> I upgraded my Debian server about a week ago from Wheezy to Jessie.
> After that the GUI stopped,

This is a bit vague, so a better explanation would be good. What
exactly do you mean "gui stopped"? Did that happen during the
update? Or at boot? Does the login screen show up? Does this
message show up after login?

> I see only  the grey screen with the sad
> computer telling me " Oh no, Something is Wrong" and the only option is
> to log out.

Could you transcribe the precise error message?

> I installed the package again with:
> apt-get install task-gnome-desktop
> I did not get any error message, but that didn't cure my problem.
> 
> Afterwards I tried: "dpkg --configure -a". Again, I didn't get any
> error message but  that didn't cure my problem.

That means your packages are in a state that dpkg assumes to be
consistent. However, since you upgraded recently, and apparently
still have access to your shell, could you tell us what the
contents of /etc/apt/sources.list is?

Regards,
Christian



Re: Problems with upgrade from Wheezy to Jessie

2016-10-02 Thread David Christensen
On 10/02/2016 08:59 AM, Hans Kraus wrote:
> I upgraded my Debian server about a week ago from Wheezy to Jessie.
> After that the GUI stopped, I see only  the grey screen with the sad
> computer telling me " Oh no, Something is Wrong" and the only option is
> to log out.
> 
> I'm using Gnome as my desktop. I installed the package again with:
> apt-get install task-gnome-desktop
> I did not get any error message, but that didn't cure my problem.
> 
> Afterwards I tried: "dpkg --configure -a". Again, I didn't get any
> error message but  that didn't cure my problem.
> 
> I rebooted the system several times but with no avail.
> 
> Which info should I provide and/or where should I check my system for
> errors? The text based login via ssh (I use Putty from Win 8.1)
> functions without problems.

Some people have computers upon which they have successfully performed
operating system in-place major version upgrades; some boast of several
such upgrades over many years.  I didn't have much success with this
early on, so I pursued the KISS approach instead.  I have invested in
learning and resources that allow me to do image, backup, archive, wipe,
install, configure, restore, migrate, test, commissioning, and cut-over
processes.


I find it helpful to:

1.  Have a dedicated hardware firewall/ router appliance.

2.  Have more than one computer, each dedicate to one purpose:

a.  File server.

b.  Backup, archive, and imaging.

c.  Workstation or laptop (one user each).

d.  Other, as needed.

3.  Use HDD/SSD mobile racks.

4.  Maintain a supply of spare parts, including a spare computer that
can substitute for any of #2.


It sounds like you have put yourself into a disaster recovery situation.
 I'd advise restoring the Wheezy server, building a fresh Jessie server,
migrating the services and data, testing thoroughly, and making a decision.


David



Re: replaygain, soundkonverter, aac/m4a glitch

2016-10-02 Thread Seeker
Am I the only one on the list listening to music off of my phone over 
bluetooth in the car or having some other reason to want normalized 
music playback? :O :)


On 10/2/2016 1:18 PM, Seeker wrote:



Where the glitch comes in is with m4a files. The replay gain tool
just shows question marks in the track and album gain fields. Tried
checking the box to force recalculation then clicked the 'Tag
Untagged' button, looked like it was behaving correctly and doing
the calculation/recalculation, still shows question marks.
Easymp3gain shows the gain has been set.

Next found a different album of m4a files, loaded them in Easymp3gain
to verify the tags were there, loaded them in the replaygain tool and
again it just showed question marks.

I did also post a message in the KDE forum asking if anybody else
has seen this behavior

https://forum.kde.org/viewtopic.php?f=19=136507

As I write this there were 6 views, no replies.

Same question here, anybody else seeing this behavior?



More information.

Found some m4a files that did not have replaygain tags.

Clicking 'tag untagged' then checking at the command line

aacgain -s c *

showed no replaygain data

returning to the replaygain tool, checking the box to for recalculation,
then clicking 'tag untagged'

aacgain -s c *

shows replaygain data.

Later, Seeker



Re: Recommendation: Backup system

2016-10-02 Thread Bob Weber
On 10/02/2016 08:50 AM, rhkra...@gmail.com wrote:
>> Am 01.10.2016 um 23:06 schrieb Bob Weber:
>>> Like I said backuppc uses incremental and full backups.  The web
>>> interface lets you browse any backup (inc or full) and you see all the
>>> files backed up.  I set the incremental for each day up to a week.  So I
>>> have up to 7 of them.  The full can kept for for however long you want.
>>> I currently keep 12 weekly, 8 bi-weekly and 4 monthly full backups so
>>> that covers almost a year.
> I am not the op, but backuppc sounded pretty nice, so yesterday I tried to 
> install it on both my Wheezy and Jessie systems.  It didn't work (with 
> different failures) on either system--I won't give much detail for now, but 
> I'd 
> just ask a few questions:
>
>* what system (what version of Debian) are you using?
>
>* should I expect that it will properly configure a web server (on the 
> Wheezy system it talked about apache2, iirc), or must I have a properly 
> configured web server before installing backuppc?
>
> Some cryptic notes on the failures:
>
> On wheezy, I thought the installation completed successfully--it ran 
> something 
> it called a script, and, in or after the script it gave me a url to log in to 
> manage backuppc along with a username and password.  When I tried to go to 
> that URL, using either http or https on either of my browsers, it gave me a 
> 404 error.
>
> On jessie, it apparently did not complete the installation, it told me it 
> could not run that initial script.
>
> Suggestions?
>
>

I am running stable 8.5 on my backup machine.  It is a 386 install.  Backuppc is
version backuppc/stable,now 3.3.0-2 i386 [installed]

It uses apache2 (dont know if it will use other web servers) and has put the
following in the apache  /etc/apache2/conf-enabled/backuppc.conf file:

Alias /backuppc /usr/share/backuppc/cgi-bin/


AllowOverride None
Allow from all

# Uncomment the line below to ensure that nobody can sniff importanti
# info from network traffic during editing of the BackupPC config or
# when browsing/restoring backups.
# Requires that you have your webserver set up for SSL (https) access.
#SSLRequireSSL

Options ExecCGI FollowSymlinks
AddHandler cgi-script .cgi
DirectoryIndex index.cgi

AuthUserFile /etc/backuppc/htpasswd
AuthType basic
AuthName "BackupPC admin"
require valid-user



So I would assume that there should be a working install of apache2 before
backuppc is installed.  The only install problem I remember (this was quite a
while ago) was that I wanted the backups put in a directory mounted on a
separate partition.  Even though there was a setting for the backup directory in
backuppc the directory is hard coded to  "/var/lib/backuppc" in some of the
installed backuppc programs.  So to use another location you have to symbolic
link /var/lib/backuppc to that directory before install (or mount the partition
on /var/lib/backuppc).  So if you want to use another directory delete
/var/lib/backuppc and make the link (link -s /var/lib/backuppc  /somewhere-else
  ormount /dev/sdxx /var/lib/backuppc).  Then run "apt-get install
--reinstall backuppc" and hopefully things will be setup correctly at that new
location.  Since I access the backup server on my local net I don't use https. 

I use rsync over ssh to connect to linux servers so the data transferred is over
a secure tunnel. So my backup of a remote vm is secure.  The backuppc user
should have public key that is placed in the authorized_keys file of the clients
that are to be backed up. http://backuppc.sourceforge.net/faq/ssh.html explains
this procedure.

Hope this helps.  I have run backuppc over 10 years at several locations where I
have worked and at home.  It just seems to run.

...Bob



Re: Install crashes at 50% during dual boot with windows 10

2016-10-02 Thread Henrique de Moraes Holschuh
On Sun, 02 Oct 2016, Debabrata Acharya wrote:

> Install crashes at 50% during dual boot with windows 10. What do I do?

1. Update the computer's BIOS/UEFI (check the "support" area of the
   website of your system's vendor or motherboard's vendor).
   
   Debian's install media CANNOT tolerate very outdated firmware on
   computers with Intel processors made in the last three years.

2. Ensure you are using a good install image from Debian 8.5 or 8.6.
   Download a new install image from http://cdimage.debian.org and
   *check* its checksum to ensure there were no download errors.

3. After the BIOS/UEFI update, try the install again with a known-good
   install media for Debian 8.5 or 8.6, and if the crash still hapens,
   give us a lot more detail of what exactly is happening.  Start with
   the exact model of your computer and CPU/processor, the version of
   Debian you are trying to install, when and how it crashed (** in
   detail **), etc...

-- 
  Henrique Holschuh



Re: Problems with upgrade from Wheezy to Jessie

2016-10-02 Thread Patrick Bartek
On Sun, 2 Oct 2016 17:59:48 +0200 Hans Kraus 
wrote:

> Hi,
> 
> I upgraded my Debian server about a week ago from Wheezy to Jessie.

What exactly did you do to "upgrade?"  Did you read the Jessie Release
Notes regarding distribution upgrading?

B



Re: Curiosidade : Rede Pacotes ICMP(Ping) e TCPDUMP

2016-10-02 Thread Jefferson Luiz

Olá,


Faça o tcpdump sem colocar as opções de origem e destino, conforme abaixo:


tcpdump -n net 192.168.3.0/24 and net 
192.168.2.0/24



De: Rodrigo Cunha 
Enviado: domingo, 2 de outubro de 2016 18:04
Para: Rafhaeu Benedicto
Cc: Debian-User
Assunto: Re: Curiosidade : Rede Pacotes ICMP(Ping) e TCPDUMP

Correto Benedito, mas a resposta q a origem envia ao destino deveria ser 
apresentada.
Digo, se eu faço um ping para o ip da rede 
192.168.2.0/24 para um ip da rede 
192.168.3.0/24 o host da rede 192.168.2.0 tem que 
responder, e esse pacote de resposta eu não consigo capturar no tcpdump, 
acredito que seja um erro no output do software para o stdout do linux...
é uma hipotese.


Em 1 de outubro de 2016 08:55, Rafhaeu Benedicto 
> escreveu:

Rodrigo,

Se prestar atenção no comando vc está colocando um filtro de origem e destino,
192.168.2.0 origem
192.168.3.0 destino
Vc só vai pegar pacotes partindo do ip que vc está enviando os pings
Para ver a resposta inverta as redes
 #tcpdump -n src net 192.168.3.0/24 and dst net 
192.168.2.0/24

Em 30/09/2016 20:08, "Rodrigo Cunha" 
> escreveu:
Olá srs, uma curiosidade, eu em minhas analise de laboratorio descobri uma 
curiosidade do tcpdump e os pacotes icmp.
Fiz o teste onde eu pingava para o ip 192.168.2.9 do ip 192.168.2.3
e consegui dados dessa pesquisa com o tcpdump com o comando:

 #tcpdump -n src net 192.168.2.0/24 and dst net 
192.168.3.0/24

Consegui dados dessa naturesa:
19:57:22.079895 IP 192.168.2.3.33324 > 192.168.3.9.22: Flags [.], ack 177, win 
362, options [nop,nop,TS val 3527610 ecr 2704381], length 0
19:57:22.080061 IP 192.168.2.3.33324 > 192.168.3.9.22: Flags [.], ack 241, win 
362, options [nop,nop,TS val 3527610 ecr 2704381], length 0

Porém quando fiz o caminho inverso, do ip 192.168.3.9 para o ip 192.168.2.3 com 
o mesmo comando:
tcpdump -n src net 192.168.2.0/24 and dst net 
192.168.3.0/24
não recebi informações.

Duvida:
Quando eu envio um sinal icmp para um host esse host não deveria enviar uma 
resposta para quem solicitou o pacote.
Desenho para ficar facil de entender:

[cid:ii_itqdqjli0_1577d5a0a2fb32f7]






--
Atenciosamente,
Rodrigo da Silva Cunha




--
Atenciosamente,
Rodrigo da Silva Cunha



Re: Mutt and monthly delete old messages

2016-10-02 Thread Jochen Spieker
Mark Fletcher:
> 
> So I was thinking of implementing a policy of deleting messages from 
> this mail folder on my PC (the one Mutt is looking at) on a say monthly 
> basis.

If you prefer a mutt-only solution (without archivemail) you could also
use a hook to mark all mails older than 30 days for deletion whenever
you open the corresponding mailbox.

Untested, adapt "debian" to match your mailbox name:

folder-hook =debian  'push  " ~d>30d\n"'

Mutt will then mark older messages for deletion when you enter the
mailbox and ask for confirmation when you quit mutt, change to a
different mailbox or press '$'.

J.
-- 
I am not scared of death but terrified of people in Tommy Hilfiger
sweatshirts.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Problems with upgrade from Wheezy to Jessie

2016-10-02 Thread Felix Miata

brian composed on 2016-10-02 14:23 (UTC-0400):


On Sun, 2 Oct 2016 19:29:12 +0200, err...@free.fr wrote:



what is your hadware?
graphic card?
and did you have any drivers or firmware for this? like firmware free or 
non-free, or drivers for nvidia, or amd etc.



It's an eMachines desktop which was originally supplied with Windows
7. I wiped Windows and loaded on Wheezy from a live DVD. The CPU is an
Athlon II x2 220 @ 800 MHz. The graphics (on the motherboard) is a
GeForce 6150 SE nForce 430 rev a2.


This has been a problematic gfxchip for more than one user over the years. 
Try adding this to the kernel cmdline:


nouveau.config=NvMSI=0

I have a machine with the same gfxchip on its motherboard,
https://us.msi.com/Motherboard/K9N6PGM2V.html
but currently it doesn't have any Debian installed on it to check which if 
any releases are helped by it. It does have openSUSE 13.1 (kernel 3.12, 
server 1.14.3), 13.2 (kernel 3.16, server 1.16.1), 42.1 (kernel 4.1, server 
1.17.2) and Tumbleweed (kernel 4.7.4, server 1.18.4) installed. All four 
suffer random brief video corruption running X. Tumbleweed seems to have 
almost eliminated the corruption that is excessive and unacceptable in the 
others. IIRC, last Debian tried on it was Wheezy with Gnome or Mate or 
Cinnamon, and too much trouble or impossible at that time to actually use X.


Something else to try is ensuring xserver-xorg-video-modesetting is 
installed, then purging xserver-xorg-video-nouveau and all traces of NVidia's 
proprietary driver bits. The modesetting driver has been getting quite some 
attention from the devs:

http://www.phoronix.com/scan.php?page=news_item=Ubuntu-Debian-Abandon-Intel-DDX

The original owner of this motherboard suffered to the extent he installed a 
PCI gfxcard as a workaround when the motherboard was rather young. I got the 
motherboard free when when he bought a new one that I installed after its 
original RAM went bad.



Looking at the output from a
dpkg -l there's no mention of any of the packages you list above. When
I installed Wheezy for my wife, I basically just accepted defaults, so
anything which has been loaded was loaded by the installer.



I can send you the full output from dpkg -l if you wish, just ask.

--
"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: Recommendation: Backup system

2016-10-02 Thread mo



Am 02.10.2016 um 02:47 schrieb Dan Purgert:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

mo wrote:

Maybe this is a little OT, but what kind of backup strategy would you
guys recommend? (Any advice Gene? :) )


If it *must* survive, 3-2-1 is the way to go.

3 copies (Original, Backup, and Backup of the Backup)
2 different media types (such as HDD(Orig) + HDD(Bk1) + Optical(Bk2))
1 stored offsite


Except for the offsite storage (Just for my private data) this sounds 
perfect for my needs. Good thing is that i have two free HDD's here with 
2TB each, so this would work ;)



That being said, most of my stuff isn't of the "absolutely must survive"
nature, so I just have it on external HDDs.  If something is
particularly important, it's on HDDs and also somewhere like google
drive / dropbox (although, encrypted when at those places).


I currently use dropbox myself to store my conf files (gzipped and then 
encrypted with aes) in case something bad should ever happen to my NAS, 
so that i can at least restore my servers quickly ;)


One question Dan: What do u use to encrypt your files? also openssl?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJX8FjGAAoJEI4R3fMSeaKBX9gH/i6qw2GOY/LSE5haz8uv6u/X
GNT6m44c6olrnzGtKFzEPae3ELTTAT/t47yet2noAR+AS9aJzhtR86l3JfQfu4ug
0XplxY/GkkrEpIeMFrqKy2hc3u++PoEHEBkQut46x6QAw/85ieKs2tsbmfeyUuF7
y5gFbGlowcy3NtSdGIMR6qzn67I+DaO2veTMV3Z+/aR+fAegZtvv/t3CCi1dsmRW
kEWIuPyGR//Foy/vkQsakpHJnl9AvJREB5/T+zRX3pkBXKkzQrIfe80eJYAm5Z8w
rhvZc9lLbO/bVcSvLwRKqYtDmWRY4AeVrqmCitiuXf54KjwZY5Lh16LVq+KfCiQ=
=YzZ4
-END PGP SIGNATURE-



Greets

mo



Re: Xfce: Apply keyboard settings on USB plug

2016-10-02 Thread Nicolas George
Le primidi 11 vendémiaire, an CCXXV, Florian Weimer a écrit :
> I'm using the Xfce desktop environment on Debian jessie.  The keyboard
> is plugged into a KVM switch which issues a USB disconnect if I switch
> to another machine.  Once I switch back, the USB connection comes back
> again, but the keyboard settings are gone.  This affects both the
> changes in keyboard repeat/delay I configured within Xfce, and the
> modmap I set with Xmodmap on session start.
> 
> Is there are simple solution to restore the keyboard settings, one
> which is less hackish than watching for USB-related messages in dmesg?

I had the same problem with the keyboard on the sleeve of a hybrid
laptop/tablet, and I wrote the following program:

http://nsup.org/~george/comp/misc/xi2watch.c

It watches for XInput 2 events and executes a given command with the events
details in the environment.

Regards,

-- 
  Nicolas George



Re: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!

2016-10-02 Thread Fabrizio Carrai
Felix is right, indeed here ".chromebook" would indicates the DOMAIN and
not the name of the HOST.
But if you don't expect to use the chromebook in a network with a managed
domain, maybe you will not have particular problem. Indeed I never thought
to use a "." with the hostname command...

Byung-Hee, if you want to sleep quite and for you it is not very important
I would suggest to use "alex-chromebook" or any other name with no dot in.

Happy to have helped you

Fabrizio


2016-10-02 8:54 GMT+02:00 Byung-Hee HWANG (황병희, 黃炳熙) :

> Fabrizio Carrai  께서 쓰시길,
>  《記事 全文
>  
>  에서》:
>
> > The is no "hostname" service to start
> >
> > Please, try:
> >
> > sudo hostname "alex.chromebook"
> >
> > and verify with
> >
> > hostname
>
> (precise)soyeomul@localhost:~$ sudo hostname "alex.chromebook"
> [sudo] password for soyeomul:
> (precise)soyeomul@localhost:~$ hostname
> alex.chromebook
> (precise)soyeomul@localhost:~$
>
> Thanks, Fabrizio!
>
> And ...
>
> > Else, reports here the content of /etc/resolv.conf/ and /etc/hosts
>
> (precise)soyeomul@localhost:~$ cat /etc/resolv.conf
> nameserver 210.220.163.82
> nameserver 219.250.36.130
> options single-request timeout:1 attempts:5
> (precise)soyeomul@localhost:~$
>
> (precise)soyeomul@localhost:~$ cat /etc/hosts
> 127.0.0.1   localhost
> ::1 localhost ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
> (precise)soyeomul@localhost:~$
>
> Really i should be stick hostname to "alex.chromebook".
>
> Thank You! Thank You! Thank You!
>
> --
> ^고맙습니다 _地平天成_ 감사합니다_^))//
>
>


-- 
*Fabrizio*


Video issues with Intel GMA X3500

2016-10-02 Thread Rainer Dorsch
Hi,

since a few weeks, I see issues on my Intel G35 chipset which includes an Intel 
GMA X3500 and Jessie. It might be a regression of a recent security update, 
since I am not aware of any changes on the system which could have this kind of 
impact (and an imagemagick security update caused an unrelated regression 
recently on my system)

I see firefox sometimes crashing, vlc has issues and even glxgears crashes 
(though this seems to be account specific).

I think these are all i965 issues:

blackbox:~# dmesg |grep i965
[  307.109334] vlc[4048]: segfault at 1a4 ip ad4fbac5 sp af5e0d20 error 4 in 
i965_dri.so[ad1a1000+5aa000]
[  346.700733] vlc[4156]: segfault at 1a4 ip acbb8ac5 sp ad20ad20 error 4 in 
i965_dri.so[ac85e000+5aa000]
[  363.487880] vlc[4187]: segfault at 1a4 ip ace9fac5 sp ae7cfd20 error 4 in 
i965_dri.so[acb45000+5aa000]
[  800.019953] vlc[5178]: segfault at 1a4 ip acb62ac5 sp ad1c2d20 error 4 in 
i965_dri.so[ac808000+5aa000]
[  808.69] vlc[5203]: segfault at 1a4 ip ace8aac5 sp ad2ccd20 error 4 in 
i965_dri.so[acb3+5aa000]
[ 1140.755863] vlc[6095]: segfault at 1a4 ip aceb1ac5 sp ad2f3d20 error 4 in 
i965_dri.so[acb57000+5aa000]
[ 1162.505685] vlc[6165]: segfault at 1a4 ip ace5eac5 sp ad4bdd20 error 4 in 
i965_dri.so[acb04000+5aa000]
[ 1408.258640] vlc[6561]: segfault at 1a4 ip acdfeac5 sp ad4f1d20 error 4 in 
i965_dri.so[acaa4000+5aa000]
[ 1429.558244] vlc[6601]: segfault at 1a4 ip acef1ac5 sp ae856d20 error 4 in 
i965_dri.so[acb97000+5aa000]
[ 1531.107137] vlc[6921]: segfault at 1a4 ip acd99ac5 sp ad48cd20 error 4 in 
i965_dri.so[aca3f000+5aa000]
[ 1566.742526] vlc[6998]: segfault at 1a4 ip ad4c6ac5 sp af8fdd20 error 4 in 
i965_dri.so[ad16c000+5aa000]
[ 2008.741584] vlc[8034]: segfault at 1a4 ip ad8fcac5 sp afd8ed20 error 4 in 
i965_dri.so[ad5a2000+5aa000]
[ 2310.052161] vlc[8557]: segfault at 1a4 ip ace6cac5 sp ad55fd20 error 4 in 
i965_dri.so[acb12000+5aa000]
[ 3991.009902] vlc[8210]: segfault at 1a4 ip ad79eac5 sp b00e0d20 error 4 in 
i965_dri.so[ad444000+5aa000]
[ 4002.415664] vlc[8237]: segfault at 1a4 ip ad902ac5 sp ad50bd20 error 4 in 
i965_dri.so[ad5a8000+5aa000]
[ 4059.571327] vlc[8326]: segfault at 1a4 ip a89a1ac5 sp b060ad20 error 4 in 
i965_dri.so[a8647000+5aa000]
[ 4726.095805] glxgears[10242]: segfault at 1a4 ip b6d08ac5 sp bf896250 error 4 
in i965_dri.so[b69ae000+5aa000]
[ 4733.556073] glxgears[10252]: segfault at 1a4 ip b6d1eac5 sp bfbe2e20 error 4 
in i965_dri.so[b69c4000+5aa000]
[ 4749.267757] glxgears[10278]: segfault at 1a4 ip b6d47ac5 sp bf834770 error 4 
in i965_dri.so[b69ed000+5aa000]
[ 5697.247202] glxgears[13248]: segfault at 1a4 ip b6d50ac5 sp bfeff060 error 4 
in i965_dri.so[b69f6000+5aa000]
blackbox:~# 


Since glxgears seems to be the simplest application, I start to look into this: 
backtrace from glxgears:

(gdb) run
Starting program: /usr/bin/glxgears 
[Thread debugging using libthread_db enabled]
Using host libthread_db library 
"/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.

Program received signal SIGSEGV, Segmentation fault.
0xb7578ac5 in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
(gdb) bt
#0  0xb7578ac5 in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
#1  0xb7528a29 in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
#2  0xb725899d in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
#3  0x08049f2d in ?? ()
#4  0x080496d4 in ?? ()
#5  0xb7ad8a63 in __libc_start_main (main=0x80491d0, argc=1, argv=0xb214, 
init=0x804b2b0, fini=0x804b320, rtld_fini=0xb7fedc50 <_dl_fini>, 
stack_end=0xb20c) at libc-start.c:287
#6  0x08049d1c in ?? ()
(gdb) 


The standard packages from Jessie are installed

rd@blackbox:~/tmp.nobackup$ apt-cache policy intel-gpu-tools
intel-gpu-tools:
  Installed: 1.8-1
  Candidate: 1.8-1
  Version table:
 1.16-1 0
400 http://ftp-stud.fht-esslingen.de/debian/ stretch/main i386 Packages
300 http://ftp-stud.fht-esslingen.de/debian/ sid/main i386 Packages
 1.16-1~bpo8+1 0
450 http://ftp-stud.fht-esslingen.de/debian/ jessie-backports/main i386 
Packages
 *** 1.8-1 0
500 http://ftp-stud.fht-esslingen.de/debian/ jessie/main i386 Packages
500 http://snapshot.debian.org/archive/debian/20160901T042215Z/ 
jessie/main i386 Packages
100 /var/lib/dpkg/status
rd@blackbox:~/tmp.nobackup$ apt-cache policy xserver-xorg-video-intel
xserver-xorg-video-intel:
  Installed: 2:2.21.15-2+b2
  Candidate: 2:2.21.15-2+b2
  Version table:
 2:2.99.917+git20160706-1 0
400 http://ftp-stud.fht-esslingen.de/debian/ stretch/main i386 Packages
300 http://ftp-stud.fht-esslingen.de/debian/ sid/main i386 Packages
 2:2.99.917+git20160706-1~bpo8+1 0
450 http://ftp-stud.fht-esslingen.de/debian/ jessie-backports/main i386 
Packages
 *** 2:2.21.15-2+b2 0
500 http://ftp-stud.fht-esslingen.de/debian/ jessie/main i386 Packages
   

Xfce: Apply keyboard settings on USB plug

2016-10-02 Thread Florian Weimer
I'm using the Xfce desktop environment on Debian jessie.  The keyboard
is plugged into a KVM switch which issues a USB disconnect if I switch
to another machine.  Once I switch back, the USB connection comes back
again, but the keyboard settings are gone.  This affects both the
changes in keyboard repeat/delay I configured within Xfce, and the
modmap I set with Xmodmap on session start.

Is there are simple solution to restore the keyboard settings, one
which is less hackish than watching for USB-related messages in dmesg?



Re: Configuring Exim for mail delivery

2016-10-02 Thread mo



Am 02.10.2016 um 00:22 schrieb Brian:

On Sat 01 Oct 2016 at 22:47:27 +0200, mo wrote:


Am 01.10.2016 um 20:17 schrieb Brian:

On Sat 01 Oct 2016 at 17:25:46 +0100, Liam O'Toole wrote:


On 2016-10-01, mo  wrote:

First of all:
Thank you Liam for your help! :)
Thanks for the very nice and long explanation Mark! :)

I think i should elaborate a little more on my setup.. i guess i did not
make that very clear in the first place, sorry about that.

My network is consisting of the following systems:

Main PC - 192.168.23.11  (Running Debian Jessie)
Server  - 192.168.23.200 (Running Debian Jessie)

The server is always online, the PC is only half of the day on.

What i want to do now is the following:

Sending mail from my Main PC to my Server and also the other way around,

>from the Server to my Main PC.

The Server should also be able to send mail to the "outside" (Meaning to
other SMTP servers).
The second requirement is optional since i dont own a domain and all
this is sitting locally at my home. The most important thing for me is
to send and receive mail from both systems in my home network.
I hope this made my problem a little clearer :)

I'm a little ashamed to say that, but i could not totally follow your
explanations Mark... I'm quite a newbie when it comes to SMTP.. sorry :(

Thanks again for all your help ;)

Greets

mo




I should have been a little clearer myself. You don't need to register a
domain name. Just invent your own domain name for local purposes. Let's
say you choose the domain name "monet", and that you have already given
the hostnames "desktop" and "server" to your two machines. Then you
would edit the file /etc/hosts on both machines to contain the following
lines:

192.168.23.11 desktop.monet desktop
192.168.23.200 server.monet server


I did that on gnome and desktop with appropriate changes:

   192.168.7.20 desktop.monet desktop
   192.168.7.67 gnome.monet gnome


Now you only need to tell exim4 on the server that it is the final
destination for emails to *.monet, again using the debconf wizard. You
will then be able to send emails to local addresses, while emails to all
other domains will go through your ISP's smarthost.


I did that on gnome and desktop.


Incidently, you can also tell exim4 on the desktop to use the server as
its smarthost.

I realise that you're getting lots of (sometimes contradictory)
information from various sources. The barebones configuration I have
described above has served me well for several years.


All commands are issued from gnome.

 brian@gnome:~# ping -c3 desktop
 PING desktop.monet (192.168.7.20) 56(84) bytes of data.
 64 bytes from desktop.monet (192.168.7.20): icmp_seq=1 ttl=64 time=0.267 ms
 64 bytes from desktop.monet (192.168.7.20): icmp_seq=2 ttl=64 time=0.255 ms
 64 bytes from desktop.monet (192.168.7.20): icmp_seq=3 ttl=64 time=0.269 ms

 --- desktop.monet ping statistics ---
 3 packets transmitted, 3 received, 0% packet loss, time 2001ms
 rtt min/avg/max/mdev = 0.255/0.263/0.269/0.019 ms

 brian@gnome:~# ping -c3 desktop.monet
 PING desktop.monet (192.168.7.20) 56(84) bytes of data.
 64 bytes from desktop.monet (192.168.7.20): icmp_seq=1 ttl=64 time=0.264 ms
 64 bytes from desktop.monet (192.168.7.20): icmp_seq=2 ttl=64 time=0.255 ms
 64 bytes from desktop.monet (192.168.7.20): icmp_seq=3 ttl=64 time=0.255 ms

 --- desktop.monet ping statistics ---
 3 packets transmitted, 3 received, 0% packet loss, time 2002ms
 rtt min/avg/max/mdev = 0.255/0.258/0.264/0.004 ms

We expect that result because ping uses files in /etc/nsswitch.

 root@gnome:~# exim -bt brian@desktop
 R: dnslookup for brian@desktop
 brian@desktop is undeliverable: Unrouteable address

 root@gnome:~# exim -bt brian@desktop.monet
 R: dnslookup for brian@desktop.monet
 brian@desktop.monet is undeliverable: Unrouteable address

Am I the only one who gets this? No capability to deliver mail to
desktop. What am I doing wrong?



I think this is the problem with exim calling DNS on the given hostname...
which is doomed to fail. To get it working you need to create the
hubbed_hosts file and set your aliases in there, for example:
192.168.7.20: desktop

Then it should work fine, at least for me it did.

Hope this helps :)


Not really, I'm afraid.

We all know a hubbed_hosts file works. Mark Fletcher has written
extensively about it and I have said a thing or too also. What I want to
know is why following the advice from Liam O'Toole doesn't work for me,
even though I have followed the instructions exactly.

BTW: It would be 'desktop: 192.168.7.20' and 'desktop.monet:192.168.7.20'
in hubbed_hosts.


Ah yeah, right, i mixed the syntax up, sorry about that.



Re: Recommendation: Backup system

2016-10-02 Thread mo



Am 01.10.2016 um 23:06 schrieb Bob Weber:

Like I said backuppc uses incremental and full backups.  The web
interface lets you browse any backup (inc or full) and you see all the
files backed up.  I set the incremental for each day up to a week.  So I
have up to 7 of them.  The full can kept for for however long you want.
I currently keep 12 weekly, 8 bi-weekly and 4 monthly full backups so
that covers almost a year.


That would serve my needs well also :) (For the moment it is just my 
private data - But either way, data should always be backed up ;) )

Thanks for the info ;)


There is another solution you might like called rsnapshot.  I use it to
backup just my root directory on my desktop before I do updates.  That
way if something goes wrong I can boot into a rescue cd and restore the
system to the state before the update.  I just can't afford to have my
desktop to break.  rsnapshot uses rsync so it can backup any computer
that has rsync.  It uses hard links so duplicate files are only stored
once.  You specify how many backups you want to keep and rsnapshot
deletes older ones over that max before adding the new one.  That way
you always have backups (assuming you set the count greater that 1) that
will be there even if there is a transfer error.  This is similar to
your script but is very versatile.


I heard about it but never used it so far, i should give that a try for 
sure :)




*...Bob*
On 10/01/2016 04:42 PM, mo wrote:

Maybe this is a little OT, but what kind of backup strategy would you
guys recommend? (Any advice Gene? :) )






Greets

mo



Re: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!

2016-10-02 Thread Felix Miata

Byung-Hee HWANG (황병희, 黃炳熙) composed on 2016-10-02 15:06 (UTC+0900):


Hello, Debian people!



I love my Chromebook. Via Crouton, i did install Ubuntu ( the internal
is Debian Wheezy, i guess).



(precise)soyeomul@localhost:/etc$ cat os-release
NAME="Ubuntu"
VERSION="12.04.5 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.5 LTS)"
VERSION_ID="12.04"



(precise)soyeomul@localhost:/etc$ cat debian_version
wheezy/sid
(precise)soyeomul@localhost:/etc$



By the way i cannot change hostname, i tried with followed link
[http://askubuntu.com/questions/9540/how-do-i-change-the-computer-name].



By sudo command, i edited /etc/hostname to "alex.chromebook". And i did
reboot[`/sbin/reboot']. But there is no change. Always the hostname is
"localhost".



Any comments Welcome!!! because i am going to be crazy T.T



I Want To "alex.chromebook" as hostname.


That's illegal. From http://www.rfc-base.org/txt/rfc-952.txt :

   1. A "name" (Net, Host, Gateway, or Domain name) is a text string up
   to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus
   sign (-), and period (.).  Note that periods are only allowed when
   they serve to delimit components of "domain style names".
--
"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: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!

2016-10-02 Thread Fabrizio Carrai
The is no "hostname" service to start

Please, try:

sudo hostname "alex.chromebook"

and verify with

hostname

Else, reports here the content of /etc/resolv.conf/ and /etc/hosts

Ciao
F.

2016-10-02 8:22 GMT+02:00 Byung-Hee HWANG (황병희, 黃炳熙) :

> "Byung-Hee HWANG "(황병희, 黃炳熙)""  께서 쓰시길,
>  《記事 全文  에서》:
>
> > Hello, Debian people!
> >
> > I love my Chromebook. Via Crouton, i did install Ubuntu ( the internal
> > is Debian Wheezy, i guess).
> >
> > (precise)soyeomul@localhost:/etc$ cat os-release
> > NAME="Ubuntu"
> > VERSION="12.04.5 LTS, Precise Pangolin"
> > ID=ubuntu
> > ID_LIKE=debian
> > PRETTY_NAME="Ubuntu precise (12.04.5 LTS)"
> > VERSION_ID="12.04"
> >
> > (precise)soyeomul@localhost:/etc$ cat debian_version
> > wheezy/sid
> > (precise)soyeomul@localhost:/etc$
> >
> > By the way i cannot change hostname, i tried with followed link
> > [http://askubuntu.com/questions/9540/how-do-i-change-the-computer-name].
> >
> > By sudo command, i edited /etc/hostname to "alex.chromebook". And i did
> > reboot[`/sbin/reboot']. But there is no change. Always the hostname is
> > "localhost".
> >
> > Any comments Welcome!!! because i am going to be crazy T.T
> >
> > I Want To "alex.chromebook" as hostname.
>
> Also, i tried another way.
>
> (precise)soyeomul@localhost:~$ cat /etc/hostname
> alex.chromebook
> (precise)soyeomul@localhost:~$ sudo service hostname restart
> stop: Unknown job: hostname
> start: Unknown job: hostname
> (precise)soyeomul@localhost:~$
>
> But failed.
>
> --
> ^고맙습니다 _地平天成_ 감사합니다_^))//
>
>


-- 
*Fabrizio*


Re: Recommendation: Backup system

2016-10-02 Thread Dan Purgert
mo wrote:
> Am 02.10.2016 um 02:47 schrieb Dan Purgert:
>> mo wrote:
>>> Maybe this is a little OT, but what kind of backup strategy would you
>>> guys recommend? (Any advice Gene? :) )
>>
>> If it *must* survive, 3-2-1 is the way to go.
>>
>> 3 copies (Original, Backup, and Backup of the Backup)
>> 2 different media types (such as HDD(Orig) + HDD(Bk1) + Optical(Bk2))
>> 1 stored offsite
>
> Except for the offsite storage (Just for my private data) this sounds 
> perfect for my needs. Good thing is that i have two free HDD's here with 
> 2TB each, so this would work ;)

Yeah, I don't have a spare copy offsite either -- but I don't
(currently) have any electronic data that would be absolutely
devastating if I lost it.  If / when I have kids or something, then baby
pics among other things will likely have that status.

> [snip]
> One question Dan: What do u use to encrypt your files? also openssl?

I just use PGP.

-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



Re: Configuring Exim for mail delivery

2016-10-02 Thread Liam O'Toole
On 2016-10-02, Mark Fletcher  wrote:
> On Sat, Oct 01, 2016 at 11:22:06PM +0100, Brian wrote:
>> 
>> We all know a hubbed_hosts file works. Mark Fletcher has written
>> extensively about it and I have said a thing or too also. What I want to
>> know is why following the advice from Liam O'Toole doesn't work for me,
>> even though I have followed the instructions exactly.
>> 
>
> I think Liam is describing a situation where the only mail-capable 
> machine is the server, in your example gnome.monet. He configured it to 
> be the end-point for *.monet. But for mo's original use-case, gnome 
> should only be the end-point for gnome.monet and desktop should be the 
> end-point for desktop.monet. Then, if gnome.monet gets handed a mail for 
> desktop.monet, it doesn't try to deliver it, but instead tries to pass 
> it on, and that's when you need hubbed_hosts populated so it can find 
> desktop.monet to pass it on to.
>
> So Liam has consistently been describing a solution that, while 
> perfectly valid, is the solution to a slightly different problem than 
> the one mo originally asked about.
>
> Mark
>
>

My setup is more or less as you describe. The only difference is that
all machines are mail capable and use the local server as their
smarthost, while the server in turn uses an external smarthost.

Brian seems to be experiencing a more fundamental issue, where exim
refuses to resolve domain names in the expected manner. That one has me
stumped.

-- 

Liam



Re: Configuring Exim for mail delivery

2016-10-02 Thread Brian
[Some snipping. Not too much, I hope].

On Sun 02 Oct 2016 at 01:05:20 +0100, Liam O'Toole wrote:

> On 2016-10-01, Brian  wrote:
> >
> > Exim's default behaviour, as has been mentioned a couple of times in
> > this thread, is to use DNS; nsswitch is not involved.
> 
> Doing an strace on the exim command shows that /etc/nsswitch is
> consulted first, then /etc/resolv.conf (followed by a DNS lookup of the
> smarthost).

This is what I cannot get round. I'm prepared to accept that my
understanding may be defective but when I see "driver = dnslookup" in
router/200_exim4-config_primary it fits what I observe. Which is why I
use a hubbed_hosts file to manually route mail to machines on the LAN.

> > This is a default
> > exim install; no files in conf.d altered. How about you?
> 
> No alterations I can remember, and 'dpkg --verify' reports no changes to
> exim4-related files. All customisations have been done via debconf. I am
> reluctant to divulge those customisations here, but I can tell you that
> the settings are not particularly exotic. One host on the local network
> is configured to use my ISP's SMTP server as its smarthost, while the
> other hosts in turn use the former as their smarthost.

I have the same setup and all customisations (apart from hubbed_hosts)
have been done via debconf. TBH, I cannot see why /etc/hosts should be
consulted because I thought there is first a check for an MX record and
then an attempt to resolve the host *using the DNS* if there was none.

Your instructions are clear so I can continue to try more customising
via debconf.

mo appears to have had no more success than I have. Don't know about
Mark.

-- 
Brian 



Re: Install crashes at 50% during dual boot with windows 10

2016-10-02 Thread Eike Lantzsch
On Sonntag, 2. Oktober 2016 17:42:09 PYST Debabrata Acharya wrote:
> Install crashes at 50% during dual boot with windows 10. What do I do?
Give a detailed report of your setup (software versions etc), what you 
intended to do, what you did and of all messages and error messages.
Then you might find help...
HTH
Eike
-- 
Eike Lantzsch ZP6CGE



Re: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!

2016-10-02 Thread Gene Heskett
On Sunday 02 October 2016 02:06:44 Byung-Hee HWANG (황병희, 黃炳熙) wrote:

> Hello, Debian people!
>
> I love my Chromebook. Via Crouton, i did install Ubuntu ( the internal
> is Debian Wheezy, i guess).
>
> (precise)soyeomul@localhost:/etc$ cat os-release
> NAME="Ubuntu"
> VERSION="12.04.5 LTS, Precise Pangolin"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu precise (12.04.5 LTS)"
> VERSION_ID="12.04"
>
> (precise)soyeomul@localhost:/etc$ cat debian_version
> wheezy/sid
> (precise)soyeomul@localhost:/etc$
>
> By the way i cannot change hostname, i tried with followed link
> [http://askubuntu.com/questions/9540/how-do-i-change-the-computer-name
>].
>
> By sudo command, i edited /etc/hostname to "alex.chromebook". And i
> did reboot[`/sbin/reboot']. But there is no change. Always the
> hostname is "localhost".
>
> Any comments Welcome!!! because i am going to be crazy T.T
>
> I Want To "alex.chromebook" as hostname.

The hostname command is both a query tool, and a name setter.  "man 
hostname" is your friend.  You'll probably be asked for your passwd, or 
need to become root somehow. On the *buntu's try sudo hostname.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Recommendation: Backup system

2016-10-02 Thread mo



Am 02.10.2016 um 12:55 schrieb Dan Purgert:

mo wrote:

Am 02.10.2016 um 02:47 schrieb Dan Purgert:

mo wrote:

Maybe this is a little OT, but what kind of backup strategy would you
guys recommend? (Any advice Gene? :) )


If it *must* survive, 3-2-1 is the way to go.

3 copies (Original, Backup, and Backup of the Backup)
2 different media types (such as HDD(Orig) + HDD(Bk1) + Optical(Bk2))
1 stored offsite


Except for the offsite storage (Just for my private data) this sounds
perfect for my needs. Good thing is that i have two free HDD's here with
2TB each, so this would work ;)


Yeah, I don't have a spare copy offsite either -- but I don't
(currently) have any electronic data that would be absolutely
devastating if I lost it.  If / when I have kids or something, then baby
pics among other things will likely have that status.


But i guess i should consider it, loosing all the data is quite hard 
(Had that a while ago).



[snip]
One question Dan: What do u use to encrypt your files? also openssl?


I just use PGP.



I need to delve into PGP a little more ;) (Currently i use the openssl 
command to do my encrpytion on the backup archives)




Install crashes at 50% during dual boot with windows 10

2016-10-02 Thread Debabrata Acharya
Install crashes at 50% during dual boot with windows 10. What do I do?


Re: Configuring Exim for mail delivery

2016-10-02 Thread Mark Fletcher
On Sun, Oct 02, 2016 at 12:52:44PM +0100, Brian wrote:
> [Some snipping. Not too much, I hope].
> 
> On Sun 02 Oct 2016 at 01:05:20 +0100, Liam O'Toole wrote:
> 
> > On 2016-10-01, Brian  wrote:
> > >
> > > Exim's default behaviour, as has been mentioned a couple of times in
> > > this thread, is to use DNS; nsswitch is not involved.
> > 
> > Doing an strace on the exim command shows that /etc/nsswitch is
> > consulted first, then /etc/resolv.conf (followed by a DNS lookup of the
> > smarthost).
> 
> This is what I cannot get round. I'm prepared to accept that my
> understanding may be defective but when I see "driver = dnslookup" in
> router/200_exim4-config_primary it fits what I observe. Which is why I
> use a hubbed_hosts file to manually route mail to machines on the LAN.
> 
> > > This is a default
> > > exim install; no files in conf.d altered. How about you?
> > 
> > No alterations I can remember, and 'dpkg --verify' reports no changes to
> > exim4-related files. All customisations have been done via debconf. I am
> > reluctant to divulge those customisations here, but I can tell you that
> > the settings are not particularly exotic. One host on the local network
> > is configured to use my ISP's SMTP server as its smarthost, while the
> > other hosts in turn use the former as their smarthost.
> 
> I have the same setup and all customisations (apart from hubbed_hosts)
> have been done via debconf. TBH, I cannot see why /etc/hosts should be
> consulted because I thought there is first a check for an MX record and
> then an attempt to resolve the host *using the DNS* if there was none.
> 
> Your instructions are clear so I can continue to try more customising
> via debconf.
> 
> mo appears to have had no more success than I have. Don't know about
> Mark.
> 
> -- 
> Brian 
> 

That's twice you've mentioned conf.d now, bear in mind in a 
defaults-accepting Debian installation of exim4, it's not used.

Mark



Re: Recommendation: Backup system

2016-10-02 Thread rhkramer
> Am 01.10.2016 um 23:06 schrieb Bob Weber:
> > Like I said backuppc uses incremental and full backups.  The web
> > interface lets you browse any backup (inc or full) and you see all the
> > files backed up.  I set the incremental for each day up to a week.  So I
> > have up to 7 of them.  The full can kept for for however long you want.
> > I currently keep 12 weekly, 8 bi-weekly and 4 monthly full backups so
> > that covers almost a year.

I am not the op, but backuppc sounded pretty nice, so yesterday I tried to 
install it on both my Wheezy and Jessie systems.  It didn't work (with 
different failures) on either system--I won't give much detail for now, but I'd 
just ask a few questions:

   * what system (what version of Debian) are you using?

   * should I expect that it will properly configure a web server (on the 
Wheezy system it talked about apache2, iirc), or must I have a properly 
configured web server before installing backuppc?

Some cryptic notes on the failures:

On wheezy, I thought the installation completed successfully--it ran something 
it called a script, and, in or after the script it gave me a url to log in to 
manage backuppc along with a username and password.  When I tried to go to 
that URL, using either http or https on either of my browsers, it gave me a 
404 error.

On jessie, it apparently did not complete the installation, it told me it 
could not run that initial script.

Suggestions?



Re: Configuring Exim for mail delivery

2016-10-02 Thread Gene Heskett
On Sunday 02 October 2016 08:41:50 Mark Fletcher wrote:

> On Sun, Oct 02, 2016 at 12:52:44PM +0100, Brian wrote:
> > [Some snipping. Not too much, I hope].
> >
> > On Sun 02 Oct 2016 at 01:05:20 +0100, Liam O'Toole wrote:
> > > On 2016-10-01, Brian  wrote:
> > > > Exim's default behaviour, as has been mentioned a couple of
> > > > times in this thread, is to use DNS; nsswitch is not involved.
> > >
> > > Doing an strace on the exim command shows that /etc/nsswitch is
> > > consulted first, then /etc/resolv.conf (followed by a DNS lookup
> > > of the smarthost).
> >
> > This is what I cannot get round. I'm prepared to accept that my
> > understanding may be defective but when I see "driver = dnslookup"
> > in router/200_exim4-config_primary it fits what I observe. Which is
> > why I use a hubbed_hosts file to manually route mail to machines on
> > the LAN.
> >
> > > > This is a default
> > > > exim install; no files in conf.d altered. How about you?
> > >
> > > No alterations I can remember, and 'dpkg --verify' reports no
> > > changes to exim4-related files. All customisations have been done
> > > via debconf. I am reluctant to divulge those customisations here,
> > > but I can tell you that the settings are not particularly exotic.
> > > One host on the local network is configured to use my ISP's SMTP
> > > server as its smarthost, while the other hosts in turn use the
> > > former as their smarthost.
> >
> > I have the same setup and all customisations (apart from
> > hubbed_hosts) have been done via debconf. TBH, I cannot see why
> > /etc/hosts should be consulted because I thought there is first a
> > check for an MX record and then an attempt to resolve the host
> > *using the DNS* if there was none.
> >
> > Your instructions are clear so I can continue to try more
> > customising via debconf.
> >
> > mo appears to have had no more success than I have. Don't know about
> > Mark.
> >
> > --
> > Brian
>
> That's twice you've mentioned conf.d now, bear in mind in a
> defaults-accepting Debian installation of exim4, it's not used.
>
> Mark

Uuh, Mark, here on an up to date wheezy install, with exim4's default 
config untouched, it does indeed exist, as /etc/exim4/conf.d, and its 
populated with quite a few subdirs.
=
gene@coyote:~$ ls -l /etc/exim4/conf.d
total 28
drwxr-xr-x 2 root root 4096 Apr  4 21:35 acl
drwxr-xr-x 2 root root 4096 Apr  4 21:35 auth
drwxr-xr-x 2 root root 4096 Apr  4 21:35 main
drwxr-xr-x 2 root root 4096 Apr  4 21:35 retry
drwxr-xr-x 2 root root 4096 Apr  4 21:35 rewrite
drwxr-xr-x 2 root root 4096 Apr  4 21:35 router
drwxr-xr-x 2 root root 4096 Apr  4 21:35 transport
==
Based on the dates, I have to assume exim4 was pulled in as a dependency 
of something else I installed recently since this wheezy install is 
around 2 years old now. It's installation did not effect how my machine 
runs that I am aware of. According to htop, no daemon of that name is 
currently running.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Configuring Exim for mail delivery

2016-10-02 Thread Brian
On Sun 02 Oct 2016 at 21:41:50 +0900, Mark Fletcher wrote:

> On Sun, Oct 02, 2016 at 12:52:44PM +0100, Brian wrote:
> > 
> > I have the same setup and all customisations (apart from hubbed_hosts)
> > have been done via debconf. TBH, I cannot see why /etc/hosts should be
> > consulted because I thought there is first a check for an MX record and
> > then an attempt to resolve the host *using the DNS* if there was none.
> > 
> > Your instructions are clear so I can continue to try more customising
> > via debconf.
> > 
> > mo appears to have had no more success than I have. Don't know about
> > Mark.
> > 
> > -- 
> > Brian 
> > 
> 
> That's twice you've mentioned conf.d now, bear in mind in a 
> defaults-accepting Debian installation of exim4, it's not used.

It shouldn't make any difference whether the split configuration is used
or not for what we are doing.

A defaults-accepting installation would use "local delivery only; not on
a network". Obviously this would not suit testing mail delivery to other
machines on the LAN. It was at this first page I made my mistake!

I chose "Internet site.." because that is the way I always send
mail. No wonder I got "Unrouteable address". Was it clear that I should
have used "mail sent by smarthost.." (Liam?)?. Mystery solved. I've
not tested extensively but I can get mail to go to a user on another
machine.

I'm not enamoured of this technique because it does not suit my mail
setup. So I will stick with the more versatile hubbed_hosts.

Thanks for all the clues.

-- 
Brian.




Re: Configuring Exim for mail delivery

2016-10-02 Thread Mark Fletcher
On Sun, Oct 02, 2016 at 09:17:58AM -0400, Gene Heskett wrote:
> On Sunday 02 October 2016 08:41:50 Mark Fletcher wrote:
> 
> > On Sun, Oct 02, 2016 at 12:52:44PM +0100, Brian wrote:
> > > [Some snipping. Not too much, I hope].
> > >
> > > On Sun 02 Oct 2016 at 01:05:20 +0100, Liam O'Toole wrote:
> > > > On 2016-10-01, Brian  wrote:
> > > > > Exim's default behaviour, as has been mentioned a couple of
> > > > > times in this thread, is to use DNS; nsswitch is not involved.
> > > >
> > > > Doing an strace on the exim command shows that /etc/nsswitch is
> > > > consulted first, then /etc/resolv.conf (followed by a DNS lookup
> > > > of the smarthost).
> > >
> > > This is what I cannot get round. I'm prepared to accept that my
> > > understanding may be defective but when I see "driver = dnslookup"
> > > in router/200_exim4-config_primary it fits what I observe. Which is
> > > why I use a hubbed_hosts file to manually route mail to machines on
> > > the LAN.
> > >
> > > > > This is a default
> > > > > exim install; no files in conf.d altered. How about you?
> > > >
> > > > No alterations I can remember, and 'dpkg --verify' reports no
> > > > changes to exim4-related files. All customisations have been done
> > > > via debconf. I am reluctant to divulge those customisations here,
> > > > but I can tell you that the settings are not particularly exotic.
> > > > One host on the local network is configured to use my ISP's SMTP
> > > > server as its smarthost, while the other hosts in turn use the
> > > > former as their smarthost.
> > >
> > > I have the same setup and all customisations (apart from
> > > hubbed_hosts) have been done via debconf. TBH, I cannot see why
> > > /etc/hosts should be consulted because I thought there is first a
> > > check for an MX record and then an attempt to resolve the host
> > > *using the DNS* if there was none.
> > >
> > > Your instructions are clear so I can continue to try more
> > > customising via debconf.
> > >
> > > mo appears to have had no more success than I have. Don't know about
> > > Mark.
> > >
> > > --
> > > Brian
> >
> > That's twice you've mentioned conf.d now, bear in mind in a
> > defaults-accepting Debian installation of exim4, it's not used.
> >
> > Mark
> 
> Uuh, Mark, here on an up to date wheezy install, with exim4's default 
> config untouched, it does indeed exist, as /etc/exim4/conf.d, and its 
> populated with quite a few subdirs.
> =

Yup, here too. But it is not being used.

Mark



Re: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!

2016-10-02 Thread Brian
On Sun 02 Oct 2016 at 08:56:07 -0400, Gene Heskett wrote:

> The hostname command is both a query tool, and a name setter.  "man 
> hostname" is your friend.  You'll probably be asked for your passwd, or 
> need to become root somehow. On the *buntu's try sudo hostname.

Jessie users might want to look at using hostnamectl.

-- 
Brian.