Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread Kenneth Porter
Check the voltages on your adapter. I use such adapters in the machine shop 
so machinists can share the CNC programs they write on a PC with their CNC 
controllers. The CNC controllers can be fussy about voltages, and some 
cheap RS232-USB adapters only generate +/-5vdc. It's within the RS232 spec 
and newer RS232 chips are happy with that, but older systems might want 12v 
or more.


Another issue is handshake lines. Not all adapters provide all the 
handshake lines. Some are "3-wire" data-only with only ground, transmit, 
and receive connected. Some devices will want 5 or 7 wire connections, with 
RTS/CTS and DTR/DSR signals included. Check that the adapter you buy 
provides all the signals your device needs.


Which service are you using to manage your UPS? Nut? Something else? They 
probaby have a mailing list, website, or wiki where you can find out what 
adapters work well with which UPS units. (Be sure to post back here when 
you get an answer.)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] disk on vm with kvm

2020-07-08 Thread Rick Gutierrez
El vie., 3 jul. 2020 a las 11:05, Alexander Dalloz
() escribió:
>
>
> I would guess that the scheduler "noop" isn't available, thus that
> specific error message.
>
> On my physical Server CentOS 7 with latest kernel:
>
> # cat /sys/block/nvme0n1/queue/scheduler
> [none] mq-deadline kyber
>
> The KVM VM on that host, too CentOS 7 with latest kernel:
>
> # cat /sys/block/vda/queue/scheduler
> [mq-deadline] kyber none
>
>
> Alexander

Hi , It is strange, in previous versions of this kernel I have it
available, in an environment with vmware vsphere 6.

any modifications in this kernel that did not include it?

-- 
rickygm

http://gnuforever.homelinux.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread H
On 07/08/2020 11:58 AM, John Pierce wrote:
> On Wed, Jul 8, 2020 at 8:46 AM H  wrote:
>
>> I believe I mentioned that the UPS has the serial port, the computer thus
>> has USB.
>>
>>
> yes, but is it 'basic serial UPS' or is it 'enhanced serial UPS' ?the
> former do NOT use the rx/tx data of the serial port at all, they ONLY use
> the serial port control  signals, and they probably will NOT work with a
> USB port because they require very specific behavior from those signals at
> power up and reboot times.
>
> the latter DO use the serial data, and may work with USB serial.
>
>
I forgot to mention that I do have the serial cable for the APS UPS since the 
previous computer it supported did have a serial port. Thus, the only issue 
should be whether to buy a USB-serial adapter for the computer, or a card with 
a serial port.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread H
On 07/08/2020 02:40 PM, Chris Adams wrote:
> Once upon a time, John Pierce  said:
>> yes, but is it 'basic serial UPS' or is it 'enhanced serial UPS' ?the
>> former do NOT use the rx/tx data of the serial port at all, they ONLY use
>> the serial port control  signals, and they probably will NOT work with a
>> USB port because they require very specific behavior from those signals at
>> power up and reboot times.
> I've used various serial devices, including UPSes, via various
> USB-to-serial adapters (Prolific PL2303 and FTDI FT2232C), and all the
> signaling works fine.  Only issue you sometimes have is that there are
> many cheap adapters on Amazon that claim to be Prolific or FTDI but are
> in fact counterfeit clones - those may or may not work reliably for ANY
> purpose.
>
That's the issue but I will stay with a brand-name unit.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread H
On 07/08/2020 03:02 PM, Fred Smith wrote:
> On Wed, Jul 08, 2020 at 01:40:27PM -0500, Chris Adams wrote:
>> Once upon a time, John Pierce  said:
>>> yes, but is it 'basic serial UPS' or is it 'enhanced serial UPS' ?the
>>> former do NOT use the rx/tx data of the serial port at all, they ONLY use
>>> the serial port control  signals, and they probably will NOT work with a
>>> USB port because they require very specific behavior from those signals at
>>> power up and reboot times.
>> I've used various serial devices, including UPSes, via various
>> USB-to-serial adapters (Prolific PL2303 and FTDI FT2232C), and all the
>> signaling works fine.  Only issue you sometimes have is that there are
>> many cheap adapters on Amazon that claim to be Prolific or FTDI but are
>> in fact counterfeit clones - those may or may not work reliably for ANY
>> purpose.
>>
> Another possibility for the Original Poster:
> Purchase a serial add-in card from Amazon or Newegg.
> last I noticed they weren't expensive. This avoids
> the compatibility-hell you may (or may not) encounter
> with a USB-to-serial converter.
>
> Fred
>
OK, I'll see what fits the machine best.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread Fred Smith
On Wed, Jul 08, 2020 at 01:40:27PM -0500, Chris Adams wrote:
> Once upon a time, John Pierce  said:
> > yes, but is it 'basic serial UPS' or is it 'enhanced serial UPS' ?the
> > former do NOT use the rx/tx data of the serial port at all, they ONLY use
> > the serial port control  signals, and they probably will NOT work with a
> > USB port because they require very specific behavior from those signals at
> > power up and reboot times.
> 
> I've used various serial devices, including UPSes, via various
> USB-to-serial adapters (Prolific PL2303 and FTDI FT2232C), and all the
> signaling works fine.  Only issue you sometimes have is that there are
> many cheap adapters on Amazon that claim to be Prolific or FTDI but are
> in fact counterfeit clones - those may or may not work reliably for ANY
> purpose.
> 

Another possibility for the Original Poster:
Purchase a serial add-in card from Amazon or Newegg.
last I noticed they weren't expensive. This avoids
the compatibility-hell you may (or may not) encounter
with a USB-to-serial converter.

Fred

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   I can do all things through Christ 
  who strengthens me.
-- Philippians 4:13 ---
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread Chris Adams
Once upon a time, mailist  said:
> Even if you did have an RS232 port on the box, the serial drivers
> for CentOS 7 have
> never worked correctly.  I had an application using RS232 that
> worked perfectly
> under CentOS 6, and then worked intermittently under CentOS 7, and
> failed miserably
> on CentOS 8.  The handwriting on the RedHat wall says, "nobody uses
> RS232 anymore!"

I've used serial ports just fine on CentOS 7 (haven't had a physical
CentOS 8 system so far, so can't say there, but have used serial
consoles on CentOS 8 VMs), as well as newer Fedora (similar but newer
kernels).  Are you sure you weren't doing something in an unsupported
and/or undefined way that just happened to work on CentOS 6?

-- 
Chris Adams 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread Chris Adams
Once upon a time, John Pierce  said:
> yes, but is it 'basic serial UPS' or is it 'enhanced serial UPS' ?the
> former do NOT use the rx/tx data of the serial port at all, they ONLY use
> the serial port control  signals, and they probably will NOT work with a
> USB port because they require very specific behavior from those signals at
> power up and reboot times.

I've used various serial devices, including UPSes, via various
USB-to-serial adapters (Prolific PL2303 and FTDI FT2232C), and all the
signaling works fine.  Only issue you sometimes have is that there are
many cheap adapters on Amazon that claim to be Prolific or FTDI but are
in fact counterfeit clones - those may or may not work reliably for ANY
purpose.

-- 
Chris Adams 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread Leroy Tennison
-> "nobody uses RS232 anymore!"

Somebody needs to update the hand writing on the wall, although the physical 
hardware may be an RJ-45, the RS232 protocol is still used on headless devices 
and probably other things.  I use minicom more than I wish but it's still 
required.

From: CentOS  on behalf of mailist 

Sent: Wednesday, July 8, 2020 11:11 AM
To: CentOS mailing list 
Subject: [EXTERNAL] Re: [CentOS] USB-serial adapter for CentOS 7

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.



Harriscomputer

Leroy Tennison
Network Information/Cyber Security Specialist
E: le...@datavoiceint.com


[cid:Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG]


2220 Bush Dr
McKinney, Texas
75070
www.datavoiceint.com


This message has been sent on behalf of a company that is part of the Harris 
Operating Group of Constellation Software Inc.

If you prefer not to be contacted by Harris Operating Group please notify 
us.



This message is intended exclusively for the individual or entity to which it 
is addressed. This communication may contain information that is proprietary, 
privileged or confidential or otherwise legally exempt from disclosure. If you 
are not the named addressee, you are not authorized to read, print, retain, 
copy or disseminate this message or any part of it. If you have received this 
message in error, please notify the sender immediately by e-mail and delete all 
copies of the message.





On 2020-07-08 11:28, Tate Belden wrote:
> I've several USB <-> RS-232 dongles around. As well as a few embedded
> devices. They all "Just Work (tm)" on Redhat, CentOS, Fedora, Debian,
> Raspian and Kali.

Even if you did have an RS232 port on the box, the serial drivers for
CentOS 7 have
never worked correctly.  I had an application using RS232 that worked
perfectly
under CentOS 6, and then worked intermittently under CentOS 7, and
failed miserably
on CentOS 8.  The handwriting on the RedHat wall says, "nobody uses
RS232 anymore!"
I moved the app to a Raspberry Pi 3B+, using the USB serial adapters,
and it works
perfectly again.

Todd Merriman
Software Toolz, Inc.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread mailist

On 2020-07-08 11:28, Tate Belden wrote:

I've several USB <-> RS-232 dongles around. As well as a few embedded
devices. They all "Just Work (tm)" on Redhat, CentOS, Fedora, Debian,
Raspian and Kali.


Even if you did have an RS232 port on the box, the serial drivers for 
CentOS 7 have
never worked correctly.  I had an application using RS232 that worked 
perfectly
under CentOS 6, and then worked intermittently under CentOS 7, and 
failed miserably
on CentOS 8.  The handwriting on the RedHat wall says, "nobody uses 
RS232 anymore!"
I moved the app to a Raspberry Pi 3B+, using the USB serial adapters, 
and it works

perfectly again.

Todd Merriman
Software Toolz, Inc.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread Valeri Galtsev


> On Jul 8, 2020, at 10:58 AM, John Pierce  wrote:
> 
> On Wed, Jul 8, 2020 at 8:46 AM H  wrote:
> 
>> 
>> I believe I mentioned that the UPS has the serial port, the computer thus
>> has USB.
>> 
>> 
> yes, but is it 'basic serial UPS' or is it 'enhanced serial UPS' ?the
> former do NOT use the rx/tx data of the serial port at all, they ONLY use
> the serial port control  signals, and they probably will NOT work with a
> USB port because they require very specific behavior from those signals at
> power up and reboot times.
> 
> the latter DO use the serial data, and may work with USB serial.
> 
> 

John as always has the deepest insight (why I’m not surprised). Thanks !

Valeri

> -- 
> -john r pierce
>  recycling used bits in santa cruz
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread John Pierce
On Wed, Jul 8, 2020 at 8:46 AM H  wrote:

>
> I believe I mentioned that the UPS has the serial port, the computer thus
> has USB.
>
>
yes, but is it 'basic serial UPS' or is it 'enhanced serial UPS' ?the
former do NOT use the rx/tx data of the serial port at all, they ONLY use
the serial port control  signals, and they probably will NOT work with a
USB port because they require very specific behavior from those signals at
power up and reboot times.

the latter DO use the serial data, and may work with USB serial.


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread Valeri Galtsev


> On Jul 8, 2020, at 10:46 AM, H  wrote:
> 
> On July 8, 2020 11:39:29 AM EDT, Valeri Galtsev  
> wrote:
>> 
>> 
>> On 2020-07-08 10:23, Leroy Tennison wrote:
>>> I've used one on a Linux laptop, it "just worked" but the OS wasn't
>> CentOS 7.
>>> 
>> 
>> It is not clear if you used USB from APC UPS to USB port on the machine
>> 
>> side or USB - to - "serial". USB to USB with standard USB cable will
>> work.
>> 
>> If one uses serial to USB adapter on the machine side (to create serial
>> 
>> port through USB on the machine), then one _has_to_use_ APC cable: as 
>> John Pierce just said, it is APC special cable which though has serial 
>> connectors on both sides of cable, (and uses serial protocol of 
>> communication - this is already what I am saying), it does not resemble
>> 
>> neither serial nor null-modem cables.
>> 
>> Valeri
>> 
>>> 
>>> From: CentOS  on behalf of H
>> 
>>> Sent: Wednesday, July 8, 2020 10:13 AM
>>> To: Centos Mailing List 
>>> Subject: [EXTERNAL] [CentOS] USB-serial adapter for CentOS 7
>>> 
>>> CAUTION: This email originated from outside of the organization. Do
>> not click links or open attachments unless you recognize the sender and
>> know the content is safe.
>>> 
>>> 
>>> I need to connect an older APS UPS unit to a machine running CentOS
>> 7. Unfortunately the UPS only has a serial port whereas the computer
>> does not. I am aware that there are USB-serial adapters but that the
>> hardware or the drivers might fall short of expectations.
>>> 
>>> Does anyone have positive experience with such an adapter? Or,
>> conversely, would recommend avoid a particular adapter?
>>> ___
>>> CentOS mailing list
>>> CentOS@centos.org
>>> https://lists.centos.org/mailman/listinfo/centos
>>> 
>>> Harriscomputer
>>> 
>>> Leroy Tennison
>>> Network Information/Cyber Security Specialist
>>> E: le...@datavoiceint.com
>>> 
>>> 
>>> 
>> [cid:Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG]
>>> 
>>> 
>>> 2220 Bush Dr
>>> McKinney, Texas
>>> 75070
>>> www.datavoiceint.com
>>> 
>>> 
>>> This message has been sent on behalf of a company that is part of the
>> Harris Operating Group of Constellation Software Inc.
>>> 
>>> If you prefer not to be contacted by Harris Operating Group please
>> notify us.
>>> 
>>> 
>>> 
>>> This message is intended exclusively for the individual or entity to
>> which it is addressed. This communication may contain information that
>> is proprietary, privileged or confidential or otherwise legally exempt
>> from disclosure. If you are not the named addressee, you are not
>> authorized to read, print, retain, copy or disseminate this message or
>> any part of it. If you have received this message in error, please
>> notify the sender immediately by e-mail and delete all copies of the
>> message.
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> CentOS mailing list
>>> CentOS@centos.org
>>> https://lists.centos.org/mailman/listinfo/centos
>>> 
> 
> I believe I mentioned that the UPS has the serial port, the computer thus has 
> USB.
> 

In this case, if UPS doesn’t have USB port (which will be much simpler), then 
as others said:

1. use USB to serial dongle attached to computer USB port (check with standard 
serial communicating equipment that your computer with this dongle talks serial 
protocol)

2. Get APC cable; this is not standard serial cables, standard cables (neither 
serial nor null-modem) will not work. It probably will be something like this:

https://www.amazon.com/dp/B67OG4?tag=duckduckgo-ffsb-20&linkCode=osi&th=1&psc=1

- but take it with a grain of salt, do your own checking.

Then you will be in business.

I used APC smart UPSes for almost a couple of decades. With cables as above 
connected to serial port of machine (those were CentOS Linuxes). I used 
apcupsd, which also can be configured as master on machine directly connected 
to UPS, and several other machines, behind the same UPS power wise though not 
connected to UPS signal wise, but talking to apcupsd on master machine.

Good luck!

Valeri
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] server setup best practices

2020-07-08 Thread Christopher Wensink
Everyone,

I am in the process of migrating over a samba Linux VM from an openvz
based system to a vmware based system.  I am migrating over these services:

apache
samba
rsync (daemon via xinetd)

I'm trying to improve my documentation and I want to make a linux vm
best practices SOP that can be used as the template for all new server
setups.  Does anyone have any similar kinds of documentation that they
would be willing to share (excluding confidential / credentials, etc)

Chris
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread H
On July 8, 2020 11:39:29 AM EDT, Valeri Galtsev  
wrote:
>
>
>On 2020-07-08 10:23, Leroy Tennison wrote:
>> I've used one on a Linux laptop, it "just worked" but the OS wasn't
>CentOS 7.
>> 
>
>It is not clear if you used USB from APC UPS to USB port on the machine
>
>side or USB - to - "serial". USB to USB with standard USB cable will
>work.
>
>If one uses serial to USB adapter on the machine side (to create serial
>
>port through USB on the machine), then one _has_to_use_ APC cable: as 
>John Pierce just said, it is APC special cable which though has serial 
>connectors on both sides of cable, (and uses serial protocol of 
>communication - this is already what I am saying), it does not resemble
>
>neither serial nor null-modem cables.
>
>Valeri
>
>> 
>> From: CentOS  on behalf of H
>
>> Sent: Wednesday, July 8, 2020 10:13 AM
>> To: Centos Mailing List 
>> Subject: [EXTERNAL] [CentOS] USB-serial adapter for CentOS 7
>> 
>> CAUTION: This email originated from outside of the organization. Do
>not click links or open attachments unless you recognize the sender and
>know the content is safe.
>> 
>> 
>> I need to connect an older APS UPS unit to a machine running CentOS
>7. Unfortunately the UPS only has a serial port whereas the computer
>does not. I am aware that there are USB-serial adapters but that the
>hardware or the drivers might fall short of expectations.
>> 
>> Does anyone have positive experience with such an adapter? Or,
>conversely, would recommend avoid a particular adapter?
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>> 
>> Harriscomputer
>> 
>> Leroy Tennison
>> Network Information/Cyber Security Specialist
>> E: le...@datavoiceint.com
>> 
>> 
>>
>[cid:Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG]
>> 
>> 
>> 2220 Bush Dr
>> McKinney, Texas
>> 75070
>> www.datavoiceint.com
>> 
>> 
>> This message has been sent on behalf of a company that is part of the
>Harris Operating Group of Constellation Software Inc.
>> 
>> If you prefer not to be contacted by Harris Operating Group please
>notify us.
>> 
>> 
>> 
>> This message is intended exclusively for the individual or entity to
>which it is addressed. This communication may contain information that
>is proprietary, privileged or confidential or otherwise legally exempt
>from disclosure. If you are not the named addressee, you are not
>authorized to read, print, retain, copy or disseminate this message or
>any part of it. If you have received this message in error, please
>notify the sender immediately by e-mail and delete all copies of the
>message.
>> 
>> 
>> 
>> 
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>> 

I believe I mentioned that the UPS has the serial port, the computer thus has 
USB.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread Valeri Galtsev




On 2020-07-08 10:23, Leroy Tennison wrote:

I've used one on a Linux laptop, it "just worked" but the OS wasn't CentOS 7.



It is not clear if you used USB from APC UPS to USB port on the machine 
side or USB - to - "serial". USB to USB with standard USB cable will work.


If one uses serial to USB adapter on the machine side (to create serial 
port through USB on the machine), then one _has_to_use_ APC cable: as 
John Pierce just said, it is APC special cable which though has serial 
connectors on both sides of cable, (and uses serial protocol of 
communication - this is already what I am saying), it does not resemble 
neither serial nor null-modem cables.


Valeri



From: CentOS  on behalf of H 
Sent: Wednesday, July 8, 2020 10:13 AM
To: Centos Mailing List 
Subject: [EXTERNAL] [CentOS] USB-serial adapter for CentOS 7

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


I need to connect an older APS UPS unit to a machine running CentOS 7. 
Unfortunately the UPS only has a serial port whereas the computer does not. I 
am aware that there are USB-serial adapters but that the hardware or the 
drivers might fall short of expectations.

Does anyone have positive experience with such an adapter? Or, conversely, 
would recommend avoid a particular adapter?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Harriscomputer

Leroy Tennison
Network Information/Cyber Security Specialist
E: le...@datavoiceint.com


[cid:Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG]


2220 Bush Dr
McKinney, Texas
75070
www.datavoiceint.com


This message has been sent on behalf of a company that is part of the Harris 
Operating Group of Constellation Software Inc.

If you prefer not to be contacted by Harris Operating Group please notify 
us.



This message is intended exclusively for the individual or entity to which it 
is addressed. This communication may contain information that is proprietary, 
privileged or confidential or otherwise legally exempt from disclosure. If you 
are not the named addressee, you are not authorized to read, print, retain, 
copy or disseminate this message or any part of it. If you have received this 
message in error, please notify the sender immediately by e-mail and delete all 
copies of the message.




___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



--

Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread Tate Belden
I've several USB <-> RS-232 dongles around. As well as a few embedded
devices. They all "Just Work (tm)" on Redhat, CentOS, Fedora, Debian,
Raspian and Kali.

Knock on wood - never had a problem using any of them. As the drivers are
part of the kernel, I'd expect any distro using a recent kernel to do well.

On Wed, Jul 8, 2020 at 9:24 AM Leroy Tennison 
wrote:

> I've used one on a Linux laptop, it "just worked" but the OS wasn't CentOS
> 7.
>
> 
> From: CentOS  on behalf of H <
> age...@meddatainc.com>
> Sent: Wednesday, July 8, 2020 10:13 AM
> To: Centos Mailing List 
> Subject: [EXTERNAL] [CentOS] USB-serial adapter for CentOS 7
>
> CAUTION: This email originated from outside of the organization. Do not
> click links or open attachments unless you recognize the sender and know
> the content is safe.
>
>
> I need to connect an older APS UPS unit to a machine running CentOS 7.
> Unfortunately the UPS only has a serial port whereas the computer does not.
> I am aware that there are USB-serial adapters but that the hardware or the
> drivers might fall short of expectations.
>
> Does anyone have positive experience with such an adapter? Or, conversely,
> would recommend avoid a particular adapter?
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
> Harriscomputer
>
> Leroy Tennison
> Network Information/Cyber Security Specialist
> E: le...@datavoiceint.com
>
>
>
> [cid:Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG]
>
>
> 2220 Bush Dr
> McKinney, Texas
> 75070
> www.datavoiceint.com
>
>
> This message has been sent on behalf of a company that is part of the
> Harris Operating Group of Constellation Software Inc.
>
> If you prefer not to be contacted by Harris Operating Group please notify
> us.
>
>
>
> This message is intended exclusively for the individual or entity to which
> it is addressed. This communication may contain information that is
> proprietary, privileged or confidential or otherwise legally exempt from
> disclosure. If you are not the named addressee, you are not authorized to
> read, print, retain, copy or disseminate this message or any part of it. If
> you have received this message in error, please notify the sender
> immediately by e-mail and delete all copies of the message.
>
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Tate Belden
"The Dungeon "

We are dreamers, shapers, singers and makers. We study the mysteries of
laser and circuit, crystal and scanner, holographic demons and invocations
of equations. These are the tools we employ, and we know many things.
--Elric
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] EXTERNAL: USB-serial adapter for CentOS 7

2020-07-08 Thread Wells, Roger K. via CentOS
On 7/8/20 11:14 AM, H wrote:
> I need to connect an older APS UPS unit to a machine running CentOS 7. 
> Unfortunately the UPS only has a serial port whereas the computer does not. I 
> am aware that there are USB-serial adapters but that the hardware or the 
> drivers might fall short of expectations.
>
> Does anyone have positive experience with such an adapter? Or, conversely, 
> would recommend avoid a particular adapter?

I've been using Belkin & Prolific USB serial adapters on Centos & Fedora
for years.
They just work.

> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos


-- 
Roger Wells, P.E.
leidos
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.we...@leidos.com

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread Leroy Tennison
I've used one on a Linux laptop, it "just worked" but the OS wasn't CentOS 7.


From: CentOS  on behalf of H 
Sent: Wednesday, July 8, 2020 10:13 AM
To: Centos Mailing List 
Subject: [EXTERNAL] [CentOS] USB-serial adapter for CentOS 7

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.


I need to connect an older APS UPS unit to a machine running CentOS 7. 
Unfortunately the UPS only has a serial port whereas the computer does not. I 
am aware that there are USB-serial adapters but that the hardware or the 
drivers might fall short of expectations.

Does anyone have positive experience with such an adapter? Or, conversely, 
would recommend avoid a particular adapter?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Harriscomputer

Leroy Tennison
Network Information/Cyber Security Specialist
E: le...@datavoiceint.com


[cid:Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG]


2220 Bush Dr
McKinney, Texas
75070
www.datavoiceint.com


This message has been sent on behalf of a company that is part of the Harris 
Operating Group of Constellation Software Inc.

If you prefer not to be contacted by Harris Operating Group please notify 
us.



This message is intended exclusively for the individual or entity to which it 
is addressed. This communication may contain information that is proprietary, 
privileged or confidential or otherwise legally exempt from disclosure. If you 
are not the named addressee, you are not authorized to read, print, retain, 
copy or disseminate this message or any part of it. If you have received this 
message in error, please notify the sender immediately by e-mail and delete all 
copies of the message.




___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread John Pierce
If it is an older APC UPS, that uses basic serial signaling, it's not
actually a serial port, it's a criss-cross special serial cable that
manages the control lines with DSR DTR CTS and so forth. these are very
fussy cables that have to be exactly the right one or the UPS may just
abruptly shut off.

As far as USB serial cables go, the FTDI ones have always worked well for
me,at least for applications that actually use the serial port for serial
data

On Wed, Jul 8, 2020, 8:14 AM H  wrote:

> I need to connect an older APS UPS unit to a machine running CentOS 7.
> Unfortunately the UPS only has a serial port whereas the computer does not.
> I am aware that there are USB-serial adapters but that the hardware or the
> drivers might fall short of expectations.
>
> Does anyone have positive experience with such an adapter? Or, conversely,
> would recommend avoid a particular adapter?
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread H
I need to connect an older APS UPS unit to a machine running CentOS 7. 
Unfortunately the UPS only has a serial port whereas the computer does not. I 
am aware that there are USB-serial adapters but that the hardware or the 
drivers might fall short of expectations.

Does anyone have positive experience with such an adapter? Or, conversely, 
would recommend avoid a particular adapter?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] Bacula offsite replication

2020-07-08 Thread Alessandro Baggi


Il 02/07/20 16:39, Valeri Galtsev ha scritto:



On 2020-07-02 08:28, Alessandro Baggi wrote:


Il 02/07/20 15:02, Valeri Galtsev ha scritto:



On 7/2/20 3:22 AM, Alessandro Baggi wrote:

Il 01/07/20 17:13, Leroy Tennison ha scritto:
I realize this shouldn't happen, the file is a tgz and isn't being 
modified while being transmitted.  This has happened maybe three 
times this year and unfortunately I've just had to deal with it 
rather than invest the time to do the research.



Harriscomputer

Leroy Tennison
Network Information/Cyber Security Sp


Hi Leroy,

I think that in my case I could not use a tgz archive. I'm speaking 
about full backups that reach 600/700GiB, compressing them and then 
rsync them could take so much time that it will be useless.




unless you use tape (of that high capacity), it is advantageous to 
restrict volume size to, say, 50GB. Then when you restore, search 
for specific files will be faster. And it will help your backup 
volumes transfers as well.


Valeri


Hi Valeri,

thank you for your suggestion.

Is bacula the right backup system when I need to replicate data 
offsite? There are other backup solution that simplify this process?




Bacula is great enterprise level open source backup system. I switched 
to its fork bareos at some point; I use bacula/bareos for at least a 
decade. And with this your extra requirement I still would stay with 
bareos (or bacula).


If I were to have two sets of backup: on site and off site, I would 
just set up separate bacula/bareos director and storage daemon(s) off 
site. Add to FDs (file daemons) extra instances of director - offsite 
one with different passwords for the sake of security. Then there will 
be a set of everything off site, not only a set of volumes. Of course, 
if you only have a set of volumes, but everything else has evaporated, 
you still will be able to restore everything, including database 
records by scanning set of volumes. Which will take forever. I would 
alternate dates of backups in offsite/onsite schedules, or define 
times of backups so that they do not overlap.


Another good news of this vs just rsyncing volumes is: bacula/bareos 
verifies checksum of every backed up file after receiving it. This 
will ensure consistency of files in remote volumes, for rsync you will 
have to at least verify checksum of each volume transferred to 
destination (unless I miss my wits and rsync does verify checksums of 
files transferred, I just re-read rsync man and don't see verification 
- hopefully rsync expert will chime in and correct me if I'm wrong 
about rsync).


Anyway, that is what I would do.

Valeri


Hi Valeri,

I'm in late but thank you for your suggestion.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos