Re: What file system to use?

2017-02-02 Thread Ben Caradoc-Davies

On 02/02/17 20:58, Ken Heard wrote:

I use USB flash drives and 480 GB SanDisk portable drives for some
backups. I started by using ext4 on one of the flash drives. The next
day I tried to boot the computer, but found that the computer hung.
Only at this point did I find out that those drives are not capable of
journalling.


I use USB flash drives with ext4 for backups and have not had any 
problems with journalling. I have had at least one successful journal 
recovery, after an inadvertent disconnection before unmount. What 
problems did you encounter?


I optimised my ext4 backup filesystems for a small number of large files 
(compressed archives) with:


mkfs.ext4 -J size=4 -m 0 -T largefile4 -O "^resize_inode" /dev/sdb1
tune2fs -c 0 -i 0 -L Backup /dev/sdb1

My /etc/fstab contains:

LABEL=Backup /media/backup ext4 noatime,noauto,user,errors=remount-ro 0 0

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Skype

2017-02-07 Thread Ben Caradoc-Davies

On 08/02/17 10:20, deloptes wrote:

Anonymous wrote:

Skype on Linux is terrible and crashes randomly, even after fixing the
Pulseaudio issue.

I use debian jessie and skype 4.3.0.37 on daily basis - no idea what you are
talking about.


I use Skype 4.3.0.37 i386 on unstable. While it still works for Skype 
Out, group calls and chat now require cloud connections and do not work. 
For group calls and chat, I use Skype for Web in Chrome.


The worst news is that Microsoft are shutting down Skype p2p in three 
weeks (on 1 March). I expect that I will no longer be able to sign in 
with Skype 4.3.0.37. I did not receive any email notifying me of this. I 
only heard about it online:

https://apple.slashdot.org/story/17/02/04/059204/microsoft-is-disabling-older-versions-of-skype-for-mac-and-windows-on-march-1
http://venturebeat.com/2017/02/03/microsoft-is-disabling-older-versions-of-skype-for-mac-and-windows-on-march-1/
https://blogs.skype.com/news/2017/02/03/the-skype-you-love-is-getting-better-download-it-for-free-today/
https://community.skype.com/t5/Linux/Skype-for-Linux-End-of-life/td-p/4586741
http://www.omgubuntu.co.uk/2017/02/skype-for-linux-end-of-life-march

I am hoping that Skype for Web will meet my needs. The interface seems 
clunkier, is missing some functionality, and chat history is discarded 
after a short time (30 days?). Core functionality seems to work.


On the up-side, once Skype 4.3.0.37 is gone, I am one Brother printer 
driver away from ditching the entire i386 architecture.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Skype

2017-02-07 Thread Ben Caradoc-Davies

On 08/02/17 11:49, deloptes wrote:

Very interesting. I log in to skype for web. It says at the top:
"Interested in richer and more integrated experience? Download the official
desktop app. Download"
When I "download" I get debian package "skypeforlinux-64-alpha.deb"
installing this creates
cat /etc/apt/sources.list.d/skype-stable.list
deb [arch=amd64] https://repo.skype.com/deb stable main
and skypeforlinux runs with a somewhat newer theme, however sound is not
working for me - I just tried "Skype Test Call". Well it says it's Alpha,
so might be they'll release a working beta until 1. March.
Or it might be finally time to change to something else ... I evaluated
recently Tox...
Very interesting story - thanks
regards


I have not used it but, according to this Slashdot comment, "Skype for 
Linux" is Skype for Web in Chromium:

https://apple.slashdot.org/comments.pl?sid=10202241=53802307

Sound works for me in Skype for Web under the non-free Chrome.

If the comment above is correct, I do not see the point of "Skype for 
Linux". A software product that contains a web browser so that it can 
connect to a single web site is in my view a deployment anti-pattern 
because it (1) duplicates the installation of software, and (2) defeats 
the purpose of the web (interoperability).


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Skype

2017-02-07 Thread Ben Caradoc-Davies

On 08/02/17 13:32, deloptes wrote:

Ben Caradoc-Davies wrote:

Sound works for me in Skype for Web under the non-free Chrome.

haha indeed - and what about video, have you tested it? does it work in
chrome too?


I have not tried a video call.


I can choose between M$ and M$ ... oh well there is Apple as well


https://www.youtube.com/watch?v=cSZfUnCK5qk
http://www.imdb.com/title/tt0080455/quotes?item=qt0320035
Elwood: What kind of music do you usually have here?
Claire: Oh, we got both kinds. We got country *and* western.


Very nice world!


Trevor Noah; all the news you need:
https://www.youtube.com/channel/UCwWhs_6x42TyRM4Wstoq8HA

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: kernel performance: 3.16 vs. 4.9

2017-02-05 Thread Ben Caradoc-Davies

On 06/02/17 09:59, Matthias Bodenbinder wrote:

Am 05.02.2017 um 09:03 schrieb Matthias Bodenbinder:

Hi,
I have upgraded my PC to newest chipset and CPU: Kaby Lake, Z270 with i7-7700K.
Out of curiosity I did a kernel benchmark. Comparing darktable performance with 
kernel 3.16.0-4-amd64 and 4.9.0-1-amd64. I use the following command to run 
darktable:
darktable-cli test.CR2 test.jpg --core -d perf -d opencl
The results are surprising for me. Kernel 4.9 very much outperformance kernel 
3.16. Here are the results with and without opencl (using a Geforce GTX750TI):
kernel 3.16 kernel 4.9
with opencl 16 s9 s
without opencl  120 s   23 s
Without opencl, that is with pure CPU performance, the difference is a factor 
of 5!
Why is that? What am I missing? I can hardly believe that kernel 4.9 is so much 
faster.
Matthias

Hi,
the issue is solved. It is related to the CPU frequency driver acpi-cpufreq vs. 
intel_pstate and the governor powersave vs.
performance.
With kernel 4.9 the default CPU frequency driver for my hardware is intel_pstate. And I had the governor set 
to "powersave" in /etc/default/cpufrequtils. I do not see big performance differences between 
"powersave" and "performance" settings with intel_pstate.
But with kernel 3.16 the default CPU frequency driver is acpi-cpufreq. With my settings in 
/etc/default/cpufrequtils it running in "powersave" mode which is giving this dramatic performance 
collapse. With governor "ondemand" or "performance" kernel 3.16 is as fast as kernel 4.9.
Sorry for the confusion.
Matthias


Matthias that is very interesting. Your findings seem different to those 
reported on Phoronix; no doubt the p-state driver is undergoing some 
changes to improve Kaby Lake support:

http://www.phoronix.com/scan.php?page=article=pstate-cpufreq-kbl=1
http://www.phoronix.com/scan.php?page=article=pstate-cpufreq-kbl=2
https://www.phoronix.com/scan.php?page=news_item=P-State-Kabylake-Patching

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: An Embarrassing Progblem

2017-01-23 Thread Ben Caradoc-Davies

On 24/01/17 09:09, to...@tuxteam.de wrote:

There should be a session file somewhere in ~/.config (sorry I have no
more details). Perhaps XFCE honors ~/.xinitrc, ~/.xsessionrc or some
of their siblings.


I use ~/.config/xfce4/xinitrc to set environment variables before XFCE 
starts:


#!/bin/sh
# ...
# settings needed before xfce start
export PATH=$HOME/bin:$PATH
export LC_COLLATE=C
# ...
# last line:
. /etc/xdg/xfce4/xinitrc

Stephen, as mentioned earlier, the prompt should be settable in 
~/.bashrc *if* it is sourced by ~/.bash_profile or ~/.profile so the 
more likely solution is to check that these files are not damaged.


Also check that the shell really is bash and not something else:

echo $BASH_VERSION
echo $SHELL

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: missing firmware ??

2017-01-28 Thread Ben Caradoc-Davies

On 29/01/17 07:18, Sven Hartge wrote:

Frank M <debianl...@videotron.ca> wrote:

update-initramfs: Generating /boot/initrd.img-4.9.0-1-amd64
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module 
i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module 
i915

Do you have a Intel Kaby Lake or Intel Broxton (discontinued SoC) based
system? If not, then the missing firmware is no problem for you.


What happens on Kaby Lake systems if the GUC firmware is missing?

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: [solved?] Re: Secure Boot won't let boot into Debian

2017-02-25 Thread Ben Caradoc-Davies

On 26/02/17 02:04, Rodolfo Medina wrote:

How do I check if my machine is `64 or 32 bit'


I use "cat /proc/cpuinfo | grep 'model name'", to find the model name 
and look it up on Wikipedia or Google for the manufacturer data sheet. 
64-bit support is often called "AMD64", or "x86-64" by non-AMD 
manufacturers.


If the "flags" section contains "lm", your CPU has 64-bit support, but 
might be IA64 (Itanium, Intel's 64-bit server architecture) rather than 
AMD64 (which Intel itself now uses). I find it easier to Google for the 
model as described above.


Most consumer desktop CPUs manufactured in the last five years have 
amd64 support, including, as far as I know, all Intel Core 2 Intel 
processors (since 2006), even the budget models with Pentium or Celeron 
branding. Some Atom CPUs support 64-bit, but not the earliest models.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Before I install Debian

2017-02-11 Thread Ben Caradoc-Davies

On 11/02/17 10:09, Floris wrote:

but the default pdf-reader in Debian is Evince


Perhaps for Gnome, but not for all desktops supported in Debian. I use 
qpdfview under XFCE.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Before I install Debian

2017-02-10 Thread Ben Caradoc-Davies

On 11/02/17 09:39, John Culleton wrote:

All I need from Debian is Adobe Acrobat Reader. Is this available
with Debian?


What functionality do you need? I suggest trying a Debian Live image and 
evaluating some of the many open source PDF readers.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Crashes in Icedove on Stretch

2017-02-16 Thread Ben Caradoc-Davies

On 17/02/17 01:31, Benjamin Rochefort wrote:

I think I fixed the random Icedove crashes I was experiencing on Jessie
by setting layers.offmainthreadcomposition.enabled to false in Icedove's
config editor.


+1. I had terrible problems with icedove segfaults on sid last year and 
this option was the only fix that worked for me. I am still using it.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Crashes in Icedove on Stretch

2017-02-16 Thread Ben Caradoc-Davies

On 17/02/17 09:50, Jape Person wrote:

The crashes occur *only* when I have the message pane open and am moving
through the message list. (I always use the keyboard arrow keys for
this, so don't know if same would happen with mouse.)


This was also the trigger for the crashes I saw: switching quickly 
between messages, which is much easier with arrow keys.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: An Embarrassing Progblem

2017-01-23 Thread Ben Caradoc-Davies

On 24/01/17 07:27, S. P. Molnar wrote:

I'm embarrassed to admit it. but I am completely confused.
Somehow, I don't know how I managed to reset my bash user prompt. Rather
than the default user prompt '\u@h >', it has morphed to (p4env).

 I have found plenty of Google results about correcting thei promled,

and, indeed export PS1='\u@\h > ' restores the prompt - that is, until I
close that terminal.  The next time I open a terminal the prompt is back
to (p4env).
For my sanity, I can]t seem to figure out where and how to make the
change permanent.
As I said, I'm very embarrassed about this and really need help.
Thanks in advance,


Stephen, you can make this change permanent by appending this line to 
your ~/.bashrc :


export PS1='\u@\h > '

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: A minimal relational database in Debian?

2017-02-27 Thread Ben Caradoc-Davies

On 28/02/17 02:17, Richard Owlett wrote:

The last time I needed a relational database my employer was using
dBaseII on a MS-DOS machine.
What is a functional equivalent in the Debian repository?
I looked at at LibreOffice Base. It was unusable as its "help" system
provided no intrinsic way to increase fonts to a legible size.
https://packages.debian.org/stable/database/ was not useful as it
doesn't categorize the list.
Suggestions?
TIA


You can make minimal use of PostgreSQL. Easy to install and configure on 
Debian. Robust and runs well unattended. Thoroughly documented. Check 
out pgAdmin, which can administer and manage your database. It includes 
a table editor.


It sounds to me like you want a configurable CRUD front-end. Do you want 
a web interface?


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: unsigned linux-image?

2016-09-25 Thread Ben Caradoc-Davies

On 26/09/16 14:43, Richard Hector wrote:

Hey all,
Does anyone know what the deal is with the recently-released
linux-image-4.7.0-0.bpo.1-amd64-unsigned package? It installs without
complaint, so aptitude doesn't mind its unsigned-ness - does the
'unsigned' refer to something else?
Richard


Richard,

in this context, "signed" means signed for use with UEFI Secure Boot. 
Some recent kernels with no mention of signedness in their package name 
contain text like this:


"The kernel image and modules are signed for use with Secure Boot."

From: https://packages.debian.org/sid/linux-image-4.7.0-1-amd64

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: WARNING! New Perl/Perl-base upgrade removes 141 Sid/Unstable packages

2016-09-24 Thread Ben Caradoc-Davies

On 25/09/16 01:26, Cindy-Sue Causey wrote:

Good morning! Just a heads up that upgrading the following two
packages attempts to remove 141 unrelated packages in Sid/Unstable
this morning:
perl 5.24.1~rc3-2
perl-base 5.24.1~rc3-2


Before running "apt-get dist-upgrade", I always simulate first with:

apt-get dist-upgrade -s -V

in case "apt-get dist-upgrade" want to resolve a conflict by doing 
something helpful like removing most of an architecture or desktop. The 
same simulation works with "apt-get upgrade", which is much less 
aggressive and continues to work during a dist-upgrade-breaking transition.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: WARNING! New Perl/Perl-base upgrade removes 141 Sid/Unstable packages

2016-10-07 Thread Ben Caradoc-Davies

On 08/10/16 03:43, Vincent Lefevre wrote:

On 2016-10-04 22:51:34 +0100, Lisi Reisz wrote:

On Tuesday 04 October 2016 08:25:46 Vincent Lefevre wrote:

my position remains the same:
aptitude is poorly designed.

Fine.  So don't use it.  But moaning won't help anyone, not even you.  You
don't like Aptitude.  We get the message.  So don't use Aptitude.

And what do you propose instead?


I would not use a package manager that does things behind my back. I 
have been having great success on unstable with:


apt-get dist-upgrade -s -V

If apt is not proposing brutal removals of a necessary application or 
even an entire architecture (e.g. i386 on multiarch, yes it offered to 
do this once), then I follow this with:


apt-get dist-upgrade -V

During stormy weather (transitions), I use (with and then without -s):

apt-get upgrade -V

Also, apt-listbugs is your friend.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Very hard to find MD5 checksum of Debian CDs!

2016-09-17 Thread Ben Caradoc-Davies

On 18/09/16 11:33, Shervin Emami wrote:

Am I just not noticing the obvious link, or does the Debian website really
not give the info about how to verify checksums?


Shervin, it seemed obvious to me. The checksum files are at the top of 
the download directory listing [1].


Starting at <https://www.debian.org/>, I clicked on "Getting Debian / 
CD/USB ISO images". This took me to the "Debian on CDs" page 
<https://www.debian.org/CD/>. From this page, I could navigate to 
"Download CD/DVD images using HTTP or FTP" / "Official CD/DVD images of 
the "stable" release" / "amd64", which contains the ISO images, 
checksums, and signatures (scroll to the top):

<http://cdimage.debian.org/debian-cd/8.5.0/amd64/iso-cd/>

The "Debian on CDs" page also has a link "Verifying authenticity of 
Debian CDs" <https://www.debian.org/CD/verify> which describes how to 
verify the signed checksums (but does not provide a command line 
example; this could be improved).


[1] At the top of the listing because they are in ALL CAPS and capital 
letters are first in the "C" collating order. This is why you often see 
README.txt not readme.txt, for example.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: page RELOAD by Firefox

2016-09-18 Thread Ben Caradoc-Davies

On 19/09/16 10:21, rlhar...@oplink.net wrote:

Is there a way to keep Firefox from automatically reloading this
particular web page?  Or am I misunderstanding what is happening here?


Some pages are automatically reloaded with the HTML meta refresh tag:
https://en.wikipedia.org/wiki/Meta_refresh

For example, in :



If the page in question is refreshed with an HTML meta refresh tag, it 
might be possible to change this behaviour in Firefox by setting 
accessibility.blockautorefresh to true in about:config:

http://kb.mozillazine.org/Accessibility.blockautorefresh

I have not tried this option, but it is documented.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Trivial script will NOT execute

2016-11-04 Thread Ben Caradoc-Davies

On 05/11/16 14:19, Christian Seiler wrote:

By default for security reasons the current directory is not in the
PATH environment variable on Linux.


I will never again permit "." in my $PATH since the day I tried to run 
killall (meaning /usr/bin/killall) while in /etc/init.d on a production 
Red Hat server. Unbeknownst to me, a "helpful" fellow admin had put "." 
at the front of root's $PATH, so /etc/init.d/killall ran (part of the 
shutdown process) and left the system in an unusable hung state, 
requiring me to obtain physical access, perform a hard reset, and go 
into hiding.


+1 for ./scriptname or scripts installed in well-defined bin directories 
that have a well-considered order on the $PATH.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Will jmtpfs be able to connect the Google Nexus 5X to the debian computer?

2016-10-22 Thread Ben Caradoc-Davies

On 22/10/16 19:15, deloptes wrote:

Not to forget mtp


MTP works for me with my Nexus 5X on unstable under XFCE with thunar and 
gvfs-backends:

thunar 1.6.10-4 amd64
gvfs-backends 1.30.1.1-1 amd64

All I have to do on the Nexus 5X is switch "Use USB for" from "Charging" 
to "File transfers" (MTP) and click on the Nexus 5X icon in thunar.


I am running the latest Cyanogenmod 13.0 release (the 20 August "SNAPSHOT").

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Multiple versions of postgesql installed

2016-10-24 Thread Ben Caradoc-Davies

Gary,

what is happening is that you have the postgresql metapackage installed. 
From time to time, this package is updated to depend on the supported 
postgresql (e.g. postgresql-9.6). If you remove postgresql and just 
install (e.g.) postgresql-9.6, the installation of new versions will cease.


Installing postgresql-9.X will not automatically upgrade an existing 
cluster, should leave an existing cluster on port 5432, and will install 
new services in parallel on a new port.


It should be safe to remove unused postgresql-9.x packages. A simulated 
removal with "apt-get purge -s" will report whether unrelated packages 
depend on any particular package. Be very sure that you remove the right 
package. Purge will also remove your data, I think; you can use "apt-get 
remove" if you do not mind residual mess. Have good backups.


You should also consider migrating to the latest version (supported), 
but there are often changes that break applications, so check 
compatibility before upgrading, or test with the new one (this is where 
parallel postgresql installations shine):

https://www.postgresql.org/docs/9.0/static/migration.html
https://www.postgresql.org/docs/9.2/static/upgrading.html

Kind regards,
Ben.


On 25/10/16 07:10, Gary Roach wrote:

Hi all,

I have been having trouble with my django development project finding
the postgresql database. In the process of looking for the source of the
problem I found that there are versions of postgresql installed for 9.1
through 9.6 . Are all of these copies necessary and can I safely remove
all of the ones that I am not using for my project or are there other
packages on the system that are using those.

Debian Stretch with KDE desktop

Gary R.




--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: dd - proper use or more suitable program

2016-11-12 Thread Ben Caradoc-Davies

On 13/11/16 08:25, Richard Owlett wrote:

I've gone to lenghts to defeat Debian's attempts to out-M$ Wm Gates.


Redmond is now our ally against the closed garden at Cupertino, with 
cloud image support, open-sourced language platforms, and even Ubuntu 
integration on the desktop.


We've always been at war with Eastasia.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Kicad Installation Issue Regard Of 4.0.4 Its Only Install 4.0.2 In Debian Jessie 8.5

2016-11-16 Thread Ben Caradoc-Davies

On 16/11/16 17:10, Paul Wise wrote:

On Wed, Nov 16, 2016 at 11:24 AM, ARAVIND B KUMAR
<aravind.aravind...@gmail.com> wrote:

We Are Try To Install Kicad 4.0.4 In Debain Jessie 8.5 But It Only Install
4.0.2 Can You Please Help Us How To Install Kicad 4.0.4 In Debian Jessie 8.5
We Are Try To Build And We Try Using PPA But It Install Only Kicad 4.0.2

Please contact the person who made the kicad 4.0.2 version. If you are
using the official Debian backport of kicad, then that person will be
listed on this page, search for kicad in it:
https://backports.debian.org/changes/jessie-backports.html


Aravind, the changelogs for the jessie-backports package indicate that 
Georges Khaznadar <georg...@debian.org> is the most active maintainer. 
Please email Georges and request backport of 4.0.4 to jessie.


See:
https://packages.debian.org/jessie-backports/kicad
http://metadata.ftp-master.debian.org/changelogs/main/k/kicad/kicad_4.0.2+dfsg1-2~bpo8+1-1_changelog

PPA are for Ubuntu. Using an official jessie-backports will likely be 
the most reliable solution.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: new pc and swap

2016-11-01 Thread Ben Caradoc-Davies

On 01/11/16 19:04, Johann Spies wrote:

LVM has bitten me more than once in the past and I will not use it again.
In both situations it spanned more than one disk and one of the disks
failed - leaving you with unrecoverable data.


I use LVM inside LUKS on a single device. This configuration is great 
for requiring only one encrypted partition, with LVM providing the 
benefit of multiple logical volumes and the management benefits of 
separate volumes for root and home (for example).


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Alternative to Adobe Reader, anyone?

2016-10-30 Thread Ben Caradoc-Davies

On 31/10/16 05:14, brian wrote:

Does anyone have any suggestions for a program which will print PDF
files **scaling them to fit the page**. This last part is essential! A
program which just did expansion to fit would be a good second best.


qpdfview has a "Fit to page" option in its print dialog under Options / 
Extended Options, but I have not tested it.



I'm running  64-bit testing and XFCE, should anyone feel that's
relevant.


I am running XFCE on 64-bit unstable.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: new pc and swap

2016-10-30 Thread Ben Caradoc-Davies

On 31/10/16 00:56, Pol Hallen wrote:

I bought a new notebook: i7 2.2Ghz, 8Gb ram and ssd 256Gb.
Consider that small disk, can I install debian without swap? Does swap
still useful?


I have not used swap since I switched to SSDs in 2009. This works only 
if you are confident that you will never use all your RAM. Even with use 
of RAM disks (tmpfs), I have never run out of RAM.


Avoiding swap on an SSD reduces wear.

Some memory hungry applications like GIMP use their own scheme for 
storing tiles on disk to avoid excessive use of RAM.


How much RAM do you typically use?

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: WARNING! New Perl/Perl-base upgrade removes 141 Sid/Unstable packages

2016-10-12 Thread Ben Caradoc-Davies

On 13/10/16 12:09, Lisi Reisz wrote:

I don't use Sid, so haven't tested out which package managers are good for it
when there are problems, but how about looking at apt or apt-get?  Ben says
that he has great success with apt-get.  Apt-get is much less aggressive than
aptitude - but less fully featured.


"apt-get dist-upgrade" can be very aggressive and should be used with 
caution. In my view, the key skill for users is to recognise when an 
upgrade is likely to have unwanted effects. This requires caution and 
experience. Users who proceed with upgrades without considering the 
possible effects will have unpleasant experiences. A small amount of 
effort to investigate unusual removals or upgrades, such as identifying 
a package or looking in changelogs, will go a long way to improving user 
experience.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Icedove crashes after recent update

2016-10-12 Thread Ben Caradoc-Davies

On 13/10/16 03:43, Tony Baldwin wrote:

On 10/12/2016 08:55 AM, Mario Pereyra wrote:

I'm also having the same problem for about the same mentioned time, but
I use Debian wheezy & gnome
No report of error, no log, ... no information, only the application
disappear.

similar experience.
Seems to occur randomly here, like when I delete something or mark it
read/unread, or move something to another folder, and other  generally
trivial operations.


Setting layers.offmainthreadcomposition.enabled to false helped me:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829188
https://bugzilla.mozilla.org/show_bug.cgi?id=619621
https://bugzilla.mozilla.org/show_bug.cgi?id=1198710

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: (error) @ flashplugin-nonfree

2016-12-17 Thread Ben Caradoc-Davies

On 18/12/16 07:56, Richard Kuenz wrote:

please see attached report
thanks
rich


Rich,

the Debian flashplugin-nonfree package downloads the Adobe flash plugin 
from Adobe servers. The only content provided by Debian is a small 
metadata update by the package maintainer.


Last week flash plugin 24.0.0.186 went live for Linux NPAPI. This is a 
major upgrade over 11.2.202.644. It appears that the old version of 
flashplugin-nonfree in wheezy is incompatible with these changes.


I was able to install flashplugin-nonfree from testing on a Debian 
wheezy live system (7.11). I added the following line to 
/etc/apt/sources.list (and I like to comment-out this line when not in use):


deb http://http.debian.org/debian/ testing main contrib

then ran "apt-get update" and installed with:

apt-get install -t testing flashplugin-nonfree

You can confirm the installation by running:

update-flashplugin-nonfree --status

and by navigating to:

http://www.adobe.com/software/flash/about/

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Usb wont mount

2016-12-17 Thread Ben Caradoc-Davies

On 18/12/16 13:36, Flipchan wrote:

Hello everyone i am haveing some troubles with A usb that wont Mount i have 
tried it on 2 machines wheezy and Jessie both give me the same error
Dmesg log:http://dpaste.com/0JRM79V
Thanks in advance ,
Take Care


This looks to me like a dead USB thumb drive (hardware failure):

blk_update_request: I/O error, dev sdb, sector 7864192

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: brother printer/scanners

2017-01-01 Thread Ben Caradoc-Davies

On 02/01/17 13:38, Joel Rees wrote:

I got a Brother printer to work by installing both the debian packages
from the repos and the deb from Brother's website, but the scanner
still isn't being found.
Running Wheezy.
Would anyone care to tell me what steps they took to get scan
functionality on their Brother multifunction printers?


Is this a network printer? Did you configure your scanner client 
settings with brsaneconfig[1-4]? For example:

http://support.brother.com/g/s/id/linux/en/instruction_scn1b.html?c=nz=en=mfcl2740dw_us_eu_as=on

From my MFC-L2740DW on unstable amd64, I ran:

brsaneconfig4 -a name="Brother MFC-L2740DW" model=MFC-L2740DW ip=192.168.1.2

The scanner was then correctly detected in xsane.

I am using:

brscan-skey-0.2.4-1.amd64.deb
brscan4-0.4.3-0.amd64.deb
mfcl2740dwcupswrapper-3.2.0-1.i386.deb
mfcl2740dwlpr-3.2.0-1.i386.deb

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Pendrive computer

2016-12-28 Thread Ben Caradoc-Davies

On 29/12/16 15:31, Richard Owlett wrote:

On 12/28/2016 4:07 PM, Joe wrote:

On Wed, 28 Dec 2016 12:20:06 -0600
Richard Owlett <rowl...@cloud85.net> wrote:

What I'm looking for is a retail product that would compete with
PDA's of a decade ago.

I think they're called 'smartphones'.

Hardware wise,  if all cell network connectivity was removed - OK.


Remove or do not install a SIM. WiFi will continue to work and can be 
turned on and off as you please.



It would have to be delivered as a "rooted" device so I could install
only the software that I actually wanted rather than what some marketer
that never met me just knew I desperately needed.


Purchase an Android device designed to be rooted, such as one of the 
Google Nexus range (developer mode unlocks the bootloader). Install a 
cruft-free third-party ROM based on AOSP, for example, CyanogenMod. Note 
that CyanogenMod is currently in transition to LineageOS and many 
services are down.


If you object to installing Google Play services, do not install Open 
GApps. In any case, you can use F-Droid:

https://f-droid.org/

I do not know if there are vendors who will deliver a pre-rooted smartphone.


IOW I want Linux, *NOT* Windows ;/


My Nexus 5X is running CyanogenMod 13.0 (Android 6.0.1 "Marshmallow") on 
Linux 3.10.73.


adb, fastboot, and MTP file transfer work fine on Debian unstable. These 
were sufficient to install and upgrade CyanogenMod.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Constant crash on Debian 8.x in Dell T5610

2016-12-28 Thread Ben Caradoc-Davies

On 29/12/16 16:03, Julio Cesar Mendez Carvajal wrote:

Dear community; I have recently installed Debian 8.x (last edition stable) in 
my workstation. I am facing frequent, but TO FREQUENT crashes in the system. As 
a result, the system restart too frequently. Is there any problem with the 
system or any other bug that other people have experienced with Debian 8.x. I 
am planning to switch to KDE, I have read that some user have switch to KDE for 
new workstations.
Any help will be very helpful!!!


Crashes are unusual. Was the system stable with other versions of Debian 
or other operating systems?


My checklist:

(1) Basic hardware test:

- Test memory with memtest86+ (found at the boot prompt or on 
installation media).


- Stress test using mprime (prime95). Some crashes can be caused by 
stress due to overheating or power supply problems.


(2) Graphics drivers can cause crashes:

- What graphics device and driver are you using?

- If you are using a recent Intel Skylake CPU/IGPU, you are strongly 
advised to use a recent kernel.


Other culprits are BIOS or ACPI problems. These are very hardware specific.

lshw will list all your hardware.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Problem adding lines to /etc/fstab

2016-12-30 Thread Ben Caradoc-Davies

On 31/12/16 06:52, Nicholas Geovanis wrote:

This is the first time I've heard of this "solution" named "User Private
Groups".
Reading the RedHat and Debian doc referred to, "User Private Groups" seems
to be another name for setting the umask and the setgid bit in a directory
intended for shared work. Did I miss something or is that all it is?


Also, every ordinary user gets their own personal group on account 
creation (hence the name); this is the default group for files created 
by this user. Other than that and umask 002 or 007 and the setgid bit on 
shared directories (with a different group for sharing), that is all 
there is to it. This pattern has been popularised by Fedora / Red Hat / 
CentOS for at least ten years.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: productivity tips

2016-12-31 Thread Ben Caradoc-Davies

On 01/01/17 13:36, Cindy-Sue Causey wrote:

Hi.. I can't remember if it was this year or last so we can pretend it
was this year that I stumbled upon the concept of "mindmapping" (mind
mapping). I just ran a quick "apt-cache search" on it and didn't see
much available when you use a single repository for Sid's packages. I
"endure"... some ongoing "circumstances" where that would have been
hugely beneficial for connecting the dots had I learned of the concept
five or six years ago.
No, I'm not using the concept this second, but FreeMind was one I did
specifically test drive a while back. Am not finding it under Sid just
this sec so not sure the where or how from the time I did download it.


+1 for mind mapping and FreeMind in particular. I use it to organise 
just about everything. To-do lists become trees and searching goes from 
O(n) to O(log(n)).


I must have installed freemind before jessie was released; I am on 
unstable and am surprised to confirm that freemind has been removed from 
unstable and replaced with freeplane:

https://packages.qa.debian.org/f/freemind/news/20151218T134002Z.html

Thanks, Cindy, for bringing this to my attention.

freemind from jessie works fine on unstable. I never noticed its 
removal. I may try freeplane; I will add an item to my to-do mind map  :-)

https://www.freeplane.org/wiki/index.php/Relationship_to_FreeMind
https://www.freeplane.org/wiki/index.php/Freeplane_features_you_were_missing_in_FreeMind#Migrating_from_FreeMind_to_Freeplane

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Why I can not install software on debian easily?

2016-12-20 Thread Ben Caradoc-Davies

On 21/12/16 01:25, Richard Owlett wrote:

On 12/19/2016 5:28 PM, Ben Caradoc-Davies wrote:

[1] Actual case. Thinks she is using Windows because she has
LibreOffice. Certainly not representative of all grandmothers.


I suspect the User Experience is as important as Application Software.
Do you know which desktop is being used?


Unity, on Ubuntu 16.04 LTS.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: checking that all cpus are being used in my installation....

2016-12-23 Thread Ben Caradoc-Davies

On 24/12/16 09:45, Michael Fothergill wrote:

Suggestions on performance testing the FX 8350 chip on this install are
welcome.


For an open source multithreaded CPU load with a handy benchmark mode, 
install povray, then run:


povray -benchmark

and compare the resulting time in seconds with:
https://openbenchmarking.org/showdown/pts/povray

(FX-8350 listed as 812 seconds.)

Your cpuinfo suggests that all 8 processors are detected. The "cpu 
cores" might refer to the four "modules" of this package, each with two 
integer and one floating point unit. POV-Ray is FPU intensive so expect 
quad-core performance.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Why I can not install software on debian easily?

2016-12-19 Thread Ben Caradoc-Davies

On 19/12/16 22:45, Nemeth Gyorgy wrote:

2016-12-19 02:54 keltezéssel, john cusey írta:

Time to go back to Windows.

Just do it. It will be better for everyone.


Oh, have a heart.  :-)

Ubuntu is a great choice for unsophisticated users, ranging from 
computer scientists to grandmothers [1], who need to sacrifice software 
freedom to get ease of use and integration with proprietary software. 
For example, Ubuntu Software Center should give the questioner the 
functionality they seek:

https://help.ubuntu.com/community/OperaBrowser

"The best and easiest way to install Opera is by just downloading the 
deb-package from Opera's website. When you install the package, it will 
add their repository, automatically configured for updates. When you 
have downloaded the file, you can install it by double clicking on the 
file to open Ubuntu software center."


Please consider recommending allied Linux distributions such as Ubuntu 
before proprietary operating systems.


[1] Actual case. Thinks she is using Windows because she has 
LibreOffice. Certainly not representative of all grandmothers.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Need USB Wireless Adaptor for Dell Inspiron 11 2-in-1?

2017-03-24 Thread Ben Caradoc-Davies

On 25/03/17 01:40, Tom Browder wrote:

1.  What specific model of USB wireless ethernet adaptor does anyone
recommend that has worked for them out of the box?


TP-Link TL-WN722N:
http://www.tp-link.com/us/products/details/cat-5520_TL-WN722N.html

This device is supported by the ath9k_htc kernel module. It requires 
firmware-atheros from nonfree:

https://wiki.debian.org/ath9k_htc

From lsusb:
0cf3:9271 Atheros Communications, Inc. AR9271 802.11n

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: When specifying path to file - confused about ./ and ~/

2017-03-27 Thread Ben Caradoc-Davies

On 28/03/17 10:48, kAt wrote:

PS  off-topic rant
I just updated and a package named busybox came up.  Since I didn't know
what it was I went into the page and its most recent revision of 1/2017
seemed to be 3 years ahead of the testing/unstable version that we just
updated now!  And this is very basic common stuff like cp and fdisk
..  How conservative is our system?  Wowww!



busybox is a suite of tiny cut-down programs packed into a single 
executable to save space. Most Debian installations get their cp from 
coreutils and their fdisk from util-linux.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Suitable text editor [NOT word processor] or workaround?

2017-03-16 Thread Ben Caradoc-Davies

On 17/03/17 02:56, Fred wrote:

I recommend Nedit.


Ah, rectangular cut and paste, how do I miss thee. I abandoned nedit for 
the allure of scalable fonts (in gedit then geany), but still remember 
it fondly.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Suitable text editor [NOT word processor] or workaround?

2017-03-16 Thread Ben Caradoc-Davies

On 17/03/17 01:09, Celejar wrote:

I just checked, and Geany can do both.


I always use:

geany --new-instance

My ~/bin/geany is:

#!/bin/bash
exec /usr/bin/geany --new-instance "$@"

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Debian hardware compatibility

2017-04-20 Thread Ben Caradoc-Davies

On 21/04/17 00:15, John Elliot V wrote:

On 20/04/17 01:14, Joshua Schaeffer wrote:

I would recommend the 850 Evo vs the 850 Pro

Thanks for the tip. I had considered the Evo but this:
 https://www.kosagi.com/forums/viewtopic.php?id=421
had me a little spooked.


That is the 840 Evo. Completely different animal.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Debian hardware compatibility

2017-04-20 Thread Ben Caradoc-Davies

On 20/04/17 17:12, John Elliot V wrote:

Will stretch RC3 smoothly transition to stable (with an apt-get
dist-upgrade) when stretch is released?


You should not need to do anything. When stretch is released as stable, 
you will already be on it. Just make sure that, when stretch is 
released, you have the security repo so you start getting stable 
security updates.



Will that apply to me? I.e. I should purge xserver-xorg-video-intel?


It is recommended.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Debian hardware compatibility

2017-04-19 Thread Ben Caradoc-Davies

On 19/04/17 19:52, John Elliot V wrote:

I'm getting a new workstation. Proposed specs are here:
 https://au.pcpartpicker.com/list/7MCfjc
I tried to find out if my new hardware would run Debian stable, but
couldn't confirm.
CPU is Intel Core i7-7700K on an Asus STRIX Z270F mobo. I'm planning to
drive two monitors from the onboard graphics controller, one via DVI the
other via HDMI.
Will Debian (w/ KDE Plasma) run on my new kit, does anybody know?
Cheers,
John.


Both your 7th generation Kaby Lake and the previous 6th generation 
Skylake have serious problems with older kernels such as the 3.16.39 in 
jessie, especially with integrated graphics. Older kernels also likely 
lack support for the i219v ethernet adapter on this board (but it is on 
the e1000e module support list for later kernels). You can get 4.9.18 
from backports, but why not just install stretch from RC3? stretch is 
close to release.


HD 630 iGPU is working fine for me with XFCE on an i7 7700 with one HDMI 
output on 4.9.18-1 amd64. I am on sid, but stretch has the same kernel. 
I purged xserver-xorg-video-intel because the modesetting driver is 
preferred for modern hardware.


Asus UEFI BIOS (H110I-PLUS BIOS 3202) defaults to incorrect turbo boost 
multipliers but I was able to manually set the correct "Per CPU" values 
in the BIOS. For a 7700K, these should be 45/44/44/44 if you are not 
overclocking (base clock 100MHz):

https://en.wikipedia.org/wiki/Kaby_Lake

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Proper folder for non-Debian binaries

2017-04-19 Thread Ben Caradoc-Davies

On 20/04/17 05:56, Nicolas George wrote:

Le decadi 30 germinal, an CCXXV, Felix Miata a écrit :

/usr/local/, like so:

The directory you are looking for is /opt.


On my Debian machine:

$ ls -al /opt
total 20
drwxr-xr-x  5 root root 4096 Apr 15 19:48 ./
drwxr-xr-x 22 root root 4096 Apr 15 13:09 ../
drwxr-xr-x  3 root root 4096 Apr 15 19:48 brother/
drwxr-xr-x  3 root root 4096 Apr 15 18:37 google/
drwxr-xr-x  2 root root 4096 Apr 15 18:36 skypeforlinux/

These are Brother scanner drivers, Google Chrome, and Skype for Linux. 
The last two are managed via apt repositories but still live in /opt. 
All install scripts/links in /usr/bin.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: new firefox for wheezy last night, can't do squat on the net today.

2017-04-23 Thread Ben Caradoc-Davies

On 23/04/17 16:21, Gene Heskett wrote:

And how do you get that 10 year newer flash?  The adobe site doesn't show
me anything newer than the 11.xx.xx.xxx stuff.


flashplugin-nonfree is often broken. Here is my workaround:
https://lists.debian.org/debian-user/2017/03/msg00491.html

See also:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851066

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Flash proplem

2017-03-12 Thread Ben Caradoc-Davies

On 13/03/17 08:59, Maureen L Thomas wrote:

I have upgraded my firefox esr as it came up on my upgrade list. Since
then I have lost the flash ability in my browser.  I uninstalled flash
and reinstalled in.  I am using the nonfree plug in for my debian
machine.  I am at a complete loss as to what could have happened.  I did
not do a complete removal of it just the shorter version using synaptic.


What is your version of firefox-esr? 45.8? Can you see Shockwave Flash 
in Tools / Add-ons / Plugins? Is it activated? What version is it? What 
version is displayed here (if any)?

http://www.adobe.com/software/flash/about/

Mozilla disabled some old versions of Flash plugin by default, and 
introduced more aggressive use of click-to-play. I speculate that these 
changes may have made it to the ESR channel.


The good news is that Adobe have released Flash 24 for NPAPI (Firefox). 
I am using Flash Player 24.0.0.221 in firefox 52.0-1 amd64 on sid.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Flash proplem

2017-03-13 Thread Ben Caradoc-Davies

On 14/03/17 10:58, Maureen L Thomas wrote:

I un-installed gnash and I no longer have any flash in Plugins and the
adobe page stated it needed a plugin to use it.  I also re-installed
flash-nonfree but still no reading in Plugins.


What is the output of:

ls -al /usr/lib/flashplugin-nonfree/

I also just tried purging and reinstalling, both with 3.6 (jessie 
package) and 3.7 (sid), and found them to be horribly broken. The 
problem is that, when Adobe updates the plugin, the flashplugin-nonfree 
installation process is broken until the maintainer Bart Martens updates 
some remote configuration files to enable the new version.


I was able to get it working with the following manual installation of 
the Adobe .tar.gz. I use this method because it is what the 
flashplugin-nonfree installer does, and I hope that when the package 
installer is working, my manual installation will be compatible. I hope 
that this approach minimises mess.


Download page:
https://get.adobe.com/flashplayer/

Download the .tar.gz (should be the same as this link):
https://get.adobe.com/flashplayer/download/?installer=FP_24.0_for_Linux_64-bit_(.tar.gz)_-_NPAPI=5504=1

For the next steps, you need to be root.

Extract the library (change the path to where you downloaded the .tar.gz):

tar zxfO /path/to/flash_player_npapi_linux.x86_64.tar.gz 
libflashplayer.so > /usr/lib/flashplugin-nonfree/libflashplayer.so


Fix permissions:

chmod 644 /usr/lib/flashplugin-nonfree/libflashplayer.so

Register the plugin:

update-alternatives --quiet --install 
/usr/lib/mozilla/plugins/flash-mozilla.so flash-mozilla.so 
/usr/lib/flashplugin-nonfree/libflashplayer.so 50


Now see if it works in Tools / Add-ons / Plugins and:
http://www.adobe.com/software/flash/about/

For future manual updates, only the tar command is required.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Flash proplem

2017-03-13 Thread Ben Caradoc-Davies

On 14/03/17 12:36, Maureen L Thomas wrote:

Please disregard my last post.  I realized my mistake and corrected it
and it worked.  I now have flash.  Thank you very much for your patience
and help.


Great! Thanks for letting us know. (I guess that you spotted that you 
needed a capital letter "O" not zero "0" for the tar option.)


This really should be easier. There are other reports of this problem 
(and a workaround similar to mine):

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851066

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Flash proplem

2017-03-13 Thread Ben Caradoc-Davies

On 13/03/17 13:06, Maureen L Thomas wrote:

My version of firefox is 45.830esr-1-deb7u1.  It shows in add-ons and is
activated with version 10.1r999.  At the website it is 24.0.0221.  I am
using a 64 bit machine with jessie on it.  Hope this helps.


Please keep emails on-list.

The flash with version 10.1r999 is I think GNU gnash. I would try 
uninstalling the gnash package to see if your problem is caused by some 
conflict or gnash being used for some sites that really need Adobe 
Flash. I have had no success with gnash.


Once gnash is uninstalled, please again check the version of Shockwave 
Flash in Tools / Add-ons / Plugins and on the Adobe about page:

http://www.adobe.com/software/flash/about/

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: If Linux Is About Choice, Why Then ...

2017-04-18 Thread Ben Caradoc-Davies

On 19/04/17 02:34, Reco wrote:

It's inevitable. Those who are paid for their work tend to align with
employer's view of things. I don't see it as a Universally Bad Thing™,
or The Source Of All Evil™. It's just the way things are.


This alignment is a natural human response and occurs without payment. I 
draw a parallel between paid employment and the Stockholm syndrome :-)

https://en.wikipedia.org/wiki/Stockholm_syndrome

See also the use of embedded journalism to subvert objectivity:
https://en.wikipedia.org/wiki/Embedded_journalism

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: can't start GUI mode debian 9

2017-07-12 Thread Ben Caradoc-Davies

On 12/07/17 14:51, Agung Vega wrote:

Then what next? I want to use gui version
(I had sent an email about the same problem, before this one )


This email would be better sent to the debian-user mailing list. The 
debian-devel list is for the development of Debian. This is a user 
support question.


How did you install Debian 9? A minimal installation contains no GUI.

What desktop do you want? Log in as root and use the command-line tools 
to install the desktop you want. For example, to install XFCE and a 
full-featured suite of desktop applications:


apt-get update
apt-get install task-xfce-desktop

You can see the list here:
https://packages.debian.org/stretch/task-xfce-desktop

Restart your computer and you should be presented with a graphical 
login. The instructions are similar for other desktops including gnome, 
mate, cinnamon, lxde, and kde.


If you are on a laptop, you might also consider installing "task-laptop" 
for power management and wifi tools.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Suggestions AMD or NVidia

2017-07-12 Thread Ben Caradoc-Davies

On 13/07/17 12:49, Felix Miata wrote:

AMD puts its effort directly into FOSS rather than proprietary. It gets my vote.


From five years ago, but still a gem:
Linus Torvalds on nVidia:
https://www.youtube.com/watch?v=iYWzMvlj2RQ

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Hello

2017-07-17 Thread Ben Caradoc-Davies

On 18/07/17 15:45, julius wrote:

I have problems with updating debian stretch you people say that
ftp mirrors are not going to serve debian any more i am in australia


iiNet are listed as a secondary mirror:
http://ftp.iinet.net.au/debian/debian/

The full list of mirrors:
https://www.debian.org/mirror/list

The iiNet mirror worked well for me when I was in Perth. The WAIA mirror 
is also on WAIX.


Where in Australia are you?

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: debian 6 download)

2017-07-22 Thread Ben Caradoc-Davies

On 23/07/17 04:56, arshad mahmood wrote:

Hi do you know how I can down load debian 6 server is free to download load or 
will I need to buy it through  a vendor regards


Debian 6 (squeeze) images are free to download but have been moved to 
the archives.


Media images are in the cdimage archive:
http://cdimage.debian.org/cdimage/archive/

Packages are on archive.debian.org:
http://archive.debian.org/debian/dists/

Debian 9 (stretch) has been released. Have you considered using this 
newer, supported release?


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Jessie Hangs Every Other Boot

2017-04-26 Thread Ben Caradoc-Davies

On 27/04/17 05:44, Don Armstrong wrote:

Your newish hardware may require a backported kernel to function reliably.


This. Any recent Dell machine will likely have a Skylake or Kaby Lake 
CPU and a bad time on the stock jessie kernel, especially if using the 
iGPU. Please install a 4.9.18 kernel from jessie backports or upgrade to 
stretch RC3 (almost the new stable) for the same kernel.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Intel I281-LM network card not working with Debian Stable

2017-04-21 Thread Ben Caradoc-Davies

On 21/04/17 22:27, Siebrand Klein wrote:

Dear Debian-users list,
I have a computer with one Intel I218-LM and two Intel I210 network
adapters.
The I210's are found correctly, but the I218 isn't.
Can anyone give me some advice on how to get the I218 up and running? I
found some (old) information that a newer version of the e1000e kernel
module might help, but I would like to stick to the standard distribution
files. If it is necessary to update, preferably to some testing packages
then...


A 4.9.18 kernel from jessie backports would likely be more compatible 
with stable than a kernel from testing. Note that stretch is almost 
released (it will soon be the new stable) and contains the same kernel. 
If you are not ready to upgrade, then jessie backports is in my view 
your best option for an upgraded kernel:

https://backports.debian.org/Instructions/

There are no guarantees that 4.9.18 will fix your issue. I218-LM should 
be supported in 3.16; support might be improved in 4.9.18:

http://cateee.net/lkddb/web-lkddb/E1000E.html

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Measuring aggregate internet useage?

2017-04-24 Thread Ben Caradoc-Davies

On 24/04/17 22:58, Richard Owlett wrote:

If there were user accessible registers with a running total of
uploaded/downloaded data since device power on would be almost ideal
granularity.


Is ifconfig available on a console during installation? The full version 
reports TX and RX data.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: debian9.1 ifdown bug

2017-08-18 Thread Ben Caradoc-Davies

On 18/08/17 19:38, David Guyot wrote:

I'm afraid you won't get much help if you don't explain your problem in
English. These are English-speaking mailing lists.


The original poster provided a Google translation, which I thought was a 
good effort:



=
google translation
=


Newly installed system, I tried to modify the network. But networking
restart has been in a failed state, but I can use it after reboot.
Troubleshoot the reasons for finding ifdown -v ethx found ip addr del
ip / mask deleted is not the old address, but the new address. So in
the closed restart he just added / etc / network / interfaces in the
new ip address. Ip addr found that they both coexist the state.

#ifconfig eth3
Eth3: flags = 4099 <UP, BROADCAST, MULTICAST> mtu 1500
 Inet 172.16.1.20

#cat / etc / network / interfaces
Auto eth3
Iface eth3 inet static
Address 172.16.1.16
Netmask 255.255.255.0

#ifdown -v eth3 # He deleted the network in the new interfaces
configuration, not the old network.
/ Bin / ip addr del 172.16.1.16/255.255.255.0 broadcast 172.16.1.255
dev eth3 label eth3

My temporary fix is:
## cat fix-network.sh
#! / Bin / bash
/etc/init.d/networking stop
$ (Ip addr | grep inet | grep -v 127.0.0.1 | awk '{printf "ip addr
del% s dev% s \ n", $ 2, $ NF}')
/etc/init.d/networking start
#ifup eth0


--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: USB wireless keyboard in stretch

2017-08-22 Thread Ben Caradoc-Davies

On 22/08/17 22:05, Dominic Knight wrote:

Meanwhile... some wireless keyboards and mice work very well in this
modern age, I've used Logitechs M185 & K270 without a single issue on
both Stretch and Buster.


+1, currently using these as an MK270r set on sid. I had some reception 
problems with its predecessor so from habit use a USB extension to move 
the nano receiver a bit closer. No problems so far with this set. My 
favourite keyboard and mouse ever. I would give it a 9/10 (shortcut keys 
could be better).


Last time I looked into it, keyboard packets are encrypted with AES (but 
actual security is more than just this), but mouse packets are unencrypted.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: USB wireless keyboard in stretch

2017-08-22 Thread Ben Caradoc-Davies

On 23/08/17 10:32, Ben Caradoc-Davies wrote:

On 22/08/17 22:05, Dominic Knight wrote:

Meanwhile... some wireless keyboards and mice work very well in this
modern age, I've used Logitechs M185 & K270 without a single issue on
both Stretch and Buster.
+1, currently using these as an MK270r set on sid. I had some reception 
problems with its predecessor so from habit use a USB extension to move 
the nano receiver a bit closer. No problems so far with this set. My 
favourite keyboard and mouse ever. I would give it a 9/10 (shortcut keys 
could be better).


And battery level reporting is not yet supported on Debian for this 
model (in XFCE power manager or solaar). Still 9/10.  :-)


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Gave up waiting for suspend/resume device

2017-08-17 Thread Ben Caradoc-Davies

On 18/08/17 11:27, David Christensen wrote:

On 08/17/17 00:44, Curt wrote:

On 2017-08-17, David Christensen <dpchr...@holgerdanske.com> wrote:

Is there a configuration file I can edit so that the kernel does not
wait 30 seconds on boot for a suspend/resume device?

  "kernel parameter 'noresume' or
  'resume='"

Into which file do I put one of those options?
David


I would put it in /etc/default/grub; for example, mine contains:

GRUB_CMDLINE_LINUX="quiet"

I would change this to:

GRUB_CMDLINE_LINUX="quiet noresume"

After changing /etc/default/grub, run "update-grub" to regenerate 
/boot/grub/grub.cfg.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: How to run Debian from SD card but booting from USB stick?

2017-05-11 Thread Ben Caradoc-Davies

On 12/05/17 10:58, Lisi Reisz wrote:

On Thursday 11 May 2017 21:58:09 Richard Owlett wrote:

<https://help.ubuntu.com/community/Boot=>FromSD) and I'm wondering if it
will work for Debian.

Your URL is garbled. I tried some quick fixes but didn't work.

Works fine for me. :-/
Lisi


The original URL should have been 
<https://help.ubuntu.com/community/BootFromSD>. The original text was 
wrapped by MIME quoted-printable 
<https://en.wikipedia.org/wiki/Quoted-printable>, which seems to have 
broken the URL for some email clients.


Appendix C of RFC 3986 <https://tools.ietf.org/html/rfc3986#appendix-C> 
recommends delimiting URIs in plain text with angle brackets. This is 
especially useful for URLs used in flowing text where the interpretation 
of trailing punctuation might be ambiguous. I do not know if this would 
have helped with MIME quoted-printable.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Virtual Machines: Newbie / novice questions

2017-05-14 Thread Ben Caradoc-Davies

On 15/05/17 02:27, Thomas Schmitt wrote:

For my VMs which shall be operated without graphics screen, i let qemu
forward a host port (here 4567) to port 22 of the guest, where a SSH
server will be set up by installation to offer login:
  qemu-system-x86_64 ... \
 -net nic -net user,hostfwd=tcp::4567-:22


And if you want QEMU to listen only on localhost and not allow remote 
network connections, this becomes:


qemu-system-x86_64 ...
-net nic -net user,hostfwd=tcp:127.0.0.1:4567-:22

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Virtual Machines: Newbie / novice questions

2017-05-14 Thread Ben Caradoc-Davies

On 14/05/17 23:51, rhkra...@gmail.com wrote:

* Can I C between (applicatons in) different VMs and/or the base OS?


While you can do this in emulators like VMWare Player, QEMU does not 
support it. A popular solution for QEMU is Spice 
<https://www.spice-space.org/spice-user-manual.html>. A simpler but less 
feature-rich solution is connecting with ssh, as described earlier in 
this thread.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: an fstab question

2017-05-09 Thread Ben Caradoc-Davies

On 10/05/17 14:50, Martin McCormick wrote:

One of the suggestions for improving the longevity of solid-state drives is
to mount them using the noatime flag which reduces the number of
times that inodes are written to. if I try something like:
UUID=[string] /   ext4 errors=remount-ro 0   1
It works. If I put relatime there, that works but if I use
noatime, the line is flagged as bad.
The man page for mount shows noatime and relatime so why
does noatime not work?
Many thanks.
Martin McCormick


Martin, please show us the failing line. noatime works fine for me in fstab:

/dev/mapper/vg-root /   ext4 
noatime,errors=remount-ro   0   1


mount confirms that it is being honoured:

/dev/mapper/vg-root on / type ext4 
(rw,noatime,errors=remount-ro,data=ordered)


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Custom Debian LiveCD?

2017-05-22 Thread Ben Caradoc-Davies

On 23/05/17 10:23, Anonymous wrote:

I'd like to make my own custom Debian livecd for private
use. However, when I search for this on the web it's either
posts which talk about discontinued programs which have
been abandoned and/or no longer work, or pages with step by
step instructions, dozens of pages long, and usually followed
by posts with attempts to correct the tutorial, complain
about it being broken and so on. Thank you for the fish.


live-build still works, and now has UEFI support. The debian-live 
mailing list is a better place to start. What release do you want to 
target? I made a build on unstable for unstable and included a bunch of 
utilities and customisations. The installer on my live image did not 
work so I used a stock installer (stretch RC3), but the live image 
itself worked well from USB.


I have tried live-wrapper many times but never got it to work for 
unstable. I made many bug reports. It seems lacking in features.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Setting up power-off icon

2017-05-31 Thread Ben Caradoc-Davies

On 01/06/17 11:48, Lisi Reisz wrote:

On Thursday 01 June 2017 00:17:29 Lisi Reisz wrote:

[Desktop Entry]

[...]

Icon=/usr/share/pixmaps/power-button-off_318-4.jpg

[...]

I have one that is working via the desktop shortcut - but am now faced with
being unable to change the icon.  (Which is just a gear.)


Lisi, have you tried using a PNG, with a ".png" extension?

https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html
https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
"The image files must be one of the types: PNG, XPM, or SVG, and the 
extension must be ".png", ".xpm", or ".svg" (lower case). The support 
for SVG files is optional. Implementations that do not support SVGs 
should just ignore any ".svg" files."


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Debian hardware compatibility

2017-05-02 Thread Ben Caradoc-Davies

On 20/04/17 12:33, Ben Caradoc-Davies wrote:

Asus UEFI BIOS (H110I-PLUS BIOS 3202) defaults to incorrect turbo boost
multipliers but I was able to manually set the correct "Per CPU" values
in the BIOS. For a 7700K, these should be 45/44/44/44 if you are not
overclocking (base clock 100MHz):
https://en.wikipedia.org/wiki/Kaby_Lake


For the record, upgrading to H110I-PLUS BIOS 3402 fixed the turbo boost 
multipliers.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: /tmp/.X0-lock

2017-05-05 Thread Ben Caradoc-Davies

On 06/05/17 11:06, Charles Kroeger wrote:

running freshly upgraded kernel image 4.9.0.3 on normal boot with startx
command but getting the following error message from (X server) xorg: could not
create lock file in /tmp/.X0-lock (the contents of, are the numbers 2994)
unable to connect to the X server: connection refused


Check permissions and free space:

ls -ld /tmp
ls -l /tmp/.X0-lock
df /tmp

If /tmp/.X0-lock already exists, is there another instance of the X 
server running (with that PID? Or did a previous instance crash without 
removing it?


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: /tmp/.X0-lock

2017-05-05 Thread Ben Caradoc-Davies

On 06/05/17 12:09, Charles Kroeger wrote:

not that I know of how do you tell if there's another X server running. I mean
there is after I do a sysvinit boot (from the grub advanced menu) but on a
reboot of course the X server obviously shuts down (or does it?)


Does the PID in the lock file correspond to a running process?

ps -f `cat /tmp/.X0-lock`

Are there any running instances of an X server?

ps -fC Xorg

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Live Fille System Backup

2017-05-06 Thread Ben Caradoc-Davies

On 07/05/17 01:56, to...@tuxteam.de wrote:

On Sat, May 06, 2017 at 06:42:46AM -0400, Dan Ritter wrote:

On Sat, May 06, 2017 at 07:52:25AM +0200, to...@tuxteam.de wrote:

On Fri, May 05, 2017 at 01:35:35PM -0700, Sergei G wrote:

it would be naive at best to think that busy files [...]

What is a "busy" file?

Open for writing.

Hm. That just means that the file will change after being copied.
In itself not a problem (Note that there are other, stronger concepts
of busy. An open file for write can be opened for read/write by
another process, can be deleted, yadda, yadda. It can be definitely
copied. Less civilised operating systems lock files when opened for
write, but not the Unixoids).


If a file is updated while it is being copied, it may contain only half 
a change set and be in an internally inconsistent state, perhaps making 
it unusable as a backup. Writes are typically not atomic. The same 
problem applies to collections of files that reference each other.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Poor X performance with Intel 8086:22b1 (Braswell)

2017-05-31 Thread Ben Caradoc-Davies

On 01/06/17 02:25, Greg Wooledge wrote:

I have pasted my Xorg.log here
https://paste.debian.net/955691thanks a lot,

Please make sure you put whitespace after the URL.  From
https://paste.debian.net/955691 :


Or surround the URL with angle brackets 
like<https://paste.debian.net/955691>this to delimit it from surrounding 
text.


Appendix C of RFC 3986 <https://tools.ietf.org/html/rfc3986#appendix-C> 
recommends delimiting URIs in plain text with angle brackets. This is 
especially useful for URLs used in flowing text where the interpretation 
of trailing punctuation might be ambiguous.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: youtube error msg & html5

2017-09-11 Thread Ben Caradoc-Davies

On 12/09/17 09:34, Whit Hansell wrote:

Does anyone know what to do abouut this error messagfe on YouTube.???
  Your browser does not currently recognize any of the video formats
  available
Thanks.   I've searched for the answer but nothing makes any sense 
and many of the answers are very old  The youtube screen points me 
to a page about firefox and html5 but I can't find out how to fix the 
problem..


What browser and version, and what YouTube URL?

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: languages

2017-09-18 Thread Ben Caradoc-Davies

On 19/09/17 08:06, Greg Wooledge wrote:

LANG=en_US.ISO-8859-15
LC_TIME=nl_NL.utf-8

Looks like a complete disaster.  You've got two entirely different
encodings here (one iso8859-* and one utf-8).
First you need to figure out what terminal you're using, on what
kind of computer, and whether that terminal supports UTF-8 or not.
If the terminal is UTF-8 capable then your locale should be a UTF-8
one, not an ISO-8859-* (single byte) one.


This.

For the record, users who encounter missing glyphs for 
Chinese/Japanese/Korean and other non-European languages can try the 
fonts-noto package for better Unicode coverage. I do not think this is 
the problem in your case because common fonts like Liberation and DejaVu 
have Cyrillic coverage.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: My Problem with Stretch - thin mosquito-like noise from HDD partition

2017-09-19 Thread Ben Caradoc-Davies

On 19/09/17 21:53, Tibor Mate wrote:

Hello dear support,
i love debian but since Stretch i have this problem: using laptop there is
a thin - mosquito-like - noise from HDD which immediately stop when i mount
a partition. Then the noise stop BUT after cca 2-3 minutes starts again and
stop just when i unmount the partition. But then again start after 2-3
minutes so it is terrible circle and to use and work on this system can
not. On windows no problem, on older debian distros no problem. Have you
any idea with it (some deb package that can do it). Thanks. Tibor


How do you know that the noise comes from the HDD? The mosquito-like 
noise you describe sounds like coil whine. I conjecture that the more 
recent Debian has different power characteristics (perhaps more 
efficient?) that move your laptop into a load level that causes coil 
whine to occur. The other solutions proposed on this thread might work, 
perhaps because they change the current drawn by your laptop. This might 
be why mounting the partition appears to help.


- What is the model of your laptop and does it have a known problem with 
coil whine?


- Does the whine occur when AC is connected or only on battery?

- Can you remove the whine by changing the screen brightness?

- Does the whine occur under load? For example "povray --benchmark".

I have heard coil whine on many computers. Some whine at high load. Some 
whine only under ATX off (just enough power on the motherboard to allow 
he power button to work).


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: hdparm reporting a different serial number

2017-09-19 Thread Ben Caradoc-Davies

On 20/09/17 14:53, Bhasker C V wrote:

Hi all,
  I have a seagate backup plus 5TB.
  When I plug-in the hdd, I see the serial number (as printed in the
back of the HDD) in dmesg.
usb 2-1.1: SerialNumber: 
[5.244161] usbcore: registered new interface driver usb-storage
[5.245790] scsi host6: uas
[5.246015] usbcore: registered new interface driver uas
[5.247071] scsi 6:0:0:0: Direct-Access Seagate  BUP BK
   0108 PQ: 0 ANSI: 6
[5.285452] sd 6:0:0:0: [sda] 9767541167 512-byte logical blocks:
(5.00 TB/4.55 TiB)
[5.285458] sd 6:0:0:0: [sda] 4096-byte physical blocks
[5.285786] sd 6:0:0:0: [sda] Write Protect is off
[5.285790] sd 6:0:0:0: [sda] Mode Sense: 53 00 00 08
This serial number is correct ! (Actuial serial number is obfuscated)
Whereas, when I do a hdparm or smartctl -i , I get a different serial number.
ATA device, with non-removable media
 Model Number:   ST5000LM000-2AN170
 Serial Number:  YYY
 Firmware Revision:  0001
 Transport:  Serial, ATA8-AST, SATA 1.0a, SATA II
Extensions, SATA Rev 2.5,
(actual serial number obfuscated)
Can someone explain why please ?
When I use seagate seatools, it reports both the USB-STORAGE and also
the internal HDD with the same  serial number (on windows).


Your USB hard drive consists of a USB to SATA bridge and a SATA HDD. My 
guess is that the kernel reports (via dmesg/journalctl) the USB iSerial 
of the bridge as "SerialNumber" and hdparm reports the SATA serial 
number of the HDD.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: debian-user-digest Digest V2017 #107

2017-10-02 Thread Ben Caradoc-Davies

On 03/10/17 05:10, Thomas Schmitt wrote:

Steven Ponton wrote:

Please can you unsubscribe me, far to many emails come through

If a first unsubscribe request does not work, you might need to send the
next request from that mail address.


More ways to unsubscribe are given here:
https://www.debian.org/MailingLists/#subunsub

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Prevent apt/dpkg from automatically enabling services during the upgrade process.

2017-10-02 Thread Ben Caradoc-Davies

On 03/10/17 08:55, Victor wrote:

Dear Debian friends,
I use Debian Sid as my home distribution, and I have an annoying
problem. If I disable some services with "systemctl disable service", it
happens that whenever an upgrade of any service's package appears,
apt/dpkg will automatically enable the service during the upgrade
process. Is it there a way to avoid that behaviour? I don't want to
disable the services every time that there is an upgrade of my disabled
services.
Thanks in advance.
Éter.


I use "systemctl mask service" to prevent unwanted services from being 
started.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: new command in replacement for iptables in debian 9 ?

2017-10-17 Thread Ben Caradoc-Davies

On 18/10/17 01:03, Stephane L wrote:

Is there a new command to replace iptables in debian 9 ? I have read something 
like that


nftables?
https://packages.debian.org/sid/main/nftables

I have not yet used it. iptables still works for stretch (9) and sid.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: way of starting a firewall script in debian 9 with kde5 and sddm

2017-10-17 Thread Ben Caradoc-Davies

On 18/10/17 01:08, Stephane L wrote:

Hi,I have a firewall script(firewall) that I laucnh with Is 
there a way in debian 9 (with kde5 and sddm) to start this script at the boot of the 
linux system or at the launching of xorg or of kde5 ?


systemd units are easy to write (this is the main benefit of systemd) 
and can be configured run at boot time. Here is one I wrote for 
iptables+ip6tables (because I do not want changes to persist across 
boots, just clean rules on boot). You will need a different Type if your 
program does not exit:


$ cat /etc/iptables/iptables.service
[Unit]
Description=iptables rules
After=network.target
[Service]
Type=oneshot
ExecStart=/bin/bash -c "/sbin/iptables-restore < 
/etc/iptables/iptables.rules"
ExecStart=/bin/bash -c "/sbin/ip6tables-restore < 
/etc/iptables/ip6tables.rules"

RemainAfterExit=yes
ExecStop=/sbin/iptables -F
ExecStop=/sbin/ip6tables -F
[Install]
WantedBy=multi-user.target

I enabled it with:

systemctl enable /etc/iptables/iptables.service

This should add the required symlink in /etc/systemd/system .

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: ugly fonts in thunderbird after sid upgrade

2017-10-16 Thread Ben Caradoc-Davies

On 17/10/17 09:50, Pétur Viljamson wrote:

I have ugly fonts in thunderbird after updating my Debian sid today.
It happens both in the body of mail (received and sent) and in the
interface. The problem is also present on my second computer with
different hardware but some software (Xfce + Debian sid).
This mail was rejected by the Debian mailing list the first time with the
error
"550 5.6.0 improper use of 8-bit data in message header"
so I am gessing the font problem must be a encoding one.
The update did not delete any package. It must be a bug.
See ugly fonts screenshots:
https://ncloud.zaclys.com/index.php/s/LcuSZeD5yblc7ac/download


I am using Xfce on sid and do not see any font corruption in 
thunderbird. What are your desktop font settings?


I am using Liberation Sans for desktop and GUI, full hinting, and in 
/etc/environment I have:

FREETYPE_PROPERTIES=truetype:interpreter-version=35

We got a tiny fonts-liberation update but I did not notice any change.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: granting permission for using debian name in education purpose

2017-09-12 Thread Ben Caradoc-Davies

On 13/09/17 17:07, debian wrote:

Dear Sir
I, pawan pandey (Asst. Professor in CSE),user of linux and open source
software and of course debian user for last 10 years want to know  that
would   i use debian name in my education project for  school students
as per my hobby is there need of any no objection certificate
regarding this from your side. I would also like to express my linux
ability through debian to students .
yours
pawan pandey
Inidia


Please read the Debian trademark policy:
https://www.debian.org/trademark

"When You Can NEVER Use the Debian Trademarks Without Asking Permission 
[...] 2. You cannot use Debian trademarks in a company or organization 
name or as the name of a product or service."


See the "Permission To Use" section for instructions on how to submit an 
email request for how to use the Debian trademark:


"[...] email to tradem...@debian.org with subject "Trademark Use 
Request"; be sure to include the following information in the body of 
your message:

Name of the User
Name of the organization/project
Purpose of Use (commercial/non-commercial)
Nature of Use"

Note that I am not a representative of Debian, just a Debian user. To 
obtain permission, you must follow the steps in the trademark policy.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: youtube error msg & html5

2017-09-12 Thread Ben Caradoc-Davies

On 12/09/17 23:53, Whit Hansell wrote:

It's Firefox ESR 52.3.0  (64 bit)
As to you tube, when I go to youtube (youtube.com) and click on any of 
the videos available a new page opens w. only a black video graphic.  No 
way to start it so I have found that if I refresh the pate a new page 
starts w. the various video graphics at the bottom of that same black 
video graphic but w. the message about the browser not suporting any of 
the video formats and with the message about html5.  I can't start the 
graphic using the start button in the graphic, nothing happens.
I just picked one video from the youtube.com site and this is the url. 
It really doesn't matter which one I select...

https://www.youtube.com/watch?v=2IqDsPXfzjk
I don't get it. Have been having this same problem about the first 
graphic not working for about a week but was able to get it sorking when 
the refresh page hit and I could hit the start graphic button in the 
video frame.  It no longer works

Thanks.
Whit  Hansell


Whit, that URL works perfectly for me in firefox 55.0.3-1 amd64 on sid. 
The video is displayed with HTML5. Please try clearing your cache and 
saved site settings (preferences privacy section) and starting firefox 
in safe mode:


firefox --safe-mode

Do you have any extensions installed? Safe mode will disable them.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: youtube error msg & html5

2017-09-12 Thread Ben Caradoc-Davies

On 13/09/17 02:29, Alexander V. Makartsev wrote:

Did you tried or have installed adobe flash player plugin?


I advise against installing the flash plugin. The flash plugin package 
is often broken (downloads from Adobe fail) and seems no longer required 
for YouTube. Or anywhere for that matter. I uninstalled it a few weeks ago.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: [Solved] youtube error msg & html5

2017-09-12 Thread Ben Caradoc-Davies

On 13/09/17 02:57, Whit Hansell wrote:
For grins, I tried restarting  Firefox w/o plugins.  Then went to 
youtube and tried a video.  Worked perfectly.  So knew it was a plug-in. 
  Turned out to be "You tube flashplayer - html5."  disabled it and 
Voila' it worked.

Thank you all for your help.  Much appreciated...
Regards,
Whit Hansell


Great! Thanks for reporting back.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: libreoffice writer no longer allowing two (nor more) space chars to be adjacent - how to fix?

2017-09-24 Thread Ben Caradoc-Davies

On 25/09/17 16:05, Zenaan Harkness wrote:

This is a strange and unexpected "feature" in the latest Libreoffice
upgrade on Debian stable:
in Writer, I can no longer enter more than one space at a time
(between words or sentences)!
This is not like at the end of a line where excess spaces are still
there just not seen, and the corresponding number of spaces can be
deleted - this is different, where additional spaces are simply
IGNORED!
"How bizzarre!" as they say :)
Anyone know how to revert this "fantastic" new feature?
:D


There is an option: Tools / AutoCorrect / AutoCorrect Options ... / 
Options / Ignore double spaces. Is it enabled? It does not work for me 
but disabling it might work for you.


I also have a vague recollection of HTML editors not allowing multiple 
spaces. I do not know if this applies to LibreOffice Writer.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Codecs and such? Like ubuntu restricted extras package?

2017-08-25 Thread Ben Caradoc-Davies

On 26/08/17 12:20, Anonymous wrote:

Does something like this exist in Debian? A package which
brings in restricted extras? A repository for all these
extras? (without trusting some vague "unofficial" maintainer)
It's so easy with the various buntus and Mint, I'm searching
for similar functionality here.
[FWIW I ONLY WANT TO USE DEBIAN]
TIA


You mean like the non-free component?
https://wiki.debian.org/SourcesList#Component

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: USB external hard drive -- mounting

2017-08-28 Thread Ben Caradoc-Davies

On 29/08/17 09:25, James H. H. Lampert wrote:
Can anybody advise me on how to set this thing up so that if it's 
plugged in, it will mount, to a consistent mountpoint, whether anybody's 
signed on to Gnome or not?


I am not sure about the background automounting, but I get consistent 
mount points and mount settings with entries like these in /etc/fstab:


LABEL=Backup/media/backup   ext4 
noatime,noauto,user,errors=remount-ro   0   0
LABEL=Thumb /media/thumbvfat 
noatime,noauto,user,uid=1000,gid=1000,umask=007,utf8,flush  0   0


The noauto and hardcoded uid/gid might not work for you, but they could 
be a starting point. Perhaps noauto to stop automounting plus a udev 
rule? I have not tried this.


The above lines give me fixed mount points based on filesystem labels 
(LABEL), but UUID will also work. Device names are no good as they are 
by default dynamically assigned for USB storage devices.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: USB external hard drive -- mounting

2017-08-28 Thread Ben Caradoc-Davies

On 29/08/17 12:19, James H. H. Lampert wrote:
First, I was able to relabel the drive as a suitably generic 
"ExternalHD," and when I unplugged it and plugged it back in, it mounted 
(albeit still under a user-specific, auto-created mount point) as that 
label.
With the drive automounted, I did a "umount" on it, created a mount 
point for it (directly in /media, and available to everybody, for now, 
at least), and then did a "mount" at the new mount point. It mounted 
successfully in that user-neutral location, and is available to any 
signed-on user.


Permissions are likely to be main problem for multiuser access. 
User-private groups, the sgid bit, and careful selection of umask may help.


Of course, if I then unmount it, pull the plug, and plug it back in, 
without an fstab entry, it auto-mounts to a created mount point in the 
user's subdirectory of /media, but at least the mount point I created 
doesn't go bye-bye, so that's a start.


Good. This is the expected behaviour for media with labels.

I have not tried this but a udev rule might be your next step:
https://www.axllent.org/docs/view/auto-mounting-usb-storage/

There is also a thing called udisks, but I have not used that either.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: network trouble on stretch

2017-09-03 Thread Ben Caradoc-Davies

On 04/09/17 10:27, Fungi4All wrote:

Before you get a long lecture on the merits of long unique names try this:
Edit your /etc/default/grub change GRUB_CMDLINE_LINUX=”” to :
GRUB_CMDLINE_LINUX="net.ifnames=0" If the biosdevname is installed you need to 
add :
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
$ sudo update-grub
$ sudo reboot
Now check your /dev/interfaces, they should be eth0 and wlan0 and they will stay
this way.


Thank you. I have wanted this for so long.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Recommended editor for novice programmers?

2017-09-03 Thread Ben Caradoc-Davies

On 03/09/17 06:21, Tom Browder wrote:

I would especially appreciate other ideas for programming editors for
novice programmers.


I use and recommend geany. And Eclipse.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Install on hp-pavilion-g6-2100 stops at 98%

2017-09-03 Thread Ben Caradoc-Davies

On 03/09/17 21:07, Luis Speciale wrote:

Le 03/09/2017 à 10:28, Dominique Dumont a écrit :
Assuming disk naming is the same on Mac compared to Debian, you've 
written the
iso image in the first partition (/dev/disk1) instead of writing it to 
the

device (/dev/disk).
I don't know if both name the volumes the same way. Looking at this with 
a command that lists the volumes, I have this

➜  ~ diskutil list
/dev/disk0 (internal, physical):
    #:   TYPE NAME   SIZE   IDENTIFIER
    0:  GUID_partition_scheme    *1.0 TB disk0
    1:    EFI EFI    209.7 MB   disk0s1
    2:  Apple_HFS 999    999.3 GB   disk0s2
    3: Apple_Boot Recovery HD    650.0 MB   disk0s3
/dev/disk1 (external, physical):
    #:   TYPE NAME   SIZE   IDENTIFIER
    0: Apple_partition_scheme    *16.0 GB    disk1
    1:    Apple_partition_map    4.1 KB disk1s1
    2:  Apple_HFS    426.0 KB   disk1s2


That is interesting. macOS is derived from BSD via NeXT and here I 
suspect shows a BSD-like naming convention. The "s" stands for slice.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Logitech "unifying" receiver buttons aren't?

2017-10-12 Thread Ben Caradoc-Davies

On 13/10/17 09:22, Gene Heskett wrote:

There used to be a filename you could "touch" on the root of a disk that
would force an e2fsck on the next reboot, do you recall it?


"touch /forcefsck" no longer works. systemd uses the "fsck.mode=force" 
kernel command line parameter.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Logitech "unifying" receiver buttons aren't?

2017-10-12 Thread Ben Caradoc-Davies

On 13/10/17 09:43, David Wright wrote:

On Thu 12 Oct 2017 at 16:22:27 (-0400), Gene Heskett wrote:

There used to be a filename you could "touch" on the root of a disk that
would force an e2fsck on the next reboot, do you recall it?

That's out of date. Nowadays you add the word   forcefsck
to the linux line in grub.cfg by pressing
 to get the Grub menu,
 to edit an entry,
scroll and add the word,
 to boot the ephemerally modified entry.


Does this work with systemd? Only "fsck.mode=force" is documented.

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: ugly fonts in thunderbird after sid upgrade

2017-10-17 Thread Ben Caradoc-Davies

On 18/10/17 07:38, Michael Biebl wrote:

Am 16.10.2017 um 22:50 schrieb Pétur Viljamson:

I have ugly fonts in thunderbird after updating my Debian sid today.

It's the latest freetype upgrade causing this for users which use
subpixel antialiasing. Thunderbird needs to be updated to cope with the
changes in freetype 2.8.1
see https://bugs.debian.org/878870


Aha! So the reason I do not see this defect is my use of the old engine 
(the one that supports hinting) through a FREETYPE_PROPERTIES setting.


Pétur, please try starting thunderbird with:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 thunderbird

Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Missing qt5-designer in Stretch

2017-11-14 Thread Ben Caradoc-Davies

On 15/11/17 04:48, Marc Shapiro wrote:

$ designer
designer: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/designer': 
No such file or directory

$ assistant
assistant: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/assistant': 
No such file or directory


qtchooser is defaulting to a version of qttools5-dev-tools that you do 
not have. You should be able to change this by setting QT_SELECT or by 
editing/symlinking the qtchooser configuration file 
/usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf . "man 
qtchooser" for details.


Kind regards,

--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



Re: Missing qt5-designer in Stretch

2017-11-14 Thread Ben Caradoc-Davies

On 15/11/17 09:58, Ben Caradoc-Davies wrote:
qtchooser is defaulting to a version of qttools5-dev-tools that you do 
not have.


What I meant is that qtchooser is defaulting to a version of the qt dev 
tools that you do not have (i.e. qt4).


--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand



  1   2   3   4   >