Fc30 -> FC31 : Can't rename interfaces. FC30 worked.
by Sean Darcy
Just upgraded to FC31. It's a multihomed machine used as a router. One
interface "external" goes to the cable modem. The other interface
"internal" goes to a switch.
cat /etc/sysconfig/network-scripts/ifcfg-external | grep -v \#
TYPE=Ethernet
BOOTPROTO=dhcp
DEVICE=external
ONBOOT=yes
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
USERCTL=no
HWADDR=50:7B:9D:0B:8A:AB
NAME=external
UUID=02b123a7-baea-20e2-051e-8a9ec27cc44a
cat /etc/sysconfig/network-scripts/ifcfg-internal | grep -v \#
DEVICE=internal
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
IPADDR=10.10.11.251
PREFIX=24
DEFROUTE=no
IPV4_FAILURE_FATAL=no
IPV6INIT=no
PEERDNS=no
USERCTL=no
UUID=ef5b0746-2604-b21f-c03e-00556aef68fc
HWADDR=00:0e:c6:dc:01:aa
But neither interface is found on boot:
enp0s20u3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 00:0e:c6:dc:01:aa txqueuelen 1000 (Ethernet)
RX packets 2573 bytes 172174 (168.1 KiB)
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
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 50:7b:9d:0b:8a:ab txqueuelen 1000 (Ethernet)
RX packets 2581 bytes 180221 (175.9 KiB)
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
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 765 bytes 81440 (79.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 765 bytes 81440 (79.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
even though the MAC adresses match. As do the UUID's:
nmcli connection show | grep ernal
external 02b123a7-baea-20e2-051e-8a9ec27cc44a ethernet --
System internal ef5b0746-2604-b21f-c03e-00556aef68fc ethernet --
enp0s20u3 is a USB interface that should be internal. If I unplug and
replug, naming works.
On boot:
kernel: asix 2-3:1.0 eth0: register 'asix' at usb-0000:00:14.0-3, ASIX
AX88772 USB 2.0 Ethernet, 00:0e:c6:dc:01:aa
kernel: usbcore: registered new interface driver asix
kernel: asix 2-3:1.0 enp0s20u3: renamed from eth0
then I unplug and plug:
kernel: asix 2-3:1.0 internal: renamed from enp0s20u3
kernel: asix 2-3:1.0 internal: link up, 100Mbps, full-duplex, lpa 0x45E1
That does not happen if I plug and unplug external, an ethernet cable.
BUT, what's really odd. I'm booting the Fc31 kernel:
kernel-5.3.11-300.fc31.x86_64
if I boot the same kernel, but FC30:
kernel-5.3.11-200.fc30.x86_64
IT WORKS !!
Any help appreciated.
sean
4 years, 3 months
OT: help conditioning on multiple fields using procmail
by Ranjan Maitra
Hi,
This is an OT question, but one that I am sure someone here will likely know the answer to, given how much help I have received here on such questions in the past.
So, I store e-mails sent by me to others using the "From" field to a folder called "/sent"
So, I use in my .procmailrc:
:0:
*^From.*user(a)outlook.com
$HOME/Mail/sent/.
And it used to work fine. However, recently I have also started forwarding my e-mail from the address: user(a)outlook.com and what is happening is that the e-mail envelope of every forwarded message now contains the header: Resent-From.*user(a)outlook.com so all forwarded e-mail is being saved to the sent folder.
Is it possible to have a double condition? That is something that says that if both Resent-From and From have *user(a)outlook.com, then it should go to the sent-folder. In other words, is it possible to use a AND or OR or Negation condition.
Thanks very much in advance for your time, and also your help and suggestions in answering this question!
Best wishes,
Ranjan
4 years, 3 months
windows 10 virtual machine sound?
by Tom Horsley
This trivial issue has bugged me since I first ran a windows VM:
When windows starts up and plays the silly startup sound. it
sounds absolutely dreadful like it is being clipped and bursts
of static introduced at random times.
Is there any way to get more reliable audio while windows
is busy starting up? Sound is much better after the machine
has fully booted.
Just a trivia question for Christmas :-).
4 years, 3 months
su vs logut/login (was: character display quality difference)
by Cameron Simpson
between users. [SOLVED]
Reply-To:
In-Reply-To: <2d98c6ff-5924-9b60-d2d8-2b0899cd6a84(a)comcast.net>
On 21Dec2019 10:53, home user <mattisonw(a)comcast.net> wrote:
>In the testing for this thread, I mostly fully signed off one account
>and fully logged in to the other rather than using "su". For renaming
>and "ls" kinds of things, I did use "su". But for viewing,
>screen-capturing, and the localectl and locale commands, I wasn't sure,
>so I did the full logout and login.
>(the question)
>For what is "su" good enough, and for what is the full logout and
>login needed? A full detailed list is impractical, but could someone
>provide some good guiding principles?
It depends solely on what needs initialising.
An su will produce a new shell with the latest environment settings. So
you can test terminal level locale changes etc. If you _invoke_ a new
GUI programme from that shell, it should inherit this stuff too.
A GUI logout/login will initialise the desktop, which tends to happen
before any terminal shell. So if you're fiddling GUI stuff and _not_
invoking programmes from a shell, the thing you've invoking them from
needs to see the changes. For a GUI, that tends to mean restarting the
desktop (since you invoke GUI programmes from desktop
buttons/icons/menus usually). And a logout/login restarts the desktop.
Cheers,
Cameron Simpson <cs(a)cskk.id.au>
4 years, 3 months
Adding a disk to existing BTRFS
by Javier Perez
Hi
My home partition is on a 2T HDD using btrfs
I am reading the material at
http://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices
but still I am not that clear on some items.
If I want to to add a second 2T drive to work as a mirror (RAID1) it looks
like I do not have to invoke mdadm or anything similar, it seems like btrfs
will handle it all internally. Am I understanding this right?
Also, before I add a new device, do I have to partition the drive or does
btrfs take over all these duties (partitioning, formating) when it adds the
device to the filesystem?
What has been the experience like with such a system?
Thanks
JP
--
------------------------------
/\_/\
|O O| pepebuho(a)gmail.com
~~~~ Javier Perez
~~~~ While the night runs
~~~~ toward the day...
m m Pepebuho watches
from his high perch.
4 years, 3 months
After upgrade or fresh install to Fedora 31, long time to login, then
grey srceen after login, system unusable
by Mr Brian Domenick
Hi,
i have been having problems upgrading or installing Fedora 31 on an HP
360 Spectre Laptop.
Description of problem: After an upgrade or fresh install to fc31 I get
long delay to X login, then after login I get grey screen. On my
original attempt, it started properly once, I was going to FC32 and it
let me login and I was able to perform an upgrade to FC32. When I didn't
like that I did a fresh install to FC31 and saw the problem. Virtual
terminals were also unavailable. I then did a fresh install of FC30 that
went okay although I think that it's a little slow to get to the login
prompt, but after I login things work okay. I then upgraded to FC31 that
version and saw the same delay and grey screen after login as before. I
then went back to FC30 and I will include some info from FC30
[brian@localhost ~]$ inxi -GxxSMza System: Host: localhost.localdomain
Kernel: 5.3.16-200.fc30.x86_64 x86_64 bits: 64 compiler: gcc v: 9.2.1
parameters: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-5.3.16-200.fc30.x86_64
root=UUID=b6536622-cf7c-4017-a3ef-3d3787173fb2 ro
resume=/dev/mapper/luks-323281ed-242f-40db-85cb-75ab350dbb43
rd.lvm.lv=fedora/root
rd.luks.uuid=luks-9df55de6-b8fe-4b3a-a5d3-6f0005285968
rd.lvm.lv=fedora/swap
rd.luks.uuid=luks-323281ed-242f-40db-85cb-75ab350dbb43 rhgb quiet
Desktop: Gnome 3.32.2 wm: gnome-shell dm: GDM Distro: Fedora release 30
(Thirty) Machine: Type: Convertible System: HP product: HP Spectre x360
Convertible 15-ch0xx v: N/A serial: <filter> Chassis: type: 31 serial:
<filter> Mobo: HP model: 83BA v: 57.20 serial: <filter> UEFI: AMI v:
F.04 date: 01/23/2018 Graphics: Device-1: Intel UHD Graphics 620 vendor:
Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 chip ID:
8086:5917 Device-2: NVIDIA GP108M [GeForce MX150] vendor:
Hewlett-Packard driver: nouveau v: kernel bus ID: 01:00.0 chip ID:
10de:1d10 Display: wayland server: Fedora Project X.org 1.20.5 driver:
nouveau compositor: gnome-shell resolution: 3840x2160~60Hz OpenGL:
renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.5 Mesa
19.1.8 compat-v: 3.0 direct render: Yes Version-Release number of
selected component (if applicable): FC31 How reproducible: Every time.
Steps to Reproduce: 1.Install or upgrade on my laptop 2. 3.
Thanks in advance for any assistance you can provide,
Brian
4 years, 3 months
Re: module load failure on boot
by Frank McCormick
On 12/24/19 2:36 PM, Samuel Sieb wrote:
> On 12/24/19 11:20 AM, Frank McCormick wrote:
>> BTW, systemd-modules-load.service doe not make any mention of
>> directories with lists of kernel modules??
>
> # cat /usr/lib/systemd/system/systemd-modules-load.service
>
> [...snip...]
>
> [Unit]
> Description=Load Kernel Modules
> Documentation=man:systemd-modules-load.service(8) man:modules-load.d(5)
> DefaultDependencies=no
> Conflicts=shutdown.target
> Before=sysinit.target shutdown.target
> ConditionCapability=CAP_SYS_MODULE
> ConditionDirectoryNotEmpty=|/lib/modules-load.d
> ConditionDirectoryNotEmpty=|/usr/lib/modules-load.d
> ConditionDirectoryNotEmpty=|/usr/local/lib/modules-load.d
> ConditionDirectoryNotEmpty=|/etc/modules-load.d
> ConditionDirectoryNotEmpty=|/run/modules-load.d
>
> # ls /usr/lib/modules-load.d
> open-vm-tools.conf soundtracker.conf
>
> # cat /usr/lib/modules-load.d/soundtracker.conf
> snd_pcm_oss
There are none so blind as those who will not see :)
4 years, 3 months
Re: module load failure on boot
by Frank McCormick
On 12/24/19 12:57 PM, Samuel Sieb wrote:
> On 12/24/19 8:02 AM, Frank wrote:
>> I am running a freshly updated Fedora 31. I noticed this morning that
>> the systemd-modules-load.service failed. I saw it on boot
>>
>> and later in the journal log.
>>
>> There is no explanation why it failed, just the notification.
>
> I've seen this for a long time on multiple computers, but haven't
> bothered to take the time to figure it out. Although now that I check
> it, it was successful on this computer. Look in the service file
> /usr/lib/systemd/system/systemd-modules-load.service to see the list of
> directories and check which modules it would be trying to load.
> _______________________________________________
I have since discovered that the problem originates from Grub loading
the wrong kernel which is another problem I have to solve.
I run two Linux distros on this computer (in addition to Windows 10),
Debian Sid and Fedora. I have been installing grub from Debian into
/dev/sda, the main disk. I suspect the problem exists because the Debian
version of update-grub (to create the new grub.cfg file) sorts the
Fedora Kernels in the wrong order, putting the recovery entry first,
then the oldest kernel followed by the newest kernel. So just hitting
the Grub entry for Fedora on booting results (sometimes) in the oldest
kernel, or occasionally the recovery entry.
I'll have to take this up with users on the Debian list.
BTW, systemd-modules-load.service doe not make any mention of
directories with lists of kernel modules??
Sorry for the noise.
4 years, 3 months
module load failure on boot
by Frank
I am running a freshly updated Fedora 31. I noticed this morning that
the systemd-modules-load.service failed. I saw it on boot
and later in the journal log.
There is no explanation why it failed, just the notification.
[frank@franklin ~]$ systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
Loaded: loaded
(/usr/lib/systemd/system/systemd-modules-load.service; static; vendor
preset: disabled)
Active: failed (Result: exit-code) since Tue 2019-12-24 10:44:34
EST; 5min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 750 ExecStart=/usr/lib/systemd/systemd-modules-load
(code=exited, status=1/FAILURE)
Main PID: 750 (code=exited, status=1/FAILURE)
CPU: 9ms
How can I debug this ?
Thanks
4 years, 3 months