Re: [CentOS] Microsoft deprecation of basic authentication centos 7

2022-10-17 Thread Jerry Geis
> Consider looking at a generic proxy like
https://github.com/simonrob/email-oauth2-proxy

this is very interesting...
I did the following:
yum install python3
downloaded teh above
yum install python3-pip
pip-3 install --upgrade pip
ran the requirements - it install crypto and stuff.
change the config file to be for my office 365 account

run python3 emailproxy.py -no-gui   (also tried --debug --debug)

And nothing really happens - prints a couple lines - about starting IMAP
POP SMTP but nothing about
trying to connect - no errors - no nothing.

My config has:

[IMAP-1993]
local_address = localhost
server_address = outlook.office365.com
server_port = 993

[POP-1995]
server_address = outlook.office365.com
server_port = 995

[SMTP-1587]
server_address = smtp.office365.com
server_port = 587
starttls = True


[xyz@abc]
permission_url =
https://login.microsoftonline.com/common/oauth2/v2.0/authorize
token_url = https://login.microsoftonline.com/common/oauth2/v2.0/token
oauth2_scope = https://outlook.office365.com/IMAP.AccessAsUser.All
https://outlook.office365.com/POP.AccessAsUser.All
https://outlook.office365.com/SMTP.Send offline_access
redirect_uri = http://localhost
client_id = xyz@abc
client_secret = old_secret

The @abc is not office365.com its the email address hosted by office365.

What did I miss?

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


[CentOS] Microsoft deprecation of basic authentication centos 7

2022-10-14 Thread Jerry Geis
Hi All

I have a server out there running centos 7.
I installed fetchmail to monitor an email inbox - has worked for years.
Microsoft deprecated basic authentication so fetchmail is not working any
more.

Anyone else run into this ?
fetchmail 6 does not support oauth.

Any thoughts on how to update - get this working again ?
its nearly impossible  to change the OS - as the box is not local to me.

Thanks!

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


[CentOS] Make copy of CentOS 7

2022-08-20 Thread Jerry Geis
I have a software raid 1 (2 disks) of CentOS 7

I want to make a working "copy" of this setup to another disk of the same
size to another SSD and have it be bootable etc... Then edit something to
turn off the RAID part as its only 1 disk. Or Run with the 1 disk and it
will just think the second disk is failed.

so can I just do "dd if=/dev/sda of=/dev/sdd" and that is all ? Put that
disk in another machine and it runs?

where sda is the first raid disk, sdb is second raid disk, sdc is something
else not related and sdd would be where the disk loads as USB.

Thanks,

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


Re: [CentOS] nodejs 18 on centos 7

2022-06-17 Thread Jerry Geis
On Fri, Jun 17, 2022 at 1:48 PM Jerry Geis  wrote:

> I am currently running V14.19.3 of nodejs on Centos 7
>
> I found this article:
> https://computingforgeeks.com/install-node-js-on-centos-rhel-rocky-linux/
> to update to 18
>
> I import the repo just fine.
> when I do :
> yum -y install nodejs
>
> I get :
> Package 2:nodejs-14.19.3-1nodesource.x86_64 already installed and latest
> version
> Nothing to do
>
> how do I install 18?
>
>
> more  /etc/yum.repos.d/nodesource-el7.repo
> [nodesource]
> name=Node.js Packages for Enterprise Linux 7 - $basearch
> baseurl=https://rpm.nodesource.com/pub_18.x/el/7/$basearch
> failovermethod=priority
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
>
> [nodesource-source]
> name=Node.js for Enterprise Linux 7 - $basearch - Source
> baseurl=https://rpm.nodesource.com/pub_18.x/el/7/SRPMS
> failovermethod=priority
> enabled=0
> gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
> gpgcheck=1
>
> jerry
>


So I downloaded teh rpm and tried
rpm -i ../Downloads/nodejs-18.4.0-1nodesource.x86_64.rpm
error: Failed dependencies:
libc.so.6(GLIBC_2.25)(64bit) is needed by nodejs-2:18.4.0-1nodesource.x86_64
libc.so.6(GLIBC_2.28)(64bit) is needed by nodejs-2:18.4.0-1nodesource.x86_64
libm.so.6(GLIBC_2.27)(64bit) is needed by nodejs-2:18.4.0-1nodesource.x86_64
libstdc++.so.6(CXXABI_1.3.9)(64bit) is needed by
nodejs-2:18.4.0-1nodesource.x86_64
libstdc++.so.6(GLIBCXX_3.4.20)(64bit) is needed by
nodejs-2:18.4.0-1nodesource.x86_64
libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed by
nodejs-2:18.4.0-1nodesource.x86_64

Where are these libraries for a CentOS 7 server ?

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


[CentOS] nodejs 18 on centos 7

2022-06-17 Thread Jerry Geis
I am currently running V14.19.3 of nodejs on Centos 7

I found this article:
https://computingforgeeks.com/install-node-js-on-centos-rhel-rocky-linux/
to update to 18

I import the repo just fine.
when I do :
yum -y install nodejs

I get :
Package 2:nodejs-14.19.3-1nodesource.x86_64 already installed and latest
version
Nothing to do

how do I install 18?


more  /etc/yum.repos.d/nodesource-el7.repo
[nodesource]
name=Node.js Packages for Enterprise Linux 7 - $basearch
baseurl=https://rpm.nodesource.com/pub_18.x/el/7/$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL

[nodesource-source]
name=Node.js for Enterprise Linux 7 - $basearch - Source
baseurl=https://rpm.nodesource.com/pub_18.x/el/7/SRPMS
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
gpgcheck=1

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


[CentOS] Centos 7 guest on virt-manager

2022-06-03 Thread Jerry Geis
Hello -

I am running Centos 7 virt-manager which I have used for years.
Trying to install Ubuntu 22.04 as a guest. I have set up the CDRom - even
disconnected and reset it - but it never boots the CDROM ??? Why ?

It just defaults back to the OS that is already loaded.

I'm confused. Why don't it boot the CDROM.  I event set the boot options to
BOOT CDROM and unchecked everything else. I have the VM machine set for
secure boot.

Thanks

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


[CentOS] centos 7 sendmail on AWS

2022-06-01 Thread Jerry Geis
I am trying to get email out of AWS image to google on port 587.


When I use telnet it connects - so 587 is a valid path...
telnet smtp-relay.gmail.com 587
Trying 142.250.112.28...
Connected to smtp-relay.gmail.com.
Escape character is '^]'.
220 smtp-relay.gmail.com ESMTP
l15-20020a17090a150f00b001dfac278995sm682651pja.12 - gsmtp
^]quit

When I run interactive session:
sendmail -Am -v -t
To: X@Y
From: X@Y
Subject: test

X@Y... Connecting to aspmx.l.google.com. port 587 via esmtp...

sendmail.mc has
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
define(`ESMTP_MAILER_ARGS', `TCP $h 587')dnl
define(`RELAY_MAILER', `esmtp')dnl
define(`null_client', `smtp-relay.gmail.com.')

I dont understand why 587 is not connecting. It connects on the manual
telnet.
It does not connect otherwise.

What might I be missing?

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


[CentOS] CentOS 7 on Dell after update and reboot running at HZ not Mhz

2021-12-22 Thread Jerry Geis
I have a Dell R320

vendor_id : GenuineIntel
cpu family : 6
model : 45
model name : Intel(R) Xeon(R) CPU E5-2403 0 @ 1.80GHz
stepping : 7
microcode : 0x71a
cpu MHz : 176.550



Running this:

cpupower frequency-set -g performance


cpu MHz : 180.834


ONly changed to this.



What on earth is making this machine run sooo slow ???

Its OFF by a factor of 10 - it should be 1800 mhz



Thanks,



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


[CentOS] virt-manager

2021-12-01 Thread Jerry Geis
Hi all,

I have centos 7 host, and a centos 5 guest. (both x86_64).
If I reboot the host and run C5 guest the first time it boots and all is
good.
If I run other guests - or some time later - I boot C5 it does not boot.
I get all the way to the "kernel alive" and direct mapping tables on screen
- but NEVER does show me a login - never gets bast that initial kernel
screen.

Anyone know what I might need to change in configs to get it to continue to
boot ?
Thanks,

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


[CentOS] Firewall question

2021-11-09 Thread Jerry Geis
Hi - When updating my CentOS 7 - firewalld why does the virt-manager loose
connections to all GUI's ?  I just close the virt-manager main window -
select the virt-manager from gnome side panel and re-run - and then they
all come back after you click on them - but why is the connection to the
GUI lost ?  Can I prevent that somehow ?

Thanks,

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


[CentOS] ifconfig not showing virtual IP when using NetworkManager

2021-10-26 Thread Jerry Geis
When using NetworkManager instead of the ifcfg-eth1/eth0 files - I make a
nmcli connection and modify "Wired connection 1" +ipv4.addr IP/22
kind of command - it works - which is great. It "adds" the virtual IP.

However - when doing ifconfig that "virtual" IP does not show up.  When
using NetworkManager - to add the virtual IP - how do I get that to show
using ifconfig also ?
it used to show as eth1:0

Thanks,

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


Re: [CentOS] dcfldd

2021-09-03 Thread Jerry Geis
> Were the disks mounted when you wrote to them?  Did you eject and
>re-insert them after writing to them

I do not have automount enabled. so no they were not mounted.

After writing to them - I did "fdisk -l /dev/sdd" and the partitioning
was still the same as before doing the write.

Thanks,

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


[CentOS] dcfldd

2021-09-03 Thread Jerry Geis
Hi all I did a "yum install dcfldd" on Centos7.

I plugged in my USB HUb, plugged in 3 disks I want to duplicate
Verified each disk plugged in
run the command
dcfldd if=myimg.img  of=/dev/sdd of=/dev/sde of=/dev/sdf

No errors no nothing, Said "writing" the whole time - when done it said
8248Mb Written

But the image was not actually written to the three disks. It still just
has a single partition - the default partition.

Am I doing something wrong ?
Thanks,

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


Re: [CentOS] kernel command line

2021-08-05 Thread Jerry Geis
On Thu, Aug 5, 2021 at 11:40 AM Jerry Geis  wrote:

> I am trying to install on a NUC7C with 32G of eMMC showing up as /dev/sdb
> Is there a way I can tell the kernel boot line or command line to MASK
> /dev/sdb ?
> Make it look like it does not exist ?  It has windows pre-installed - I
> dont want to mistake it.
>
> Thanks
>
> Jerry
>


I think I stumbled into :
echo 1 > /sys/block/sdb/device/delete
will get rid of - so I'm trying to run this before first thing in
kickstart.

Anyone know of anything else - let me know.

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


[CentOS] kernel command line

2021-08-05 Thread Jerry Geis
I am trying to install on a NUC7C with 32G of eMMC showing up as /dev/sdb
Is there a way I can tell the kernel boot line or command line to MASK
/dev/sdb ?
Make it look like it does not exist ?  It has windows pre-installed - I
dont want to mistake it.

Thanks

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


[CentOS] virt-manager and windows quest

2021-08-05 Thread Jerry Geis
I am trying to get a windows guest on CentOS 7.9 to have more than 800x600
display.

I started the Windows client, I downloaded Virtio 0.1.196.iso, went to the
Device Manager, Display, right clicked - updated the driver - installed the
qxldod driver,
Rebooted.

The Device Manager shows RedHat QXL Controller but I still only get 800x600
ghosted on Display Settings.

Properties - shows "Windows has stopped this device as it reported a
problem (Code 43)".

What do I do with that ?  This is the same error I had with I first tried
VirtIO 0.1.185.iso

Thanks,

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


[CentOS] vinagre from Ubuntu to CentOS 7.9

2021-08-04 Thread Jerry Geis
I am trying to use vinagre (vncviewer type program) from Ubuntu 20.04 going
to CentOS 7.9.  I get prompted for the password. I enter it - then it says
Authentication failed.

I can connect with this program to other windows and Ubuntu machines no
problem.  Just having issue with CentOS.  I can use vncviewer from CentOS
to centOS.

What's up ?
Thanks,

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


[CentOS] Old CentOS 6.3 grub.conf

2021-07-28 Thread Jerry Geis
I am trying to "add" an entry to grub.conf on CentOS 6.3 - and change the
default=0 to default=1

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#  all kernel and initrd paths are relative to /, eg.
#  root (hd0,0)
#  kernel /boot/vmlinuz-version ro root=/dev/sda1
#  initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-279.el6.x86_64)
  root (hd0,0)
  kernel /boot/vmlinuz-2.6.32-279.el6.x86_64 ro
root=UUID=09337d96-de39-43f1-99c2-8a6a1fadd465 rd_NO_LUKS rd_NO_LVM
LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto
 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /boot/initramfs-2.6.32-279.el6.x86_64.img
title Boot Other
root (hd0,0)
kernel /boot/vmlinuz
initrd /boot/initrd


I then run "grub-install /dev/sda" and reboot.  If I cursor down - my new
title is present - but the default is still the first title.

What did I miss ?
Thanks,

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


Re: [CentOS] how do I get an OLD Version like 6.3

2021-07-26 Thread Jerry Geis
Sorry - I got it - the readme on the mirror wasnt showing...
http://vault.centos.org/


On Mon, Jul 26, 2021 at 3:34 PM Jerry Geis  wrote:

> I need to example a really old version like 6.3.
> Where can I get a download for that ?
>
> Thanks
>
> Jerry
>
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] how do I get an OLD Version like 6.3

2021-07-26 Thread Jerry Geis
I need to example a really old version like 6.3.
Where can I get a download for that ?

Thanks

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


[CentOS] CentOS 7 getssl script

2021-05-28 Thread Jerry Geis
I am using the getssl script to add a certificate to my server.
The script is automatically adding a SANS www.myserver.com when I do not
have a www.myserver.com - just simply the myserver.com

How can I tell getssl to "not add that SANS" entry ?
Thanks,

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


Re: [CentOS] getssl was working stopped

2021-05-14 Thread Jerry Geis
CA="https://acme-v02.api.letsencrypt.org;

This is what my file has also

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


Re: [CentOS] getssl was working stopped

2021-05-14 Thread Jerry Geis
On Fri, May 14, 2021 at 11:52 AM Jerry Geis  wrote:

> Hi All  - I am using getssl on CentOS 7.
> It have been working fine since  Feb 17th and just stopped.
>
> My script:
> getssl -u -a -q
> getssl: for some reason could not reach
> http://MY_NAME/.well-known/acme-challenge/lL_ublhWh3fnmbXhhh3BR3bdnjHoMFAgTimTvZUTLQM
> - please check it manually
>
> So I did check it manually from another machine - it works fine:
> curl
> http://MY_NAME/.well-known/acme-challenge/lL_ublhWh3fnmbXhhh3BR3bdnjHoMFAgTimTvZUTLQM
>
>
> lL_ublhWh3fnmbXhhh3BR3bdnjHoMFAgTimTvZUTLQM.tIS27xF0xtz7YHES31MATofXyCeyfqttq7B_YBYZetI
>
> So it works fine.
>
> I then thought perhaps a firewall issue. So I "systemctl stop firewalld",
> redid the getssl -u -a -q command above - and I get the same error.
>
> How do I see/tell what its not liking ?
>
> Thanks,
>
> Jerry
>

I took off the -q as requested - doesnt say much more.


Redirecting to /bin/systemctl stop httpd.service
Check all certificates
MY_NAME: no certificate obtained from host
Registering account
Verify each domain
Verifying MY_NAME
copying challenge token to
/var/www/html/.well-known/acme-challenge/lL_ublhWh3fnmbXhhh3BR3bdnjHoMFAgTimTvZUTLQM
getssl: for some reason could not reach
http://MY_NAME/.well-known/acme-challenge/lL_ublhWh3fnmbXhhh3BR3bdnjHoMFAgTimTvZUTLQM
- please check it manually
Redirecting to /bin/systemctl start httpd.service



I thought the -u does the automatic upgrade -

getssl -v
getssl V2.36

Thanks,

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


[CentOS] getssl was working stopped

2021-05-14 Thread Jerry Geis
Hi All  - I am using getssl on CentOS 7.
It have been working fine since  Feb 17th and just stopped.

My script:
getssl -u -a -q
getssl: for some reason could not reach
http://MY_NAME/.well-known/acme-challenge/lL_ublhWh3fnmbXhhh3BR3bdnjHoMFAgTimTvZUTLQM
- please check it manually

So I did check it manually from another machine - it works fine:
curl
http://MY_NAME/.well-known/acme-challenge/lL_ublhWh3fnmbXhhh3BR3bdnjHoMFAgTimTvZUTLQM

lL_ublhWh3fnmbXhhh3BR3bdnjHoMFAgTimTvZUTLQM.tIS27xF0xtz7YHES31MATofXyCeyfqttq7B_YBYZetI

So it works fine.

I then thought perhaps a firewall issue. So I "systemctl stop firewalld",
redid the getssl -u -a -q command above - and I get the same error.

How do I see/tell what its not liking ?

Thanks,

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


Re: [CentOS] Migrating to nvme and expand

2021-03-31 Thread Jerry Geis
> Are you using the MD devices as Physical Volumes ?If ues, then create a
PV from that NVME and then pvmove.

>Best Regards,Strahil Nikolov

more /proc/mdstat
Personalities : [raid1]
md126 : active raid1 sdb3[2] sda3[0]
  1866465280 blocks super 1.2 [2/2] [UU]
  bitmap: 4/14 pages [16KB], 65536KB chunk

md127 : active raid1 sdb1[0] sda1[2]
  52461440 blocks super 1.0 [2/2] [UU]
  bitmap: 1/1 pages [4KB], 65536KB chunk

This is the mdstat.  the md126 just has /dev/sdb3 and /dev/sda3 - and
md127 has the /dev/sdb1 and /dev/sda1


Thanks

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


[CentOS] Migrating to nvme and expand

2021-03-31 Thread Jerry Geis
I have older SATA disks (2 of them size 2T) in a software raid config
running CentOS 7.

/dev/md127 is / and xfs
/dev/sda2 is swap
/dev/md126 is /home and xfs

I desire to get a new (single) NVME 4T disk.

What is the correct way to copy the software raid to a single "new" NVME
disk ?
then expand the /home file system to All the remaining space?

Thanks,

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


Re: [CentOS] nmcli

2021-03-31 Thread Jerry Geis
Chris,

On Tue, Mar 30, 2021 at 4:41 PM Jerry Geis  wrote:

> under CentOS 7 - I use "alias" like eth1:0 for an alias network. Remove
> the file restart network - and back to normal. Now I am trying to us
> NetworkManager.
>
> I can 'add' the network fine. however - when I remove the network
> nmcli connection delete "Wired connection 2" ipv4.addr  192.168.1.58/22
>
> it remove BOTH address and removes the "Wired connection 2" config file -
> and it reverts to DHCP not the other static address I had associated with
> "Wired connection 2".
>
> how do I just remove the single ADDRESS I added as an alias ? not the
> whole thing ?
>
> Thanks
>
> Jerry
>

Thanks that was it: (the minus)

   nmcli con mod em1 -ipv4.address 10.1.1.2/24

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


[CentOS] nmcli

2021-03-30 Thread Jerry Geis
under CentOS 7 - I use "alias" like eth1:0 for an alias network. Remove the
file restart network - and back to normal. Now I am trying to us
NetworkManager.

I can 'add' the network fine. however - when I remove the network
nmcli connection delete "Wired connection 2" ipv4.addr  192.168.1.58/22

it remove BOTH address and removes the "Wired connection 2" config file -
and it reverts to DHCP not the other static address I had associated with
"Wired connection 2".

how do I just remove the single ADDRESS I added as an alias ? not the whole
thing ?

Thanks

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


[CentOS] Tar of files

2021-03-03 Thread Jerry Geis
When I "tar" up an archive the files have an owner bob,
when I extract that to another machine bob is there also but user number is
different.
So when I extract bob is no longer the owner of the files but someone else.

Is there a good way to account for this ?
User ID on one box being different to the next box ?

I was expecting to untar and bob still be the owner .

Thanks,

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


[CentOS] e2fsck but says mounted and cannot

2021-02-24 Thread Jerry Geis
I have a system that needs to run e2fsck (C7). I boot into rescue mode,
skip to shell (option 3).
enter they PW and I type:

e2fsck -y /dev/sda1
and it says is mounted. This is "/"

What do I do so I can run e2fsck ?

Thanks,

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


Re: [CentOS] Date question

2021-02-18 Thread Jerry Geis
On Wed, Feb 17, 2021 at 1:57 PM Jerry Geis  wrote:

> SO from the man page on date I can do
>
> current=`TZ=":America/Indianapolis" date`
> echo $current
> current=`TZ=":America/Los_Angeles" date `
> echo $current
>
> And I get correct data. LA is 3 hours earlier.  But doing this:
>
> current=`TZ=":America/Indianapolis" date +%s`
> echo $current
> current=`TZ=":America/Los_Angeles" date +%s`
> echo $current
>
> I get the same data - its not 3 hours different.
>
> What am I not doing correct ?
>
> Thanks,
>
> Jerry
>


Hi All - I did figure this out. I was close the first time - but just not
right.

FROM_DATE_TIME=`TZ="America/Los_Angeles" date --date '120 sec ago'
+'%Y-%m-%d %H:%M:%S'`
TO_DATE_TIME=`TZ="$America/Los_Angeles" date --date '1 sec ago' +'%Y-%m-%d
%H:%M:%S'`

and my server is set for Indianapolis time. The above worked.
Thanks!

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


[CentOS] Date question

2021-02-17 Thread Jerry Geis
SO from the man page on date I can do

current=`TZ=":America/Indianapolis" date`
echo $current
current=`TZ=":America/Los_Angeles" date `
echo $current

And I get correct data. LA is 3 hours earlier.  But doing this:

current=`TZ=":America/Indianapolis" date +%s`
echo $current
current=`TZ=":America/Los_Angeles" date +%s`
echo $current

I get the same data - its not 3 hours different.

What am I not doing correct ?

Thanks,

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


[CentOS] Using C7 as host to C5 guest

2021-02-17 Thread Jerry Geis
Hi all,

I am using C7 as a host to a C5 image. This used to boot. I tried today to
boot up the C5 image and it get stuck now on the boot screen.  Any thoughts
on why ?

It stuck on the screen that shows
root (hd0,0)
Filesystem type ext2fs partition type 0x83
kernel /boot/vmlinuz-2.16.18-402.el5

Then nothing... I know C5 is way out of date - but have a couple places
still using it.

Thoughts on getting this to boot up ?

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


Re: [CentOS] letsencrypt error

2021-02-05 Thread Jerry Geis
Hi Tony,

Thanks for the suggestion https://github.com/srvrco/getssl was not aware of
that.
I got so close... It says it loaded the certificate the files are there - I
edited /etc/httpd/conf.d/ssl.conf and set the two paths to the right file.
restrated httpd - all seemed good - but when I goto my site it did not work.
So I re-ran with -f option and I get:

Registering account
Verify each domain
Verifying rsd.layeredsolutionsinc.com
rsd.layeredsolutionsinc.com is already validated
Verification completed, obtaining certificate.
Requesting Finalize Link
Requesting Order Link
Requesting certificate
Full certificate saved in /root/.getssl/XX/fullchain.crt
Certificate saved in /root/.getssl/XX/rsd.layeredsolutionsinc.com.crt
/root/.getssl/XX/XX.crt didn't match server
getssl: XX - rsa certificate obtained but certificate on server is
different from the new certificate

So close...
Any thoughts on that are appreciated.   Idid searching and those issues
dont seem to relate to my case.

Thanks

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


Re: [CentOS] letsencrypt error

2021-02-05 Thread Jerry Geis
On Fri, Feb 5, 2021 at 9:44 AM Lamar Owen  wrote:

> On 2/5/21 7:49 AM, Jerry Geis wrote:
> > *>>certbot-auto is no longer available.
>
> See https://certbot.eff.org/docs/install.html#id9 "We used to have a
> shell script named certbot-auto to help people install Certbot on UNIX
> operating systems, however, this script is no longer supported. If you
> want to uninstall certbot-auto, you can follow our instructions here."
>
> > ... Skipping bootstrap because certbot-auto is deprecated on this
> > system. Your system is not supported by certbot-auto anymore. Certbot
> > cannot be installed. Please visit https://certbot.eff.org/ to check
> > for other alternatives. My Centos 7 is basically out of the box.
> > Previously with certbot-auto - it worked every time. Any one else run
> > into this and know what the issue is ?
> The issue is fully documented and is simply that the certbot-auto script
> is being discontinued by the certbot team at EFF.  Questions about why
> it's being discontinued would need to be taken up with the EFF team on
> their github issue tracker at https://github.com/certbot/certbot/issues
>
> The EFF-recommended way to use certbot has changed.  The _new_ way is
> with a snap (as in 'install snapd and download the snap for certbot').
> If you already have it might work, but that's going away; you need to
> use the solution recommended at certbot.eff.org which first instructs
> the user to uninstall any OS package containing certbot.  At
> https://certbot.eff.org/docs/install.html there is a warning block:
> "While the Certbot team tries to keep the Certbot packages offered by
> various operating systems working in the most basic sense, due to
> distribution policies and/or the limited resources of distribution
> maintainers, Certbot OS packages often have problems that other
> distribution mechanisms do not. The packages are often old resulting in
> a lack of bug fixes and features and a worse TLS configuration than is
> generated by newer versions of Certbot. They also may not configure
> certificate renewal for you or have all of Certbot’s plugins available.
> For reasons like these, we recommend most users follow the instructions
> at https://certbot.eff.org/instructions and OS packages are only
> documented here as an alternative."
>
> Further, this isn't a CentOS problem; CentOS 7 doesn't ship
> certbot-auto.  EPEL7 ships a certbot package, but it doesn't ship
> certbot-auto.  The certbot in the EPEL7 package is currently working on
> one of my systems, but it is at this point in time one release out of
> date. (the package currently in EPEL7 is 1.11.0; current is 1.12.0;
> 1.12.0 drops support for python2, so the move from 1.11.0 to 1.12.0
> could be fun).
>
> So, the EFF's recommended instructions for CentOS 7 running nginx are at
> https://certbot.eff.org/lets-encrypt/centosrhel7-nginx  (I chose the
> nginx page because I am running some servers with CentOS 7 and nginx;
> there are instructions for CentOS/RHEL 8 as well as for apache).
>
>
>
>
Hi Lamar - I did find that page... I did follow the instructions.

certbot is removed.
rpm -qa | grep cert
ca-certificates-2020.2.41-70.0.el7_8.noarch

whereis certbot
certbot: /usr/bin/certbot /var/lib/snapd/snap/bin/certbot
ls -l /usr/bin/certbot
lrwxrwxrwx 1 root root 17 Feb  4 13:38 /usr/bin/certbot -> /snap/bin/certbot

The snap link was made. the snap daemon is running:
 ps ax | grep snapd
18721 pts/0S+ 0:00 /bin/grep -d skip snapd
24817 ?Ssl0:12 /usr/libexec/snapd/snapd

I thought someone would have ran into the same issue as I was migrating to
this new way of doing things getting letsencypt working on apache.
Thanks,

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


Re: [CentOS] letsencrypt error

2021-02-05 Thread Jerry Geis
*>>certbot-auto is no longer available.
*>It still getting updates
>https://github.com/certbot/certbot/blob/master/certbot-auto
>>*   Forbidden\n\nForbidden\nTry opening up your page in the browser to see what's going on. You
might not setup your nginx/apache properly
>http://mydomain/.well-known/acme-challenge/i_fU1bFrQZzgfVI2FtWo8Ov0ITjplCcPjXdK61Fwa-w

I went there, downloaded it, and tried to run - and I get this.

Skipping bootstrap because certbot-auto is deprecated on this system.
Your system is not supported by certbot-auto anymore.
Certbot cannot be installed.
Please visit https://certbot.eff.org/ to check for other alternatives.

My Centos 7 is basically out of the box.  Previously with certbot-auto - it
worked every time.  Any one else run into this and know what the issue is ?

Thanks

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


[CentOS] letsencrypt error

2021-02-03 Thread Jerry Geis
Hi all - So I just ran into the changes lately from letsencrpt.
certbot-auto is no longer available.

I added this to httpd.conf

ServerName mydomain


service httpd restart

When I do "certbot -d mydomain" I get this :
   Domain: mydomain
   Type:   unauthorized
   Detail: Invalid response from

http://mydomain/.well-known/acme-challenge/i_fU1bFrQZzgfVI2FtWo8Ov0ITjplCcPjXdK61Fwa-w
   [97.107.162.8]: "\n\n403
   Forbidden\n\nForbidden\nhttps://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] grub2-mkconfig with custom kernel

2021-02-02 Thread Jerry Geis
Sorry - it was an EFI system - so different path is needed.
/boot/efi/EFI/centos/grub.cfg

Jerry

On Tue, Feb 2, 2021 at 10:05 AM Jerry Geis  wrote:

> Hi - I am running CentOS 7
> I tried to add a custom initrd and custom vmlinux
>
> when I run grub2-mkconfig -o /boot/grub2/grub.cfg
> the custom files are not listed .
> when I reboot my entry for /etc/grub.d/40_custom is not listed either.
>
> How do I get grub2-mkconfig to recognize my entries ?
> Is grub2-mkconfig only looking at installed kernels - How do I get it to
> see mine?
>
> Thanks
>
> Jerry
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] grub2-mkconfig with custom kernel

2021-02-02 Thread Jerry Geis
Hi - I am running CentOS 7
I tried to add a custom initrd and custom vmlinux

when I run grub2-mkconfig -o /boot/grub2/grub.cfg
the custom files are not listed .
when I reboot my entry for /etc/grub.d/40_custom is not listed either.

How do I get grub2-mkconfig to recognize my entries ?
Is grub2-mkconfig only looking at installed kernels - How do I get it to
see mine?

Thanks

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


Re: [CentOS] simple http server grab data posted and send to another server - slightly off topic

2021-01-21 Thread Jerry Geis
I did finally find something like this:
https://stackoverflow.com/questions/2506932/how-do-i-redirect-a-request-to-a-different-url-in-python

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


[CentOS] simple http server grab data posted and send to another server - slightly off topic

2021-01-21 Thread Jerry Geis
Hi All,

anyone know how to make a "simple" http server (python -m SimpleHTTPServer
8000) type of stuff - but simply take the incoming data, (should be real
small) and when received - send that to a different server . This is
different than "redirect" as that is the issue. The device does not
understand the redirect response that is happening now. So I was looking
for a way to "consume" the post - then re-send the post.

It has to be independent of httpd as that is in use.

CentOS 7 is my platform.

Thanks

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


[CentOS] How to do virtual IP on NetworkManager

2021-01-18 Thread Jerry Geis
Hi All,

I use virtual IP from time to time on CentOS 7. just take something like
eth0 and make eth0:1 put in there the IP and subnet and bring up the new IP
and it works.

How do I do that with NetworkManager on the command line (assuming all
static IP information)
I do something like this from nmcli to set the static address:
nmcli connection modify eth0 ipv4.method manual ipv6.method ignore
autoconnect yes ipv4.addr 192.168.1.8/24 gw4 192.168.1.1 ipv4.dns 8.8.8.8

How then do I add a virtual IP?

Thanks

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


[CentOS] Question on nmcli CentOS 8

2020-12-11 Thread Jerry Geis
I am trying to modify the current eth0 with nmcli

I ran this:
nmcli con mod eth0 ipv4.addr 192.168.1.15/22 gw4 192.168.1.1 ipv4.dns
192.168.1.14

and now nmcli shows (two ipv4) addresses.

   inet4 192.168.1.15/22
inet4 192.168.2.212/22

I think the original connection was DHCP... the 2.212 item listed.

So I want to change the original DHCP to a static network - how do I do
that?
I only want the one address not two.

So now I need to "remove" both or all and add the 1 I want as static ? how
do I do that?

Thanks,

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


Re: [CentOS] ntpdate past CentOS 7

2020-12-02 Thread Jerry Geis
Thanks everyone for the comments. So trying to use the new "chronyc/d"

So trying a couple things with chronyc

chronyc sources
210 Number of sources = 5
MS Name/IP address Stratum Poll Reach LastRx Last sample
===
^* time.cloudflare.com   3  10   377   220   -481us[ -503us] +/-
17ms
^- zeit.arpnetworks.com  2   9   377   452  -1083us[-1104us] +/-
 100ms
^- lofn.fancube.com  2  10   377   851  -1833us[-1854us] +/-
64ms
^- ntp3.junkemailfilter.com  2   9   377   227   -937us[ -959us] +/-
76ms
^- b.st1.ntp.br  1   6   37756  -2300us[-2300us] +/-
79ms

NONE of the above are listed in /etc/chrony.conf

Then I tried "chronyc add server pool.ntp.porg" and ran "chronyc sources"
again and my server was not added ?

I am trying to use the command line chronyc - to "add" the server I want -
also wish there was an EASY way to clear the server list. Have not seen
that though.

What I need is a way to add the server i want - list the server to make
sure my server is in the list - and remove servers I dont want (or all).

Thanks,

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


[CentOS] ntpdate past CentOS 7

2020-12-02 Thread Jerry Geis
So ntpdate is no longer present past CentOS 7.

Many times people want "internal" NTP servers - not opening firewalls to
allow external pool.ntp.org kind of stuff.

ntpdate was "nice" in that I could just run once a day as "ntpdate name"
and all good. Is there a similar client for CentOS 8 ? I saw chrony - but
does not seem to be a command line command and I would also have to edit a
file - Both are not desirable.

Just looking for a simple - flexible command like I have been using
"ntpdate name" for CentOS 8.

Thanks,

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


[CentOS] Update from 7 to 8

2020-11-23 Thread Jerry Geis
I stumbled on this today.
https://www.hostwinds.com/guide/upgrading-from-centos-7-to-8/

I understand the best is always a re-install But are these steps the
next best thing to update from 7 to 8 ?

Thanks,

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


Re: [CentOS] Help with VirtualBox on CentOS 7

2020-11-18 Thread Jerry Geis
Hi Frank - Thanks. Gosh crazy of me. The Vmware icon  was missing on the
left hot menu.  So I was mistakenly running Virtual Box (of which I never
had added anything)...

I re-added the vmware player - and my files are there like always.   Long
day. Thanks for the knock in the head.

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


[CentOS] Help with VirtualBox on CentOS 7

2020-11-18 Thread Jerry Geis
Any Virtualbox on CentOS guru's out there?

I only have 1 VM on my linux host. in the update process to virtualbox
6.1.16 my config was lost. When I run Virtualbox my VM does not show. So I
desire to add it back.

My structure is this.
ls -l /home/silentm/vmware/CentOS\ 64-bit\ LSI/
-rw--- 1 silentm silentm 8684 Aug 13 08:31 CentOS 64-bit LSI.nvram
-rw-r--r-- 1 silentm silentm 0 Feb 27 2017 CentOS 64-bit LSI.vmsd
-rwxr-xr-x 1 silentm silentm 2735 Aug 13 08:31 CentOS 64-bit LSI.vmx
-rw-r--r-- 1 silentm silentm 272 Feb 27 2017 CentOS 64-bit LSI.vmxf
-rw-r--r-- 1 silentm silentm 32796639232 Nov 17 08:34 CentOS 7-64bit
LSI.vmdk
-rw-r--r-- 1 silentm silentm 107382571008 Aug 13 09:05 CentOS 7.vhdx
-rw-r--r-- 1 silentm silentm 323155 Aug 5 08:39 vmware-0.log
-rw-r--r-- 1 silentm silentm 323085 Jun 30 14:14 vmware-1.log
-rw-r--r-- 1 silentm silentm 256013 May 31 10:09 vmware-2.log
-rw-r--r-- 1 silentm silentm 322239 Aug 13 08:31 vmware.log

When I click add and goto the directory above - IT ONLY wants to add *.xml
and *.vbox. So that is no good.
When I click New and Enter my name, and use existing disk - it does not
like that either.

How can I get this same VM to be in my menu and run again ?
Thanks,
Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 8 vncserver

2020-11-12 Thread Jerry Geis
I am trying to get vncserver working on CentOS 8. Fully updated.

On the console - logged in as a normal user I run:
export DISPLAY=:0.0
xhost +
/usr/bin/x0vncserver -display :0 -rfbport 5901 -passwordfile
/home/silentm/.vnc/passwd

I get this error:
Invalid MIT-MAGIC-COOKIE-1 key/usr/bin/x0vncserver: unable to open display
":0"

Based on the error I changed the DISPLAY=:0 and tried again - but same
error.

Am I doing something wrong?   I dont really need this to start as a service
was just trying to start by hand.

Thanks

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


[CentOS] USB External video

2020-11-06 Thread Jerry Geis
Hi All  - Has anyone tried using a USB 4K adapter ? Something like
Startech USB32HD4K?

Are these devices on option for linux ? Thanks

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


Re: [CentOS] Odd issue happening CentOS 7

2020-11-02 Thread Jerry Geis
Hi All - Your correct... There was a typo in the address -  Can I plame
that on a super small screen...
Thanks

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


[CentOS] Odd issue happening CentOS 7

2020-11-02 Thread Jerry Geis
So I have two CentOS 7 machines running.

if I am on my server and I do "curl  http://192.168.1.8; I get data.
If I do "host devgeis.LayeredSolutionsInc.com" I get the correct address
192.168.1.8

if I goto another machine with CentOS 7.
I do "curl http://192.168.1.8; I get data.
I do "host devgeis.LayeredSolutionsInc.com" I get the correct address
192.168.1.8

BUT then I do "curl http://devgeis.LayeredSolutionsinc.com; I get "nothing"
BUt then doing the -v with "curl -v http://devgeis.LayeredSolutionsinc.com;
* About to connect() to devgeis.LayeredSolutionsinc.com port 80 (#0)
*   Trying 198.168.1.8...

So why when using the name is it not giving me the index.html page ?

Should not be a firewall issue - as the actual address worked. Also I tried
stopping the firewall - and all the above is the exact same.

What is possibly happening here ?

Thanks

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


Re: [CentOS] dnsmasq centos 7

2020-11-01 Thread Jerry Geis
Thanks All for the suggestions.
I was still using iptables - not firewalld - I did miss the UDP port 53.
That was my issue.
Thanks Niki for the article and everyone.

Thanks again.

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


Re: [CentOS] dnsmasq centos 7

2020-10-31 Thread Jerry Geis
Hi Niki,

Thanks good article... I was close in what  I did - but still not working.


I made this config file in /etc/dnsmasq.d

 more lsi.conf
domain-needed
bogus-priv
interface = eth0
expand-hosts
local = / LayeredSolutionsInc.com /
domain = LayeredSolutionsInc.com

# The address 192.168.1.14 is the static IP of this server
# You can find this ip by running ifconfig and look for the
# IP of the interface which is connected to the router.
listen-address=127.0.0.1
listen-address=192.168.1.14
bind-interfaces

# Use open source DNS servers
server=8.8.8.8

# Create custom 'domains'.
# Custom 'domains' can also be added in /etc/hosts
address=/LayeredSolutionsInc.com/192.168.1.14


I restart dnsmasq of course... The resolution works on the same
machine - but not for any other linux box.

I add the nameserver 192.168.1.14 to the /etc/resolv.conf of that
machine - but resolution does not work.

Thoughts? (note I moved from my original 192.168.1.8 to 192.168.1.14
machine) - same issue resolves locally but not for other machines.

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


[CentOS] dnsmasq centos 7

2020-10-31 Thread Jerry Geis
HI I setup dnsmasq on my computer. I tested with an entry in /etc/hosts for
laptop.w530

I tested with "host laptop.w530" and I get unresolved (expected).
If I add "nameserver 192.168.1.8" (my computer) to top of /etc/resolv.conf
and do "host laptop.w530" I get 192.168.1.105 - so seems to be working.

Then I goto another machine, add the "nameserver 192.168.1.8" to
/etc/resolv.conf and do the same "host laptop.w530" and it does not resolve.

I can "telnet 192.168.1.8 53" to my machine and I get a response.

Am I missing something to have "other" machines ask my machine for name
resolution ?

Thanks,

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


[CentOS] CentOS 7 update to apache configs

2020-10-27 Thread Jerry Geis
Is there a script available that will automatically update the apache
configs from CentOS 7 to "pass" the latest "vulnerability scans" by
removing the older cyphers like TLSv1.0 protocol: and others that get
flagged by vulnerability scans ???

Thanks,

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


[CentOS] ::1 in /var/log/httpd/access_log on CentOS 7

2020-10-13 Thread Jerry Geis
I see "MANY" of these
::1 - - [13/Oct/2020:10:46:08 -0500] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 (internal dummy
connection)"

in the log file.   This is not me connecting as ::1 is localhost.

What is this - how might I stop it ?

Thanks

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


Re: [CentOS] Using CentOS 7 to attempt recovery of failed disk

2020-09-28 Thread Jerry Geis
"It is alive"! Fantastic.

So I got a new SSD (500G) to replace the OLD rotating disk (320G) and
played with trying to copy off the data for days... Finally got that with
everyones help.
Today I copied the data to the new 500G disk and it BOOTED and running.

Monday is way better than Friday was!
Thanks and have a great day.

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


Re: [CentOS] Using CentOS 7 to attempt recovery of failed disk

2020-09-28 Thread Jerry Geis
Thanks everyone for the suggestions. I finally got a completion with this
command:

dd conv=noerror,sync iflag=direct bs=4096 if=/dev/sdb of=disk.img

Copying it now to see if it worked.

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


Re: [CentOS] Using CentOS 7 to attempt recovery of failed disk

2020-09-26 Thread Jerry Geis
Hello

I did try the "dd conv=noerror …"
The ddrescue - doesnt stop - it just doesnt "continue" past a certain
point. Somewhere around the 117G mark - it just doesnt go past that .
(same with dd, gets to 117G and just doesnt continue.
I have let the dd run all night - did not go past the 117G.

Thanks for any suggestions.

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


[CentOS] Using CentOS 7 to attempt recovery of failed disk

2020-09-26 Thread Jerry Geis
I have a disk that is flagging errors, attempting to rescue the data.

I tried dd first - if gets about 117G of 320G disk and stops incrementing
the save image any more.

Now I'm trying ddrescue and it also stops about the same point

Thoughts on how to continue past that point ?
Thanks,

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


Re: [CentOS] virt-manager windows guest on CentOS 7

2020-07-28 Thread Jerry Geis
So come to find its not in the QXL directory its the QXLdod directory.

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


[CentOS] virt-manager windows guest on CentOS 7

2020-07-27 Thread Jerry Geis
My windows client is using "generic display adapter" and not QXL.
So I mount the VirtIO iso, open windows Manager, right click on Generic
display display driver and select Update Driver, Browse to my iso, click
qxl and there are only three listed.
2k8R2
w7
xp

There is Windows 10.  I am using that latest stable 1.1.85 iso.

how do I get a VIrtio display driver for windows 10 ?
Thanks,

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


Re: [CentOS] Off Topic bash question

2020-07-23 Thread Jerry Geis
Sorry - I see it now "remove the cat".

Thanks "All" for the suggestions.  I wasnt aware of the method to avoid the
cut command.

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


Re: [CentOS] Off Topic bash question

2020-07-23 Thread Jerry Geis
Thanks, when I change it do the following I get a syntax error

#!/bin/bash
#
while read LINE
do
 echo $LINE
done < cat list.txt

./test_bash.sh
./test_bash.sh: line 6: syntax error near unexpected token `list.txt'
./test_bash.sh: line 6: ` done < cat list.txt'
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Off Topic bash question

2020-07-23 Thread Jerry Geis
I have a simple script:
#!/bin/bash
#
index=0
total=0
names=()
ip=()
while read -r LINE
do
NODENAME=`   echo $LINE | cut -f 1 -d ','`
IP=` echo $LINE | cut -f 2 -d ','`
names[index]="$NODENAME"
ip[index]="$IP"
index=`expr index+1`
total=`expr total+1`
done <<< $(cat list.txt)

simple file:
more list.txt
name1,ip1
name2,ip2
name3,ip3

output when running:
 sh -x ./test_bash.sh
+ index=0
+ total=0
+ names=()
+ ip=()
++ cat list.txt
+ read -r LINE
++ echo name1,ip1 name2,ip2 name3,ip3
++ cut -f 1 -d ,
+ NODENAME=name1
++ echo name1,ip1 name2,ip2 name3,ip3
++ cut -f 2 -d ,
+ IP='ip1 name2'
+ names[index]=name1
+ ip[index]='ip1 name2'
++ expr index+1
+ index=index+1
++ expr total+1
+ total=total+1
+ read -r LINE
+ echo name1
name1


Question is why is it not reading one line at a time ?
All I get is the first one.
I'm just trying to build the array of the items in the file and then list
them at this point.

Thanks

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


[CentOS] Windows guest 4K virt-manager

2020-07-21 Thread Jerry Geis
I am running CentOS 7 and windows 10 guest.
Trying to get 4K on Windows resolution.

I did the "virsh edit Win10" and found the video setting an changed it to
64M.
After shutting down and booting back up (all of virt-manager) my resolution
is still not
higher the 2560x

Anyone gotten 4K on windows guest ?
Whats the trick.

I am using QXL.
Thanks,

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


Re: [CentOS] X11 issue on CentOS 8

2020-07-09 Thread Jerry Geis
So what I thought was happening is not. Files are being read.

The issue is /var/log/messages shows the 3840x2160 resolution - but when I
goto the Settings->Display the highest resolution is 1920x1080.
This is native not a guest VM. Trying to fix the issue.
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (II) intel(0):
Supported standard timings:
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (II) intel(0):
#0: hsize: 1920  vsize 1080  refresh: 60  vid: 49361
Jul  9 20:33:49 devgeisC8/ usr/libexec/gdm-x-session[2010]: (II) intel(0):
#1: hsize: 1280  vsize 960  refresh: 60  vid: 16513
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (II) intel(0):
#2: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (II) intel(0):
#3: hsize: 1440  vsize 900  refresh: 60  vid: 149
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (II) intel(0):
#4: hsize: 1680  vsize 1050  refresh: 60  vid: 179
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (II) intel(0):
#5: hsize: 1152  vsize 864  refresh: 75  vid: 20337
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (II) intel(0):
#6: hsize: 1280  vsize 720  refresh: 60  vid: 49281
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (II) intel(0):
Supported detailed timing:
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (II) intel(0):
clock: 297.0 MHz   Image Size:  621 x 341 mm
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (II) intel(0):
h_active: 3840  h_sync: 4016  h_sync_end 4104 h_blank_end 4400 h_border: 0
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (II) intel(0):
v_active: 2160  v_sync: 2168  v_sync_end 2178 v_blanking: 2250 v_border: 0

Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (==) Using
config directory: "/etc/X11/xorg.conf.d"
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (==) Using
system config directory "/usr/share/X11/xorg.conf.d"
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (==) No Layout
section.  Using the first Screen section.
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (**) |-->Screen
"Screen0" (0)
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (**) |
|-->Monitor "Monitor0"
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (**) |
|-->Device "Intel Graphics"
Jul  9 20:33:49 devgeisC8 /usr/libexec/gdm-x-session[2010]: (==)
Automatically adding devices

So it is loading my 01-driver.conf file and 01-display.conf file As Screen0
and "Intel Graphics" specify that.

But its kicking out the 3840x2160 mode? Why.

Any pointers?

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


[CentOS] X11 issue on CentOS 8

2020-07-09 Thread Jerry Geis
I have files in /etc/X11/xorg.conf.d
rw-r--r--. 1 silentm silentm 311 Jul  9 13:25 00-keyboard.conf
-rw-r--r--. 1 silentm silentm 328 Jul  9 14:28 01-display.conf

This is my 01-display.conf
# This file goes into /etc/X11/xorg.conf.d

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
SubSection "Display"
Viewport   0 0
Depth 24
Modes"3840x2160" "1920x1080" "1600x1200" "1440x900" "1368x768"
"1360x768" "1366x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

That looks fine. But the X log file shows its NOT being used. Why ?

 9.987] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 9.987] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 9.988] (==) No Layout section.  Using the first Screen section.
[ 9.988] (==) No screen section available. Using defaults.
[ 9.988] (**) |-->Screen "Default Screen Section" (0)
[ 9.988] (**) |   |-->Monitor ""
[ 9.988] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.


Why is my xorg.conf.d files not being used ?

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


[CentOS] CentOS 8 and webrtc plugin

2020-07-07 Thread Jerry Geis
I am trying to play with webrtc and gstreamer.

 libnice - nicesrc/nicesink elements (this is the only build-time
dependency)
- openssl - dtlsdec/dtlsenc elements
- libsrtp2 - srtpdec/srtpenc elements
- usrsctp - sctpdec/sctpenc elements (only required if you use data
channels).

These are dependencies (apparently). The first two I have.
How do I get the last two  or anyone got webrtc working with CentOS 8 ?

Thanks all.

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


Re: [CentOS] setting kernel IP boot values

2020-07-02 Thread Jerry Geis
I also just tried systemd.hostname=jerry.domain and that did not work
either.

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


Re: [CentOS] setting kernel IP boot values

2020-07-02 Thread Jerry Geis
>I desire to set IP boot values with DHCP and name of machine say jerry.

>so I would use ip=jerry.domain:eth0:dhcp
I tried that on a VM - it still has localhost as the name it did not use
jerry.domain in my example.

I just need DHCP boot and to be able to set the machine name on boot. How
is that done on the kernel boot?

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


[CentOS] setting kernel IP boot values

2020-07-02 Thread Jerry Geis
Hi I found this information:

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-configuring_ip_networking_from_the_kernel_command_line

Specifically:
Set the configuration using the ip option on the kernel command line:
ip:[]:{dhcp|dhcp6|auto6|on|any|none|off}
dhcp - DHCP configuration
dhpc6 - DHCP IPv6 configuration
auto6 - automatic IPv6 configuration
on, any - any protocol available in the kernel (default)
none, off - no autoconfiguration, static network configuration
For example:
ip=192.168.180.120:192.168.180.100:192.168.180.1:255.255.255.0::enp1s0:off

but I am confused.

I desire to set IP boot values with DHCP and name of machine say jerry.

so I would use ip=jerry.domain:eth0:dhcp


Is this correct ?

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


Re: [CentOS] virt-manager guest display resize not keep

2020-07-01 Thread Jerry Geis
I  went in and created a /etc/X11/xorg.conf.d file and put in my resolution
I desired. That seems to take care of it.
Not sure why it didnt keep the setting. but ok.

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


[CentOS] virt-manager guest display resize not keep

2020-07-01 Thread Jerry Geis
Hi All,

I have CentOS 7 has host and CentOS 8 as guest. I ran the command:
virsh edit CentOS8 and changed the vgamem to 65536.
I Now get higher resolutions in the guest - I select the 4K resolution, all
works. Then when I reboot I am back to 1024x768.

Any thoughts on getting the C8 guest to keep its screen resolution ?

Thanks,

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


[CentOS] fdisk boot partition

2020-06-30 Thread Jerry Geis
I am trying to use CentOS 8 host to boot an image (OS X) that  I created
using dd.

First I tried fdisk -l image_file.img - all looks good so
I did fdisk image_file.img - this works - but seems in CentOS 8 fdisk
there is no longer a
toggle bootable flag option.

How do I do that ?

Thanks,

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


[CentOS] CentOS 8 gvs question

2020-06-18 Thread Jerry Geis
I am getting a timeout on running totem   searching led me to think its
gvs related
Error creating proxy: Error calling StartServiceByName for
org.gtk.vfs.GoaVolumeMonitor: Timeout was reached (g-io-error-quark, 24)

Then totem does start - but with like a 30 second delay.

I ran this command and it says its inactive
systemctl --user status gvfs-mtp-volume-monitor.service
● gvfs-mtp-volume-monitor.service - Virtual filesystem service - Media
Transfer Protocol monitor
   Loaded: loaded (/usr/lib/systemd/user/gvfs-mtp-volume-monitor.service;
static; vendor preset: enabled)
   Active: inactive (dead)



What is the cause of my timeout ?

Thanks,

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


[CentOS] Upgrade to 8.2 from 7.8

2020-06-16 Thread Jerry Geis
So now that 8 is out - is it still "frowned" upon to do that in place
update ?
Is that not a good / valid solution ?
Thanks,

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


[CentOS] virt-manager guest and sound

2020-06-10 Thread Jerry Geis
I am running C7 host and pulse audio. I have a Win 10 guest with ICH9
audio. It works - but I hear artifacts. Anything to do to help audio be
flawless under guest VM ?
Currently I was just on youtube and playing a song. nothing special.

Plenty of resources on the host. The guest has 8G ram and 8 CPU.

Thanks

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


Re: [CentOS] Trying to get bride network on CentOS 7 working with virt-manager

2020-06-09 Thread Jerry Geis
> virsh iface-bridge eth0 br0 --no-stp

Thanks -  This is working now.
Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Trying to get bride network on CentOS 7 working with virt-manager

2020-06-08 Thread Jerry Geis
I have these interfaces listed.

eth0: flags=4163  mtu 1500
inet 192.168.1.8  netmask 255.255.252.0  broadcast 192.168.3.255
inet6 fe80::e2d5:5eff:fe63:abe5  prefixlen 64  scopeid 0x20
ether e0:d5:5e:63:ab:e5  txqueuelen 1000  (Ethernet)
RX packets 42411243  bytes 4701898681 (4.3 GiB)
RX errors 0  dropped 156  overruns 0  frame 0
TX packets 78372982  bytes 34946337897 (32.5 GiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
device interrupt 16  memory 0x92f0-92f2

virbr0: flags=4099  mtu 1500
inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
ether 52:54:00:fc:34:af  txqueuelen 1000  (Ethernet)
RX packets 132792  bytes 337411780 (321.7 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 138593  bytes 742263806 (707.8 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr1: flags=4099  mtu 1500
inet 192.168.100.1  netmask 255.255.255.0  broadcast 192.168.100.255
ether 52:54:00:9c:39:02  txqueuelen 1000  (Ethernet)
RX packets 206217  bytes 132308800 (126.1 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 105448  bytes 197008661 (187.8 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0-nic: flags=4099  mtu 1500
ether 52:54:00:fc:34:af  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


When I bring up virt-manager, got settings for my VM, and for "Network
Source" I select
"Specify Shared Device Name" and I have tried the virbr0 and clicked apply
and boot the machine. I get networking but not bridged networking - not a
192.168.1.X address.

Is there something I missed ?
Thanks,

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


Re: [CentOS] Bridge network for virt-manager

2020-06-02 Thread Jerry Geis
Ok so I have used virt-manager to create the name NET100
This is what shows.


  NET100
  1ba45e54-93c2-f291-8b35-a7fe8cae9ac1
  

  
  
  
  

  

  


I DO get a DHCP on my network  - but the client cannot connect to the host
machine. Has access to internet - but just not the host.

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


[CentOS] Bridge network for virt-manager

2020-06-02 Thread Jerry Geis
Hello. I desire to get bridge network working using virt-manager.
Centos 7 and centos 7 guest.

>From researching I think I need to have a ifcfg-br0 file like this ?

cat ifcfg-br0
DEVICE=nm-bridge0
STP=no
TYPE=Bridge
BOOTPROTO=none
IPADDR=192.168.1.8
PREFIX=32
GATEWAY=192.168.1.1
IPV6INIT=no
NAME=br0
ONBOOT=yes
DELAY=0

Is that for sure needed ? The use that nm-bridge0 as the network name?

I dont want to mess up my current setup.
Thanks,

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


Re: [CentOS] user names

2020-06-01 Thread Jerry Geis
>https://www.cyrusimap.org/sasl/sasl/sysadmin.html

>One could also hack up an extra PAM module for use by saslauthd.

Ok I read through this, played on my machine with it - It looks very
promising. Will try on the end machine tomorrow.  Thanks Kenneth!

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


Re: [CentOS] user names

2020-06-01 Thread Jerry Geis
I came across /etc/mail/virtusertable.  I am using fresh install of centos
7.
I added my silly user as:
si...@my.com  silly

did the make and service sendmail restart.
But its still not working. Getting rejects as not valid just like before. I
presume this would use the PW for "silly" user.

Thought I was onto something there.

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


Re: [CentOS] user names

2020-06-01 Thread Jerry Geis
I am looking for a way for sendmail to ALLOW auth by IP and not user name
(its a closed network) or even SKIP invalid auth ?
Is that even possible ?

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


Re: [CentOS] user names

2020-06-01 Thread Jerry Geis
HI Frank - Like that signature of yours...

> Wouldn't you be better off using the alias directive

The problem is the client program trying to talk to the linux server

is base64 encoding the entire email address for the AUTH LOGIN,

not just the "username".   so my user name needs to include the "@" symbol.

They have an edit on their side that does not allow entry without the @
sign.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] user names

2020-06-01 Thread Jerry Geis
How can I define a local use with "@" in the name

useradd "bob@myname"  gives error.

I "need" to have the @ sign in the name -is that possible.   Silly reason -
the system I am trying to send emails to the linux server has a bug. I'm
trying to get around it.

Thanks,

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


[CentOS] CentOS 7 disable the the hot corner

2020-05-12 Thread Jerry Geis
I have loaded the gnome-shell-extension-no-hot-corner-3.28.1-11.el7.noarch
and also the gnome-tweaks.

When I run gnome-tweaks no where in there do I find the disable hot corner.

where is that ?

Its annoying when the mouse goes to the upper left and all the windows
shrink. I wish to disable it. Thanks.

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


[CentOS] xvidtune powertools CentOS 8

2020-05-12 Thread Jerry Geis
Hi All - I was looking all over for xvidtune on Centos 8.
could not find it.
tried yum provides "*/xvidtune"
tried yum search xvidtune

Google pointed me to:
https://centos.pkgs.org/8/centos-powertools-x86_64/xorg-x11-apps-7.7-21.el8.x86_64.rpm.html


So I installed the apps and of course xvidtune is part of that.
However just curious why the provides or search did not point me there ?
Should it have?

Thanks,

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


Re: [CentOS] CentOS 8 and xvidtune and Nouveau

2020-05-09 Thread Jerry Geis
>Just use the proprietary nvidia driver. Works like a charm.

That is kind of what I concluded... Took way too much time. Thanks.

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


[CentOS] CentOS 8 and xvidtune and Nouveau

2020-05-09 Thread Jerry Geis
I have an old laptop W530 I put CentOS 8 on.

I was trying to install xvidtune - seems to not be available ? Thought that
was part of X.

Also trying to get Nouveau  to be a higher resolution than 1024x768.  I
found the wiki, but adding video= to the kernel command line and regen grub
did not do anything. Other documentation there seemed OLD.

Anyone know how to correctly get Nouveau  in 1920x1080?

Thanks,

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


[CentOS] Chrony

2020-05-08 Thread Jerry Geis
I just happened to notice this morning in /var/log/messages:

chronyd[1299]: Selected source 207.244.103.95

host 207.244.103.95
95.103.244.207.in-addr.arpa domain name pointer
dns-e.wdc-us.hosts.301-moved.de.

Just curious why my machine in Indiana (USA) is asking for time in Germany.
Wouldn't it use something closer ?
Thanks,

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


Re: [CentOS] Custom ISO

2020-05-06 Thread Jerry Geis
Looks like the issue was with the set -l 'CentOS 7 x86-64' in the grub.cfg
file. It needed to match my changed name.
Looking good now.

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


Re: [CentOS] Custom ISO

2020-05-06 Thread Jerry Geis
Sorry I get it \x20 is a space and then "7" then \x20 is another space.

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


Re: [CentOS] Custom ISO

2020-05-06 Thread Jerry Geis
What is the \x207  ??
and the \x20  ??
on this line ?
inst.stage2=hd:LABEL=CentOS\x207\x20x86_64

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


Re: [CentOS] Custom ISO

2020-05-06 Thread Jerry Geis
Thanks for hint. I have changed to this:

genisoimage \
-v \
-J -R \
-V "$NAME" \
-b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 \
-boot-info-table -eltorito-alt-boot -b images/efiboot.img
-no-emul-boot -boot-load-size 18755 \
-o $DESTINATION_FILE .
it now creates the ISO and is EFI bootable.

However - I have a different issue arise.   In normal install or EFI
install (both) it hangs at "Starting dracut initqueue hook..."

Only thing I am changing is the add the boot options for my kickstart
file.  So then I tried select the "standard" "Install CentOS 7" and it does
the same thing, hangs at "Starting dracut".

Any thoughts on that ?
I am testing with virt-manager.

Thanks,

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


[CentOS] Custom ISO

2020-05-05 Thread Jerry Geis
Hi All,

I am trying to make a customer ISO. When I run this command:
mkisofs -o $DESTINATION_FILE -b isolinux/isolinux.bin -c boot.cat \
-no-emul-boot -boot-info-table \
-V "$NAME" -boot-load-size 4 -boot-info-table -R -J -v -T \
-eltorito-alt-boot -e images/efiboot.img \
$DESTINATION_DIR

it tells me:
Size of boot image is 4 sectors -> No emulation
Size of boot image is 17408 sectors -> genisoimage: Error - boot image
'images/efiboot.img' has not an allowable size.

This is the exact same file that is on the Everything ISO image.

What am I missing ?  I also want to make the ISO boot with UEFI. I think I
have the right parameters but getting this error. Thoughts?

Thanks,

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


Re: [CentOS] INITRD_MODULES

2020-04-29 Thread Jerry Geis
This solution did work. thanks for the suggestion. on dracut.

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


Re: [CentOS] INITRD_MODULES

2020-04-29 Thread Jerry Geis
> man dracut

Sure there is always that - thanks. But for a person doing this the first
time - one is always wondering if he did something wrong with the command -
that is why I asked.

I'm doing something like:
dracut -f /boot/initramfs-3.10.0-1062.el7.x86_64.img $(uname -r)

Thanks again. Is there not a "simpler" command that says take the
current kernel and re-run - no command args - it just knows what the
current kernel is and does it?

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


  1   2   3   4   5   6   7   8   9   10   >