Re: [CentOS] Unable to get dummy interfaces to persist across reboots in CentOS 8

2020-10-26 Thread Strahil Nikolov via CentOS
Have you tried with Network Manager , after all this is the thing that manages 
all networks:


[root@system ~]# nmcli connection add con-name dummy0 ifname dummy0 type dummy  
Connection 'dummy0' (9fdd74fa-c143-4991-9bac-0e542704ac89) successfully added.

 [root@system ~]# reboot
Shared connection to glustera closed.

 [root@system ~]# nmcli connection show  
NAME    UUID  TYPE  DEVICE  
dummy0  9fdd74fa-c143-4991-9bac-0e542704ac89  dummy dummy0


 [root@system ~]# ip a s dummy0
3: dummy0:  mtu 1500 qdisc noqueue state UNKNOWN 
group default qlen 1000
   link/ether ce:c9:83:97:10:ee brd ff:ff:ff:ff:ff:ff
   inet6 fe80::599:a978:9457:df10/64 scope link noprefixroute  
  valid_lft forever preferred_lft forever


Best Regards,
Strahil Nikolov







В вторник, 27 октомври 2020 г., 02:42:06 Гринуич+2, Frank Even 
 написа: 





Anyone have any ideas?  It's rather annoying that I can't get these to
persist across reboots without using some kind of helper script.

On Fri, Oct 16, 2020 at 6:37 AM Frank Even
 wrote:
>
> Hello all, hoping someone can help me out here.
>
> I cannot get dummy interfaces on a new Cent8 build to persist across reboots.
>
> On Cent7 - this is the process I use:
>
> Create Dummies:
> # cat /etc/modules-load.d/dummy.conf
> dummy
> # cat /etc/modprobe.d/dummyopts.conf
> options dummy numdummies=4
> # ip link add dummy0 type dummy
> ## - repeating a/ ascending dummyN adapters for as many needed
> # service network start
> # dracut -f
>
> Now  this  was  different than even how 6 handled it, forget how I
> finally dug that up (possible I even asked here).  I've applied this
> same configuration to a Cent8 box I'm trying to stand up and it all
> appears to work fine, but unlike the Cent7 boxes,  when the Cent8 box
> comes back up,  all the dummy adapters are missing.  I've been
> searching all over trying to find some documentation on this to no
> avail.  I'm hoping someone has some suggestions here to help out.
>
> Thanks,
> Frank
___
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] Unable to get dummy interfaces to persist across reboots in CentOS 8

2020-10-26 Thread Strahil Nikolov via CentOS
Have you tried to use NetworkManager ?
After all ,anything network related should be done by it.

[root@system ~]# nmcli connection add con-name dummy0 ifname dummy0 type dummy  
Connection 'dummy0' (9fdd74fa-c143-4991-9bac-0e542704ac89) successfully added.

[root@system ~]# reboot
Shared connection to glustera closed.


[root@system ~]# uptime
03:23:44 up 0 min,  1 user,  load average: 1,57, 0,48, 0,17
[root@glustera ~]# nmcli connection show  
NAME    UUID  TYPE  DEVICE  
dummy0  9fdd74fa-c143-4991-9bac-0e542704ac89  dummy dummy0


[root@system ~]# ip a s dummy0
3: dummy0:  mtu 1500 qdisc noqueue state UNKNOWN 
group default qlen 1000
   link/ether ce:c9:83:97:10:ee brd ff:ff:ff:ff:ff:ff
   inet6 fe80::599:a978:9457:df10/64 scope link noprefixroute  
  valid_lft forever preferred_lft forever

P.S.: This is the first time I hear about dummy interfaces. What are those used 
for ?

Best Regards,
Strahil Nikolov









В вторник, 27 октомври 2020 г., 02:42:06 Гринуич+2, Frank Even 
 написа: 





Anyone have any ideas?  It's rather annoying that I can't get these to
persist across reboots without using some kind of helper script.

On Fri, Oct 16, 2020 at 6:37 AM Frank Even
 wrote:
>
> Hello all, hoping someone can help me out here.
>
> I cannot get dummy interfaces on a new Cent8 build to persist across reboots.
>
> On Cent7 - this is the process I use:
>
> Create Dummies:
> # cat /etc/modules-load.d/dummy.conf
> dummy
> # cat /etc/modprobe.d/dummyopts.conf
> options dummy numdummies=4
> # ip link add dummy0 type dummy
> ## - repeating a/ ascending dummyN adapters for as many needed
> # service network start
> # dracut -f
>
> Now  this  was  different than even how 6 handled it, forget how I
> finally dug that up (possible I even asked here).  I've applied this
> same configuration to a Cent8 box I'm trying to stand up and it all
> appears to work fine, but unlike the Cent7 boxes,  when the Cent8 box
> comes back up,  all the dummy adapters are missing.  I've been
> searching all over trying to find some documentation on this to no
> avail.  I'm hoping someone has some suggestions here to help out.
>
> Thanks,
> Frank
___
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] Unable to get dummy interfaces to persist across reboots in CentOS 8

2020-10-26 Thread Frank Even
Anyone have any ideas?  It's rather annoying that I can't get these to
persist across reboots without using some kind of helper script.

On Fri, Oct 16, 2020 at 6:37 AM Frank Even
 wrote:
>
> Hello all, hoping someone can help me out here.
>
> I cannot get dummy interfaces on a new Cent8 build to persist across reboots.
>
> On Cent7 - this is the process I use:
>
> Create Dummies:
> # cat /etc/modules-load.d/dummy.conf
> dummy
> # cat /etc/modprobe.d/dummyopts.conf
> options dummy numdummies=4
> # ip link add dummy0 type dummy
> ## - repeating a/ ascending dummyN adapters for as many needed
> # service network start
> # dracut -f
>
> Now  this  was  different than even how 6 handled it, forget how I
> finally dug that up (possible I even asked here).  I've applied this
> same configuration to a Cent8 box I'm trying to stand up and it all
> appears to work fine, but unlike the Cent7 boxes,  when the Cent8 box
> comes back up,  all the dummy adapters are missing.  I've been
> searching all over trying to find some documentation on this to no
> avail.  I'm hoping someone has some suggestions here to help out.
>
> Thanks,
> Frank
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Network Manager - rotate connection profile

2020-10-26 Thread Chris Adams
Once upon a time, Frank Cox  said:
> I have an occasional need to switch a few computers from one Internet 
> provider to a different one.  Both Internet providers feed into the same 
> network, one at 192.168.0.1 and the other at 192.168.0.254.
> 
> So to change from one provider to the other I run nmtui to change the gateway 
> and dns server addresses, then deactivate and reactivate the connection and 
> I'm done.

You could just create multiple connection profiles, like "provA" and
"provB".  Then to switch A->B would be "nmcli con down provA; nmcli con
up provB".  You'd only want one to autoconnect though, so maybe:

   nmcli con down provA
   nmcli con mod provA autoconnect 0
   nmcli con up provB
   nmcli con mod provB autoconnect 1

Or you could even get fancier with a script that would check the
currently active and switch to the other one.

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


Re: [CentOS] Network Manager - rotate connection profile

2020-10-26 Thread James Szinger
On Mon, 26 Oct 2020 15:25:37 -0600
Frank Cox  wrote:

> I have an occasional need to switch a few computers from one Internet
> provider to a different one.  Both Internet providers feed into the
> same network, one at 192.168.0.1 and the other at 192.168.0.254.
> 
> So to change from one provider to the other I run nmtui to change the
> gateway and dns server addresses, then deactivate and reactivate the
> connection and I'm done.
> 
> It's just takes a few minutes, but I'm wondering if there's a way to
> automate this a bit so instead of having to run nmtui and change all
> of those numbers, then deactivate and reactivate the connection, I
> could just have each configuration saved as a text file or something,
> and just tell network manager "use this configuration now until
> further notice."

I would create two different NetworkManager connection profiles,
called eth0-isp1 and eth0-isp2.  You can use the GUI, TUI, or CLI for
this.  The something like 
`nmcli connection down eth0-isp1 && nmcli connection up eth0-isp2`
should work.

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


[CentOS] Network Manager - rotate connection profile

2020-10-26 Thread Frank Cox
I wasn't sure what to call this in the subject line, but here's my issue.

I have an occasional need to switch a few computers from one Internet provider 
to a different one.  Both Internet providers feed into the same network, one at 
192.168.0.1 and the other at 192.168.0.254.

So to change from one provider to the other I run nmtui to change the gateway 
and dns server addresses, then deactivate and reactivate the connection and I'm 
done.

It's just takes a few minutes, but I'm wondering if there's a way to automate 
this a bit so instead of having to run nmtui and change all of those numbers, 
then deactivate and reactivate the connection, I could just have each 
configuration saved as a text file or something, and just tell network manager 
"use this configuration now until further notice."

I could, of course, accomplish this using dhcp and change the dhcp server 
configurations as needed, but  I'd prefer to have all of this stuff stored on 
each local machine like it is now.  That way I could even automate it with a 
cronjob or something if I wanted to get that efficient.

-- 
Can we uninstall 2020 and install it again? This one has a virus.
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] @Microknoppix

2020-10-26 Thread Michael Hennebry

On Mon, 26 Oct 2020, Jonathan Billings wrote:


Your Knoppix boot probably pushed a dynamic DNS update via DHCP to
whatever hands out local DNS names on your LAN and now your local IP
is resolving to that name.

You probably need to update your hostname if you want it to be
something else.  dhclient (the DHCP client in CentOS 7) can also send
dynamic dns updates when configured.  (Look in the man page for
dhclient.conf, I believe it is do-forward-updates.)


I have dhclient.conf :

option classless-static-routes code 121 = array of unsigned integer 8;

request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
root-path, interface-mtu, classless-static-routes;

man dhclient.conf :
   The do-forward-updates statement

do-forward-updates [ flag ] ;

   If  you want to do DNS updates in the DHCP client script (see dhclient-
   script(8)) rather than having the DHCP client do  the  update  directly
   (for  example,  if  you want to use SIG(0) authentication, which is not
   supported directly by the DHCP client, you can instruct the client  not
   to  do  the update using the do-forward-updates statement.  Flag should
   be true if you want the DHCP client to do the update, and false if  you
   don't  want  the  DHCP  client  to do the update.  By default, the DHCP
   client will do the DNS update.

To dhclient.conf , I should add
do-forward-updates true ;

Correct?
Do I need to reboot or somthing to see the effect?

--
Michael   henne...@web.cs.ndsu.nodak.edu
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
 --  someeecards
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] @Microknoppix

2020-10-26 Thread Michael Hennebry

On Mon, 26 Oct 2020, Frank Cox wrote:


On Mon, 26 Oct 2020 12:35:33 -0500 (CDT)
Michael Hennebry wrote:


but now my LXterms all have hennebry@Microknoppix on top.
WTF? How did that happen?
How do I fix it?


Wild guess: PROMPT_COMMAND was changed in  /etc/bashrc or ~/.bashrc


PROMPT_COMMAND is __vte_prompt_command .
I do not know what that does.
It's from /etc/bashrc .
After noticing that my prompt string had also changed:
hennebry@Microknoppix ~]$ echo $PS1
[\u@\h \W]\$
I tried
[hennebry@Microknoppix ~]$ hostname
Microknoppix.midcoip.net

My inference is that Knoppix was talking to
DNS and told it my name was Microknoppix.midcoip.net .
hostname thenameiwant
should do the trick.
Correct?

--
Michael   henne...@web.cs.ndsu.nodak.edu
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
 --  someeecards
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] @Microknoppix

2020-10-26 Thread Jonathan Billings
On Mon, Oct 26, 2020 at 12:35:33PM -0500, Michael Hennebry wrote:
> Normally I run Centos 7,
> but I accidently booted a German Knoppix OS.
> I'm back to Centos 7,
> but now my LXterms all have hennebry@Microknoppix on top.
> WTF? How did that happen?
> How do I fix it?
> How do I make it not happen again?
> What other trouble should I be looking for?
> 
> I opened a couple LXterms,
> looked at man pages and ran xrandr as root a few times.
> Also I ran shutdown a couple times.
> That's it.
> I'm rather annoyed at the result.
> I'm pretty sure Knoppix had to change
> something it should not even have known about.

Your Knoppix boot probably pushed a dynamic DNS update via DHCP to
whatever hands out local DNS names on your LAN and now your local IP
is resolving to that name.

You probably need to update your hostname if you want it to be
something else.  dhclient (the DHCP client in CentOS 7) can also send
dynamic dns updates when configured.  (Look in the man page for
dhclient.conf, I believe it is do-forward-updates.)

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


Re: [CentOS] @Microknoppix

2020-10-26 Thread Frank Cox
On Mon, 26 Oct 2020 12:35:33 -0500 (CDT)
Michael Hennebry wrote:

> but now my LXterms all have hennebry@Microknoppix on top.
> WTF? How did that happen?
> How do I fix it?

Wild guess: PROMPT_COMMAND was changed in  /etc/bashrc or ~/.bashrc

-- 
Can we uninstall 2020 and install it again? This one has a virus.
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] @Microknoppix

2020-10-26 Thread Michael Hennebry

Normally I run Centos 7,
but I accidently booted a German Knoppix OS.
I'm back to Centos 7,
but now my LXterms all have hennebry@Microknoppix on top.
WTF? How did that happen?
How do I fix it?
How do I make it not happen again?
What other trouble should I be looking for?

I opened a couple LXterms,
looked at man pages and ran xrandr as root a few times.
Also I ran shutdown a couple times.
That's it.
I'm rather annoyed at the result.
I'm pretty sure Knoppix had to change
something it should not even have known about.

--
Michael   henne...@web.cs.ndsu.nodak.edu
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
 --  someeecards
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Firefox 78 under CentOS 6 -- no sound?

2020-10-26 Thread James Pearson
Jonathan Billings wrote:
>
> Amazingly it appears that Red Hat has released another Firefox:

Red Hat just follow the Mozilla ESR stream release cycle, which is currently 
ESR 78 with point releases come out every 4 weeks or so

Each ESR stream is supported by Mozilla for about a year, with each major 
release based on the standard 'rapid release' version at the time - i.e. the 
previous ESR version was 68, based on the Firefox rapid release version 68 and 
the current ESR version is 78, based on the Firefox rapid release version 78. 
The ESR point releases coincide with the rapid release major releases, although 
the ESR point releases are just for security bug fixes (occasionally contains 
other non-security bug fixes), whereas the rapid release new major versions may 
have new features, security and bug fixes plus other enhancements added etc

Therefore the ESR release is more stable over a longer period - and so best 
suited for 'Enterprise' use

The current ESR version is 78.4.0 - with 78.5.0 coming in November and 78.6.0 
in December - so I'm guessing Red Hat might release 78.5.0 before EL6 reaches 
EOL at the end of November ?

I have no idea if the latest 78.4.0 release from Red Hat will fix the sound 
issues on EL6

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


Re: [CentOS] Firefox 78 under CentOS 6 -- no sound?

2020-10-26 Thread Jonathan Billings
On Mon, Oct 26, 2020 at 01:21:10PM +0100, Leon Fauster via CentOS wrote:
>
> Am 26.10.20 um 12:45 schrieb Jonathan Billings:
> > On Oct 23, 2020, at 14:45, Leon Fauster via CentOS 
> > wrote:
> > > Mozilla released version 68.12.0, on August 25, 2020 ->
> > > https://www.mozilla.org/en-US/firefox/68.12.0/releasenotes/
> > > 
> > > RH has an ELS phase - if it gets fixed then only for paying customers.
> > 
> > Amazingly it appears that Red Hat has released another Firefox:
> > 
> > https://access.redhat.com/errata/RHSA-2020:4330
> > 
> > 
> 
> and - sound issues fixed?

I don't know.  The changelog doesn't indicate anything about sound
issues, just security fixes.  Its unlikely that anything but security
fixes are being tracked anymore.  I don't have any CentOS6 systems
left to test it on.

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


Re: [CentOS] Firefox 78 under CentOS 6 -- no sound?

2020-10-26 Thread Leon Fauster via CentOS

Am 26.10.20 um 12:45 schrieb Jonathan Billings:
On Oct 23, 2020, at 14:45, Leon Fauster via CentOS  
wrote:

Mozilla released version 68.12.0, on August 25, 2020 ->
https://www.mozilla.org/en-US/firefox/68.12.0/releasenotes/

RH has an ELS phase - if it gets fixed then only for paying customers.


Amazingly it appears that Red Hat has released another Firefox:

https://access.redhat.com/errata/RHSA-2020:4330 





and - sound issues fixed?

--
Leon

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


Re: [CentOS] Firefox 78 under CentOS 6 -- no sound?

2020-10-26 Thread Jonathan Billings
On Oct 23, 2020, at 14:45, Leon Fauster via CentOS  wrote:
> Mozilla released version 68.12.0, on August 25, 2020 ->
> https://www.mozilla.org/en-US/firefox/68.12.0/releasenotes/
> 
> RH has an ELS phase - if it gets fixed then only for paying customers.

Amazingly it appears that Red Hat has released another Firefox:

https://access.redhat.com/errata/RHSA-2020:4330

--
Jonathan Billings

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


[CentOS] glusterfs 8 rpm missing in Extra for el7

2020-10-26 Thread Giovanni Di Grezia

Hello,
I noticed that this link
https://wiki.centos.org/SpecialInterestGroup/Storage

reports an available package called centos-release-gluster8

This package is missing in Extra repo for el7.

The general package called centos-release-gluster links instead to the 
latest version of glusterfs7.


Could the general rpm be update to include glusterfs8?

I see that the repo is already working here:
http://mirrorlist.centos.org/?arch=x86_64=7=storage-gluster-8

and also here
http://buildlogs.centos.org/centos/7/storage/x86_64/gluster-8
So i think, it should be really easy to push the update.

Thank you



Giovanni Di Grezia - VFX Artist and Software Developer
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos