Re: Postgresql logging problem

2019-12-03 Thread Johann Spies
Solved: changing the ownership of the custom log in conf.d solved the
problem.

Regards
Johann

On Tue, 3 Dec 2019 at 17:14, Johann Spies  wrote:

> We have upgraded two servers by installing postgresql(pgpd) 12.  Both
> servers are running Debian Stable.
>
> On the problem server we have:
> pg_lsclusters
> Ver Cluster Port Status OwnerData directory  Log file
> 11  main5432 online postgres /var/lib/postgresql/11/main
> /var/log/postgresql/postgresql-11-main.log
> 12  main5434 online postgres /var/lib/postgresql/12/main
> /var/log/postgresql/postgresql-12-main.log
>
> But nothing gets written to the logfiles.  In stead the logs appear on the
> console when the user postgresql is connecting to the database.
>
> On the other server:
> $ pg_lsclusters
> Ver Cluster Port Status OwnerData directory  Log file
> 11  main5433 down   postgres /var/lib/postgresql/11/main
> /var/log/postgresql/postgresql-11-main.log
> 12  main5432 online postgres /var/lib/postgresql/12/main
> /var/log/postgresql/postgresql-12-main.log
>
> The logging works as expected.
>
> The postgresql.conf for version 12 is identical on both servers - the
> default installed by Debian.
>
> This is with logging_collector off.
>
> When switching logging_collector  on on the problem server, it logs to
> /var/lib/postgresql/11/main/log/.
>
> Our preference would be to have the logs on both servers in
> /var/log/postgresql.
>
> Where do we look for the cause of this behaviour?  On both servers the
> configuration for rsyslog seems to be identical.
>
> Regards.
>
> Johann
>
>
>
> --
> Because experiencing your loyal love is better than life itself,
> my lips will praise you.  (Psalm 63:3)
>


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Postgresql logging problem

2019-12-03 Thread Johann Spies
We have upgraded two servers by installing postgresql(pgpd) 12.  Both
servers are running Debian Stable.

On the problem server we have:
pg_lsclusters
Ver Cluster Port Status OwnerData directory  Log file
11  main5432 online postgres /var/lib/postgresql/11/main
/var/log/postgresql/postgresql-11-main.log
12  main5434 online postgres /var/lib/postgresql/12/main
/var/log/postgresql/postgresql-12-main.log

But nothing gets written to the logfiles.  In stead the logs appear on the
console when the user postgresql is connecting to the database.

On the other server:
$ pg_lsclusters
Ver Cluster Port Status OwnerData directory  Log file
11  main5433 down   postgres /var/lib/postgresql/11/main
/var/log/postgresql/postgresql-11-main.log
12  main5432 online postgres /var/lib/postgresql/12/main
/var/log/postgresql/postgresql-12-main.log

The logging works as expected.

The postgresql.conf for version 12 is identical on both servers - the
default installed by Debian.

This is with logging_collector off.

When switching logging_collector  on on the problem server, it logs to
/var/lib/postgresql/11/main/log/.

Our preference would be to have the logs on both servers in
/var/log/postgresql.

Where do we look for the cause of this behaviour?  On both servers the
configuration for rsyslog seems to be identical.

Regards.

Johann



-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


How to delete second default route

2019-10-04 Thread Johann Spies
This problem arised recently after an upgrade (running sid)

How do I remove the first default route in this list?

ip route del default

does not do it.  When I disable enp0s25 the second line (via 192.168.1.1)
will be the only and correct default route. In that case "ip route del
default"  wil remove it.

$ sudo ip route list
default dev enp0s25 scope link
default via 192.168.1.1 dev wlo1 proto dhcp metric 600
169.254.0.0/16 dev wlo1 scope link metric 1000
192.168.0.0/24 dev enp0s25 proto kernel scope link src 192.168.0.2
192.168.1.0/24 dev wlo1 proto kernel scope link src 192.168.1.116 metric
600
208.67.220.220 dev enp0s25 scope link
208.67.222.222 dev enp0s25 scope link
08:39:45 js@kiekie2:~$ sudo ifconfig enp0s25 down

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Using ftp as apt-method: How to configure

2019-09-10 Thread Johann Spies
Solved with help from another mailing list:

Dir::Bin::Methods::ftp "/usr/lib/apt/methods/ftp";
in /etc/apt/conf using the full path for ftp.
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Using ftp as apt-method: How to configure

2019-09-10 Thread Johann Spies
We have a server in the DMZ with only connection to a ftp-server on campus
for updates.  No http(s) service available for apt.

While upgrading to buster, I got the message that the new apt disabled ftp
as method. The message also suggested the solution: *Set
Dir::Bin::Methods::ftp to "ftp" to enable it again.*

My problem: Where do I put that?  I have tried the following:

Created an /etc/apt.conf with
Dir::Bin::Methods::ftp;
as the only line.

That did not help.  I then moved the file to /etc/apt/preferences with the
same result.

So in which file should this solution go?  And what does it mean to " Set
Dir::Bin::Methods::ftp to "ftp" to enable it again." ?

Something like
Dir::Bin::Methods::ftp=ftp  ?

I did try that.  No solution.

Regards
Johann.
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Emacs probs in buster: selected text not highlighted

2019-08-14 Thread Johann Spies
On Mon, 12 Aug 2019 at 13:42, Tom Browder  wrote:

> Since installing buster on a new laptop I have noticed that selected text
> doesn't show as highlighted.
>
> I have had no such problems with stretch, but they were upgrades in-place
> from previous installations--buster was installed new.
>
> I am using the same .emacs.d for customizations
>
>
> What does "/usr/bin/emacs --debug-init" show?

Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: qDslrDashboard anyone?

2019-08-08 Thread Johann Spies
On Wed, 7 Aug 2019 at 08:47, deloptes  wrote:

>
> Read https://dslrdashboard.info/introduction/
> Install dependencies.
>
> The application is written in C++ using the Qt Framework. It uses the
> OpenCV
> library for image processing, LibRaw library for RAW image processing and
> the libusb library for the USB communication.
>

Thanks for your reply.  I have install the opencv-stuff but it also needs
libjasper and libjpeg8 which is not available for Debian.   There are
Ubuntu packages available but there are conflicts with Debian libjpeg-stuff
and I do not want to break my Debian.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


qDslrDashboard anyone?

2019-08-06 Thread Johann Spies
Did any of you succeed to get qDslrDashboard (
http://dslrdashboard.info/downloads/#) to run on Debian?

I get the following problems:

$ ldd qDslrDashboard | grep "not found"
./qDslrDashboard: /lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12'
not found (required by ./qDslrDashboard)
libopencv_features2d.so.3.4 => not found
libopencv_imgcodecs.so.3.4 => not found
libopencv_imgproc.so.3.4 => not found
libopencv_core.so.3.4 => not found
libexiv2.so.26 => not found
libQt5Bluetooth.so.5 => not found
libQt5SerialPort.so.5 => not found
 and
error while loading shared libraries: libjpeg.so.8: cannot open shared
object file: No such file or directory

How do I solve these problems?
Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Emacs and hunspell

2019-04-01 Thread Johann Spies
On Thu, 28 Mar 2019 at 23:50, Alfredo Finelli  wrote:

>
> This is how I managed to make it work for me; what follows is in my
> init.el file:
>
> Thanks Alfredo.
>
> [1]  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916227
>

This bug seems to bite me.  Emacs does not seem to get the dictionaries.
If I have aspell as  an installed package it seems to use it despite my
configuration :

;;-- Spelling --
  (with-eval-after-load "ispell"
(setq ispell-program-name (executable-find "hunspell")
  ispell-skip-html t
  ispell-local-dictionary-alist
  '(
("en_ZA" "[[:alpha:]]" "[^[:alpha:]]" "[']"
 nil ("-d" "en_ZA") nil utf-8)
("af_ZA" "[[:alpha:]]" "[^[:alpha:]]" "[']"
 nil ("-d" "af_ZA") nil utf-8)
("nl_NL" "[[:alpha:]]" "[^[:alpha:]]" "[']"
 nil ("-d" "nl_NL") nil utf-8)
  ("de_DE" "[[:alpha:]]" "[^[:alpha:]]" "[-]"
 nil ("-d" "de_DE") nil utf-8),
  ("af_ZA,en_ZA" "[[:alpha:]]" "[^[:alpha:]]" "[']"
 nil ("-d" "af_ZA,en_ZA") nil utf-8)
)
ispell-dictionary "af_ZA,en_ZA"))

Emacs complains about the last line:
Debugger entered--Lisp error: (error "No data for dictionary
\"en_ZA,af_ZA\" in ‘ispell-local-dictionary-alist’ or
‘ispell-dictionary-alist’")
  signal(error ("No data for dictionary \"en_ZA,af_ZA\" in
‘ispell-local-dictionary-alist’ or ‘ispell-dictionary-alist’"))
  error("No data for dictionary \"%s\" in `ispell-local-dictionary-alist'
or `ispell-dictionary-alist'" "en_ZA,af_ZA")

But from the commandline I can use it:
$ hunspell -d "af_ZA,en_ZA" .emacs

Anyhow there is progress.  I can at least use one dictionary at a time.

Thanks again.

Johann
-- 


Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Emacs and hunspell

2019-03-28 Thread Johann Spies
I, so far, did not manage to use hunspell with emacs.  After reading a lot
on the internet, inter alia emacs-wiki and stackexchange and trying out
different recipes, still no success.

My latest effort in .emacs:

(with-eval-after-load "ispell"
  (setq ispell-program-name "hunspell")
  (setq ispell-dictionary "af_ZA")
  ;; ispell-set-spellchecker-params has to be called
  ;; before ispell-hunspell-add-multi-dic will work
  (ispell-set-spellchecker-params)
  (ispell-hunspell-add-multi-dic "af_ZA,en_ZA"))

(setq ispell-program-name (executable-find "hunspell")
  ispell-dictionary "af_ZA")
produces the following error message when trying to use the spell process:

ispell-get-decoded-string: No data for dictionary "af_ZA" in
‘ispell-local-dictionary-alist’ or ‘ispell-dictionary-alist’

>From what I have read emacs (1:26.1+1-3.2) should just work with hunspell
even if you just set the last two lines of the above configuration.
However, it does not seem to pick up the dictionaries.

How do I get it to work?

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Unable to unblock bluetooth

2019-03-26 Thread Johann Spies
Yes I did that.  Made no difference.

But I revisited connmanctl now.  Did not realize earlier that it can enable
bluetooth also.

So

% sudo connmanctl enable bluetooth

solved the problem.

Regards
Johann


Unable to unblock bluetooth

2019-03-26 Thread Johann Spies
On a new installation on a Lenowo w540 I configured bluetooth to use a
mouse and it worked.  Then at a later stage (after installing many
packages) it stopped working.

I have read a lot on the internet about similar issues but could not find a
solution yet.  I will appreciate some help from this list please.

Info (output of various commands):

4.19.0-2-amd64
Bus 003 Device 002: ID 8087:8000 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 17ef:1013 Lenovo
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 17ef:1013 Lenovo
Bus 002 Device 002: ID 138a:0017 Validity Sensors, Inc. VFS 5011
fingerprint sensor
Bus 002 Device 006: ID 04f2:b39a Chicony Electronics Co., Ltd
Bus 002 Device 004: ID 0bdb:193e Ericsson Business Mobile Networks BV
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection
I217-LM [8086:153a] (rev 04)
Subsystem: Lenovo Ethernet Connection I217-LM [17aa:2210]
Kernel driver in use: e1000e
Kernel modules: e1000e
--
03:00.0 Network controller [0280]: Intel Corporation Wireless 7260
[8086:08b2] (rev 6b)
Subsystem: Intel Corporation Wireless-N 7260 [8086:c262]
Kernel driver in use: iwlwifi
0: tpacpi_bluetooth_sw: Bluetooth
Soft blocked: yes
Hard blocked: no
1: tpacpi_wwan_sw: Wireless WAN
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
[0.292023] Spectre V2 : Enabling Restricted Speculation for firmware
calls
[2.492158] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e,
buttons: 3/3
[   10.739125] iwlwifi :03:00.0: firmware: direct-loading firmware
iwlwifi-7260-17.ucode
[   10.739405] iwlwifi :03:00.0: loaded firmware version
17.3216344376.0 op_mode iwlmvm
[   12.395868] bluetooth hci0: firmware: direct-loading firmware
intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
[   12.395871] Bluetooth: hci0: Intel Bluetooth firmware file:
intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
[   12.611572] Bluetooth: hci0: Intel firmware patch completed and activated
[   10.171719] thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is
unblocked
[   12.395868] bluetooth hci0: firmware: direct-loading firmware
intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
btintel24576  1 btusb
bluetooth 643072  16 btrtl,btintel,btbcm,bnep,btusb,rfcomm
intel_rapl 24576  0
snd_hda_intel  45056  1
intel_powerclamp   16384  0
snd_hda_codec 151552  4
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core   94208  5
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_pcm   114688  5
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_hda_core
kvm_intel 241664  0
kvm   729088  1 kvm_intel
ghash_clmulni_intel16384  0
snd94208  13
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm_oss,thinkpad_acpi,snd_pcm,snd_mixer_oss
intel_cstate   16384  0
intel_uncore  135168  0
intel_smartconnect 16384  0
intel_rapl_perf16384  0
crc32c_intel   24576  5
aesni_intel   200704  1
aes_x86_64 20480  1 aesni_intel
crypto_simd16384  1 aesni_intel
cryptd 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper16384  1 aesni_intel
bluetooth 643072  16 btrtl,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic   24576  1 bluetooth
rfkill 28672  7
toshiba_acpi,bluetooth,thinkpad_acpi,cfg80211
crc16  16384  2 bluetooth,ext4


# rfkill unblock all

did not help.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: modprobe bbswitch fails

2018-11-29 Thread Johann Spies
On Wed, 28 Nov 2018 at 23:16, Alexander V. Makartsev  wrote:

> I could be wrong, but specifications for this laptop suggest there should be 
> two graphics adapters inside. One is integrated inside CPU and one is 
> discrete. You can run 'glxgears' on any of them just fine, so double check if 
> you run it on nvidia adapter.
> You can do it with this command:
> $ glxinfo | egrep 'glx|OpenGL'

The output confirms that the NVIDIA card is used.  Both lshw and lspci
shows only the NVIDIA-card.

Thanks for reminding me to check again.

No wonder that I could not get bumblebee to run.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: modprobe bbswitch fails

2018-11-28 Thread Johann Spies
On Tue, 27 Nov 2018 at 12:49, Alexander V. Makartsev  wrote:

> I suggest to check if your laptop has latest Firmware\BIOS update installed. 
> That is first thing I would check if I got similar error message.
> Update it to the latest one provided by HP support website.
> Also check if there are some settings in BIOS, saying Optimus or Hybrid 
> Graphics that could be tweaked.

I already did upgrade the bios, thanks.

>
> Check out similar bug report on GitHub [1]. Some people reported they fixed 
> it by installing 4.19 kernel, which probably contain more compatibility fixes 
> for exotic hardware.
>
> [1] https://github.com/Bumblebee-Project/bbswitch/issues/160

I checked again on the description of  bbswitch and bumblebee and
realized that those packages were written for situations where one can
choose between display cards and that my laptop only has one: NVIDIA
Quadro K1100M.

So I do not need them.

My display is working well and I can glxgears.

Thanks for you help.

Regards
Johann



modprobe bbswitch fails

2018-11-26 Thread Johann Spies
Trying to get my nvidia-card to work properly following tutorials like
https://www.pcsuggest.com/install-and-configure-nvidia-optimus-with-bumblebee-in-debian/
and 
https://www.pcsuggest.com/nvidia-optimus-troubleshooting-in-debain-kali-linux-ubuntu/
I fail to get pass the step where I have to do
"sudo modprobe bbswitch load_state=0"

It ends in

bbswitch: No suitable _DSM call found
modprobe: ERROR: could not insert 'bbswitch': no such device

This is on a HP Zbook 15 laptop which I recently bought with a NVIDIA
GK107GLM [ Quadro K1100M] VGA compatable controller.

I have searched the internet for a solution but nothing so far worked for
me.
Inter alia: This 2015 bug
 and this 2013
discussion

 and https://wiki.debian.org/NvidiaGraphicsDrivers/Optimus#Identification.


Most of the information I found, was old and referred to bugs in older
kernels.
I have 4.18.0-2-amd64 #1 SMP on my system.

Any idea about the way forward?

Regards
Johann




-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Install & restore backup: what if I use LVM?

2018-11-19 Thread Johann Spies
On Tue, 20 Nov 2018 at 01:22, Pascal Hambourg  wrote:

> Much more than install with LVM from the start.

You can install LVM if you want, but it might be worth while to take
note that you loose all the data if the disk fails underneath.  I had
a bad experience using LVM including more than one disk and everything
was lost when the disk failed - even on the disk that did not fail.
Backups did help, but that was an experience that made me decide never
to use LVM again.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Slow boot

2018-08-14 Thread Johann Spies
On Tue, 14 Aug 2018 at 17:18, Patrick Bartek  wrote:

> I'm curious.  Did you just do a distribution upgrade on this laptop?
> From what to what? Or was it a clean install? Or is it an old install
> with everything working fine until now?

I do regular dist-upgrades (testing) and have installed it as a new
computer about two or three years ago.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Slow boot

2018-08-14 Thread Johann Spies
On Tue, 14 Aug 2018 at 12:32, Martin  wrote:

> Just a guess: If you have no working network, DNS in specific, it may take 
> ages until you local resolver terminates with a time out error. This could be 
> one reason, why this apt-daily.service (and may be exim) takes that long.
>

Correct guess.  I did not realize before today that the
apt-daily.service was part of the problem.
As part of the university's network I have to unlock access to the internet.
And that can only happen through a web browser.

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Slow boot

2018-08-14 Thread Johann Spies
On Tue, 14 Aug 2018 at 12:22, Anders Andersson  wrote:
>
> On Tue, Aug 14, 2018 at 8:45 AM, Johann Spies  wrote:

> I don't remember now if it's possible to log I/O activity, but maybe
> you can inform us about the physical drive at least?

I have a rotating disk - no ssd.  I have since removed mariadb - which
was installed as a
dependency somewhere in the past.  I will also remove libvirt as I do
not really use it.

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Slow boot

2018-08-14 Thread Johann Spies
I can push the power on button on my laptop, go and make coffee and
come back and wait a few minutes before I can work.

The following services each takes longer than 10 seconds to activate:

 systemd-analyze blame
1min 21.617s apt-daily.service
 1min 2.473s systemd-tmpfiles-setup.service
  1min 926ms console-setup.service
 47.192s postgresql@10-main.service
 38.873s exim4.service
 29.176s shorewall.service
 23.365s wicd.service
 22.402s mariadb.service
 18.925s nmbd.service
 13.917s udisks2.service
 13.177s ModemManager.service
 11.865s libvirtd.service

I can disable apt-daily.service but I do not think the system will
work properly if I disable the second.  The third one (console-setup)
seems to have a bug:

systemd[1]: Failed to start Set console font and keymap.
It is looking for a file (symbols/us-intl) that does not exist
Aug 14 08:02:55 sitasie console-setup.sh[769]: setupcon: The keyboard
model is unknown, assuming 'pc105'. Keyboard may be configured
incorrectly.
Aug 14 08:03:55 sitasie console-setup.sh[769]: /usr/bin/ckbcomp: Can
not find file "symbols/us-intl" in any known directory

This is the joy that I get since systemd became the standard.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Linux equivalent of Apple's fontbook

2018-07-18 Thread Johann Spies
Thanks for all the suggestions.

I have looked at them all.  At this stage it seems that gwaterfall and
fonttable (which I discovered after my initial question) are more
useful for me.
Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Linux equivalent of Apple's fontbook

2018-07-17 Thread Johann Spies
On Tue, 17 Jul 2018 at 14:08,  wrote:
> There's a TeX file whithin your texlive distribution (Debian's TeX comes as
> texlive these days) called fontsmpl.tex:
>
>   /usr/share/texlive/texmf-dist/tex/latex/tools/fontsmpl.tex
>
> Its documentation is in
>
>   /usr/share/doc/texlive-doc/latex/tools/fontsmpl.pdf
>

Thanks!  I did not know about it.

> Perhaps this is what you're looking for?

Not exactly, but it helps a lot.  Maybe it can be adapted to include
all the utf-8 characters.  I will probably try such a thing.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Linux equivalent of Apple's fontbook

2018-07-17 Thread Johann Spies
On Debian, how do I see what all the characters in a LateX font like
Linux Libertine O look like?

Fontbook on OS X is a very good program to exactly see what a font looks like.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Slow reaction when accessing /tmp

2018-07-12 Thread Johann Spies
On Thu, 12 Jul 2018 at 13:25, Roberto C. Sánchez  wrote:

> Is your work computer connected to an LDAP for directory information or
> joined to an Active Directory via Samba?

No. I sometimes mount a disk over the network using Samba, but only to
rsync some data and then unmount it again.

> Alternately, does your
> /etc/resolv.conf specify DNS servers that cannot be reached when you
> experience the delay?

# Generated by Connection Manager
nameserver ::1
nameserver 127.0.0.1

There is no problem with DNS-lookups.

> Also, what are the contents of /etc/nsswitch.conf
> on your system?

passwd: compat systemd
group:  compat systemd
shadow: compat
gshadow:files

hosts:  files mdns4_minimal [NOTFOUND=return] dns
networks:   files

protocols:  db files
services:   db files
ethers: db files
rpc:db files

netgroup:   nis


Thanks for your attention.

Regards
Johann
--
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Slow reaction when accessing /tmp

2018-07-12 Thread Johann Spies
I work on my work laptop (testing), home laptop(sid) and home desktop
(sid)  - all of them with XFCE4.  On two other servers at work we use
Stable without an X11 environment.

On my work laptop when I access /tmp/ for anything it can take up to
more than a minute before I get reaction.  This is not the case of the
other computers.  Example from this morning - after I unzipped a file
to /tmp (which did not take too long and created 8 gzipped files and
two csv-files):

js@sitasie /tmp 10:24:50> chmod 666 WR*.gz
js@sitasie /tmp 10:26:03>

On the work laptop I use /usr/bin/fizsh as $SHELL.
I have no idea what is causing this and how to solve it.

Any help would be appreciated.

Regards
Johann.
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Audio - Dummy Output, except for root

2018-06-26 Thread Johann Spies
On 26 June 2018 at 16:00, Kent West  wrote:
> On Tue, Jun 26, 2018 at 8:39 AM, Borden Rhodes 
> wrote:
>>
>> > In my case. "timidity" was causing my problem. Within X, I did a "sudo
>> > kill

>>
>> Yessir. The timidity update on 19 June messed up my sound, too. After
>> a frustrating few hours of troubleshooting I discovered that timidity
>> is hogging the sound server.
>>
>> Which brings us to the obvious question of how do you get Pulse to
>> play nicely with Timidity?
>>
>
> This morning I removed "timidity" from the "audio" group, and rebooted. All
> seems well for me, but then, I don't use Timidity (to my knowledge - don't
> really know what it is). I do notice that a "ps ax | grep timidity" does not
> return anything.

I had the same experience.  What solved it for me was to edit
/etc/default/timidity so that timidity does not run as daemon.

That freed my audio-devices.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: gegl: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0: undefined symbol: babl_process_rows

2018-05-03 Thread Johann Spies
Thanks Sven and Tomas.  You have helped me to identify the problem:
indeed a version of libbabl in /usr/local!

I must have asked earlier then I would not have spent hours on this problem! :)

Regards
Johann



gegl: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0: undefined symbol: babl_process_rows

2018-05-02 Thread Johann Spies
I have installed gimp 2.10 on three computers.  On two it was
successful.  On the third I get the error in the subject line whenever
I run gimp or gegl.  On the computer where I get this error, I could
also not compile the source package for gegl.  I could on of the
others and then I copied the compiled packages to the problem computer
and installed it but I made no progress to solving the problem.

I even upgraded that computer to unstable and purged and reinstalled
all the x11-related packages but I could not find out what the problem
was.

How do I determine what is causing the problem and then solve it?

I have the following packages installed:

ii  gegl
0.4.0-1  amd64Generic Graphics
Library Test Program
ii  gegl-dbgsym
0.4.0-1  amd64debug symbols for
gegl
ii  gir1.2-gegl-0.4:amd64
0.4.0-1  amd64GObject
introspection data for the Generic Graphics Library
ii  libgegl-0.4-0:amd64
0.4.0-1  amd64Generic Graphics
Library
ii  libgegl-0.4-0-dbgsym:amd64
0.4.0-1  amd64debug symbols for
libgegl-0.4-0
ii  libgegl-common
0.4.0-1  all  Generic Graphics
Library - common files
ii  libgegl-dev:amd64
0.4.0-1  amd64Generic Graphics
Library (development files)
ii  libgegl-doc
0.4.0-1  all  Generic Graphics
Library (documentation)

$ wajig list babl
ii  libbabl-0.1-0:amd64
0.1.46-2amd64Dynamic, any to any,
pixel format conversion library
ii  libbabl-dev:amd64
0.1.46-2amd64Dynamic, any to any,
pixel format conversion library (develo..

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Help needed with home network configuration

2018-03-10 Thread Johann Spies
I see I have broken the thread by adding [SOLVED] to the subject.

Just to keep it in this thread:

I have tried a third option: arno-iptables-firewall.

Now I can reach the internet from the local network.  I still don't
understand why I could not
get it working with Shorewall which I have used for many years.

Johann

On 10 March 2018 at 11:04, Johann Spies <johann.sp...@gmail.com> wrote:
> Thanks Bob.
>
> Regards
> Johann
>
> On 9 March 2018 at 23:50, Bob Weber <bobrwe...@gmail.com> wrote:
>> On 3/9/18 2:52 PM, Johann Spies wrote:
>>
>> On 9 March 2018 at 17:31, Bob Weber <bobrwe...@gmail.com> wrote:
>>
>> There are other things that you can do once you get the basics working.  I
>> have a caching DNS (with dns crypt to opendns to keep dns querys from being
>> forged) and ntp server on my router and I use the shorewall redirect command
>> to force all internal machines to use these servers instead of going outside
>> to the internet for each inside machine.
>>
>> Bob, can you share your dns setup please.  My bind9 now gives me problems:
>> e.g. named[25623]: error (network unreachable) resolving
>> 'activity-stream-icons.services.mozilla.com...'
>> but I can ping the outside world.
>>
>> Regards
>> Johann
>>
>> Answers from previous messages also.
>>
>> The eth0 port needs to be static.  If it wasn't and dchp changed the address
>> then all the local net machines couldn't connect to it to use it as a router
>> since they need to know its exact address.  My interfaces file is as
>> follows:
>>
>> #This file describes the network interfaces available on your system
>> # and how to activate them. For more information, see interfaces(5).
>>
>> # The loopback network interface
>> auto lo
>> iface lo inet loopback
>>
>> auto eth0
>> iface eth0 inet static
>> address 172.16.0.1
>> netmask 255.255.0.0
>> network 172.16.0.0
>> broadcast 172.16.255.255
>> dns-nameservers 127.0.0.1
>> dns-search weberhome.net
>>
>> # auto eth1 -- dont need auto since using netplug
>> iface eth1 inet dhcp
>>
>> 
>> My internal net is 172.16.0.0/16 and is from the days I worked as net admin
>> for a local school so you will have to change these to 192.168 if you
>> use them (or keep the 172 net for your system).  Notice eth1 is DHCP since
>> it has to connect to the ISP via the ISP's routers and addresses.  I have a
>> pi3 that I have played with.  At one point I had a second ethernet port
>> attached through a usb adapter and I don't remember it being slow or the
>> main port being slow.  I even installed KDE and played with a 7" touch
>> display.  The only reservation I have about the pi is the flash drive.  I
>> just don't trust them... especially for something that just needs to work
>> all the time (that is why I use raid).
>>
>> I'll first post the pertinent  lines in my shorewall files (bingo is my
>> firewall machine .. a small form factor intel atom board running debian
>> testing with 2 sata drives in raid1 configuration):
>>
>>  interfaces
>> ###
>> ?FORMAT 2
>> ###
>> #ZONE   INTERFACE   OPTIONS
>> Ex  eth1
>> dhcp,tcpflags,nosmurfs,routefilter,logmartians,sourceroute=0
>>
>> Loc eth0dhcp,tcpflags,nosmurfs,routefilter,logmartians
>>
>>  zones
>> ###
>> #ZONE   TYPEOPTIONS IN  OUT
>> #   OPTIONS OPTIONS
>> Bingo   firewall# Bingo
>> Loc ipv4# Local 172 network
>> Ex  ipv4# The Internet
>>
>>
>>  policy
>> ###
>> #SOURCE><-->DEST<--><-->POLICY<><-->LOG LEVEL<->LIMIT:BURST
>> Bingo   Loc ACCEPT
>> Bingo   Ex  ACCEPT
>> Loc Ex  ACCEPT
>> Ex  all DROPinfo
>>
>> # THE FOLLOWING POLICY MUST BE LAST
>> all all REJECT  info
>>
>>
>> --- rules
>> ##

Re: Help needed with home network configuration:[SOLVED]

2018-03-09 Thread Johann Spies
Thanks again for all the inputs.

I have tried a third option: arno-iptables-firewall.

Now I can reach the internet from the local network.  I still don't
understand why I could not
get it working with Shorewall which I have used for many years.


Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Help needed with home network configuration

2018-03-09 Thread Johann Spies
For many years I have used my desktp as a network/firewall server with
two interfaces one facing the internet (through ADSL) and the other the
local network.

Now I have a fibre connection and for a month both connections will be
available in parallel.

I have decided to use my Raspberry Pi3 as the firewall/network server in
future but have after many hours failed to do so successfully.

First I have tried a similar Shorewall setup that I have on my desktop
and after failing successful connections I tried ufw with no success.

First ufw:

$ sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing)
New profiles: skip

To Action  From
-- --  
Anywhere   ALLOW IN192.168.0.0/24

Anywhere   ALLOW OUT   192.168.0.0/24
53/udp ALLOW OUT   192.168.0.0/24
443/tcpALLOW OUT   192.168.0.0/24

(Ihave added the last two lines which I thought should not be
necessary).

I get this in the log:

Mar  9 12:14:15 pi3 kernel: [403782.469448] [UFW BLOCK] IN=eth0
OUT=eth1 
MAC=b8:27:eb:63:94:ea:1c:5a:3e:e0:29:fe:08:00:45:00:00:3c:50:e8:40:00:3f:06:fb:f2
SRC=192.168.0.10 DST=207.36.95.10 LEN=60 TOS=0x00 PREC=0x00 TTL=63
ID=20712 DF PROTO=TCP SPT=53337 DPT=443 WINDOW=5840 RES=0x00 SYN
URGP=0

My shorewall configuration:

Zones

#ZONE   TYPEOPTIONS IN  OUT
#   OPTIONS OPTIONS
fw  firewall
net ipv4
loc ipv4

Interfaces
#ZONE   INTERFACE   BROADCAST   OPTIONS
loc eth0detect
tcpflags,nosmurfs,routefilter,logmartians
neteth1detect
tcpflags,nosmurfs,routefilter,logmartians

Policy

#SOURCE DESTPOLICY  LOG LEVEL   LIMIT:BURST

loc $FW ACCEPT
$FW loc ACCEPT
$FW net ACCEPT
loc net ACCEPT
net all DROPinfo
# THE FOLLOWING POLICY MUST BE LAST
all all REJECT  info

snat

#ACTION SOURCE  DESTPROTO   PORT   IPSEC
MARK   USERSWITCH  ORIGDEST   PROBABILITY
#
# Rules generated from masq file /etc/shorewall/masq by Shorewall
5.0.15.2 - Fri Feb 24 08:52:03 SAST 2017
#
MASQUERADE  192.168.0.0/24  eth1

Rules

DNS(ACCEPT) $FW net
SSH(ACCEPT) loc $FW
SSH(ACCEPT) $FW loc
SSH(ACCEPT) $FW net
SSH(ACCEPT) loc net
HTTP(ACCEPT) $FWnet
HTTPS(ACCEPT) $FW   net
FTP(ACCEPT) $FW net
FTP(ACCEPT) loc $FW
SMTP(ACCEPT)loc $FW
SMTP(ACCEPT)$FW net:195.190.146.50
DNS(ACCEPT) loc $FW
Ping(DROP)  net $FW
Ping(ACCEPT)loc $FW
ACCEPT  loc net icmp
ACCEPT  $FW net icmp
ACCEPT  $FW loc icmp

In sysctl.conf I have

net.ipv4.ip_forward=1
net.ipv4.conf.all.log_martians = 1

$ sudo ifconfig
eth0  Link encap:Ethernet  HWaddr b8:27:eb:63:94:ea
  inet addr:192.168.0.9  Bcast:192.168.0.255  Mask:255.255.255.0
  inet6 addr: fe80::dbe4:63c:a02b:cb1e/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:11223527 errors:0 dropped:0 overruns:0 frame:0
  TX packets:4414187 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:3648814410 (3.3 GiB)  TX bytes:381642127 (363.9 MiB)

eth1  Link encap:Ethernet  HWaddr 00:e0:4c:20:bf:5d
  inet addr:192.168.1.249  Bcast:192.168.1.255  Mask:255.255.255.0
  inet6 addr: fe80::9d48:f754:2113:9a80/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:103887 errors:0 dropped:0 overruns:0 frame:0
  TX packets:91137 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:124760139 (118.9 MiB)  TX bytes:13325394 (12.7 MiB)

$ ip route ls
default via 192.168.1.1 dev eth1
default via 192.168.1.1 dev eth1  metric 204
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.9
192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.249
192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.249  metric 204


I really do not know the way forward from here.  Help will be
appreciated.

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Recommended editor for novice programmers?

2017-09-06 Thread Johann Spies
I use emacs (mostly for programming and writing documentation and
LaTeX) and vim(mostly when I edit configuration files or very large
text files).

Some alternatives which (some of them may have been mentioned in this thread):

Atom - a fairly new and versatile one as far as I know
PyCharm (not a native Debian Package) but very nice to debug Python
with. The community edition is free.
Bluefish (especially when editing html files).

Regards
Johann



Re: Redmine on server in DMZ

2017-08-16 Thread Johann Spies
On 3 August 2017 at 16:53, Jörg-Volker Peetz  wrote:
> I have a redmine server running on testing. I'm not aware of such network
> accesses except for the debian packages.
> How did you install the new one, "aptitude install redmine"?
> Could you post the output of the installation command?

Thanks for your reply and apologies for only reacting now.

We managed to get redmine running again on the server.  My colleague
did most of the work and I forgot about it.

Yes, I did use aptitude.  I have purged redmine-pgsql on my own laptop
and reinstalled it, but the reinstallation failed this time.
Maybe because when I purged it, I did not remove the database.

Anyhow, next time I will gather the output of the controlling
installation for in case there is a problem on the server again.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Redmine on server in DMZ

2017-08-02 Thread Johann Spies
A few years ago we got redmine working on a server in the DMZ on our
network using ruby gems copied there from another computer with access
to the internet.

This server has now been updated to Debian Stretch - which broke the
redmine installation.

None of us know Ruby-on-Rails or Ruby well enough to debug the errors
or to rectify what is wrong at the moment.

I tested a new redmine-pgsql installation on another computer with
free access to the internet and it seems that as part of the post
installation process it installed a lot of gems.  We cannot do that in
the DMZ because the server cannot reach out to the internet.

Is it possible to install redmine without having to install extra gems?

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Stretch: xfce and xscreensaver

2017-07-27 Thread Johann Spies
On 27 July 2017 at 09:27, Jerome BENOIT  wrote:
> It is configured to display the `deco' saver.

I would try and move ~/.xscreensaver away (something like
~/.xscreensaver.bak) and then restart and reconfigure xscreensaver if
I were in you position.

Regards.
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Stretch: xfce and xscreensaver

2017-07-27 Thread Johann Spies
On 27 July 2017 at 07:52, Jerome BENOIT  wrote:
> Hello Debian Users,
>
> I have recently upgraded my box from Jessie to Stretch.
> I encountered a few little issues that I could fixed easily.
> Nevertheless, so far, I failed to fixed one of them, and a very annoying one.
>
> During Xfce sessions, at random time my screen is filled with piece
> of outdated images that were created by xscreensaver.
> Most of the time, these images comes with an outdated error message from 
> xscreensaver.

How did you configure xscreensaver?  I use XFCE and have no problems.
My screensaver is configured to display images from a certain
directory randomly.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Nvidia - bumblebee stopped working

2017-07-21 Thread Johann Spies
Thanks Reco.

I did not realise that there was a sepearte X11-module nvidia and
thought the kernel model was what the error referred to.

> It says that *Xorg* module nvidia does not exist. I.e. library provided
> by xserver-xorg-video-nvidia package.

Installing it solved the problem.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Nvidia - bumblebee stopped working

2017-07-21 Thread Johann Spies
I am running testing and have used bumblebee for years.  Now it stopped working.

I have tried to reconfigure my system using the guidelines from
https://www.pcsuggest.com/install-and-configure-nvidia-optimus-with-bumblebee-in-debian/
and
https://www.pcsuggest.com/nvidia-optimus-troubleshooting-in-debain-kali-linux-ubuntu/
but this is the output after doing all those things - the same as
before I started:


Now this happens:

optirun -vv glxgears
[  433.449756] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  433.450298] [DEBUG]optirun version 3.2.1 starting...
[  433.450323] [DEBUG]Active configuration:
[  433.450329] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  433.450334] [DEBUG] X display: :8
[  433.450338] [DEBUG] LD_LIBRARY_PATH:
/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[  433.450344] [DEBUG] Socket path: /var/run/bumblebee.socket
[  433.450351] [DEBUG] Accel/display bridge: auto
[  433.450357] [DEBUG] VGL Compression: proxy
[  433.450365] [DEBUG] VGLrun extra options:
[  433.450373] [DEBUG] Primus LD Path:
/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[  433.450431] [DEBUG]Using auto-detected bridge virtualgl
[  433.466474] [INFO]Response: No - error: [XORG] (EE) Failed to load
module "nvidia" (module does not exist, 0)

[  433.466501] [ERROR]Cannot access secondary GPU - error: [XORG] (EE)
Failed to load module "nvidia" (module does not exist, 0)

[  433.466509] [DEBUG]Socket closed.
[  433.466537] [ERROR]Aborting because fallback start is disabled.
[  433.466548] [DEBUG]Killing all remaining processes.



Although the error message says there is no nvidia module

% lsmod | grep nvidia
nvidia  12308480  0


Any idea what broke it and how to fix it?

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Debain 9 dhclient or network problem

2017-07-11 Thread Johann Spies
On 11 July 2017 at 08:29, Franz Angeli  wrote:

> i tried every other interface butt it's the same
>
> i tried also to disable interface renaming but doesn't work.

What information do you get from /var/log/messages, /var/log/syslog
and dmesg about your interfaces?

Regards
Johann



Re: Debain 9 dhclient or network problem

2017-07-11 Thread Johann Spies
On 11 July 2017 at 07:48, Franz Angeli  wrote:
> Hi,
>
> i have a problem with dhclient:
>
> for example interface name eno52 (tg3, Broadcom Limited NetXtreme
> BCM5719 Gigabit Ethernet PCIe (rev 01) :
>
> root@:~# dhclient eno52 -v
> Internet Systems Consortium DHCP Client 4.3.5
> Copyright 2004-2016 Internet Systems Consortium.
> All rights reserved.
> For info, please visit https://www.isc.org/software/dhcp/
>
...
> if i use the same ethernet cable on my laptop all works fine... (DHCP
> lease and so on)

My first guess would be that the order of the network interfaces
differ between Debian 8 and 9 and that you should try the cable on the
other interfaces.

In the past (many years ago) it was a known problem that eth0 on the
new system used for another interface.  I don't know whether this is
still the case. It had been some time that I had to build a server.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Problem after texlive update[Solved]

2017-07-07 Thread Johann Spies
People from the xetex-usersgroup helped me.  The problem was that I
had some older versions of graphics.sty lying around in /usr/local/...

After removing them the compilation succeeded.

Moral of the story: rmove the stuff in /usr/local/ that duplicates
what is installed using texlive.

Regards.
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Problem after texlive update

2017-07-07 Thread Johann Spies
After a recent upgrade of texlive to 2017.20170629-1 on Debian I am
experiencing a problem compiling a longstanding document and I can
replicate the problem with the following code:

\documentclass[12pt,a4paper]{article}
\usepackage{fontspec} % Gebruik met xelatex
\usepackage{graphicx} % Gebruik met xelatex
\usepackage[hyperindex=true,colorlinks=true,bookmarks]{hyperref}
\usepackage{colortbl}
\setmainfont[Ligatures=TeX,Mapping=tex-text]{Linux Libertine O}
\begin{document}



\includegraphics{fruits.jpg}

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-engine: xetex
%%% TeX-master: t
%%% End:


results in

ERROR: Undefined control sequence.

--- TeX said ---
\Ginclude@bmp #1->\Gin@log
   {<#1>}\bgroup \def \@tempa {!}\special
{pdf:image...l.11 \includegraphics{fruits.jpg}

--- HELP ---
TeX encountered an unknown command name. You probably misspelled the
name. If this message occurs when a LaTeX command is being processed,
the command is probably in the wrong place---for example, the error
can be produced by an \item command that's not inside a list-making
environment. The error can also be caused by a missing \documentclass
command.

You can replace "fruit.jpg" with any jpg to replicate the problem.

Any idea what is causing this?

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Bluetooth stopped working after upgrade

2017-06-28 Thread Johann Spies
I am working on testing and after the release of Stretch I could not
no longer use my bluetooth mouse.

I see this in the logs:

[62136.579567] Bluetooth: hci0 command 0x0c03 tx timeout
[62144.676286] Bluetooth: hci0 sending initial HCI reset command failed (-110)

I have search Duckduckgo.com and have read

https://bbs.archlinux.org/viewtopic.php?id=171357
and
https://bbs.archlinux.org/viewtopic.php?id=206606
and
https://www.mail-archive.com/kernel-packages@lists.launchpad.net/msg231896.html

of which the last link is possibly the most recent and represent a bug
reported on Ubuntu.

The solution to reinstall all the bluetooth related packages did not
work for me.

Any other ideas about a solution?

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Stretch: FontAwesome not properly installed / not working?

2017-06-19 Thread Johann Spies
On 19 June 2017 at 00:14, Matthias Herrmann  wrote:
> Hello
>
> I've got the following issue:
> When I visit the font-awesome cheat sheet [1] and copy-paste a character
> (like , or  fa-envelope []) into gnome-shell or into another
> program, e.g. gedit, or thunderbird, it shows up as another character or
> the box with the hexvalues in them.

I have copied the whole cheat sheet into emacs and everything seems OK.

I do not use Gnome. The rest of your tests of the installed fonts
seems to correspond with what I have.

Regards
Johann.


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Debian 9 "Stretch" released

2017-06-19 Thread Johann Spies
On 18 June 2017 at 13:46, RavenLX  wrote:
> On 06/18/2017 02:22 AM, Ana Guerrero Lopez wrote:

> A *huge* thank you to the Debian team! You guys rock!

+1

Johann



Re: Using 2nd monitor with Stretch and MATE desktop

2017-05-10 Thread Johann Spies
On 10 May 2017 at 02:42, Felix Miata  wrote:
> Richard Owlett composed on 2017-05-09 13:59 (UTC-0500):
> ...
>> I need documentation of the "Monitor Preferences" menu *WITH PICTURES*.
>>...
> One picture.
>
> After an xrandr man page refresh, using the following in a startup script:
>
> xrandr --fb 1920x1200
> xrandr --dpi 120 --output DVI-I-1 --mode 1920x1200
> xrandr --output VGA-1 --pos 0x0 --mode 640x480 --panning \
> 1920x1200+0+0/1920x1200+0+0/64/64/64/64

arandr is a graphical frontend to xrandr.

Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: aptitude is dangerous - any replacement?

2017-03-22 Thread Johann Spies
What I do if I want to use experimental (or sid if I am on testing) is to
put
the deb-src-lines in my sources.list and then build a package when needed.
I find wajig convenient to use (another front end to apt) in this case e.g.

$ wajig build julia

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Linux Mint, Ubuntu, Arch Linux recognize my Acer Aspire S wifi, debian does not

2017-03-14 Thread Johann Spies
On 15 March 2017 at 06:57, Dean Valentine  wrote:

> I have installed three operating systems on this computer: Linux Mint,
> Ubuntu, and Arch Linux. None of them had any problems detecting and using
> my "Network Manager: Qualcomm Atheros 003e", and it shows up on lspci, but
> when the Debian graphic installer attempts to do this, it fails and tells
> me "No Ethernet Card" detected. I've attempted to use the ISO you've
> provided for me with propryetary firmware bundled into it here:
> https://cdimage.debian.org/debian-cd/8.7.1/amd64/iso-cd/, but that
> couldn't find it either. It's unusual because I see (or at least I think I
> see) my drivers listed, and when i select them manually
>
> What's going on? How do I get this to work? Obviously there are linux
> drivers out there for Debian to use with my machine, they're just not in
> Debian's isos for some reason.
>
> Thank you for your time. I love your work.
>

There is a package "firmware-atheros" .

If I were you i would install it.  Maybe that will solve your problem.

Regards
Johann



-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Samba setup or alternative?

2017-03-11 Thread Johann Spies
On 11 Mar 2017 2:45 PM, "Eduardo M KALINOWSKI" <edua...@kalinowski.com.br>
wrote:

On 11-03-2017 09:35, Johann Spies wrote:
> Is there not a better way to mount spyker's home directory on my laptop?
>

If you can access it via ssh, you can try sshfs.


Thanks. I forgot about that. I did use it at work about 8 years ago.

Regards
Johann


Samba setup or alternative?

2017-03-11 Thread Johann Spies
As I do not use Windows, I was never fond of samba.

Now I want to have access from my laptop to my home directory on my Desktop
computer(home network server) which both run Debian Sid other than just ssh.

I want to be able to mount that directory on my laptop when needed.

I have worked through a number of Debian-related howto's on how to set up a
Samba server.  BTW most of them seems to me a bit outdated.

Anyhow, this is what I get:

$ smbclient -L //192.168.0.1/home/js/ -U js
Enter js's password:
Domain=[SPYKER] OS=[Windows 6.1] Server=[Samba 4.5.4-Debian]

Sharename   Type  Comment
-     ---
print$  Disk  Printer Drivers
IPC$IPC   IPC Service (Samba 4.5.4-Debian)
js  Disk  Home Directories
PDF Printer   PDF
Samsung-ML-191x-252x-Series Printer   Samsung ML-191x 252x Series
Domain=[SPYKER] OS=[Windows 6.1] Server=[Samba 4.5.4-Debian]

Server   Comment
----
SPYKER   Samba 4.5.4-Debian

WorkgroupMaster
----
SPYKER   SPYKER
14:23:25 js@spyker:/etc/samba$ smbclient  //192.168.0.1/home/js/ -U js
Enter js's password:
Domain=[SPYKER] OS=[Windows 6.1] Server=[Samba 4.5.4-Debian]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

>From what I have found searching on Duckduckgo.com the failure message
indicates a permission problem.  Apparently the permissions should be
0755.  I am not prepared to do that to my home directory on the Desktop
Computer.

Now my questions:

Why on earth is the OS indicated as Windows 6.1?
Is it possible to share my home directory on the Desktop (spyker) without
changing it's permissions?
Is there not a better way to mount spyker's home directory on my laptop?


My configuration in the 'homes'  section of smb.conf

[homes]
   comment = Home
Directories

   browseable = no
   read only =
no

   create mask =
0700

   directory mask =
0700



Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Accessing Samba Shares

2017-02-05 Thread Johann Spies
I am no Samba expert but I can see why you did not get any answer:

You supplied very little information e.g.

What did you try?
What commands and options did you use?
Did you turn on the verbose or other debugging options when you tried out
mounting or accessing the shares and what did the output tell you?

Regards
Johann

On 3 February 2017 at 11:53, Gábor Hársfalvi  wrote:

> Dear List!
>
> I have a problem with accessing a shared folder from Debian Jessie to any
> Windows version - excepting Windows XP.
>
> When I try to connect it asks me for login details - username, password -
> and when I give it correctly to a Windows 7 or any version of Windows newer
> than XP, samba always deny my request.
>
> What is the problem?
>
> Regards,
>
> Gabor
>



-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: erroer

2017-01-17 Thread Johann Spies
On 24 December 2016 at 13:45, SUMIT KUMAR  wrote:

> sulogin:root account is locked,starting shell what is the fux of this error
>
I do not quite understand your expression but maybe the error is related to
what was described in
https://lists.debian.org/debian-user/2009/05/msg01538.html

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: shutdown fails to power off host

2017-01-17 Thread Johann Spies
On 5 January 2017 at 09:09, Bob McGowan  wrote:

> On 01/04/2017 10:59 PM, Bob McGowan wrote:
> > I have done a search of the debian-user archive, using the same text as
> > the subject, and found several references to emails with similar
> > problems.  However, no exact solution was proposed.
> >
> > And this actually only happens on one of the two systems I have Debian
> > installed on.
> >
> > I'm using testing (stretch).
> >
> > When I shutdown my desktop system, the screen displays messages from
> > systemd (I presume), the last of which is "Reached target Shutdown".
> >
>

I get that when I use 'sudo halt'

When I use 'sudo halt -p'  it powers off.

So I would suggest you look at the underlying command on the button of the
computer which do not power off and change the command.


Look at 'man shutdown'  for the options when you use 'shutdown'  in stead
of 'halt'.

Regards
Johann


Re: broken shutdown on stretch

2016-11-30 Thread Johann Spies
> Yes, Halt or shutdown used to implement a power off.
>

sudo halt -p
or
sudo shutdown -P now

Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Debian Jessie Postgres 9.4 connection problem

2016-11-30 Thread Johann Spies
Try pg_lsclusters to see which postgresql servers are running and listening
on which ports.

Regards
Johann



-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: new pc and swap

2016-11-01 Thread Johann Spies
On 1 November 2016 at 01:08, Mark Fletcher  wrote:

>
> > (am I an LVM fanboy ? Hmm, maybe)is better than life itself,
>
>
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.

Regards
Johann


Re: Strange crontab message regarding execle

2016-10-31 Thread Johann Spies
On 31 October 2016 at 11:28, Christian Seiler  wrote:

>
> It looks like cron is trying to execute a comment line - and of course a
> binary with the name "#Edit this file to  " doesn't exist on your
> system. (execle is one of the system calls used for executing programs.)
>
> Could you paste the full contents of the crontab file that contains this
> entry?
>
> Thanks Christian.  Your  answer led me to the solution.  Somehow a
linefeed character was removed in crontab -e causing a line like this:


SHELL=/bin/sh# Edit this file to introduce tasks to be run by cron.#

which I corrected to

SHELL=/bin/sh
# Edit this file to introduce tasks to be run by cron.#



> Also, what implementation of cron are you using in what version? You can
> get that via:
> dpkg -l cronie bcron-run systemd-cron cron
> (Those are the four providers of "cron-daemon" in testing at the moment.)
>
> I have only cron installed.

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Strange crontab message regarding execle

2016-10-31 Thread Johann Spies
I user testing/sid and do regular dist-upgrades.  Sometime last week these
messages started to appear regarding one of my crontab-entries:

Subject: Cron  /usr/bin/fetchmail -L ~/.procmail/log >
/dev/null 2>&1

/bin/sh# Edit this file to introduce tasks to be run by cron.#: execle: No
such file or directory

The crontab entry looks like this:

*/5 * * * 1-5 /usr/bin/fetchmail -L ~/.procmail/log > /dev/null 2>&1

and was used like this for several years.

Which file is the message referring to?  I have search for execle on my
system and installed gnulib which contains execle.texi in the documentation
- the only package where apt-file search  could find execle except for
manpages-packages.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: A psgmlx that plays nice with emacs24?

2016-09-29 Thread Johann Spies
On 27 September 2016 at 23:34, Tony Baldwin  wrote:

>
> Emacs?! People still use the crusty old thing?
> Perhaps he consider dumping that monstrosity and joining the rest of us in
> the 21st Century, and upgrade to a modern OS with a proper editor, such as
> Debian 8/Jessie with Vim!"
>
>
Why so narrow-minded to choose only one of the two?  I use both: Emacs for
programming, org-mode and LaTeX  and vim for editing config-files or very
large text files.

Sometimes I even use vim to edit ~/.emacs :)

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Links browser, was lynx - not all sites readable

2016-09-22 Thread Johann Spies
I can open http://www.healingwiththemasters.com/ with elinks but not with
lynx or links.

Regards
Johann.


Re: My XFCE4 Desktop

2016-09-22 Thread Johann Spies
Nice image.

One of the things I can do on XFCE-desktop that I could not find an easy
way to do on the other desktop environments (I have tried Gnome, Cinnamon,
Mate and maybe KDE), is to have a different background image for every
monitor and that I can change image at a specified time.  So I have a
diectory with many images which randomly become my background image every
two minutes as my settings is at the moment.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: USB Drive "The location could not be displayed"

2016-08-30 Thread Johann Spies
On 29 August 2016 at 20:20, Alan E. Davis  wrote:

>
>
>
> I tried changing permissions of /media.  Not solved.
>
> an NTFS partition was not mountable unless dismounted from the automatic
> mount point; as far as I can see, this is not the case for vfat or ext4
> partitions.
>
> I did copy a udev rule for setting permissions---something above my level
> of understanding, however.  If anything, the situation was worse.
>
> It has been very frustrating to google for 2 hours on this probably very
> simple problem.  I think the solution is just to mount them manually.
> Still, it would be helpful to automount them, or mount via fstab.  I have
> not had success mouting by label, and one does not know in advance whether
> some usb flash drive might preempt these drive designations.
>
> BTW I am pleased to be running a Debian system again after some years.  It
> took a good deal of work, though, to get it set up on an iMac with a
> broadcom wifi adaptor!
>
>
 What I do (if this is an external disk I will be using regularly) is to
specify it in /etc/fstab e.g.:

UUID=c8cb3c35-6b19-40e2-be34-e6e3bde03fa4 /media/1tb_klein  ext4
user,rw,noauto 0 0

the 'user' option allow me then to mount it like this:

mount /media/1tb_klein

and I can read/write there.

If after it is mounted there is a problem with ownership, I change it after
the device was mounted:


chown js.js /media/1tb_klein


By the way the packages pmount is useful to mount hogpluggable devices as
user.

If the device is for instance /dev/sdb1 and you do as user pmount
/dev/sdb1  it will create /media/sdb1 and mount the device there.
Use pumount /dev/sdb1 to unmount.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: [Rant] The Endless Search for a Mail Client That Doesn't Suck

2016-08-29 Thread Johann Spies
I use mutt. From time to time I have experimented with things like kmail,
pine, evolution,
thunderbird (icedove), claws, gnus and maybe some others and every time I
came back to mutt.

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: freezing gnome

2016-07-21 Thread Johann Spies
Check your logs (dmesg, syslog and messages) for possible indications on
why this happens.

If you suspect high temperature as the main culprit, there are applets to
monitor temperatures of different parts of the system.  Install it.

Also, have you tried to do a Ctrl-F3 (to go to the console) when Gnome
becomes unresponsive?  Or if you have another computer on the same network
segment, try to ssh to your computer and see what is going on (dmesg, the
logs etc.)

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: mutt, w3m and firefox

2016-06-13 Thread Johann Spies
On 9 June 2016 at 19:27, Morten Bo Johansen <m...@spamcop.net> wrote:

> On 2016-06-08 Johann Spies wrote:
>
>
> I use the following in ~/.mailcap:
>
>   text/html; chromium %s;
>   text/html; /usr/bin/elinks -force-html -dump %s; copiousoutput
>
> and in ~/.muttrc:
>
>   bind  attachview-mailcap
>   alternative_order text/plain text/html
>   unauto_view *
>   auto_view text/html


Thanks Morten,

The .muttrc-part did it for me.  Very usefull indeed.

Regards
Johann.


mutt, w3m and firefox

2016-06-08 Thread Johann Spies
Until a few weeks ago, I could open firefox from mutt by 'v' and then
select the html-part of the email and press enter.

Now firefox does not but w3m handles everything - which is not preferred
when some links are important.

I have in my .mailcap:

#text/html; firefox -new-tab %s & sleep 5; test=test -n "$DISPLAY";
nametemplate=%s.html; copiousoutput
text/html; firefox -new-tab %s & sleep 5; test=test -n "$DISPLAY";
nametemplate=%s.html;
text/html; w3m -T text/html -dump %s; copiousoutput

When the first of the three lines is uncommented, every time I open an
email containing html it is opened in firefox - which is also not what I
want.
Also, when I select a bunch of messages to forward or to do something with,
every single one of them gets opened in firefox.

How can I get back the previous behaviour.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Network Problem

2016-05-03 Thread Johann Spies
On 28 April 2016 at 18:23, NightC Core  wrote:

>
> The card works in 32 but not under debian 64, when looking around on
> google I find many similar cases to mine.
> https://www.google.com/search?q=debian%208%20marvell%2088E8056=j
> Nightcore
>
>
I see here(
http://www.linuxquestions.org/questions/linux-networking-3/how-to-configure-marvell-yukon-88e8055-pci-e-gigabit-ethernet-on-debian-910638/)
that this card use the sky2 module.

Did you try
sudo modprobe sky2  ?

Regards
Johann


Re: google-chrome-stable - no longer functional

2016-04-25 Thread Johann Spies
On 21 April 2016 at 23:45, Kenneth Jacker  wrote:

>
>
># dpkg -i google-chrome-stable_49.0.2623.75-1_amd64.deb
>
>
>
Next time try "sudo gdebi google-chrome-stable_49.0.2623.75-1_amd64.deb".
It should install the packages needed if they are available.

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Nvidia and Intel cards on Thinkpad: observation

2016-04-20 Thread Johann Spies
On a Thinkpad T550 I observed that when using ' optirun glxgears
-fullscreen'  the framerate is much lower than otherwise.  What would be
the explanation?

If you look at the following results the Intel-results are :

$ optirun  glxgears  -fullscreen
109 frames in 5.0 seconds = 21.666 FPS
112 frames in 5.0 seconds = 22.256 FPS
112 frames in 5.0 seconds = 22.234 FPS

$ glxgears  -fullscreen
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
303 frames in 5.0 seconds = 60.469 FPS
300 frames in 5.0 seconds = 59.961 FPS
300 frames in 5.0 seconds = 59.965 FPS

$ optirun  glxgears
293 frames in 5.0 seconds = 58.567 FPS
300 frames in 5.0 seconds = 59.964 FPS
300 frames in 5.0 seconds = 59.965 FPS

$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
303 frames in 5.0 seconds = 60.462 FPS
300 frames in 5.0 seconds = 59.966 FPS
300 frames in 5.0 seconds = 59.965 FPS

$lspci (irrellevant lines removed)
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated
Graphics (rev 09)
08:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940M] (rev a2)


Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: nm-applet on testing with WPS & WPA2 Enterpise network: different behaviour from stable. Solved

2016-04-06 Thread Johann Spies
Sorry for the noise: I had to click "No certificate required" to connect.

Regards
JOhann

On 6 April 2016 at 15:25, Johann Spies <johann.sp...@gmail.com> wrote:

> On stable I have no problem connecting to a wifi-network on our campus.
>
> On my new computer on which I installed testing, when trying to do it
> nm-applet will grey out the "connect" button and is waiting for something
> to be written in "Anonymous identity".  With the same settings that field
> is greyed out on stable:
>
> Authentication: Protected EAP(PEAP)
> Peap version: automatic
> Inner authentication: MSCHAPv2
>
> WiCD could be an alternative, but it is not part of testing (yet?).
>
> Any idea how I can get around this problem?
>
> Regards
> Johann
>
> --
> Because experiencing your loyal love is better than life itself,
> my lips will praise you.  (Psalm 63:3)
>



-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


nm-applet on testing with WPS & WPA2 Enterpise network: different behaviour from stable.

2016-04-06 Thread Johann Spies
On stable I have no problem connecting to a wifi-network on our campus.

On my new computer on which I installed testing, when trying to do it
nm-applet will grey out the "connect" button and is waiting for something
to be written in "Anonymous identity".  With the same settings that field
is greyed out on stable:

Authentication: Protected EAP(PEAP)
Peap version: automatic
Inner authentication: MSCHAPv2

WiCD could be an alternative, but it is not part of testing (yet?).

Any idea how I can get around this problem?

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Can't fix broken packages. Uninstalled packages require many removals to reinstall

2016-03-31 Thread Johann Spies
On 31 March 2016 at 06:00, Gabriel Almeida  wrote:

>
> I've read somewhere to do a "apt-get install -f" to fix things. I don't
> know if it was that or the HP installer, but many things were removed from
> my machine.
>
>
>
> when I try to install something from synaptic, it says
> "you have held broken packages"
> but "apt-mark showhold" and "dpkg --get-selections | grep hold"
> don't show any result.
>
>
> I've tried then to reinstall each of them using aptitude.
> Starting with brasero, I got:
>
>
> When I accept this, I get a lot of logs(ending with "Current status: 1360
> updates [-1].") but nothing happpens. Brasero is not installed.
>
>
See what happens if you do not accept aptitutude's suggestion.



> When try to install libhogweed2 2.7.1-5 in synapic it says that to install
> it I must remove a very large amount of things, including icewasel (my
> main browser)
>
> Can anyone help me?
>
>
If it was my computer, I would first remove the HP-installer that started
the problem and first try to get a normal working system.
It looks if you are possibly using a gnome-desktop-environment.  If so try:

$ sudo aptitude install task-gnome-desktop.

If you use a different one, try the related task--desktop

Aptitude should then show you all that is necessary to restore a working
desktop environment.

I do not use synaptic so I cannot help you with that.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Inferior sound quality

2016-02-23 Thread Johann Spies
Banshee has got an equaliser with a few useful presets. I do not have
access to Windows, but I found that using different presets or adjusting
the equaliser makes a marked difference in sound quality.

Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Bluetooth browser?

2016-01-28 Thread Johann Spies
On Jessie I could "browse device" and transfer/move files to/on/from my
tablet.

After upgrading to Stretch I go the message: Failed to launch the file
browser.
The specified location is not supported.
You can enter an alternate browser in the service settings.

I have looked through the files in /etc/bluetooth, but could not find any
setting referring to a browser.

I am using XFCE4 and have also caja installed.

Help to solve this problem will be appreciated.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: An UML editor for Linux

2015-11-08 Thread Johann Spies
>
> — could you please recommend me some decent UML editor for Linux?
>

Dia is decent enough. I have used it in the past.

Recently (through the results of postgresql_autodoc) I started using
Graphviz which produces much beter results than what I can achieve with an
UML-editor.

Learn the dot-language (part of graphviz).  It is not that complicated.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


emacs M-c

2015-08-19 Thread Johann Spies
I have been an emacs user for many years.  For the last months (might be a
year or longer) M-c is do not capitalize the next word as described in the
documentation, but call up Calc.

How do I get the default (Capitalize next word) back to M-c?

If I want to use Calc I can do M-x * c

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: emacs M-c (Solved)

2015-08-19 Thread Johann Spies
The following line (with the help of
http://ergoemacs.org/emacs/keyboard_shortcuts.html) added to .emacs solved
my problem :

(global-set-key(kbd M-c) 'capitalize-word); Alt-c

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: scanner not recognized

2015-08-03 Thread Johann Spies
I found that I could not use my Lide (I think it is a 10 - I am not at home
right now) on USB-3 ports but it works without a problem on USB-2.  Try all
the ports on your computer.

Regards
Johann

On 1 August 2015 at 17:26, Frank McCormick debianl...@videotron.ca wrote:

 It's been a while since I used the Canon LIDE 20 scanner attached to my
 Debian Sid system. Today I found out it's not being recognized.
 LSUSB doesn't find it on the scan of USB ports. I suspect the kernel
 module is not being loaded. How can I find out which module is
 needed and how do I make sure it's loaded on every boot ?



 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
 subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/55bce52d.3040...@videotron.ca




-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Systemd takes more that 1m 30sec to start firewall at boot

2015-06-25 Thread Johann Spies
Thanks Don.


User 132 was Gnome Display Manager.

So I removed gdm3 and made lightdm (user 115) my default display manager.
That did not make any difference:

└─networking.service @4.138s +3.231s
  └─local-fs.target @4.137s
└─run-user-115.mount @1min 44.291s
  └─local-fs-pre.target @2.019s
└─systemd-remount-fs.service @1.964s +54ms
  └─keyboard-setup.service @1.338s +626ms
└─systemd-udevd.service @1.328s +8ms
  └─systemd-tmpfiles-setup-dev.service
@1.047s +280ms
└─kmod-static-nodes.service @958ms
+88ms
  └─system.slice @958ms
└─-.slice @957ms

$ systemctl status -l run-user-115.mount;
● run-user-115.mount - /run/user/115
   Loaded: loaded (/proc/self/mountinfo)
   Active: active (mounted) since Thu 2015-06-25 13:22:54 SAST; 3min 46s ago
Where: /run/user/115
 What: tmpfs


Why does it take 44 seconds to make a and mount a directory in /tmp?

$ mount

tmpfs on /run/user/115 type tmpfs
(rw,nosuid,nodev,relatime,size=806516k,mode=700,uid=115,gid=123)

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Systemd takes more that 1m 30sec to start firewall at boot

2015-06-22 Thread Johann Spies
On 19 June 2015 at 00:42, Ric Moore wayward4...@gmail.com wrote:



 $ systemd-analyze critical-chain

 This will tell you what is taking a long time to start.




Thanks Ric.  This helps and confuses.

I get this:

└─shorewall.service @11.793s +1min 31.901s
└─network-online.target @11.793s
  └─network.target @11.793s
└─networking.service @4.239s +7.553s
  └─local-fs.target @4.239s
└─run-user-132.mount @1min 48.874s
  └─local-fs-pre.target @2.132s
└─systemd-remount-fs.service @2.033s +98ms
  └─keyboard-setup.service @1.374s +657ms
└─systemd-udevd.service @1.365s +9ms
  └─systemd-tmpfiles-setup-dev.service
@1.056s +307ms
└─kmod-static-nodes.service @970ms
+85ms
  └─system.slice @970ms
└─-.slice @970ms


How do I find out why run-user-132.mount takes 48.874s to finish?
Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Systemd takes more that 1m 30sec to start firewall at boot

2015-06-18 Thread Johann Spies
I use shorewall. The shorewall-init.log shows that Shorewall took less than
2 seconds to compile and start up.  Why does systemd wait that long on boot?

This is on Jessie.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Bluetooth mouse problems on Jessie

2015-05-22 Thread Johann Spies
On 18 May 2015 at 20:05, iain expat.i...@gmail.com wrote:

 On 29/04/15 09:10, Johann Spies wrote:
  Since the weekend (and Jessie becoming Stable) I could not use my
  bluetooth mouse which I have been using for years.  I get the message
  successfully added but failed to connect.


I can confirm that the rodent did not die.  I have tried the bluetooth
mouse with a Apple Macbook Pro and it works without a problem.  The problem
is thus a Debian Jessie one.

Maybe I should do a bugreport.

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


systemd!

2015-05-19 Thread Johann Spies
Systemd is causing hundreds of lines like this in /var/log/daemon.log on
Jessie:

May 19 15:23:51 kbase systemd[7431]: Starting
Paths.

May 19 15:23:51 kbase systemd[7431]: Reached target
Paths.
May 19 15:23:51 kbase systemd[7431]: Starting
Timers.

May 19 15:23:51 kbase systemd[7431]: Reached target
Timers.
May 19 15:23:51 kbase systemd[7431]: Starting
Sockets.

May 19 15:23:51 kbase systemd[7431]: Reached target
Sockets.
May 19 15:23:51 kbase systemd[7431]: Starting Basic
System.
May 19 15:23:51 kbase systemd[7431]: Reached target Basic
System.
May 19 15:23:51 kbase systemd[7431]: Starting
Default.

May 19 15:23:51 kbase systemd[7431]: Reached target
Default.
May 19 15:23:51 kbase systemd[7431]: Startup finished in
8ms.
May 19 15:23:52 kbase systemd[7431]: Stopping
Default.

May 19 15:23:52 kbase systemd[7431]: Stopped target
Default.
May 19 15:23:52 kbase systemd[7431]: Stopping Basic
System.
May 19 15:23:52 kbase systemd[7431]: Stopped target Basic
System.
May 19 15:23:52 kbase systemd[7431]: Stopping
Paths.

May 19 15:23:52 kbase systemd[7431]: Stopped target
Paths.
May 19 15:23:52 kbase systemd[7431]: Stopping
Timers.

May 19 15:23:52 kbase systemd[7431]: Stopped target
Timers.
May 19 15:23:52 kbase systemd[7431]: Stopping
Sockets.

May 19 15:23:52 kbase systemd[7431]: Stopped target
Sockets.
May 19 15:23:52 kbase systemd[7431]: Starting
Shutdown.

May 19 15:23:52 kbase systemd[7431]: Starting Exit the
Session...
May 19 15:23:52 kbase systemd[7431]: Received SIGRTMIN+24 from PID 7440
(kill).


What is going on?  How do I determine what is causing it?

The processes die before one can examine it.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: ssh tunnels or openvpn/IPsec?

2015-05-11 Thread Johann Spies
Thanks to everybody who contributed to this thread.  It is valuable.

Regards.
Johann


Re: irqbalance affinity problem

2015-05-05 Thread Johann Spies
On 5 May 2015 at 15:32, Pol Hallen de...@fuckaround.org wrote:


 Can you do some benchmarks with/without those options?


Good suggestion. Thanks.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: irqbalance affinity problem

2015-05-05 Thread Johann Spies
On 5 May 2015 at 15:11, Pol Hallen de...@fuckaround.org wrote:

 Linux kbase 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt7-1 (2015-03-01)
 x86_64 GNU/Linux


 have you tried with other kernels and/or check bios settings?


Thanks for your attention to my question.

No.  I do not want to reboot the server often.

What do I look for in the Bios (which is not an easy path to walk on the
server)?


I see in the changelog of the Debian package that the suggested solution as
showed by the Ubuntu bug report was accepted as part of the Debian
Package.

I can then in /etc/default/irqbalance put OPTIONS = --intpolicy=ignore

but I am not sure what the effect will be on the server performance.

Do you have knowledge of such a setting?

The error message suggests that subset is the default choice for this
setting.



Regards
Johann


On 5 May 2015 at 15:24, Johann Spies johann.sp...@gmail.com wrote:



 On 5 May 2015 at 15:11, Pol Hallen de...@fuckaround.org wrote:

 Linux kbase 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt7-1 (2015-03-01)
 x86_64 GNU/Linux


 have you tried with other kernels and/or check bios settings?


 Thanks for your attention to my question.

 No.  I do not want to reboot the server often.

 What do I look for in the Bios (which is not an easy path to walk on the
 server)?


 I see in the changelog of the Debian package that the suggested solution
 as showed by the Ubuntu bug report was accepted as part of the Debian
 Package.

 I can then in /etc/default/irqbalance put OPTIONS = --intpolicy=ignore

 but I am not sure what the effect will be on the server performance.

 Do you have knowledge of such a setting?

 The error message suggests that subset is the default choice for this
 setting.


 Regards
 Johann


 --
 Because experiencing your loyal love is better than life itself,
 my lips will praise you.  (Psalm 63:3)




-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: irqbalance affinity problem

2015-05-05 Thread Johann Spies
On 5 May 2015 at 14:56, Pol Hallen de...@fuckaround.org wrote:


 which kernel do you use?


Linux kbase 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt7-1 (2015-03-01) x86_64
GNU/Linux

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Jessie: XFCE4 Desktop background stopped working

2015-05-05 Thread Johann Spies
Andre N Batista wrote:


 I suspect this might be a bug on the upgrade process. About two weeks
 ago a user whom I help had a similar complaint.

 What I found out was: xfdesktop had crashed and the system was
 configured to auto save sessions so it wasn't being brought up even
 after restarting the system.

 The solution was just:

 $ xfdesktop 

 Anyone else?



Thanks!  That fixed the problem.  Which files did xfdesktop change?


Now I can move back to XFCE4 again after using Gnome for a few days. :)

Regards
Johann.
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


irqbalance affinity problem

2015-05-05 Thread Johann Spies
On our server with 32 cores we see this in /var/log/syslog.

May  5 12:26:28 kbase /usr/sbin/irqbalance: irq 104 affinity_hint subset
empty
May  5 12:26:28 kbase /usr/sbin/irqbalance: irq 105 affinity_hint subset
empty
May  5 12:26:38 kbase /usr/sbin/irqbalance: irq 98 affinity_hint subset
empty
May  5 12:26:38 kbase /usr/sbin/irqbalance: irq 99 affinity_hint subset
empty
May  5 12:26:38 kbase /usr/sbin/irqbalance: irq 100 affinity_hint subset
empty
May  5 12:26:38 kbase /usr/sbin/irqbalance: irq 101 affinity_hint subset
empty
May  5 12:26:38 kbase /usr/sbin/irqbalance: irq 102 affinity_hint subset
empty
May  5 12:26:38 kbase /usr/sbin/irqbalance: irq 103 affinity_hint subset
empty
May  5 12:26:38 kbase /usr/sbin/irqbalance: irq 104 affinity_hint subset
empty
May  5 12:26:38 kbase /usr/sbin/irqbalance: irq 105 affinity_hint subset
empty

I have seen a related bugreport on Ubuntu(
https://bugs.launchpad.net/ubuntu/+source/irqbalance/+bug/1328556), but I
am not convinced that the solution it suggests is the correct one.  What
will be the effect if I put

HINTPOLICY=ignore

in /etc/default/irqbalance
on the system?

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Jessie: XFCE4 Desktop background stopped working

2015-04-30 Thread Johann Spies
On 30 April 2015 at 04:42, Mike Kupfer m.kup...@acm.org wrote:

 Johann Spies wrote:

  Since Jessie became stable, there is a flat gray background on the XFCE4
  desktop and I cannot change it.  My normal configuration is that XFCE4
  should use a list of pictures and change the background regularly
  (something that I don't think the other systems can do).  This is not
  working anymore.

 After seeing your mail, I was able to configure my background to rotate
 through multiple images on Jessie.  When you say you are unable to
 change from the gray background, what are the steps you are trying?  On
 the Desktop Settings dialog, what choice is selected under Image
 (right-hand side of the Background tab)?


I use the Image list  option.

I have now removed .config/xfce and restarted a xfce4-session.  Now my
background is black - and I cannot change it whatever option I try.

I must add this is happening on my work laptop. On my home laptop (also
with Jessie) I can go on as usual.

I suspect there must be some other setting on my work laptop that is
blocking the XFCE4 desktop background configuration.

Does this setting in /etc/alternatives have something to do with it:

lrwxrwxrwx   1 root root60 Apr 29 09:27 desktop-background -
/usr/share/images/desktop-base/lines-wallpaper_1920x1080.svg
lrwxrwxrwx   1 root root40 Apr 29 09:27 desktop-background.xml -
/usr/share/images/desktop-base/lines.xml

Regards
Johann


 regards,
 mike




-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Bluetooth mouse problems on Jessie

2015-04-29 Thread Johann Spies
Since the weekend (and Jessie becoming Stable) I could not use my bluetooth
mouse which I have been using for years.  I get the message successfully
added but failed to connect.

When I delete the device in the bluetooth setup and try to set it up again,
the device seems to be detected, then it disappears and reappears about
every second.

This is happened on two different laptops so I do not think it is a
hardware problem.

Anyone else having similar problems?

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Jessie: XFCE4 Desktop background stopped working

2015-04-29 Thread Johann Spies
Since Jessie became stable, there is a flat gray background on the XFCE4
desktop and I cannot change it.  My normal configuration is that XFCE4
should use a list of pictures and change the background regularly
(something that I don't think the other systems can do).  This is not
working anymore.

Even Wallpapoz (my second choice) which in the past could work with XFCE4
would not do it's job.

Now I am using cinnamon + wallpapoz.  I would prefer however to use XFCE4.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Bluetooth mouse problems on Jessie

2015-04-29 Thread Johann Spies
On 29 April 2015 at 11:40, Brad Rogers b...@fineby.me.uk wrote:

 On Wed, 29 Apr 2015 09:10:25 +0200
 Johann Spies johann.sp...@gmail.com wrote:

 Hello Johann,

 mouse which I have been using for years.  I get the message
 successfully added but failed to connect.

 As Lisi says, you've not eliminated the mouse as the problem (in fact,
 you've probably done the opposite).


Correct!  Thanks for opening my eyes for that  possibility.


 Try the simple things first;  Batteries failing, perhaps?


Yes, I have tested it with other batteries also.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Cheap way to track disk usage?

2015-03-03 Thread Johann Spies
 I can run du, but that takes ages, and has a performance impact. df
 only gives the total for the filesystem, of course.


Try ncdu.  It also takes some time to finish calculating, but the output is
easier to handle and you can drill down to lower directories without losing
the other data.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: xfce 4.12 in Debian.

2015-03-03 Thread Johann Spies
On 4 March 2015 at 08:17, xavi lorajo...@paranoici.org wrote:

 Hi,

 Does somebody know when xfce4.12 will be arrive to Debian? And, where can
 I look this for xfce4.12 or other packages? Is there some kind of calendar
 for packages?


You can use apt-show-versions to see which version of any package is
available.

On my systerm:

 apt-show-versions xfce4
xfce4:all/jessie 4.10.1 uptodate

You can watch

https://wiki.debian.org/Xfce
and
https://packages.debian.org/sid/xfce4

xfce4.12 does not seem to be available at the moment.



 Thanks and sorry for my english :^)

 No problem.


 Have a nice day!

 Same there :)

Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: recommended ftp clients for Debian

2015-02-24 Thread Johann Spies
On 24 February 2015 at 16:11, Lisi Reisz lisi.re...@gmail.com wrote:

 Yes, I know I can STFW.  I have in fact done so.  But I am after personal
 experience.

 I want a simple ftp client, for putting not getting, that is easy and
 pleasant
 to use.  GUI based.  For the use of non-geeks as well as myself.


If you are looking for a gui-based client, filezilla is an option.

On the command line I would use lftp.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Unable to install bootloader on software raid

2014-12-13 Thread Johann Spies
After two of my hard disks failed, I decided to use a software raid in
future and tried to install Debian Testing on the raid.  The configuration
of the raid and software installation went well until I tried to install
the bootloader.  Both Grub and Lilo refused to install.

If it is not possible to install Grub or Lilo onto a software raid, why is
the option available in Grub?

I have seen several efforts to solve this problem on the internet, but none
of them worked for me.

What is the way to install Debian onto a software raid?

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Unable to install bootloader on software raid

2014-12-13 Thread Johann Spies
Thanks for your reply, Ron.

In the end I configured my partions to exclude the first 250Mb (/boot) from
the raid and I could install Grub just to have a working system.

It is not the best solution.  The installer should work as expected.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Installing Debian on a SuperMicro server

2014-12-03 Thread Johann Spies
I am trying to install Debian on a SuperMicro server on two ssd's
configured in the bios as a RAID1 (I think it is called a fake-raid).

Debian Stable does not recognize the disks at all.
Debian Testing's installation disk picks it up as a RAID1 device (even when
I configure it in the bios as non-raid disks) and can install up to the
stage where grub has to be installed.  Grub does not recognise the RAID1
device but sees the two disks separately.

When I open gparted in Linuxmint 17 (live imaget) it complains when the
disks are  configured in bios as RAID1 but gparted sees the separate disks
when it is configured as non-raid devices.


I am prepared to go the route of a software raid if necessary, but in the
Debian installer that is only possible if the Debian-installer sees the
disks as separate disks as Grub does.

Any suggestions for the way forward?  Should I put a usb-stick in the
server and install grub there?

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Re: Installing Debian on a SuperMicro server

2014-12-03 Thread Johann Spies
Thanks Miles.



 Did a little googling and found this: https://wiki.debian.org/
 DebianInstaller/SataRaid - which recommends adding dmraid=true to the
 kernel boot line (see page for detailed instructions).

 I have tried the procedure in this website, but my results are different.
I never got a chance to specify the settings for the partition on the fake
raid.  It just used the whole device as a partion mounted at /. When I
logged in in rescue mode, I could not find the different devices to
configure grub. https://lists.debian.org/547efdd2.5010...@meetinghouse.net

I have also tried Ubuntu-server 2014-10 but I did not understand the
installation asking me whether to activate raid or not for the devices and
then not showing them anywhere.

Centos 6.6 could install without a problem but I do not want to work with a
rpm-based system if possible.

At the moment Centos or Fedora (which I would not prefer on any server)
seems to be the non-commercial options available to me.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


  1   2   3   4   5   6   7   8   9   10   >