Re: Conectivity loss because gateway's arp entry is incomplete

2020-03-04 Thread Nektarios Katakis




Στις 2020-03-04 01:54, Miguel A. Vallejo έγραψε:

Nektarios Katakis wrote:

I would check the `dmesg` command output. If there are erros there 
then

they re coming from the kernel.


I forgot to mention not a single message in syslog, kern.log, or any
other log I could find. Nothing. Nada. Zero.


Have you made sure that the wifi is not the problem? Before going into
wild software investigation?


No, that's what I want to discover to fill an appropriate bug report
against the right component. I must admit MT7612u support is buggy as
hell. I suffer many other bugs with these devices, all of them related
to the inhability to follow AP frequency changes in the 5 GHz band,
but this one does not seems related to the wifi itself. When the bug
triggers I can send and receive packets. Only sending arp messages
seems to be missing.


For example have you tried in a Windows
laptop with the correct device drivers? Because you even might not be
using the correct device drivers!


I can't test the devices in Windows because I have no Windows here,


I dont use windows either. But most manufacturers give correct drivers
for them.


but I have four dongles, from two different manufacturers, all of them
with the MT7612U chip in it and all of them load the mt76x2u module
when plugged, so I must conclude they are using the correct device
driver/module. The problem exists with all the four dongles.


This is not necessarily true. I recently bought a (chinese) wifi
adapter (atheros chip) that was recognized as mediatek. The moment
I linked the correct drivers with the device it worked properly.



Re: Conectivity loss because gateway's arp entry is incomplete

2020-03-03 Thread Nektarios Katakis




Στις 2020-03-03 23:34, Miguel A. Vallejo έγραψε:

Hello!

Diagnosing one of my several problems with WiFi in Debian I found a
problem this time not related to the WiFi connection itself, but I
don't know how to get the culprit... Anyone can point me in the right
direction?

Symptoms: From time to time I lost Internet connection for a period of
about 5 to 30 minutes. It happens at least two or three times a day.

Setup: Desktop computer (192.168.1.2) running Debian Buster amd64 with
current kernel 4.19.98-1 connected via WiFi to router / gateway
(192.168.1.1). Wifi Adapter is MT7612U from Mediatek.

While connection is lost:

- I can launch wavemon and I can confirm the WiFi adapter is still
connected and sending / receiving packets and beacons.

- Arp command shows the gateway HWaddress as incomplete.

- Launching Wireshark in the desktop computer I can see incoming
packets from other devices, but I can also see a "Who has 192.168.1.1?
Tell 192.168.1.2" ARP requests from my desktop every second. At first
glance it seems the gateway isn't responding to my arp requests,
but...

- I can see arp queries from the gateway to my desktop, and I can see
the responses, but they seem they never reach the gateway.

- Forcing network activity with my smartphone, I can see also arp
requests from the smartphone answered by the desktop, but a ping from
the smartphone to the desktop machine gives no response. Of course the
phone can use internet without any problem using the same gateway.

- If I unplug and replug the WiFi adapter everything works again. If I
left the WiFi adapter plugged, eventually I get an arp response from
the gateway, and everything works normally again. This may take up to
20-30 minutes. Only once the wifi connection crashed after several
minutes.

It seems that when I lost connectivity I can't sent arp messages but I
can receive them. They are sent, I can see them with Wireshark, but it
seems they will never get outside the machine. I searched for known
bugs but I wasn't able to find anything, only a message from an Ubuntu
user aparently having the same problem, but with a different WiFi
adapter and kernel version (4.18 I think):

https://askubuntu.com/questions/1122683/no-internet-access-after-random-intervals-in-ubuntu-18-04-2-lts

The problem is now I don't know how to get the culprit of this bug. Is
the kernel? Is the Mediatek kernel module?


I would check the `dmesg` command output. If there are erros there then
they re coming from the kernel.

Have you made sure that the wifi is not the problem? Before going into
wild software investigation? For example have you tried in a Windows
laptop with the correct device drivers? Because you even might not be
using the correct device drivers!



Any help will be appreciated.


---
Regards,
Nektarios Katakis



Re: Debian GNU/Linux 9 (stretch) was broken after upgraded from stretch-backports.

2020-02-19 Thread Nektarios Katakis

Στις 2020-02-19 10:38, didier.gau...@gmail.com έγραψε:

Le mardi 18 février 2020 14:50:04 UTC+1, Nektarios Katakis a écrit :

Στις 2020-02-18 12:41, Anastasios Lisgaras έγραψε:

[...]
[...]

> Thank you for your answer. About "backports firmwares" what should I
> do?
> What do you have to recommend me?
> ( I didn't know that at all )


cf https://wiki.debian.org/Firmware

I think that the only firmwares installed are those you installed
yourself manually (if any), no one is automatically pulled by default.
as root:
# aptitude search firmware
would display most of the firmwares (it's a search by names containing
'firmware' and some firmwares do not contain 'firmware' in their
name). The status 'ii' means a firmware is installed.

What I meant previously is that it is preferable to have a firmware
(related to a hardware) that is coherent with the driver for this
hardware included in the kernel. So if you have a hardware that needs
a firmware and you use a Backports kernel, it is probably preferable
to install the Backports version of the needed firmware.


> Finally, a very important question:
> Can I go back to where I was before the update ( with only stretch
> source ) ?

You should definitely be able to do this since the `apt upgrade` 
command

you
ran ended without any errors (your system is not broken anyhow).

> I mention this because the official documentation itself (and you)
> states that you do not recommend what I did.
>
> There is a way to "I pull a rope" and go back to my sturdy/robust port
> of stretch repositories/resources ?

Simply revert the changes sources (apt edit-sources) and
`apt update && apt upgrade`

[...]

I do not think this will do the trick: if I recall correctly, it will
end up with Backports packages marked something like 'local' or
'obsolete' without being downgraded to their Strech version.

The best solution would probably to do a fresh install.
But if you want to take the chance, here is a trick to downgrade:
 https://wiki.debian.org/SystemDowngrade


Interesting I thought you could downgrade with the package manager.
from the looks of it you end up with an unstable system. I had removed
repos in the past and the packages were removed automatically but I 
guess

I was lucky!



Re: Debian GNU/Linux 9 (stretch) was broken after upgraded from stretch-backports.

2020-02-18 Thread Nektarios Katakis

Στις 2020-02-18 12:41, Anastasios Lisgaras έγραψε:

On 2/17/20 6:41 PM, didier.gau...@gmail.com wrote:



Στις 2020-02-17 13:17, Anastasios Lisgaras έγραψε:

[...]
1. I created this file : 
/etc/apt/sources.list.d/stretch-backports.list

(https://pastebin.com/raw/YM11TDer)
2. I also created this file :
/etc/apt/preferences.d/89_stretch-backports_default
(https://pastebin.com/raw/F6vjDEgh).

and then I ran :
```
apt update && apt list --upgradable && apt dist-upgrade && apt-get
autoremove -y && apt-get autoclean -y && apt-get clean

[...]

The problem is that after restarting the computer could not boot
properly and especially with a graphical interface.

[...]
- Is the upgrade to blame? Hasn't it been done correctly (basically 
it

definitely won't have been done correctly) ?
- Do you think I should add it here
`/etc/apt/sources.list.d/stretch-backports.list`
(https://pastebin.com/raw/YM11TDer) the 'contrib non-free' at the 
end

of
the two sources?

What is to blame and what should I do to fix it?

[...]

Hello,

As far as I understand it:
- Backports repository is not intended as an ordinary repo from which 
you can install all the packages.Its purpose is to let the user 
install selected packages for which there is a need for a more recent 
version (option -t). Installing all packages from backports may lead 
to problems.
- By default your ordinary repo has a 500 priority and backports a 100 
priority: when you set up a 500 priority for backports, it means that 
that backports has priority over your ordinary repo, because the 
version numbers are higher.
- If your ordinary (Oldstable or Stretch, in your case) repo line (or 
sources.list.d file) in sources.list mentions "contrib non-free" it is 
preferable to mention it too for the backports line. Then, generally, 
if you use a backports kernel, you will want to use also the backports 
firmwares instead of the ordinary ones.


the backports page of the wiki:
 https://wiki.debian.org/Backports




Nektarios & didier thank you both for your time, interest and help!

On 2/17/20 4:32 PM, Nektarios Katakis wrote:

You can investigate if the `graphical.target` unit is activated and
if the programs relying on it are installed.


What exactly do you mean by saying `graphical.target` ?



If you check the output of `systemctl status graphical.target` you ll 
see
it s a systemd target and whether it s activated or not. The related 
file
in `/lib/systemd/system/graphical.target` will also point you to 
related/

needed services for the graphical target.

You can start from there and check if those targets/services are 
enabled.
Also if they failed in your last boot (`systemctl list-units 
--state=failed`).



Your view is certainly interesting and probably right (I've thought
about it too), but first I would like to make sure the whole system is
in the right state/point.
According to the above data, and after the update/upgrade I did, all
packages are the to right  "stretch-backports" point/state ?
Or I should take action to set it up properly ? Is it better to leave
from "stretch-backports" ?

Going from Debian GNU/Linux 9 (stretch) to Debina GNU/Linux 10 (buster)
(without format) how risky can it be?

Upgrading from 9 to 10 should be straight forward. In my case I ensured 
that
my system is up to date with the main repositories, that I had enough 
free space
and then modified the sources.list to buster repos and did the apt 
dist-upgrade.

That being said I didnt have any packages installed manually or on hold
(`apt-mark showhold`).

Check for a very extensive guide here
https://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html



On 2/17/20 6:41 PM, didier.gau...@gmail.com wrote:

- Backports repository is not intended as an ordinary repo from which

you can install all the packages.Its purpose is to let the user install
selected packages for which there is a need for a more recent version
(option -t). Installing all packages from backports may lead to 
problems.


You are absolutely right! That's exactly how I started. At first I
wanted to put the "stretch-backports" sources, to install specific
packages from them ( specifically only the `nautilus-nextcloud` package
), but then I changed my mind and played a lot more risky, because in
the end I updated my whole system.


On 2/17/20 6:41 PM, didier.gau...@gmail.com wrote:

- By default your ordinary repo has a 500 priority and backports a 100

priority: when you set up a 500 priority for backports, it means that
that backports has priority over your ordinary repo, because the 
version

numbers are higher.

Thank you so much for explaining the priorities - I understood that 
too.

The reason I was thinking of finally updating my entire system, is
because I thought that the `nautilus-nextcloud` package it would
probably affect the whole in general GNOME, that is why I suppose that
maybe they were more correc

Re: Debian GNU/Linux 9 (stretch) was broken after upgraded from stretch-backports.

2020-02-17 Thread Nektarios Katakis

Στις 2020-02-17 13:17, Anastasios Lisgaras έγραψε:

Hello Debian community,

Recently I needed to (to be honest, I had the *desire*) to have newer
software release.

In particular I wanted to install the nautilus-nextcloud` package
which is exist in my laptop with Debian GNU/Linux 10 (buster)
(https://packages.debian.org/buster/gnome/nautilus-nextcloud),

but in Debian GNU/Linux 9 (stretch) - on my desktop - there wasn't in
the basic default repositories ( and I try to have the basic installed
software on my system by the official Debian repositories ).
Since I'm sure there isn't : https://packages.debian.org/stretch/gnome/

I saw that in the stretch-backports repositories, there is :
https://packages.debian.org/stretch-backports/gnome/nautilus-nextcloud


In order not to tire you with my thoughts, I'll just tell you, at first
I just wanted to install this particular package, but then I thought it
was time to upgrade my entire system. But i did not follow the right
path (documentation) and at the moment i have a broken system which you
are having trouble getting started.

So in the end, I just upgraded my whole system (or so I think anyway).

# What did I do.
1. I created this file : /etc/apt/sources.list.d/stretch-backports.list
(https://pastebin.com/raw/YM11TDer)
2. I also created this file :
/etc/apt/preferences.d/89_stretch-backports_default
(https://pastebin.com/raw/F6vjDEgh).

and then I ran :
```
apt update && apt list --upgradable && apt dist-upgrade && apt-get
autoremove -y && apt-get autoclean -y && apt-get clean
```

but before restarting the system I kept all the logging from the update
and you can see it in here: https://termbin.com/op1g


# The result and the weird problem.

The problem is that after restarting the computer could not boot
properly and especially with a graphical interface.
This is where the problems begin :
* https://imgur.com/a/sFJgnUh
* https://imgur.com/a/uoOFVf4
* https://imgur.com/a/yTnKIfj
* https://imgur.com/a/Hy2IwoF

At first even from recovery mode, I had no internet.
Looking and reading and as I had suspected that something might be to
blame for networking (https://unix.stackexchange.com/a/390324), i went
to the file `/etc/network/interfaces` and I commented out the "bridge
setup", so this file now has this:
https://pastebin.com/raw/8CHiwtaT

See also the contents of the file `etc/gdm3/daemon.conf` ( if useful ) 
:

https://pastebin.com/raw/4j5utUdX


Because at some point in the startup, I was getting the message
`firmware: failed to load rtl_nic/rtl8168f-1.fw`, I saw this solution
here (https://unix.stackexchange.com/a/384411) and indeed, this message
I think no longer appears.

But I no longer at all to have a graphical user interface ( I use GNOME
as a graphical interface - desktop environment )
- Is the docker to blame? Delete it? (No problem if I need to delete it
so I can use my system.)
- Is the graphics card to blame?
- Is the upgrade to blame? Hasn't it been done correctly (basically it
definitely won't have been done correctly) ?
- Do you think I should add it here
`/etc/apt/sources.list.d/stretch-backports.list`
(https://pastebin.com/raw/YM11TDer) the 'contrib non-free' at the end 
of

the two sources?

What is to blame and what should I do to fix it?

However, the last picture of my system, is the one shown here:
[dmseg](https://pastebin.com/raw/TSRqv4kC).
If it is convenient or shows something more, here is the result of the
command [journalctl -b](https://pastebin.com/raw/Rw36Jp03).
At startup, after this point : https://imgur.com/a/0kC6SMQ i just type
"Alt" + "F4" and goes me to the terminal.
Luckily at least I have access from the terminal (and then ssh into the
machine)!


# The detailed features of my system.
---
Linux 4.19.0-0.bpo.6-amd64 #1 SMP Debian 4.19.67-2+deb10u2~bpo9+1
(2019-11-12) x86_64 GNU/Linux
OS : Debian GNU/Linux 9.12 (stretch)
Desktop Environment : GNOME Shell 3.22.3
CPU : MD FX-8350 Eight-Core Processor
RAM : 15940 MiB
Motherboard : ASUS SABERTOOTH 990FX R2.0
Advanced Micro Devices, Inc. [AMD/ATI] Oland PRO [Radeon R7 240/340]
[1002:6613] {radeon}
enp10s0: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
Controller [10ec:8168] (rev 09)
lspci -v  : https://pastebin.com/raw/10Y9y5nc

nautilus-nextcloud/stretch-backports,stretch-backports,now
2.5.1-1~bpo9+1 all [installed]

I hope we find a solution, and thank you in advance.
Kind regards,
Tasos


You can investigate if the `graphical.target` unit is activated and
if the programs relying on it are installed.

I dont think that your system is broken. But probably your desktop
environment is. If it doesnt hit by default the graphical.target.
The last time it happened on my laptop in a similar situation I
removed and reinstalled the whole desktop environment (something like
task-gnome-desktop or task-kde-desktop etc.) and fixed itself.

---
Regards,
Nektarios Katakis



Re: Delay evolution-*-factory startup

2020-02-03 Thread Nektarios Katakis

Στις 2020-02-03 14:59, Jim Popovitch έγραψε:

On Mon, 2020-02-03 at 14:49 +, Nektarios Katakis wrote:

Στις 2020-02-03 14:24, Jim Popovitch έγραψε:
> On Mon, 2020-02-03 at 14:07 +0000, Nektarios Katakis wrote:
> > Στις 2020-02-03 12:59, Jim Popovitch έγραψε:
> > > Hello!
> > >
> > > Is there a way in Buster+Cinnamon to disable evolution-
> > > (calendar|addressbook)-factory until after a VPN has connected?
> > >
> > > Everytime I login and start Evolution I have a handful of blue
> > > warnings,
> > > that I must clear, because Evolution was unable to connect to services
> > > only available over a VPN. By the time I clear the blue warnings the
> > > VPN
> > > is active, the warning just accrue after login and before network
> > > manager activates the VPN.
> > >
> > > -Jim P.
> >
> > You can run the VPN as a systemd user service as the Evolution is now.
> > And put VPN service to run before the evolution one.
>
> The NetworkManager-OVPN depends on user configuration, therefore the
> VPN won't start until after user login.

The calendar service should be the same. Since it s a user service it
starts after you login.


It does, but I don't want it started until after it can reach the
calendar server (which is only available on the VPN).


> > Alternatively you can disable evolution from starting automatically
> > and
> > do it once you have connected manually in your VPN.

To disable it you can try: `systemctl --user disable
evolution-calendar-factory.service`
Alternatively you can remove the WantedBy block from the unit file.


Thanks again, unfortunately that doesn't seem to survive a reboot. :-(

I tried disabling all evolution related services, but they still 
startup

after a normal reboot


If no one else is using evolution on that PC you can do `rm 
/usr/lib/systemd/user/evolution-*`


When you reinstall the package you ll have the service files back 
anyway.




-Jim P.


---
Regards,
Nektarios Katakis



Re: Delay evolution-*-factory startup

2020-02-03 Thread Nektarios Katakis

Στις 2020-02-03 14:24, Jim Popovitch έγραψε:

On Mon, 2020-02-03 at 14:07 +, Nektarios Katakis wrote:

Στις 2020-02-03 12:59, Jim Popovitch έγραψε:
> Hello!
>
> Is there a way in Buster+Cinnamon to disable evolution-
> (calendar|addressbook)-factory until after a VPN has connected?
>
> Everytime I login and start Evolution I have a handful of blue
> warnings,
> that I must clear, because Evolution was unable to connect to services
> only available over a VPN. By the time I clear the blue warnings the
> VPN
> is active, the warning just accrue after login and before network
> manager activates the VPN.
>
> -Jim P.

You can run the VPN as a systemd user service as the Evolution is now.
And put VPN service to run before the evolution one.


The NetworkManager-OVPN depends on user configuration, therefore the 
VPN

won't start until after user login.


The calendar service should be the same. Since it s a user service it 
starts

after you login.



Alternatively you can disable evolution from starting automatically 
and

do it once you have connected manually in your VPN.




To disable it you can try: `systemctl --user disable 
evolution-calendar-factory.service`

Alternatively you can remove the WantedBy block from the unit file.


Thanks, any thoughts on how to do that?

-Jim P.


---
Regards,
Nektarios Katakis



Re: Delay evolution-*-factory startup

2020-02-03 Thread Nektarios Katakis

Στις 2020-02-03 12:59, Jim Popovitch έγραψε:

Hello!

Is there a way in Buster+Cinnamon to disable evolution-
(calendar|addressbook)-factory until after a VPN has connected?

Everytime I login and start Evolution I have a handful of blue 
warnings,

that I must clear, because Evolution was unable to connect to services
only available over a VPN. By the time I clear the blue warnings the 
VPN

is active, the warning just accrue after login and before network
manager activates the VPN.

-Jim P.


You can run the VPN as a systemd user service as the Evolution is now.
And put VPN service to run before the evolution one.

Alternatively you can disable evolution from starting automatically and 
do it

once you have connected manually in your VPN.

---
Regards,
Nektarios Katakis



Re: entirely keyboard based installation ...

2020-01-30 Thread Nektarios Katakis

Στις 2020-01-30 12:42, Albretch Mueller έγραψε:

That probably is a bug of the installer.


 They should let users know


You can open an issue in the debian installer repo. They might consider 
serious and fix it.





The simplest solution is to try a usb mouse.


 Thank you

If the laptop mouse is not detected during the Installation it 
probably wont be detected later too!


 laptop mouse pad worked fine after the Installation


Did you install any proprietary drivers after installation?



 lbrtchx



On 1/30/20, Nektarios Katakis  
wrote:

Στις 2020-01-30 11:17, Albretch Mueller έγραψε:

I was installing Debian yesterday and my mouse wasn't working (a
Leneovo Netbook X130e).

 I tried to tab through to the „Bilschirmbild“ option, but could not
reach out to it because that option was being skipped!?

 That shouldn't be and/or I wonder what the reason for that
obstruction could be.

 lbrtchx


That probably is a bug of the installer. The simplest solution is to 
try
a usb mouse. If the laptop mouse is not detected during the 
installation

it probably wont be detected later too!

---
Regards,
Nektarios Katakis





Re: entirely keyboard based installation ...

2020-01-30 Thread Nektarios Katakis

Στις 2020-01-30 11:17, Albretch Mueller έγραψε:

I was installing Debian yesterday and my mouse wasn't working (a
Leneovo Netbook X130e).

 I tried to tab through to the „Bilschirmbild“ option, but could not
reach out to it because that option was being skipped!?

 That shouldn't be and/or I wonder what the reason for that
obstruction could be.

 lbrtchx


That probably is a bug of the installer. The simplest solution is to try
a usb mouse. If the laptop mouse is not detected during the installation
it probably wont be detected later too!

---
Regards,
Nektarios Katakis



Re: NetworkManager and systemd-networkd/systemd-resolved

2020-01-28 Thread Nektarios Katakis

Στις 2020-01-28 08:28, Christoph Pleger έγραψε:

Hello,

on my notebook computer, I have a WLAN interface that is managed with
NetworkManager and a cable-bound network interface that gets its
static IP address by a systemd-networkd configuration file. But as of
course on a portable notebook the cable-bound network interface is not
always connected, it is a additionally also managed by NetworkManager.
Hostname resolution takes place through systemd-resolved, that is,
/etc/resolv.conf is a symbolic link to
/run/systemd/resolve/stub-resolv.conf .

This all works fine so far, but when the cable-bound interface is not
connected (that means, when NetworkManager de-activated the
connection), the nameservers defined for that connection in the
systemd-networkd configuration file are still in the active
systemd-resolved configuration, as can be seen in the file
/run/systemd/resolve/resolv.conf and in the output of "resolvectl
status". Though this is - at least in my case with maximum of three
nameservers - only a cosmetic problem, my goal is that the nameservers
defined for the cable-bound connection disappear from the active
systemd-resolved configuration when the cable is disconnected.

Is it possible to realize such a combination of NetworkManager and
systemd-networkd/systemd-resolved?

Regards
  Christoph


This page will probably answer your question 
https://wiki.archlinux.org/index.php/Systemd-resolved

Probably as manual configuration or Fallback.

---
Regards,
Nektarios Katakis



Re: freecad

2020-01-21 Thread Nektarios Katakis

Στις 2020-01-21 12:42, Levente έγραψε:

The funny thing is that this file isn't in any Debian package.

https://packages.debian.org/search?searchon=contents=libhdf5_serial.so.100=path=stable=any

So, I don't know why can it run with root.


On Tue, Jan 21, 2020 at 1:10 PM Dan Purgert  wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Levente wrote:
> Hi all,
>
>
> I recently experienced that I can't launch FreeCad.
>
> lev@mercury:~$ freecad
> freecad: error while loading shared libraries: libhdf5_serial.so.100:

Sounds like your general user account doesn't have permissions to 
access

this library.

Perhaps an update mucked it up (or, if it was me, mucking around as 
root

and forgetting to set global read permissions).


-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl4m6AsACgkQjhHd8xJ5
ooHecAf6A4uOAfGQEiKnRsd8a+WKKjvHrc7QJzC7h70TIN3pDwRnTThItFB64XVJ
I7S9RIdGXATWXJBwqVtWoTjOv0YGNPFfNYvoqUp35cmn4uYk/UQiBChYpUODnmpC
eTNNyFkwrDqnOhBNuat+9TzHu7WA6EzCVJsM0qKNQQSD1aw3kJFd21sAVlwDuTQ+
9Wku9vOAUYnAH8MQLFFSUOFgCI30Jx76MQZp/D1hmeRx46s9mF3Fi3nGamCmnQA1
m59GlyzwzentmnaMzgulq1bPPV32esW4MaX0I+tZTCw6lWMuuEwIp+5hELguyncn
Psi0dXoi4Hsp1Js4Xx7oFxPyc1VvOg==
=S3xl
-END PGP SIGNATURE-

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

How did you install freecad initially? Did you do a manual installation 
or used apt-get?
apt-get installation clearly works for me on debian buster. Maybe you 
should remove and reinstall it.

---
Regards,
Nektarios Katakis



Re: freecad

2020-01-21 Thread Nektarios Katakis

Στις 2020-01-21 10:24, Levente έγραψε:

Hi all,


I recently experienced that I can't launch FreeCad.

lev@mercury:~$ freecad
freecad: error while loading shared libraries: libhdf5_serial.so.100:
cannot open shared object file: No such file or directory
lev@mercury:~$ whereis freecad
freecad: /usr/bin/freecad /usr/lib/freecad /usr/share/freecad

However, I can run FreeCad as root without any problems.

Can you help me finding the cause of this issue?


Thanks,
Levente


You should check this file's libhdf5_serial.so.100 permissions/group and 
add your user to that group.
Hopefully that will fix it. Alternatively you can run with `sudo 
freecad` but it s not ideal to run

programs as root.

---
Regards,
Nektarios Katakis



Re: AMD 10.2 netinstall

2020-01-18 Thread nektarios

Στις 2020-01-19 01:17, nektarios έγραψε:

Στις 2020-01-19 00:12, tom h έγραψε:

Hello,

Recently I have installed stable on a few old optiplex workstations
that have an AMD graphics card.  On first boot I always get a black
screen and have to:

* Enable non-free
* Install firmware-linux-nonfree. Even though the netinstall media is
firmware-10.2.0-amd64-netinst.iso [1]

I see references to the AMD driver existing in the kernel and thought
it would load at boot time.

What am I missing?

Cheers,

Links:
--
[1] 
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/10.2.0+nonfree/amd64/iso-cd/firmware-10.2.0-amd64-netinst.iso


Since you have to install the firmware-linux-nonfree that means that
it s not installed! From what I remember
you need to select those packages at the end of the base image 
installation.

---
Regards,
Nektarios Katakis

---
Regards,
Nektarios Katakis



Re: systemdq

2019-12-27 Thread Nektarios Katakis
On Fri, 27 Dec 2019 16:24:30 -0700
ghe  wrote:

> SSH isn't starting at boot on my server. When I try to set it to do
> that, systemd says it can't do that 'without a command.'
> 
> What kind of command makes it happy? Where does it need to be?
> 
> (I've futzed with the ssh file in /etc/default, even entered a
> command: (qwerty="42" -- it wasn't impressed). I looked around on the
> web (lots of info about systemd commands, but nothing about what I
> need.)
> 
> Help??
> 

Have you tried removing openssh-server package and reinstalling it?
If you re using any version of Debian the default
installation comes with sane defaults and it leaves the service
enabled and running.

Regards,
Nektarios Katakis



Re: Debian on raspberrypi: failed to configure wlan0

2019-12-18 Thread Nektarios Katakis
On Wed, 18 Dec 2019 16:28:40 +0100
Franco Martelli  wrote:

> Hi everybody,
> 
> Following the instructions reported on the Debian unofficial port
> home-site [1] I successful installed Debian on raspberrypi 3B 2016 all
> works fine for my needs but configuring the built-in wi-fi interface
> apparently it works but reporting errors:
> 
> ~# ip addr show dev wlan0
> 3: wlan0:  mtu 1500 qdisc noop state DOWN group
> default qlen 1000
> link/ether b8:27:eb:8b:10:67 brd ff:ff:ff:ff:ff:ff
> 
> ~# ifup wlan0
> RTNETLINK answers: File exists
> ifup: failed to bring up wlan0
> 
> the ifup command reports that it fails to bring up but the interface
> is configured:
> 
> ~# ip addr show dev wlan0
> 3: wlan0:  mtu 1500 qdisc
> pfifo_fast state DORMANT group default qlen 1000
> link/ether b8:27:eb:8b:10:67 brd ff:ff:ff:ff:ff:ff
> inet 192.168.0.9/24 brd 192.168.0.255 scope global wlan0
>valid_lft forever preferred_lft forever
> 
> if I try to de-configure the interface it fails:
> 
> ~# ifdown wlan0
> ifdown: interface wlan0 not configured
> 
> How can I de-configure wlan0 and why do I get errors when I bring up
> with ifup command?
> Some useful information about my configuration:
> 
> ~# cat /etc/network/interfaces.d/wlan0
> # allow-hotplug wlan0
> iface wlan0 inet static
> address 192.168.0.9
> netmask 255.255.255.0
> network 192.168.0.0
> broadcast 192.168.0.255
> gateway 192.168.0.1
> wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
> 
> ~# cat /etc/wpa_supplicant/wpa_supplicant.conf
> ctrl_interface=/var/run/wpa_supplicant
> update_config=1
> network={
> ssid="myessid"
> psk=dfd452fedacd69d6d54582770dc93acebfb6f2ec2aac7d2e3f24e6ecacafc487
> }
> 
> ~# systemctl is-enabled wpa_supplicant
> disabled
> 
> Thanks for any answer, best regards.
> 
> [1] https://salsa.debian.org/raspi-team/image-specs

You should try to associate the wireless nic with your wifi by running
only wpa_supplicant to see if that succeeds (the link state should
change - the mode in the `iwconfig` command should be managed).

For example this is how my config looks like
```
allow-hotplug wlx000f00bf4a3f
iface wlx000f00bf4a3f inet static
address 192.168.1.71
netmask 255.255.255.0
    gateway 192.168.1.254
wpa-ssid ssid-name
wpa-psk
e8918bce6980814557b664fb52bda4d342174d2a2c95dd06078d7a29851de799
```

Hope this helps.


-- 
Regards,
Nektarios Katakis



Re: Install buster, mouse lag

2019-12-13 Thread Nektarios Katakis
On Thu, 12 Dec 2019 20:34:11 +
guy MARQUIS  wrote:

> Linux,
> 
> I am sad, I didn't get a response to my mouse lag question. Yes after
> 24 hours I get a blue ribbon for impatience.
> 
> I read one forum that sounded similar to the bug I am getting, but it
> related to an AMD/GPU hybrid. And suggested setting the processor
> definition to ordinary instead of hybrid. Sounded way beyond my skill
> level.
> 
> In theory, my older hardware; 2011, was the same as that which the
> package I am trying to install was written on and for. Which is what
> makes it frustrating. A filesharing app like zfs/glusterfs has been
> put aside for sparkle apps for 4k laptops and Google.
> 
> 
> If I take 30 hours to set up my server with the laggy mouse and
> keyboard double typing is it going to be crappy for it's intended
> purpose of sharing files too? Since Linux is kernal console based and
> the GUI is alien. Will the GUI problems affect the function. Since I
> have taken a few weeks off work to set up this server and can't
> really justify more time for a bug that may not be addressed for 3
> months.

If you have issues with all the input hw I totally wouldnt suggest on
proceeding with any further installation of software. You can check for
the hw issues on the dmesg output (the kernel has really good messages
that are easy to search online) and syslog files (as another answer
suggests). For all I know you might have failing hardware that you want
to detect earlier rather than later. Most likely though you ll be
missing firmware/drivers.

Regards,
-- 
Nektarios Katakis



[Solved] iptables firewall and web sites not loading

2019-12-10 Thread nektarios
On Tue, 10 Dec 2019 09:26:46 +
Nektarios Katakis  wrote:

> On Tue, 10 Dec 2019 07:22:05 +0100
> Pascal Hambourg  wrote:
> 
> > Le 10/12/2019 à 00:01, Nektarios Katakis a écrit :  
> > > 
> > > I am running an iptables firewall on an openwrt router I ve got.
> > > Which acts as Firewall/gateway and performs NATing for my internal
> > > network - debian PCs and android phones.
> > > 
> > > All good but specific web sites are not loading for the machines
> > > that are sitting behind the home router.
> > > 
> > > When attempting on the browser (firefox but tried different ones)
> > > the browser stays at `Performing a TLS handshake to
> > > bitbucket.org`. wget has similar results:
> > > ```
> > > wget  https://bitbucket.org
> > > --2019-12-09 22:07:32--  https://bitbucket.org/
> > > Resolving bitbucket.org (bitbucket.org)... 18.205.93.0,
> > > 18.205.93.1, 18.205.93.2, ... Connecting to bitbucket.org
> > > (bitbucket.org)|18.205.93.0|:443... connected.
> > > ```
> > > When doing a tcpdump on the router side I can see some initial TCP
> > > session establishment and then nothing:
> > (...)  
> > > Of course doing a wget from the router itself works fine as it
> > > also works fine on my desktop if I do dynamic port-forwarding
> > > with eg. `ssh -D 1050 router` (and configure of course firefox to
> > > use it).
> > 
> > Maybe a "MTU black hole" issue with PPPoE.
> > Workarounds :
> > - lower the MTU on the client side to 1492
> > - add a "TCPMSS --clamp-to-pmtu" iptables rule on the router
> >   
> 
> Interesting. I m not a network engineer and actually didnt think of
> that. I ll give it a shot and update.
> 
> Thanks.
> 

The tip you gave me really did the job! I found this page in tldp.org
describing the mtu issue
http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO/mtu-issues.html and the I
simply ran the iptables command
```
 iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS
 --clamp-mss-to-pmtu 
```
and it was fixed!

Thanks again!

---
Nektarios Katakis



Re: iptables firewall and web sites not loading

2019-12-10 Thread Nektarios Katakis
On Tue, 10 Dec 2019 07:22:05 +0100
Pascal Hambourg  wrote:

> Le 10/12/2019 à 00:01, Nektarios Katakis a écrit :
> > 
> > I am running an iptables firewall on an openwrt router I ve got.
> > Which acts as Firewall/gateway and performs NATing for my internal
> > network - debian PCs and android phones.
> > 
> > All good but specific web sites are not loading for the machines
> > that are sitting behind the home router.
> > 
> > When attempting on the browser (firefox but tried different ones)
> > the browser stays at `Performing a TLS handshake to bitbucket.org`.
> > wget has similar results:
> > ```
> > wget  https://bitbucket.org
> > --2019-12-09 22:07:32--  https://bitbucket.org/
> > Resolving bitbucket.org (bitbucket.org)... 18.205.93.0, 18.205.93.1,
> > 18.205.93.2, ... Connecting to bitbucket.org
> > (bitbucket.org)|18.205.93.0|:443... connected.
> > ```
> > When doing a tcpdump on the router side I can see some initial TCP
> > session establishment and then nothing:  
> (...)
> > Of course doing a wget from the router itself works fine as it also
> > works fine on my desktop if I do dynamic port-forwarding with eg.
> > `ssh -D 1050 router` (and configure of course firefox to use it).  
> 
> Maybe a "MTU black hole" issue with PPPoE.
> Workarounds :
> - lower the MTU on the client side to 1492
> - add a "TCPMSS --clamp-to-pmtu" iptables rule on the router
> 

Interesting. I m not a network engineer and actually didnt think of
that. I ll give it a shot and update.

Thanks.

-- 
Nektarios Katakis



iptables firewall and web sites not loading

2019-12-09 Thread Nektarios Katakis
Hello,

I am running an iptables firewall on an openwrt router I ve got. Which
acts as Firewall/gateway and performs NATing for my internal network -
debian PCs and android phones.

All good but specific web sites are not loading for the machines that
are sitting behind the home router. 

When attempting on the browser (firefox but tried different ones) the
browser stays at `Performing a TLS handshake to bitbucket.org`. wget has
similar results: 
```
wget  https://bitbucket.org
--2019-12-09 22:07:32--  https://bitbucket.org/
Resolving bitbucket.org (bitbucket.org)... 18.205.93.0, 18.205.93.1,
18.205.93.2, ... Connecting to bitbucket.org
(bitbucket.org)|18.205.93.0|:443... connected.
```
When doing a tcpdump on the router side I can see some initial TCP
session establishment and then nothing:
```
tcpdump -vvvi br-lan port 443 | grep bitbucket.org
tcpdump: listening on br-lan, link-type EN10MB (Ethernet), capture size
262144 bytes
192.168.2.168.54440 > bitbucket.org.443: Flags [S], cksum 0xb3a3
(correct), seq 2816225641, win 29200, options [mss 1460,sackOK,TS val
15744661 ecr 0,nop,wscale 7], length 0 bitbucket.org.443 >
192.168.2.168.54440: Flags [S.], cksum 0x5c8d (correct), seq
1149625734, ack 2816225642, win 26847, options [mss 1460,sackOK,TS val
4256708721 ecr 15744661,nop,wscale 7], length 0 192.168.2.168.54440 >
bitbucket.org.443: Flags [.], cksum 0xf33d (correct), seq 1, ack 1, win
229, options [nop,nop,TS val 15744683 ecr 4256708721], length 0
192.168.2.168.54440 > bitbucket.org.443: Flags [P.], cksum 0x58a5
(correct), seq 1:221, ack 1, win 229, options [nop,nop,TS val 15744684
ecr 4256708721], length 220 bitbucket.org.443 > 192.168.2.168.54440:
Flags [.], cksum 0xf211 (correct), seq 1, ack 221, win 219, options
[nop,nop,TS val 4256708810 ecr 15744684], length 0 bitbucket.org.443 >
192.168.2.168.54440: Flags [P.], cksum 0x9998 (correct), seq 2897:3668,
ack 221, win 219, options [nop,nop,TS val 4256708810 ecr 15744684],
length 771 192.168.2.168.54440 > bitbucket.org.443: Flags [.], cksum
0x4e08 (correct), seq 221, ack 1, win 251, options [nop,nop,TS val
15744705 ecr 4256708810,nop,nop,sack 1 {2897:3668}], length 0 ```

Of course doing a wget from the router itself works fine as it also
works fine on my desktop if I do dynamic port-forwarding with eg. `ssh
-D 1050 router` (and configure of course firefox to use it).

I m not sure what might be wrong here tbh. Of course other (most) sites
work fine without dynamic forwarding or anything.

I am attaching the output of `iptables --list-rules` for whoever is
patient enough to read.

Any help would be appreciated.

-- 
Regards,
Nektarios Katakis
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-N forwarding_dmz_rule
-N forwarding_lan_rule
-N forwarding_rule
-N forwarding_wan_rule
-N input_dmz_rule
-N input_lan_rule
-N input_rule
-N input_wan_rule
-N output_dmz_rule
-N output_lan_rule
-N output_rule
-N output_wan_rule
-N reject
-N syn_flood
-N zone_dmz_dest_ACCEPT
-N zone_dmz_forward
-N zone_dmz_input
-N zone_dmz_output
-N zone_dmz_src_ACCEPT
-N zone_lan_dest_ACCEPT
-N zone_lan_forward
-N zone_lan_input
-N zone_lan_output
-N zone_lan_src_ACCEPT
-N zone_wan_dest_ACCEPT
-N zone_wan_dest_REJECT
-N zone_wan_forward
-N zone_wan_input
-N zone_wan_output
-N zone_wan_src_REJECT
-A INPUT -i lo -m comment --comment "!fw3" -j ACCEPT
-A INPUT -m comment --comment "!fw3: Custom input rule chain" -j input_rule
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" 
-j ACCEPT
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m comment --comment 
"!fw3" -j syn_flood
-A INPUT -i br-lan -m comment --comment "!fw3" -j zone_lan_input
-A INPUT -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_input
-A INPUT -i br-dmz -m comment --comment "!fw3" -j zone_dmz_input
-A FORWARD -m comment --comment "!fw3: Custom forwarding rule chain" -j 
forwarding_rule
-A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment 
"!fw3" -j ACCEPT
-A FORWARD -i br-lan -m comment --comment "!fw3" -j zone_lan_forward
-A FORWARD -i pppoe-wan -m comment --comment "!fw3" -j zone_wan_forward
-A FORWARD -i br-dmz -m comment --comment "!fw3" -j zone_dmz_forward
-A OUTPUT -o lo -m comment --comment "!fw3" -j ACCEPT
-A OUTPUT -m comment --comment "!fw3: Custom output rule chain" -j output_rule
-A OUTPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment 
"!fw3" -j ACCEPT
-A OUTPUT -o br-lan -m comment --comment "!fw3" -j zone_lan_output
-A OUTPUT -o pppoe-wan -m comment --comment "!fw3" -j zone_wan_output
-A OUTPUT -o br-dmz -m comment --comment "!fw3" -j zone_dmz_output
-A reject -p tcp -m comment --comment "!fw3" -j REJECT --reject-with tcp-reset
-A reject -m comment --comment "!fw3" -j REJECT --reject-with 
icmp-port-un

Re: Microphone doesn't work

2019-10-30 Thread Nektarios Katakis
On Wed, 30 Oct 2019 23:41:58 +0100 (CET)
 wrote:

> Don't know how to explain my problem (probably because I am not
> familiar with hardware and sound relation setting). Apology if
> description of my problem looks incompletely. My problem is when
> attending the online meeting, my laptop's microphone never worked at
> all. 
> 
> My laptop is HP 840 G5, and its audio should be
> https://support.hp.com/us-en/document/c05903000#AbT9
> <https://support.hp.com/us-en/document/c05903000#AbT9>
> 
> Environment I use:
> 
> kernel: 5.2.0-2-amd64
> Debian version: bullseye/sid
> 
> arecord --list-devices shows
> 
>  List of CAPTURE Hardware Devices 
> card 0: PCH [HDA Intel PCH], device 0: CX8200 Analog [CX8200 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> Checking alsamixer, it looks like ok because microphone is turned on
> 
> https://imgur.com/fPBFMZo <https://imgur.com/fPBFMZo>
> https://imgur.com/e9Bbavf <https://imgur.com/e9Bbavf>
> https://imgur.com/2IQxVQd <https://imgur.com/2IQxVQd>
> 
> Following the instruction at
> https://linuxconfig.org/how-to-test-microphone-with-audio-linux-sound-architecture-alsa
> <https://linuxconfig.org/how-to-test-microphone-with-audio-linux-sound-architecture-alsa>
> for testing my microphone.
> 
> 1. Record sound produced by microphone 
> arecord -d 10 /tmp/test-mic.wav2. Reply the sound recorded 
> aplay /tmp/test-mic.wav
> I am sure I can hear the sound produced by my microphone. 
> 
> Unfortunately when attending all the meeting (such as google meets),
> even with permission is granted (allowing microphone and camera to be
> used temporary) my microphone never function (so people in the
> meeting never heard my voice). 
> 
> I suppose this could be something I miss or I am not aware. But the
> problem i do not know where to check the possible root cause, and fix
> it. 
> 
> I appreciate any suggestions! 

This looks more Firefox related rather than your desktop's issue. Check
the troubleshooting guide here
https://support.mozilla.org/en-US/kb/fix-common-audio-and-video-issues
and hopefully you ll find an answer.

-- 
Regards,
Nektarios Katakis



Re: Issues with firefox-esr upgrade [60.9.0esr-1~deb10u1 -> 68.2.0esr-1~deb10u1]

2019-10-28 Thread Nektarios Katakis
On Mon, 2019-10-28 at 22:26 +, Nektarios Katakis wrote:
> On Mon, 2019-10-28 at 20:16 +0100, local10 wrote:
> > Hi,
> > 
> > Firefox v60 had a nice feature: One could go to, say,
> > domain.tld/page_1.html, then increase/decrease the font size on the
> > page and it would affect all pages in the domain.tld. What's more,
> > firefox would remember the font size setting between firefox
> > restarts. It's was a very useful feature for websites that
> > mismanage
> > fonts, making text either too big or too small.
> > 
> > In Firefox v68 it's no longer true. It appears font size
> > increase/decrease only affects a tab (instead of website domain)
> > and
> > firefox only remembers the font size setting as long as the tab
> > stays
> > open. If the tab is closed the font size resets to default.
> > 
> > Any way to get Firefox v60 per domain font size behavior back?
> > 
> > Thanks
> > 
> 
> Well 2 ways actually. Find the source code and patch it. Or go back
> to
> version 60.9 esr. Unfortunately that behavior is not configurable as
> far as I m aware.
> 
Actually to amend the previous response the behavior you re describing
is present on firefox 60.9.0 that I m using as default. But I
downloaded for testing firefox 70.0 from mozila web site and same
behavior exists. Font size for a specific site persists across reboots
of the software. 

You definitely need in `about:preferences#privacy` to have
`History>remember History` enabled. Otherwise it doesnt work even in
the old versions! 

Regards
NK.



Re: Issues with firefox-esr upgrade [60.9.0esr-1~deb10u1 -> 68.2.0esr-1~deb10u1]

2019-10-28 Thread Nektarios Katakis
On Mon, 2019-10-28 at 20:16 +0100, local10 wrote:
> Hi,
> 
> Firefox v60 had a nice feature: One could go to, say,
> domain.tld/page_1.html, then increase/decrease the font size on the
> page and it would affect all pages in the domain.tld. What's more,
> firefox would remember the font size setting between firefox
> restarts. It's was a very useful feature for websites that mismanage
> fonts, making text either too big or too small.
> 
> In Firefox v68 it's no longer true. It appears font size
> increase/decrease only affects a tab (instead of website domain) and
> firefox only remembers the font size setting as long as the tab stays
> open. If the tab is closed the font size resets to default.
> 
> Any way to get Firefox v60 per domain font size behavior back?
> 
> Thanks
> 

Well 2 ways actually. Find the source code and patch it. Or go back to
version 60.9 esr. Unfortunately that behavior is not configurable as
far as I m aware.



Re: Unnecessary packages?

2019-10-25 Thread nektarios
On Fri, 25 Oct 2019 15:21:18 +
"J.Arun Mani"  wrote:

> Hi.
> 
> I recently installed Debain Buster GNOME Edition. I found a
> lot of apps which are rarely used by me.
> 1. Fcitx, Fcitx config - I don't what these apps do and they aren't
> even launching. 2. Anthy Dictionary - No use.
> 3. Cheese, Sound Recorder - My laptop doesn't have a camera or
> mic(:[). 4. Evolution, Thunderbird - I use Protonmail and they don't
> offer support for Linux Bridges. 5. HDate(*) - I'm not a Hebrew
> speaker. 6. XTerm - I'm good with GNOME Terminal.
> 7. Thai X Terminal(*) - I don't speak Thai.
> 8. Multilingual Terminal(*) - No no.
> 9. Mozc Setup - What's it?
> 10. Games - ...
> 
> I feel that though, apps excluding the starred ones might have a use,
> but really 5, 7, 8 are not generally used apps. It is used by a
> particular community and not by all! My question is "Is there a valid
> reason why Debian includes these (5, 7, 8) packages by default?" And
> will uninstalling them (all apps mentioned above) cause any trouble?
> 
> Thanks for your patience ^^
> J Arun Mani

Gnome desktop is a metapackage. Which simply means it installs various
other packages. Metapackages are built for convenience to install
things like desktop environments or linux kernel. If you remove those
then you might remove other dependencies or the whole desktop.
Definitely you wont be able to update the desktop.

Easy solution if disk space is not an issue is to leave it alone.

Difficult solution is to built your own metapackage that includes only
the programs you need as described here
https://help.ubuntu.com/community/MetaPackages

Regards
Nektarios Katakis.



Re: Problem enabling IOMMU with Buster and Xen

2019-09-10 Thread Nektarios Katakis
On Tue, 10 Sep 2019 09:00:44 -0500
Intense Red  wrote:

>A box booting Xen with an updated Debian 10/Buster setup as Xen's
> dom0, a Ryzen CPU and Radeon-based GPU.
> 
>/etc/default/grub has been modified to include:
> 
> GRUB_CMDLINE_LINUX_DEFAULT="quiet iommu=1 amd_iommu=on"
> 
> and grub has been updated.
> 
>After a reboot Xen reports:
> 
> # xl dmesg | grep IOMMU
> (XEN) AMD-Vi: IOMMU Extended Features:
> (XEN) AMD-Vi: IOMMU 0 Enabled.
> 
>Cool. But GNU/Linux says:
> 
> # dmesg | grep IOMMU
> [2.536053] AMD IOMMUv2 driver by Joerg Roedel 
> [2.536054] AMD IOMMUv2 functionality not available on this system
> 
>WTF?! Can someone whack me with a clue-bat? TIA.
> 

Have you enabled SR-IOV in the bios? I would personally trust the
kernel output.
I also suspect that Xen doesnt allow to PCI passthrough host device
right?

-- 
Regards,
Nektarios Katakis



Re: Blu-ray discs

2019-08-29 Thread Nektarios Katakis
On Thu, 2019-08-29 at 02:07 -0600, Jiangsu Kumquat wrote:
> (Please respond directly to my email address)
> 
> I was wondering if there is any way to create a Blu-ray disc from
> within Debian? I have a 1080p video camera and the only tool that I
> have found to make a disc that will play in a Blu-ray player is
> Brasero. However, that will only create a DVD disc and there is a
> tremendous loss in audio and video quality when using that tool to
> make a disc.
> 
> I browsed through the archive at deb-multimedia.org but the only
> thing that I found was for Blu-ray disc playback support.
> 
> Cinelerra will edit HD video, but I have not discovered a way to use
> that to create a blu-ray disc.
> 
> I would even consider using a Windows software under Wine to make it
> work if I could maybe do that.
> 
> 

You could check out gnu xorriso https://www.gnu.org/software/xorriso/

Regards,
Nektarios Katakis.



Re: No Audio after suspend on Lenovo Ideapad 130s Debian Buster

2019-08-20 Thread Nektarios Katakis
On Mon, 19 Aug 2019 11:18:18 -0400
John Kerr Anderson  wrote:

> I tried the suggestions by Curt to add
> "snd_hda_intel.probe_mask=0x01" and it seemed to work after boot.
> 
> Nektarios suggestion to run "alsactl init" which returned this:
> 
> Found hardware: "HDA-Intel" "Realtek ALC269VC"
> "HDA:10ec0269,17aa380f,00100203 HDA:8086280d,80860101,0010"
> "0x17aa" "0x3807"
> Hardware is initialized using a generic method
> 
> "cat /proc/asound/cards" returned this:
> 
>  0 [PCH]: HDA-Intel - HDA Intel PCH
>   HDA Intel PCH at 0xa131 irq 130
> 
> Do I need to manually update Alsa to get the audio to work properly?
> Any suggestions would be helpful, thank you everyone for their input.
> 
> Regards,
> 
> John
> 
> On Mon, 19 Aug 2019 at 05:50, Nektarios Katakis <
> nektar...@mail.nektarioskatakis.xyz> wrote:
> 
> > On Sun, 18 Aug 2019 18:09:50 -0400
> > John Kerr Anderson  wrote:
> >
> > > Here is the output when it is working:
> > >
> > > aplay -l
> > >  List of PLAYBACK Hardware Devices 
> > > card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC
> > > Analog] Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > >
> > >
> > > And here it is when it isn't working:
> > >
> > > ~$ aplay -l
> > >  List of PLAYBACK Hardware Devices 
> > > card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC
> > > Analog] Subdevices: 0/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > >
> > > card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC
> > > Analog] Subdevices: 1/1
> > >
> > > I notice when it's working the first entry says "Subdevices: 1/1"
> > > but after I suspended the machine it says "Subdevices: 0/1"
> > >
> > > Also after I bring it up from suspend I notice when I use the
> > > hotkeys to adjust the volume it goes from the internal speakers to
> > > headphones.  If I plug headphones in I also don't have any audio
> > > either.  Any suggestions on what I should do now?  Thank you for
> > > the response so far!
> > >
> > > Regards,
> > >
> > > John
> > >
> > >
> > > On Sun, 18 Aug 2019 at 17:50, Nektarios Katakis <
> > > nektar...@mail.nektarioskatakis.xyz> wrote:
> > >
> > > > On Sun, 18 Aug 2019 14:06:57 -0400
> > > > John Kerr Anderson  wrote:
> > > >
> > > > > Hello today,  I've got an Ideapad and after I suspend I cannot
> > > > > get the audio to work when the system resumes.
> > > > >
> > > > > lspci -v returns the following for the audio section:
> > > > >
> > > > > 00:0e.0 Audio device: Intel Corporation Device 3198 (rev 03)
> > > > > Subsystem: Lenovo Device 3807
> > > > > Flags: bus master, fast devsel, latency 0, IRQ 25
> > > > > Memory at a131 (64-bit, non-prefetchable) [size=16K]
> > > > > Memory at a100 (64-bit, non-prefetchable) [size=1M]
> > > &

Re: No Audio after suspend on Lenovo Ideapad 130s Debian Buster

2019-08-19 Thread Nektarios Katakis
On Sun, 18 Aug 2019 18:09:50 -0400
John Kerr Anderson  wrote:

> Here is the output when it is working:
> 
> aplay -l
>  List of PLAYBACK Hardware Devices 
> card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC
> Analog] Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> 
> And here it is when it isn't working:
> 
> ~$ aplay -l
>  List of PLAYBACK Hardware Devices 
> card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC
> Analog] Subdevices: 0/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC
> Analog] Subdevices: 1/1
> 
> I notice when it's working the first entry says "Subdevices: 1/1" but
> after I suspended the machine it says "Subdevices: 0/1"
> 
> Also after I bring it up from suspend I notice when I use the hotkeys
> to adjust the volume it goes from the internal speakers to
> headphones.  If I plug headphones in I also don't have any audio
> either.  Any suggestions on what I should do now?  Thank you for the
> response so far!
> 
> Regards,
> 
> John
> 
> 
> On Sun, 18 Aug 2019 at 17:50, Nektarios Katakis <
> nektar...@mail.nektarioskatakis.xyz> wrote:  
> 
> > On Sun, 18 Aug 2019 14:06:57 -0400
> > John Kerr Anderson  wrote:
> >  
> > > Hello today,  I've got an Ideapad and after I suspend I cannot
> > > get the audio to work when the system resumes.
> > >
> > > lspci -v returns the following for the audio section:
> > >
> > > 00:0e.0 Audio device: Intel Corporation Device 3198 (rev 03)
> > > Subsystem: Lenovo Device 3807
> > > Flags: bus master, fast devsel, latency 0, IRQ 25
> > > Memory at a131 (64-bit, non-prefetchable) [size=16K]
> > > Memory at a100 (64-bit, non-prefetchable) [size=1M]
> > > Capabilities: [50] Power Management version 3
> > > Capabilities: [80] Vendor Specific Information: Len=14 
> > > Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
> > > Capabilities: [70] Express Root Complex Integrated Endpoint, MSI
> > > 00 Kernel driver in use: snd_hda_intel
> > > Kernel modules: snd_hda_intel, snd_soc_skl
> > >
> > > In the system log I found the following audio related error
> > > message as well:
> > >
> > > Aug 18 12:34:57 ideapad kernel: [   51.672003] snd_hda_intel
> > > :00:0e.0: azx_get_response timeout, switching to polling mode:
> > > last cmd=0x20bf8100 Aug 18 12:34:57 ideapad kernel: [   52.684197]
> > > snd_hda_intel :00:0e.0: No response from codec, disabling MSI:
> > > last cmd=0x20bf8100 Aug 18 12:34:57 ideapad kernel: [   53.695872]
> > > snd_hda_intel :00:0e.0: azx_get_response timeout, switching to
> > > single_cmd mode: last cmd=0x20bf8100 Aug 18 12:34:57 ideapad
> > > kernel: [   53.696078] azx_single_wait_for_response: 9 callbacks
> > > suppressed Aug 18 12:34:57 ideapad kernel: [   53.981143]
> > > snd_hda_codec_hdmi hdaudioC0D2: Unable to sync register 0x2f0d00.
> > > -5
> > >
> > >
> > > Aug 18 12:36:42 ideapad kernel: [  158.417338]
> > > snd_hda_codec_realtek hdaudioC0D0: Unable to sync register
> > > 0x1f0e00. -5 Aug 18 12:36:42 ideapad kernel: [  158.417498]
> > > snd_hda_codec_realtek hdaudioC0D0: Unable to sync register
> > > 0x1f0e00. -5 Aug 18 12:36:42 ideapad pulseaudio[1013]: W:
> > > [alsa-sink-ALC269VC Analog] alsa-mixer.c: Failed to set switch of
> > > Speaker: In

Re: webmail and email from command line

2019-08-19 Thread Nektarios Katakis
On Mon, 19 Aug 2019 10:32:31 +0200
 wrote:

> On Sun, Aug 18, 2019 at 09:15:45PM -0400, Celejar wrote:
> > On Sun, 18 Aug 2019 23:43:35 +0200
> >  wrote:
> > 
> > > On Sun, Aug 18, 2019 at 05:19:28PM -0400, Celejar wrote:
> > > > On Fri, 16 Aug 2019 10:10:35 +0200
> 
> [...]
> 
> > I think terming Google's decision to call software that doesn't
> > implement OAuth "less secure" "evil" is hyperbole [...]
> 
> This nicely demonstrates my point: OAuth is a HTTP oriented access
> delegation protocol. Why should that be at all relevant, e.g. in
> the context of IMAP?
> 

I couldn't agree more. SMTP and IMAP have their own specs and any mail
host that follows them is legit. Google is evil as it is monopolizing
the market and following microsoft practices from 10-15 years back.

Like either works with Google or we dont care. 

> > > In general,
> > > 
> > >  - dominance on the server (adwords, visibility in search
> > > engines...) and on the client (Chrome/Chromium, Android) side.
> > 
> > I don't consider dominance gained largely through superior
> > technology and legitimate means "evil". Undesirable, yes.
> 
> This misses the point. The fact that my favourite news"paper" has to
> embed Google trackers in its website to survive economically has
> nothing to do with technical superiority and all with market
> dominance.
> 
> Not long ago, Microsoft was in this position. Remember when Internet
> Explorer was the dominant browser and everyone was hot on implementig
> ActiveX?
> 
> [...]
> 
> > > (I'm sure you can think of two or three more).
> > > 
> > > IMO they're far too big.
> > 
> > Agreed, but again, I don't think that makes them "evil".
> 
> Call that what you want. I call this "emergent evil". And I definitely
> want it out of my cereal bowl :-)

And definitely is. I am happy that there are people out there
recognizing it.


> 
> Cheers
> -- t

Regards,

-- 
Nektarios Katakis



Re: No Audio after suspend on Lenovo Ideapad 130s Debian Buster

2019-08-18 Thread Nektarios Katakis
On Sun, 18 Aug 2019 14:06:57 -0400
John Kerr Anderson  wrote:

> Hello today,  I've got an Ideapad and after I suspend I cannot get the
> audio to work when the system resumes.
> 
> lspci -v returns the following for the audio section:
> 
> 00:0e.0 Audio device: Intel Corporation Device 3198 (rev 03)
> Subsystem: Lenovo Device 3807
> Flags: bus master, fast devsel, latency 0, IRQ 25
> Memory at a131 (64-bit, non-prefetchable) [size=16K]
> Memory at a100 (64-bit, non-prefetchable) [size=1M]
> Capabilities: [50] Power Management version 3
> Capabilities: [80] Vendor Specific Information: Len=14 
> Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
> Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
> Kernel driver in use: snd_hda_intel
> Kernel modules: snd_hda_intel, snd_soc_skl
> 
> In the system log I found the following audio related error message
> as well:
> 
> Aug 18 12:34:57 ideapad kernel: [   51.672003] snd_hda_intel
> :00:0e.0: azx_get_response timeout, switching to polling mode:
> last cmd=0x20bf8100 Aug 18 12:34:57 ideapad kernel: [   52.684197]
> snd_hda_intel :00:0e.0: No response from codec, disabling MSI:
> last cmd=0x20bf8100 Aug 18 12:34:57 ideapad kernel: [   53.695872]
> snd_hda_intel :00:0e.0: azx_get_response timeout, switching to
> single_cmd mode: last cmd=0x20bf8100 Aug 18 12:34:57 ideapad kernel:
> [   53.696078] azx_single_wait_for_response: 9 callbacks suppressed
> Aug 18 12:34:57 ideapad kernel: [   53.981143] snd_hda_codec_hdmi
> hdaudioC0D2: Unable to sync register 0x2f0d00. -5
> 
> 
> Aug 18 12:36:42 ideapad kernel: [  158.417338] snd_hda_codec_realtek
> hdaudioC0D0: Unable to sync register 0x1f0e00. -5
> Aug 18 12:36:42 ideapad kernel: [  158.417498] snd_hda_codec_realtek
> hdaudioC0D0: Unable to sync register 0x1f0e00. -5
> Aug 18 12:36:42 ideapad pulseaudio[1013]: W: [alsa-sink-ALC269VC
> Analog] alsa-mixer.c: Failed to set switch of Speaker: Input/output
> error Aug 18 12:36:42 ideapad pulseaudio[1013]: W:
> [alsa-sink-ALC269VC Analog] alsa-mixer.c: Failed to set switch of
> Headphone: Input/output error Aug 18 12:36:53 ideapad kernel:
> [  169.533192] azx_single_send_cmd: 299 callbacks suppressed
> 
> Aug 18 13:45:13 ideapad kernel: [ 4269.876500] snd_hda_codec_realtek
> hdaudioC0D0: Unable to sync register 0x1f0e00. -5
> Aug 18 13:49:47 ideapad kernel: [ 4543.985442] snd_hda_codec_realtek
> hdaudioC0D0: Unable to sync register 0x1f0e00. -5
> 
> Are there any suggestions I could try to get this to work correctly
> after suspend/resume events?
> 
> Thanks in advance,
> 
> John

If you are not running the latest alsa drivers you should first try to
upgrade them. Just to make sure the problem is not there.
Could you provide out `aplay -l` when you have sound and when you dont?

Regards,
Nektarios Katakis.



Re: duckduckgo

2019-08-18 Thread nektarios
On Sun, 18 Aug 2019 18:29:49 +0200
steef  wrote:

> hi folks,
> 
> last days I get some slightly disturbing info about the browser_ad
> DuckDuckgo. some say it's malicious 'malware', others seem to be
> happy with the popup of unwanted ads which cannot be blocked
> permanently: and the last thing makes me suspicious. please, if it is
> possible, an expert opinion on this ad. i am using buster and
> seamonkey as a browser .
> 
> thank you in advance,
> 
> steef van duin
> groningen
> holland
> 

I have a similar setup as yours but am getting no popups from my browser
(firefox) and no ad blocker at all as I m using legit sites that have
income from ads. Why do you think the popups originate from duckduckgo?


--
Nektarios Katakis



Re: Love 2d and debian 10

2019-08-13 Thread Nektarios Katakis
On Tue, 13 Aug 2019 11:33:17 +0100
Paul Sutton  wrote:

> On 13/08/2019 11:16, Nektarios Katakis wrote:
> > On Tue, 13 Aug 2019 08:50:40 +0100
> > Paul Sutton  wrote:
> >  
> >> Hi
> >>
> >> I am trying to run Love2d which is a 2d game engine. This worked
> >> fine on Debian 9 but seems to crash on debian 10.  I don't think
> >> this is a hardware issue as this happens on both my desktop and
> >> netbook (I have included desktop output of lshw -c video in my
> >> blog post)
> >>
> >> http://zleap.net/love-2d-debian-10-issues/
> >>
> >> Has anyone else had similar issues or can someone perhaps test this
> >> and see if there is a problem please.
> >>
> >>
> >> Thanks
> >>
> >> Paul  
> > From what I see the love2d software provides 2 packages for linux.
> > One specific to Ubuntu distro and one with AppImage. You re not
> > mentioning which one you used to be able to reproduce.  
> 
> 
> Hi
> 
> 
> I am installing with
> 
> apt install love (as root of course)
> 
> How do I perhaps query dpkg to see what exactly it has installed etc?
> 
> Hope this helps 
> 
> Paul
> 
> 
> >  

You can check that with `apt list --installed | grep '.
Can you please show the output of `apt-cache policy love`?
love package is not in the mainline apt repositories (I cannot find it).

Regards
-- 
Nektarios Katakis



Re: Love 2d and debian 10

2019-08-13 Thread Nektarios Katakis
On Tue, 13 Aug 2019 08:50:40 +0100
Paul Sutton  wrote:

> Hi
> 
> I am trying to run Love2d which is a 2d game engine. This worked fine
> on Debian 9 but seems to crash on debian 10.  I don't think this is a
> hardware issue as this happens on both my desktop and netbook (I have
> included desktop output of lshw -c video in my blog post)
> 
> http://zleap.net/love-2d-debian-10-issues/
> 
> Has anyone else had similar issues or can someone perhaps test this
> and see if there is a problem please.
> 
> 
> Thanks
> 
> Paul

From what I see the love2d software provides 2 packages for linux. One
specific to Ubuntu distro and one with AppImage. You re not mentioning
which one you used to be able to reproduce.

-- 
Nektarios Katakis



Re: August 10, 2019

2019-08-11 Thread Nektarios Katakis
On Sun, 11 Aug 2019 11:21:15 +1000
Keith Bainbridge  wrote:

> On 11/8/19 8:53 am, Randy Demerchant wrote:
> >   I have a dell laptop 1720 and desktop acer ax 1935.
> >   I like to know can I install and use Debian on eithers of these
> > two system with out ant problems
> >   Can you let me know thank you Randy  
> 
> 
> Dawned on me that the non-free iso may be better. Look at
> 
> https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/current-live/amd64/iso-hybrid/
> 
> 

Interesting one! I didnt this build existed :) Even in unofficial
repos. This will most likely will make everything work from the start.

Cheers,

--
Nektarios Katakis



Re: August 10, 2019

2019-08-10 Thread Nektarios Katakis
You should check the debian documentation pages for hw support
https://www.debian.org/releases/stable/amd64/ch02s01.en.html
If some of your hardware is not mentioned there is a serious posibility that it 
wont be recognized from the OS.
The most common firmware missing are graphic cards and wireless cards. Some are 
packaged in the non free repositories 
https://wiki.debian.org/SourcesList.
Regards,
Nektarios


On August 10, 2019 10:53:29 PM UTC, Randy Demerchant  
wrote:
> I have a dell laptop 1720 and desktop acer ax 1935. I like to know can
>I install and use Debian on eithers of these two system with out ant
>problems Can you let me know thank you Randy





Re: Buster on laptop cannot find Nokia 3 hotspot...

2019-08-07 Thread nektarios
On Wed, 07 Aug 2019 23:05:13 +0200
Nimrod  wrote:

> On Wed, 2019-08-07 at 14:45 -0400, bw wrote:
> > In-Reply-To:
> >   
> > > > 2) The output of `iwlist scan` to see if the network you
> > > > re  looking for is detected from the hardware.  
> > > This is interesting, I didn't know this command. It would rather
> > > strange if the hotspot is shown by the above command but not by
> > > Network Manager.  
> > 
> > No, it would not be strange at all.  Network-manager is in it's own
> > time-zone, and is often rather strange and hard to figure
> > out.  Sometimes you must be patient, it does not scan immediately.
> > For CLI tools I prefer 'iw' to the older iwlist command, but either
> > may help you.  If the device is scanning and finding other ap, then
> > it probably is a network-manager quirk.  It often
> > misses/adds/deletes aps from the list IME.  
> 
> I tried iw while Network Manager was not finding my hotspot, and iw
> found it instead.
> But suddenly NM found it too! Last time it worked was several days
> ago. I really can't understand. I'm happy it's working now, but I'm
> afraid it will stop working sooner or later. I restarted several
> times both laptop and hotspot, using both Gnome Shell and Mate, and
> the hotspot always appeared almost immediately, as it was used to do
> before. I then turned on another Nokia 3 hotspot (I have three
> identical smartphone, mine and those of my sons). The second one is
> still invisible, while other devices, including my own smartphone, can
> connect to it with no problems.
> Issuing iw scan now has no effect.
> For everyone who answered here is the output of dmesg | grep wl:
> [   10.811861] wlan0: Broadcom BCM4315 802.11 Hybrid Wireless
> Controller 6.30.223.271 (r587334)[   11.084358] wl :02:00.0 wls1:
> renamed from wlan0[   16.562792] IPv6: ADDRCONF(NETDEV_UP): wls1: link
> is not ready[   17.614802] IPv6: ADDRCONF(NETDEV_UP): wls1: link is
> not ready[  161.102549] IPv6: ADDRCONF(NETDEV_CHANGE): wls1: link
> becomes ready[  725.746601] IPv6: ADDRCONF(NETDEV_UP): wls1: link is
> not ready[  725.770340] ERROR @wl_cfg80211_scan : [  729.858749] IPv6:
> ADDRCONF(NETDEV_CHANGE): wls1: link becomes ready[ 1264.074169] IPv6:
> ADDRCONF(NETDEV_UP): wls1: link is not ready[ 1537.300735] IPv6:
> ADDRCONF(NETDEV_CHANGE): wls1: link becomes ready[ 1540.111204] IPv6:
> ADDRCONF(NETDEV_UP): wls1: link is not ready[ 1655.286877] IPv6:
> ADDRCONF(NETDEV_CHANGE): wls1: link becomes ready[ 1821.082896] IPv6:
> ADDRCONF(NETDEV_UP): wls1: link is not ready[ 1845.425123] IPv6:
> ADDRCONF(NETDEV_CHANGE): wls1: link becomes ready[ 1849.392169] IPv6:
> ADDRCONF(NETDEV_UP): wls1: link is not ready[ 1909.187372] IPv6:
> ADDRCONF(NETDEV_UP): wls1: link is not ready[ 1909.219378] ERROR
> @wl_cfg80211_scan : [ 1909.248580] ERROR @wl_cfg80211_scan : 
> After the link became ready, I disabled wifi intentionally, and
> reenabled after some seconds. Also, I tried many time "iw scan".
> I can provide other data if you need it, just tell me.
> Many thanks.
> > Good Luck,bw  
> 
> 

`iwlist` command was very useful to me once debugging a raspberi pi
with failing wireless adapter (networks appearing and disappearing).

Tbh the errors there don't look good but not serious either. 
If the related output from `iwlist scan` shows only 2.4 Ghz networks (it
maybe detecting only networks in the 2.4 GHz - if your nic is old).

`lshw` output might be of use if you know what hardware you have in the
laptop as a driver/device mismatch might cause the device not work very
well (I ve seen it once only with usb wireless adapter).

Regards
-- 
Nektarios Katakis



Re: Server hardware advice.

2019-08-07 Thread Nektarios Katakis
On Wed, 07 Aug 2019 02:08:30 -0400
Steven Mainor  wrote:

> You are correct. That was an oversight.
> 
> Of all the items on that page I could probably afford the screwdriver
> and the heatsinks.
> 
> I would like to keep the budget under $500 not including the hard
> drive(s) I already have drives. Less is better. --
> Steven Mainor
> 
> On August 7, 2019 1:52:15 AM EDT, Richard Hector
>  wrote:
> >On 7/08/19 5:29 PM, Steven Mainor wrote:  
> >> Hi all,
> >> 
> >> I'm looking for advice on how to build a home server with a
> >> primary  
> >focus on   
> >> security. I plan to run nextcloud and a mail server that will
> >> serve 3  
> >to 5   
> >> people at most.
> >> 
> >> My requirements are:
> >> 
> >> A server setup that can be run with completely open source
> >> software  
> >and   
> >> doesn't require any binaries to boot. I don't trust anything
> >> closed  
> >source for   
> >> this particular project.
> >> 
> >> A gigabit ethernet port.
> >> 
> >> A USB3.0 port or SATA connector to attach storage to.
> >> 
> >> Enough processor power and ram to run nextcloud and the mail
> >> server  
> >from an   
> >> encrypted hard drive (LUKS) efficiently with moderate throughput  
> >saving and   
> >> reading files from nextcloud.
> >> 
> >> I would just build something x86 based but the amd/intel Platform  
> >Security   
> >> Processor/IME stuff makes me nervous.
> >> 
> >> So far I have been looking at single board computers like the
> >> ones  
> >listed   
> >> here: https://wiki.debian.org/CheapServerBoxHardware#OSHW
> >> 
> >> I like the OLinuXino A20 LIME2 but I am not sure the processor
> >> will  
> >be enough   
> >> to handle the overhead from an encrypted hard drive. I also don't  
> >like that it   
> >> is only 32-bit since that will limit the file size nextcloud can  
> >handle as I   
> >> understand it.
> >> 
> >> Is there anything similar to the OLinuXino A20 LIME2 but more  
> >powerful or is   
> >> there a better option I haven't read about yet?  
> >
> >You haven't mentioned a budget, but strong emphasis on security and
> >openness ...
> >
> >https://www.raptorcs.com/TALOSII/ ?
> >
> >Richard  

I have a similar home setup and have to say that with the mail service
and seafile server (and a few smaller services) running in docker the
setup the PC is already consuming 1G of ram. I m using an old PC. I
wouldnt suggest a less powerful box as you will run out of ram.
If you need fanless checkout an intel nuc. Debian should run fine with
it although I think it will need some drivers from the non-free repos.

Regards,
-- 
Nektarios Katakis



Re: Buster on laptop cannot find Nokia 3 hotspot...

2019-08-07 Thread Nektarios Katakis
On Wed, 07 Aug 2019 10:42:09 +0200
Nimrod  wrote:

> Hi,
> 
> my (very old) laptop has been working like a charm until I updated
> from Stretch to Buster. Among the other, the issue in the subject is
> very relevant for me.
> 
> Here is what happens when I turn on wi-fi hotspot on Nokia 3
> smartphone (Android up to date):
> 
> 1) any smartphone or tablet in the family can connect to my Nokia 3
> hotspot.
> 
> 2) my laptop can connect at least to a tablet hotspot (the tablet has
> a rather old Android version, I guess 6 or even less, and it cannot be
> updated); also, my laptop finds a lot of wi-fi networks around
> (currently I'm in a building in the small town of Anzio, Italy, but
> almost every corner of the town is full of wi-fi networks)
> 
> 3) my laptop cannot even see any hotspot provided by a Nokia 3
> smartphone with Android up to date; we have three of them, and I
> checked everyone one of them: they all can be used by the tablet in
> point 2) above, and none of them are even found by my laptop.
> 
> It seems there is something wrong with my laptop and Nokia 3 when they
> try to communicate. Currently I'm still using my Nokia 3 as a modem
> via Bluetooth, but the connection is rather slow. When the wi-fi
> hotspot was working the speed was much higher.
> 
> Some data:
> 
> - the laptop is a HP 6730s, quite slow but incredibly robust; Buster
> is up to date
> - all the Nokia 3 have Android 9 July update
> 
> Thanks in advance for any hint.
> 
> 

A good place to check your wireless issues is the excellent wifi howto
page from debian docs https://wiki.debian.org/WiFi/HowToUse.

You re not mentioning what software you re using to connect to wifi.

For your case I would check 2 things: 1) `dmesg` output to check if you
see any errors from your network card driver or if its loaded correctly.
2) The output of `iwlist scan` to see if the network you re  looking
for is detected from the hardware.

Regards

-- 
Nektarios Katakis



Re: x and virtual consoles

2019-08-04 Thread nektarios
On Sun, 4 Aug 2019 18:36:44 -0400
Cindy Sue Causey  wrote:

> On 8/4/19, nektarios  wrote:
> > On Sun, 4 Aug 2019 21:01:57 +0100
> > Ed  wrote:  
> >>
> >> What I have observed is that x sessions started from a text console
> >> can cooperate with each other, it seems limited to lightdm/gdm
> >> logins only.
> >>
> >> Something happened between jobs which meant I didn't need to run
> >> several user accounts at once. It may have been introduced during
> >> Jessie or Stretch.
> >>
> >> Am I alone, or do other people have this issue also? Am I doing
> >> multi GUI wrong, is there a modern way to do this that has slipped
> >> past me without noticing?  
> 
> 
> After sending mine off here, I re-read and thought,, *OH, man, I fully
> missed the point.*
> 
> But I *was* able to get a GUI of *some* sort. I'm on Bullseye with
> xfce4 and ALL that it draws in.
> 
> I've never tried to get anything to interact. It's always about get
> in, un-bork something, and get back out.
> 
> Messaging between the sessions ala the way we were able to with AS/400
> systems mid-1990's comes to mind as a way to test that interaction
> ability. I've come across references to packages that MIGHT do that,
> but I've never had an excuse to download and test drive it/them.
> 
> 
> > Indeed the problem seems reproducible for debian Stretch with sddm
> > display manager.  
> 
> 
> I'll have to give it another shot with those specifics you all are
> saying, but today's definitely not that day *cognitively*. :)
> 
> I've seen where some of you all write about having even more
> minimalist systems than my bare bones debootstraps. I've tried going
> that route and just haven't found something that fits what I need.
> Might just be about adaptation and the lack of being able to do so
> under extreme duress/stress.
> 
> 
> > The only logs appearing are from KDE applications (nothing in X11
> > logs): ```
> > Aug  4 22:40:41 buldozer org.kde.kpasswdserver[958]: The X11
> > connection broke (error 1). Did the X11 server die?
> > Aug  4 22:40:41 buldozer org.kde.kuiserver[958]: kuiserver: Fatal
> > IO error: client killed
> > Aug  4 22:40:41 buldozer org.a11y.atspi.Registry[1251]: XIO:  fatal
> > IO error 11 (Resource temporarily unavailable) on X server ":0"
> > Aug  4 22:40:41 buldozer org.kde.kglobalaccel[958]: The X11
> > connection broke (error 1). Did the X11 server die?
> > Aug  4 22:40:41 buldozer org.a11y.atspi.Registry[1251]:   after
> > 947 requests (947 known processed) with 0 events remaining.
> > Aug  4 22:40:41 buldozer org.kde.KScreen[958]: The X11 connection
> > broke (error 1). Did the X11 server die?
> > ```
> >
> > Unfortunately my PC even worse gets stuck after that so I cant
> > really tell if X11 is running.
> > I hadn't used multiple x sessions for sometime (after I got used to
> > multiple desktops) but this seems an issue.  
> 
> 
> Mine referenced going to ~/.local/share/xorg/* for feedback. That's
> where I did find what appeared to be tinely appropriate for my shot at
> this.
> 
> Started to joke that I'm grateful mine at least didn't do that (get
> stuck), BUT... it DID take it n extra long while to calm down when I
> got back over to F7. That was after I successfully logged in as root
> AND "elf" (instead of "candycane") in full xfce4 graphical interface.
> 
> I'm on extremely limited hardware resources right now. 1GB RAM memory
> so I *a-sumed* that was probably what the momentary hangup was there
> when coming back up after those two success stories occurred.
> 
> I'll have to try doing more of what it sounds like you all are doing.
> I downloaded several different "window managers" (versus "desktop
> environments") just two or three weeks ago but then came back over to
> ol' familiar and friendly Xfce4. Thank you to its Developers!
> 
> I need to order a new hard drive (TODAY, yikes). With this thread in
> mind, I'll create a couple extra partitions dedicated to the "window
> managers" part of this thread when it's time.
> 
> Cindy :)



The xorg log file doesn't seem to have any kind of error in it.
At [1501.620] I start the new session but shows nothing. You can find it
attached.

Nektarios.

Xorg.1.log.old
Description: application/trash


Re: x and virtual consoles

2019-08-04 Thread nektarios
On Sun, 4 Aug 2019 21:01:57 +0100
Ed  wrote:

> Hello,
> 
> For years I would happily ctrl-alt-f<1-6> for an additional x.org 
> session by running 'startx' and another window manager. Until now-ish.
> 
> The way to reproduce the problem is as follows:
> 
>   1. log in via lightdm/gdm
>   2. switch to a text console
>   3. run startx and use the window manager for a moment or two
>   4. switch back to first session
> 
> At this point you should be presented with the default login screen 
> after the x session crashed.
> 
> What I have observed is that x sessions started from a text console
> can cooperate with each other, it seems limited to lightdm/gdm logins
> only.
> 
> Something happened between jobs which meant I didn't need to run
> several user accounts at once. It may have been introduced during
> Jessie or Stretch.
> 
> Am I alone, or do other people have this issue also? Am I doing multi 
> GUI wrong, is there a modern way to do this that has slipped past me 
> without noticing?
> 

Indeed the problem seems reproducible for debian Stretch with sddm display 
manager.
The only logs appearing are from KDE applications (nothing in X11 logs):
```
Aug  4 22:40:41 buldozer org.kde.kpasswdserver[958]: The X11 connection broke 
(error 1). Did the X11 server die?
Aug  4 22:40:41 buldozer org.kde.kuiserver[958]: kuiserver: Fatal IO error: 
client killed
Aug  4 22:40:41 buldozer org.a11y.atspi.Registry[1251]: XIO:  fatal IO error 11 
(Resource temporarily unavailable) on X server ":0"
Aug  4 22:40:41 buldozer org.kde.kglobalaccel[958]: The X11 connection broke 
(error 1). Did the X11 server die?
Aug  4 22:40:41 buldozer org.a11y.atspi.Registry[1251]:   after 947 
requests (947 known processed) with 0 events remaining.
Aug  4 22:40:41 buldozer org.kde.KScreen[958]: The X11 connection broke (error 
1). Did the X11 server die?
```

Unfortunately my PC even worse gets stuck after that so I cant really tell if 
X11 is running.
I hadn't used multiple x sessions for sometime (after I got used to multiple 
desktops) but this seems an issue.