Re: why driftfile is not on Fedora 32 ?

2020-08-16 Thread Cătălin George Feștilă
/var/lib/ntp/ is empty ...
I have settings for chrony ... vim /etc/chrony.conf with the line:
# Record the rate at which the system clock gains/losses time.
driftfile /var/lib/chrony/drift
[mythcat@desk ~]$ cat /var/lib/chrony/drift
  -12.876545 3.064993
About the ntp, I enable ntpd and  this is result without
[mythcat@desk ~]$ sudo dnf install ntp
Last metadata expiration check: 0:17:59 ago on Sun 16 Aug 2020 10:20:23 AM
EEST.
Package ntp-4.2.8p15-1.fc32.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[mythcat@desk ~]$ cat /etc/redhat-release
Fedora release 32 (Thirty Two)
[mythcat@desk ~]$ systemctl status ntpd
● ntpd.service - Network Time Service
 Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor
[mythcat@desk ~]$ sudo ls /var/lib/ntp/drift
[sudo] password for mythcat:
ls: cannot access '/var/lib/ntp/drift': No such file or directory
[mythcat@desk ~]$ sudo ls /var/lib/ntp/

You can see is empty , I don't know why ...
I don't know this args whatprovides for dnf, thank's for share
[mythcat@desk ~]$ dnf whatprovides */drift
Last metadata expiration check: 1 day, 11:45:25 ago on Fri 14 Aug 2020
10:52:10 PM EEST.
chrony-3.5-8.fc32.x86_64 : An NTP client/server
Repo: @System
Matched from:
Filename: /var/lib/chrony/drift

chrony-3.5-8.fc32.x86_64 : An NTP client/server
Repo: fedora
Matched from:
Filename: /var/lib/chrony/drift

ntp-4.2.8p13-5.fc32.x86_64 : The NTP daemon and utilities
Repo: fedora
Matched from:
Filename: /var/lib/ntp/drift

ntp-4.2.8p15-1.fc32.x86_64 : The NTP daemon and utilities
Repo: @System
Matched from:
Filename: /var/lib/ntp/drift

ntp-4.2.8p15-1.fc32.x86_64 : The NTP daemon and utilities
Repo: updates
Matched from:
Filename: /var/lib/ntp/drift

xscreensaver-extras-1:5.44-1.fc32.x86_64 : An enhanced set of screensavers
Repo: fedora
Matched from:
Filename: /usr/libexec/xscreensaver/drift

xscreensaver-extras-1:5.44-2.fc32.x86_64 : An enhanced set of screensavers
Repo: updates
Matched from:
Filename: /usr/libexec/xscreensaver/drift


On Sat, Aug 15, 2020 at 5:28 PM Mauricio Tavares 
wrote:

> On Sat, Aug 15, 2020 at 8:54 AM Tom Horsley  wrote:
> >
> > On Sat, 15 Aug 2020 12:30:18 +0300
> > Cătălin George Feștilă wrote:
> >
> > > The chronyd working
> > > [root@desk mythcat]# systemctl status chronyd
> > > ● chronyd.service - NTP client/server
> > >  Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled;
> > > I don't find the driftfile command , why ?
> > > [root@desk mythcat]# driftfile /var/lib/ntp/drift
> > > bash: driftfile: command not found
> >
> > Probably because ntp isn't installed, chrony is a different
> > package. You can install ntp from the repos (but turn off
> > chrony before trying to run ntp).
>
> (Container so IMMV):
>
> [root@fedorium /]# cat /etc/redhat-release
> Fedora release 31 (Thirty One)
> [root@fedorium /]# dnf whatprovides */drift
> Last metadata expiration check: 91 days, 23:42:34 ago on Fri May 15
> 14:34:25 2020.
> chrony-3.5-4.fc31.x86_64 : An NTP client/server
> Repo: fedora
> Matched from:
> Filename: /var/lib/chrony/drift
>^^--- As seen by John Pilkington  on TV
>
> ntp-4.2.8p13-3.fc31.x86_64 : The NTP daemon and utilities
> Repo: fedora
> Matched from:
> Filename: /var/lib/ntp/drift
>
> xscreensaver-extras-1:5.43-2.fc31.x86_64 : An enhanced set of screensavers
> Repo: fedora
> Matched from:
> Filename: /usr/libexec/xscreensaver/drift
>
> xscreensaver-extras-1:5.44-2.fc31.x86_64 : An enhanced set of screensavers
> Repo: updates
> Matched from:
> Filename: /usr/libexec/xscreensaver/drift
>
> [root@fedorium /]#
>
> > ___
> > users mailing list -- users@lists.fedoraproject.org
> > To unsubscribe send an email to users-le...@lists.fedoraproject.org
> > Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives:
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
>
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 

Re: ThinkPad P1: Fedora 32 USB boot

2020-08-16 Thread Dan Kenigsberg

> The easy solution is to do the install without the media check.

Unfortunately, that failed very early on.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: why driftfile is not on Fedora 32 ?

2020-08-16 Thread John Pilkington

On 16/08/2020 08:43, Cătălin George Feștilă wrote:

/var/lib/ntp/ is empty ...
I have settings for chrony ... vim /etc/chrony.conf with the line:
# Record the rate at which the system clock gains/losses time.
driftfile /var/lib/chrony/drift
[mythcat@desk ~]$ cat /var/lib/chrony/drift
           -12.876545             3.064993


It looks to me as if that 'driftfile' reference is just defining the 
location of the file that holds the offset and drift rate.  It isn't a 
command, it's a 'directive' for chrony.conf.


man chrony.conf


The driftfile directive allows a file to be specified into which chronyd can 
store the rate information. Two parameters are recorded in the file.
   The first is the rate at which the system clock gains or loses time, 
expressed in parts per million, with gains positive. Therefore, a value of
   100.0 indicates that when the system clock has advanced by a second, 
it has gained 100 microseconds in reality (so the true time has only advanced
   by 00 microseconds). The second is an estimate of the error 
bound around the first value in which the true rate actually lies.


HTH

John P



___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: why driftfile is not on Fedora 32 ?

2020-08-16 Thread Ed Greshko
On 2020-08-16 15:43, Cătălin George Feștilă wrote:
> var/lib/ntp/ is empty ...
> I have settings for chrony ... vim /etc/chrony.conf with the line:
> # Record the rate at which the system clock gains/losses time.
> driftfile /var/lib/chrony/drift
> [mythcat@desk ~]$ cat /var/lib/chrony/drift
>           -12.876545             3.064993
> About the ntp, I enable ntpd and  this is result without
> [mythcat@desk ~]$ sudo dnf install ntp
> Last metadata expiration check: 0:17:59 ago on Sun 16 Aug 2020 10:20:23 AM 
> EEST.
> Package ntp-4.2.8p15-1.fc32.x86_64 is already installed.
> Dependencies resolved.
> Nothing to do.
> Complete!
> [mythcat@desk ~]$ cat /etc/redhat-release
> Fedora release 32 (Thirty Two)
> [mythcat@desk ~]$ systemctl status ntpd
> ● ntpd.service - Network Time Service
>      Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor

First of all, chronyd and ntpd are both NTP implementations.  You can run 
either one, but not both.
By default, fedora installs and uses chronyd.

If you wish to run ntpd instead of chronyd you should do

systemctl --now disable ntpd
systemctl --now enable ntpd

You should then see something like

systemctl status ntpd
● ntpd.service - Network Time Service
 Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor 
preset: disabled)
 Active: active (running) since Sun 2020-08-16 16:24:43 CST; 1h 5min ago
    Process: 1965 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS (code=exited, 
status=0/SUCCESS)
   Main PID: 1967 (ntpd)
  Tasks: 2 (limit: 1327)
 Memory: 1.4M
    CPU: 356ms
 CGroup: /system.slice/ntpd.service
 └─1967 /usr/sbin/ntpd -u ntp:ntp -g

Aug 16 16:26:01 f32x.greshko.com ntpd[1967]: Soliciting pool server 
2001:418:8405:4002::3
Aug 16 16:26:01 f32x.greshko.com ntpd[1967]: Soliciting pool server 
2607:fcd0:100:8203::ba91:df54

Then take note of the man page for ntpd.  And you'll find

the drift file is automatically updated once per hour and is available to 
initialize the frequency
on subsequent daemon restarts

This means that ntpd must be running for 1 hour before the drift file is 
created/updated.

Note that I started ntpd at 16:26:01.  At that time no drift file existed.  But 
then

[root@f32x ~]# ll /var/lib/ntp/
total 4
-rw-r--r--. 1 ntp ntp 8 Aug 16 17:24 drift
[root@f32x ~]# cat /var/lib/ntp/drift
-19.732

-- 
The key to getting good answers is to ask good questions.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: why driftfile is not on Fedora 32 ?

2020-08-16 Thread Cătălin George Feștilă
The chrony has that file.
... for ntp feature, the folder /var/lib/ntp/ is empty even the ntpd is
working.
I will use chronyd, but is this a real problem with ntp feature?

It looks to me as if that 'driftfile' reference is just defining the
> location of the file that holds the offset and drift rate.  It isn't a
> command, it's a 'directive' for chrony.conf.
>
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: why driftfile is not on Fedora 32 ?

2020-08-16 Thread Ed Greshko
On 2020-08-16 17:39, Ed Greshko wrote:
> If you wish to run ntpd instead of chronyd you should do
>
> systemctl --now disable ntpd
> systemctl --now enable ntpd

Ah.typo...

systemctl --now disable chronyd
systemctl --now enable ntpd


-- 
The key to getting good answers is to ask good questions.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Network printer

2020-08-16 Thread Matti Pulkkinen

Hello!

It seems like the term "network printer" often refers to printers which 
are connected to a computer, which then shares that printer out to the 
network. There are tomes and tomes of arcane configuration manuals for 
getting this sort of printing to work. However, there are also printers 
with ethernet ports, and I would like to know if anyone has experience 
getting one of these kinds of printers to work on Linux. Do you just 
plug the printer in to your network, turn it on, and see it appear in 
print dialogs on your computer, or is the process more involved than that?


--
Terveisin / Regards,
Matti Pulkkinen
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread Doug H.
On Sun, Aug 16, 2020, at 8:40 AM, Matti Pulkkinen wrote:
> Hello!
> 
> It seems like the term "network printer" often refers to printers which 
> are connected to a computer, which then shares that printer out to the 
> network. There are tomes and tomes of arcane configuration manuals for 
> getting this sort of printing to work. However, there are also printers 
> with ethernet ports, and I would like to know if anyone has experience 
> getting one of these kinds of printers to work on Linux. Do you just 
> plug the printer in to your network, turn it on, and see it appear in 
> print dialogs on your computer, or is the process more involved than that?

Depends on the printer. What make/model?

For my Brother printer I downloaded a script directly from Brother and told it 
what model. It found the printer, downloaded the rpm files for both print and 
scan and installed them. All functions work very well. This is a DCP-L2550DW.

-- 
 Doug Herr
fedoraproject@wombatz.com
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread Matti Pulkkinen

Doug H. kirjoitti 16.8.2020 klo 19.00:

Depends on the printer. What make/model?


None yet. I haven't decided whether I'll buy one yet. I don't want one 
that'll only work on one computer at a time, but at the same time I 
don't want to set up a printing server, or really anything where I have 
to connect the printer to a computer at all. I just want the printer to 
have a power cord and an ethernet cable connected to it, and ideally I 
want it to Just Work™. I'm trying to figure out if this is even possible 
at this time.



For my Brother printer I downloaded a script directly from Brother and told it 
what model. It found the printer, downloaded the rpm files for both print and 
scan and installed them. All functions work very well. This is a DCP-L2550DW.


Is this over the network, or connected to a PC over USB?


--
Terveisin / Regards,
Matti Pulkkinen
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread PGNet Dev
any printer that supports "IPP Everywhere"

https://www.pwg.org/ipp/everywhere.html

should be plug-n-play, for USB &/or network connected.

list of supported printers:

https://www.pwg.org/printers/

numerous printing clients support it.

CUPS, available just about everywhere, forever, does nicely.

Here's an example:

https://wiki.debian.org/CUPSIPPEverywhere
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread Doug H.
 > For my Brother printer I downloaded a script directly from Brother and told 
 > it what model. It found the printer, downloaded the rpm files for both print 
 > and scan and installed them. All functions work very well. This is a 
 > DCP-L2550DW.
> 
> Is this over the network, or connected to a PC over USB?

I connected the printer to the WiFi network but Ethernet would work the same.

All devices on the network share it.

-- 
 Doug Herr
fedoraproject@wombatz.com
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread Jon LaBadie
On Sun, Aug 16, 2020 at 06:40:39PM +0300, Matti Pulkkinen wrote:
> Hello!
> 
> It seems like the term "network printer" often refers to printers which are
> connected to a computer, which then shares that printer out to the network.
> There are tomes and tomes of arcane configuration manuals for getting this
> sort of printing to work. However, there are also printers with ethernet
> ports, and I would like to know if anyone has experience getting one of
> these kinds of printers to work on Linux. Do you just plug the printer in to
> your network, turn it on, and see it appear in print dialogs on your
> computer, or is the process more involved than that?
> 

It is the only type I'll buy.  I add in to that specification PostScript
capability.  Though I think HP's printer language would work also.

In setting them up on their own config procedure I assign a static IP
address that is within my subnet.  Early on, for my home network I
reserved a small block of addresses specifically for printers, X.Y.Z.6[0-9].

For Linux, the CUPS printing system has a pretty good "network discovery"
ability.  In Days Of Old I sometimes had to locate the ".ppd" file (PS
Printer Description?) from the manufacturer, the net, or another OS.  They
are text files and not OS specific.

My experience with Windows is limited to my wife's computers and a VM
on linux.  But this has been trivial network discovery also.  Sometimes
helped with manufacturers "driver" software.

My current phone and tablet (both Android) can also print to my current
printer.  The manufacturer had an app for that.

Jon
-- 
Jon H. LaBadie  jo...@jgcomp.com
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread Sam Varshavchik

Matti Pulkkinen writes:


Hello!

It seems like the term "network printer" often refers to printers which are  
connected to a computer, which then shares that printer out to the network.  
There are tomes and tomes of arcane configuration manuals for getting this  
sort of printing to work. However, there are also printers with ethernet  
ports, and I would like to know if anyone has experience getting one of  
these kinds of printers to work on Linux. Do you just plug the printer in to  
your network, turn it on, and see it appear in print dialogs on your  
computer, or is the process more involved than that?


For my HP printer, that was pretty much it. hplip detected it, and set it  
up, and that was that.


This varies printer by printer, I suppose. But for HP printers, these days,  
it's fairly straightforward. The only thing you have to do is some due  
diligence, and verify that the particular HP model is supported by hplip.


The only other thing I had to do is grab the printer's MAC address, and have  
my DHCP server give it a static assignment, and add a DNS entry for it. This  
way I can load the printer's admin panel in my browser.





pgpR9ieF3s9XU.pgp
Description: PGP signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread Doug McGarrett



On 8/16/20 1:34 PM, Matti Pulkkinen wrote:

Doug H. kirjoitti 16.8.2020 klo 19.00:

Depends on the printer. What make/model?


None yet. I haven't decided whether I'll buy one yet. I don't want one 
that'll only work on one computer at a time, but at the same time I 
don't want to set up a printing server, or really anything where I 
have to connect the printer to a computer at all. I just want the 
printer to have a power cord and an ethernet cable connected to it, 
and ideally I want it to Just Work™. I'm trying to figure out if this 
is even possible at this time.
I think that the fellow with the Brother printer was very lucky. I have 
two (actually three, but one not often used) printers, one HP and one 
Epson, and OpenSuse Tumbleweed, and
so far I cannot get them working. Previously I used these printers on a 
different Linux system, and a kind soul told me how to get them to work: 
it was complicated. However, I

would guess that in most cases, HP would be the least problem to make work.
--doug


For my Brother printer I downloaded a script directly from Brother 
and told it what model. It found the printer, downloaded the rpm 
files for both print and scan and installed them. All functions work 
very well. This is a DCP-L2550DW.


Is this over the network, or connected to a PC over USB?



___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread Matti Pulkkinen

PGNet Dev kirjoitti 16.8.2020 klo 20.58:

any printer that supports "IPP Everywhere"

https://www.pwg.org/ipp/everywhere.html

should be plug-n-play, for USB &/or network connected.

list of supported printers:

https://www.pwg.org/printers/


Thanks, this sounds like a really useful resource. Unfortunately it 
looks like the laser printers that are a) on the list and b) sold where 
I live are all a bit too upscale for me. Probably meant for businesses.


There's an HP printer I found a good deal on that actually advertises 
Linux support, which took me by surprise. In a customer review someone 
said Linux Mint picked it up over the network automatically, which 
sounds promising. If I can manage to find contact info for HP, I might 
ask them if the printer actually supports IPP Everywhere, and the list 
is just out of date. Can't hurt.


--
Terveisin / Regards,
Matti Pulkkinen
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread Matti Pulkkinen

Sam Varshavchik kirjoitti 16.8.2020 klo 21.18:
This varies printer by printer, I suppose. But for HP printers, these 
days, it's fairly straightforward. The only thing you have to do is some 
due diligence, and verify that the particular HP model is supported by 
hplip.


My expectation based on a previous bad experience with a Samsung printer 
(and various horror stories I've heard online) was that Linux support in 
printers would range from abysmal to just plain terrible, but it seems 
there are actually a fair few models from HP which even advertise Linux 
support. Maybe I'm still living in a past age. Either way it's nice to 
be pleasantly surprised.



--
Terveisin / Regards,
Matti Pulkkinen
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread Samuel Sieb

On 8/16/20 3:18 PM, Matti Pulkkinen wrote:

Sam Varshavchik kirjoitti 16.8.2020 klo 21.18:
This varies printer by printer, I suppose. But for HP printers, these 
days, it's fairly straightforward. The only thing you have to do is 
some due diligence, and verify that the particular HP model is 
supported by hplip.


My expectation based on a previous bad experience with a Samsung printer 
(and various horror stories I've heard online) was that Linux support in 
printers would range from abysmal to just plain terrible, but it seems 
there are actually a fair few models from HP which even advertise Linux 
support. Maybe I'm still living in a past age. Either way it's nice to 
be pleasantly surprised.


For many years I haven't had any serious issues with network printers. 
I've used EPSON, HP, Canon, and Brother printers.  Also a big Konica one 
at a school which was more difficult but that was mostly because of 
getting user tracking to work.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread Ed Greshko
On 2020-08-17 06:12, Matti Pulkkinen wrote:
> PGNet Dev kirjoitti 16.8.2020 klo 20.58:
>> any printer that supports "IPP Everywhere"
>>
>> https://www.pwg.org/ipp/everywhere.html
>>
>> should be plug-n-play, for USB &/or network connected.
>>
>> list of supported printers:
>>
>> https://www.pwg.org/printers/
>
> Thanks, this sounds like a really useful resource. Unfortunately it looks 
> like the laser printers that are a) on the list and b) sold where I live are 
> all a bit too upscale for me. Probably meant for businesses.
>
> There's an HP printer I found a good deal on that actually advertises Linux 
> support, which took me by surprise. In a customer review someone said Linux 
> Mint picked it up over the network automatically, which sounds promising. If 
> I can manage to find contact info for HP, I might ask them if the printer 
> actually supports IPP Everywhere, and the list is just out of date. Can't 
> hurt.

For HP printers one would simply configure it using the hplip tools supplied 
with Fedora.

https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index

Give a list of supported printers.

I've had zero problems to configure HP printers.  The biggest issue I had was, 
since I bought the
printer here in Taiwan, was getting the LCD panel on the printer switched from 
Chinese to English.  :-)


-- 
The key to getting good answers is to ask good questions.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread Fred Smith
On Mon, Aug 17, 2020 at 01:18:36AM +0300, Matti Pulkkinen wrote:
> Sam Varshavchik kirjoitti 16.8.2020 klo 21.18:
> >This varies printer by printer, I suppose. But for HP printers,
> >these days, it's fairly straightforward. The only thing you have
> >to do is some due diligence, and verify that the particular HP
> >model is supported by hplip.
> 
> My expectation based on a previous bad experience with a Samsung
> printer (and various horror stories I've heard online) was that
> Linux support in printers would range from abysmal to just plain
> terrible, but it seems there are actually a fair few models from HP
> which even advertise Linux support. Maybe I'm still living in a past
> age. Either way it's nice to be pleasantly surprised.
> 

I have or have had 3 brother printers here, of three widely diverse generations.
they all worked fine on Linux. the oldest one, when I initially connected  it up
I used USB, and Linux (an old CentOS, probably 4.x, could I but remember) popped
up a window saying such-and-such printer found, do you want it to be 
automatically
configured? so I said yes and voila, a working printer!

the laer two, DCP-7065N and HL-L2360DW work fine with the Brother drivers.
I read a review on the 2360 a while back that mentioned one of the "standard"
drivers that comes with Linux also works with it, but don't recall which.

the 7065 is a multifunction, and using the Brother drivers, not only does
it print, but the scanner works too.

Oh, all of them were connected via ethernet (even if the first started as USB,
it wasn't long before I dragged a network cable over to it).

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   "For the word of God is living and active. Sharper than any double-edged 
   sword, it penetrates even to dividing soul and spirit, joints and marrow; 
  it judges the thoughts and attitudes of the heart."  
 Hebrews 4:12 (niv) --
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Dnfdragora Fails With Unexpected error:

2020-08-16 Thread Stephen Morris

On 8/8/20 11:42 am, Stephen Morris wrote:

Hi,
    Dnfdragora shows the above message when run from the CLI after it 
has parsed all the available repositories. How do I identify whether 
it is an issue with one of the repositories being used (without 
disabling all repositories or moving them to another directory) or 
whether it is an internal error?
I've done a bit more checking on this and moved all the repo definition 
files except the main fedora one and dnfdragora still produces the same 
error, so I would say the issue is definitely internally within dnfdragora.


regards,
Steve



regards,
Steve
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Dnfdragora Fails With Unexpected error:

2020-08-16 Thread Stephen Morris

On 17/8/20 8:55 am, Stephen Morris wrote:

On 8/8/20 11:42 am, Stephen Morris wrote:

Hi,
    Dnfdragora shows the above message when run from the CLI after it 
has parsed all the available repositories. How do I identify whether 
it is an issue with one of the repositories being used (without 
disabling all repositories or moving them to another directory) or 
whether it is an internal error?
I've done a bit more checking on this and moved all the repo 
definition files except the main fedora one and dnfdragora still 
produces the same error, so I would say the issue is definitely 
internally within dnfdragora.
I found an entry on the net that specified that removing 
~/.config/dnfdragora.yaml rectified the issue for the reporter, which 
did for me as well.


regards,
Steve



regards,
Steve



regards,
Steve
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread James Szinger
On Mon, 17 Aug 2020 01:18:36 +0300
Matti Pulkkinen  wrote:

> My expectation based on a previous bad experience with a Samsung
> printer (and various horror stories I've heard online) was that Linux
> support in printers would range from abysmal to just plain terrible,
> but it seems there are actually a fair few models from HP which even
> advertise Linux support. Maybe I'm still living in a past age. Either
> way it's nice to be pleasantly surprised.

I used to look for Mac and PostScript support in years past.  I never
bothered with cheap WinPrinters---too many horror stories.  Networked
PS printers worked well once the appropriate PPD was installed.

These days I have a printer (HP CLJ MPF M477fdw) that supports
AirPrint.  Set up was a breeze for CentOS, Fedora, Mac OS, iOS and
Amazon Fire.  Everything auto-configued.  I think I've even printed
from a Windows VM.

Jim
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


SSH from QEMU virtual host to host system

2020-08-16 Thread Robert Moskowitz
I am trying to SSH from my virtual image to the host system and get 
connection refused.


I have tried connecting to the systems' IP addr and the gateway IP addr 
for the virtual host.  Still connection refused.


I can SSH to my host from another with no trouble.

What am I missing?

thanks
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread Kevin Becker
On Sun, 2020-08-16 at 18:55 -0400, Fred Smith wrote:
> 
> I have or have had 3 brother printers here, of three widely diverse
> generations.
> they all worked fine on Linux. the oldest one, when I initially
> connected  it up
> I used USB, and Linux (an old CentOS, probably 4.x, could I but
> remember) popped
> up a window saying such-and-such printer found, do you want it to be
> automatically
> configured? so I said yes and voila, a working printer!
> 
> the laer two, DCP-7065N and HL-L2360DW work fine with the Brother
> drivers.
> I read a review on the 2360 a while back that mentioned one of the
> "standard"
> drivers that comes with Linux also works with it, but don't recall
> which.
> 
> the 7065 is a multifunction, and using the Brother drivers, not only
> does
> it print, but the scanner works too.
> 
> Oh, all of them were connected via ethernet (even if the first
> started as USB,
> it wasn't long before I dragged a network cable over to it).
> 

I have a Brother HL-3170CDW that works with no configuration at all
with Fedora. It was autodiscovered via mDNS and is using the built-in
drivers included with Fedora.  It's wifi-capable but being in my office
near a switch anyway, I just hardwired it.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread Samuel Sieb

On 8/16/20 7:09 PM, Kevin Becker wrote:

I have a Brother HL-3170CDW that works with no configuration at all
with Fedora. It was autodiscovered via mDNS and is using the built-in
drivers included with Fedora.  It's wifi-capable but being in my office
near a switch anyway, I just hardwired it.


I think I have that same one or something very similar.  I did need to 
install the drivers (rpm) in order to use the scanning function.  But 
that's probably the same for most printers.  Unfortunately, scanning is 
not yet standardized like IPP printing.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: SSH from QEMU virtual host to host system

2020-08-16 Thread Sam Varshavchik

Robert Moskowitz writes:

I am trying to SSH from my virtual image to the host system and get  
connection refused.


I have tried connecting to the systems' IP addr and the gateway IP addr for  
the virtual host.  Still connection refused.


I can SSH to my host from another with no trouble.

What am I missing?


1) Ping your host's IP address from the VM.

2) Assuming it's pingable, look into what firewalld says, about the ssh  
port, and what IP addresses it's accessible from.




pgp38hSiTxNME.pgp
Description: PGP signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Network printer

2020-08-16 Thread Tim via users
On Sun, 2020-08-16 at 18:40 +0300, Matti Pulkkinen wrote:
> It seems like the term "network printer" often refers to printers
> which are connected to a computer, which then shares that printer out
> to the network. There are tomes and tomes of arcane configuration
> manuals for getting this sort of printing to work. However, there are
> also printers with ethernet ports, and I would like to know if anyone
> has experience getting one of these kinds of printers to work on
> Linux. Do you just plug the printer in to your network, turn it on,
> and see it appear in print dialogs on your computer, or is the
> process more involved than that?

I've used (now old) printers that have ethernet ports in both ways
(through a server, and direct).  HP printers are probably one of the
easiest to do that way, but I have a Canon Pixma working like that too.
HP seem to be particularly good at supporting one or more common print
languages (their own and PostScript) across most of their printers, and
possibly due to their widespread office use bother to make them usable
with Linux.  Apple's takeover of CUPS probably helped persuade other
printer manufacturers to stop being just windows-only devices.

Printers are one of those things where so many of them do not use any
standard language, each one doing their own (often buggy) thing, so you
need to access them (those individualistic ones) through a driver. 
Having that kind of printer running through a server, then having your
other printers go through that server (instead of direct) minimises
that problem, in that your print server is the only one you'd have to
install drivers on.

A server can also help with auto-discovery, *not* *all* printers
directly advertise themselves on a network (i.e. some *do*).  Without
that, each PC would need to be individually configured to use a
printer.  As opposed to the print server just appearing when you go to
print a file.
 
-- 
 
uname -rsvp
Linux 3.10.0-1127.18.2.el7.x86_64 #1 SMP Sun Jul 26 15:27:06 UTC 2020 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: SSH from QEMU virtual host to host system

2020-08-16 Thread Robert Moskowitz



On 8/16/20 10:50 PM, Sam Varshavchik wrote:

Robert Moskowitz writes:

I am trying to SSH from my virtual image to the host system and get 
connection refused.


I have tried connecting to the systems' IP addr and the gateway IP 
addr for the virtual host.  Still connection refused.


I can SSH to my host from another with no trouble.

What am I missing?


1) Ping your host's IP address from the VM.


Pinging works fine.



2) Assuming it's pingable, look into what firewalld says, about the 
ssh port, and what IP addresses it's accessible from.


# firewall-cmd --list-all
public (active)
  target: default
  icmp-block-inversion: no
  interfaces: wlp1s0
  sources:
  services: dhcpv6-client ipp ipp-client mdns
  ports: 745/tcp
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

SSH is on port 745 (well not 745, but off 22).  I did the selinux 
command to allow ssh on this port and I can access from another system 
no trouble.


Just not from the virtual machine.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: SSH from QEMU virtual host to host system

2020-08-16 Thread Ed Greshko
On 2020-08-17 11:18, Robert Moskowitz wrote:
>
>
> On 8/16/20 10:50 PM, Sam Varshavchik wrote:
>> Robert Moskowitz writes:
>>
>>> I am trying to SSH from my virtual image to the host system and get 
>>> connection refused.
>>>
>>> I have tried connecting to the systems' IP addr and the gateway IP addr for 
>>> the virtual host.  Still connection refused.
>>>
>>> I can SSH to my host from another with no trouble.
>>>
>>> What am I missing?
>>
>> 1) Ping your host's IP address from the VM.
>
> Pinging works fine.
>
>>
>> 2) Assuming it's pingable, look into what firewalld says, about the ssh 
>> port, and what IP addresses it's accessible from.
>
> # firewall-cmd --list-all
> public (active)
>   target: default
>   icmp-block-inversion: no
>   interfaces: wlp1s0
>   sources:
>   services: dhcpv6-client ipp ipp-client mdns
>   ports: 745/tcp
>   protocols:
>   masquerade: no
>   forward-ports:
>   source-ports:
>   icmp-blocks:
>   rich rules:
>
> SSH is on port 745 (well not 745, but off 22).  I did the selinux command to 
> allow ssh on this port and I can access from another system no trouble.
>

What is the output of "firewall-cmd --get-active-zones"


-- 
The key to getting good answers is to ask good questions.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: SSH from QEMU virtual host to host system

2020-08-16 Thread Robert Moskowitz



On 8/16/20 11:25 PM, Ed Greshko wrote:

On 2020-08-17 11:18, Robert Moskowitz wrote:


On 8/16/20 10:50 PM, Sam Varshavchik wrote:

Robert Moskowitz writes:


I am trying to SSH from my virtual image to the host system and get connection 
refused.

I have tried connecting to the systems' IP addr and the gateway IP addr for the 
virtual host.  Still connection refused.

I can SSH to my host from another with no trouble.

What am I missing?

1) Ping your host's IP address from the VM.

Pinging works fine.


2) Assuming it's pingable, look into what firewalld says, about the ssh port, 
and what IP addresses it's accessible from.

# firewall-cmd --list-all
public (active)
   target: default
   icmp-block-inversion: no
   interfaces: wlp1s0
   sources:
   services: dhcpv6-client ipp ipp-client mdns
   ports: 745/tcp
   protocols:
   masquerade: no
   forward-ports:
   source-ports:
   icmp-blocks:
   rich rules:

SSH is on port 745 (well not 745, but off 22).  I did the selinux command to 
allow ssh on this port and I can access from another system no trouble.


What is the output of "firewall-cmd --get-active-zones"



# firewall-cmd --get-active-zones
libvirt
  interfaces: virbr0
public
  interfaces: wlp1s0


And virbr0 is the one used for the QEMU.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: SSH from QEMU virtual host to host system

2020-08-16 Thread Ed Greshko
On 2020-08-17 11:30, Robert Moskowitz wrote:
>
>
> On 8/16/20 11:25 PM, Ed Greshko wrote:
>> On 2020-08-17 11:18, Robert Moskowitz wrote:
>>>
>>> On 8/16/20 10:50 PM, Sam Varshavchik wrote:
 Robert Moskowitz writes:

> I am trying to SSH from my virtual image to the host system and get 
> connection refused.
>
> I have tried connecting to the systems' IP addr and the gateway IP addr 
> for the virtual host.  Still connection refused.
>
> I can SSH to my host from another with no trouble.
>
> What am I missing?
 1) Ping your host's IP address from the VM.
>>> Pinging works fine.
>>>
 2) Assuming it's pingable, look into what firewalld says, about the ssh 
 port, and what IP addresses it's accessible from.
>>> # firewall-cmd --list-all
>>> public (active)
>>>    target: default
>>>    icmp-block-inversion: no
>>>    interfaces: wlp1s0
>>>    sources:
>>>    services: dhcpv6-client ipp ipp-client mdns
>>>    ports: 745/tcp
>>>    protocols:
>>>    masquerade: no
>>>    forward-ports:
>>>    source-ports:
>>>    icmp-blocks:
>>>    rich rules:
>>>
>>> SSH is on port 745 (well not 745, but off 22).  I did the selinux command 
>>> to allow ssh on this port and I can access from another system no trouble.
>>>
>> What is the output of "firewall-cmd --get-active-zones"
>>
>>
> # firewall-cmd --get-active-zones
> libvirt
>   interfaces: virbr0
> public
>   interfaces: wlp1s0
>
>
> And virbr0 is the one used for the QEMU.
>
>

So, if you do "firewall-cmd --info-zone=libvirt" do you have port 745 enabled?

-- 
The key to getting good answers is to ask good questions.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: SSH from QEMU virtual host to host system

2020-08-16 Thread Robert Moskowitz



On 8/16/20 11:32 PM, Ed Greshko wrote:

On 2020-08-17 11:30, Robert Moskowitz wrote:



On 8/16/20 11:25 PM, Ed Greshko wrote:

On 2020-08-17 11:18, Robert Moskowitz wrote:


On 8/16/20 10:50 PM, Sam Varshavchik wrote:

Robert Moskowitz writes:

I am trying to SSH from my virtual image to the host system and 
get connection refused.


I have tried connecting to the systems' IP addr and the gateway 
IP addr for the virtual host.  Still connection refused.


I can SSH to my host from another with no trouble.

What am I missing?

1) Ping your host's IP address from the VM.

Pinging works fine.

2) Assuming it's pingable, look into what firewalld says, about 
the ssh port, and what IP addresses it's accessible from.

# firewall-cmd --list-all
public (active)
   target: default
   icmp-block-inversion: no
   interfaces: wlp1s0
   sources:
   services: dhcpv6-client ipp ipp-client mdns
   ports: 745/tcp
   protocols:
   masquerade: no
   forward-ports:
   source-ports:
   icmp-blocks:
   rich rules:

SSH is on port 745 (well not 745, but off 22).  I did the selinux 
command to allow ssh on this port and I can access from another 
system no trouble.



What is the output of "firewall-cmd --get-active-zones"



# firewall-cmd --get-active-zones
libvirt
  interfaces: virbr0
public
  interfaces: wlp1s0


And virbr0 is the one used for the QEMU.




So, if you do "firewall-cmd --info-zone=libvirt" do you have port 745 
enabled?


No I don't

# firewall-cmd --info-zone=libvirt
libvirt (active)
  target: ACCEPT
  icmp-block-inversion: no
  interfaces: virbr0
  sources:
  services: dhcp dhcpv6 dns ssh tftp
  ports:
  protocols: icmp ipv6-icmp
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:
    rule priority="32767" reject

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: SSH from QEMU virtual host to host system

2020-08-16 Thread Ed Greshko
On 2020-08-17 11:40, Robert Moskowitz wrote:
> No I don't
>
> # firewall-cmd --info-zone=libvirt
> libvirt (active)
>   target: ACCEPT
>   icmp-block-inversion: no
>   interfaces: virbr0
>   sources:
>   services: dhcp dhcpv6 dns ssh tftp
>   ports:
>   protocols: icmp ipv6-icmp
>   masquerade: no
>   forward-ports:
>   source-ports:
>   icmp-blocks:
>   rich rules:
> rule priority="32767" reject 

Well, connections from a QEMU guest come via the virbr0 interface which is in 
the libvirt zone.

So, you'll need to add that port for ssh to work.

-- 
The key to getting good answers is to ask good questions.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: SSH from QEMU virtual host to host system

2020-08-16 Thread Robert Moskowitz



On 8/16/20 11:42 PM, Ed Greshko wrote:

On 2020-08-17 11:40, Robert Moskowitz wrote:

No I don't

# firewall-cmd --info-zone=libvirt
libvirt (active)
  target: ACCEPT
  icmp-block-inversion: no
  interfaces: virbr0
  sources:
  services: dhcp dhcpv6 dns ssh tftp
  ports:
  protocols: icmp ipv6-icmp
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:
rule priority="32767" reject 


Well, connections from a QEMU guest come via the virbr0 interface 
which is in the libvirt zone.


So, you'll need to add that port for ssh to work.



Thanks for leading me to the problem.  I will read up on this in the 
morning and get it working (I know you are half-way around the world 
from me!).


I have dealt with firewall zones on 'real' firewalls.  Just never really 
spent the time on a host config.  But until know, the host was always an 
endpoint.


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: SSH from QEMU virtual host to host system

2020-08-16 Thread Ed Greshko
On 2020-08-17 11:45, Robert Moskowitz wrote:
>
>
> On 8/16/20 11:42 PM, Ed Greshko wrote:
>> On 2020-08-17 11:40, Robert Moskowitz wrote:
>>> No I don't
>>>
>>> # firewall-cmd --info-zone=libvirt
>>> libvirt (active)
>>>   target: ACCEPT
>>>   icmp-block-inversion: no
>>>   interfaces: virbr0
>>>   sources:
>>>   services: dhcp dhcpv6 dns ssh tftp
>>>   ports:
>>>   protocols: icmp ipv6-icmp
>>>   masquerade: no
>>>   forward-ports:
>>>   source-ports:
>>>   icmp-blocks:
>>>   rich rules:
>>> rule priority="32767" reject 
>>
>> Well, connections from a QEMU guest come via the virbr0 interface which is 
>> in the libvirt zone.
>>
>> So, you'll need to add that port for ssh to work.
>
>
> Thanks for leading me to the problem.  I will read up on this in the morning 
> and get it working (I know you are half-way around the world from me!).

firewall-cmd --permanent --zone=libvirt --add-port=745/tcp

should be sufficient.

>
> I have dealt with firewall zones on 'real' firewalls.  Just never really 
> spent the time on a host config.  But until know, the host was always an 
> endpoint.
>
>


-- 
The key to getting good answers is to ask good questions.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Any subs for Libreoffice?

2020-08-16 Thread Doug McGarrett




On 8/13/20 6:43 PM, Doug McGarrett wrote:



On 8/13/20 1:48 AM, Todd Chester via users wrote:



On 2020-08-12 16:16, Doug McGarrett wrote:
Please tell me the difference between Free Office and SoftMaker 
Standard.


std is version 2021

Free is version 2018


___
I have decided to install the Free version on the new computer. It all 
looks familiar, but I cannot remember how to defeat superscripting 
once and for all.
Please let me know how to do this. (You might tell the publishers in 
Germany that superscripting is not a normal way of writing in the US. 
A short
perusal of US newspaper styles will show you that nothing is ever 
superscripted, nor is it in books for general reading, rather than, 
say, textbooks.) 

Followup:
I had previously asked for assistance in suppressing superscripting in 
FreeOffice 2018 Textmaker, and got no reply. Probably because free 
softwarecomes with no assistance. 

So after much searching and futzing around, I found out how to do it:

With a document open, go to Tools>Options>Edit. There are a bunch of 
check-boxes, one says "Superscript ordinal numbers" --uncheck that box 
and then click OK.


That seems to have done it for all documents. To be on the safe side, 
you may save the opened document, but I don't think that's necessary. If 
you find
any gotcha in this procedure--something I forgot or left out--please 
write a line or two here and correct me.


Reminder: If you are going to use the document in another word 
processor, or send it to someone who does not have Textmaker, save it in 
Microsoft Word format!


--doug
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


anbox fails with 5.7 kernel

2020-08-16 Thread Jon LaBadie
The snap called anbox (Android in a Box) requires two
kernel modules ashmem and binder.  With the 5.7 kernel
the decision was made to prevent access to a function
"kallsyms_lookup_name" which is needed for dkms to
compile the two modules.

Has anyone come across a workaround that would allow
the anbox snap to work on Fedora 32?

Jon
-- 
Jon H. LaBadie  jo...@jgcomp.com
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org