New Hardware, new install: Setting up network with Wicked

Hi,
In the above thread, I was complaining about the long boot time.
I open a new thread about network setting as Wicked is new for me and I’d be glad if some of you could check my network settings.
I got and answer from my ISP that they don’t use IPv6 at all.
I had as well the comment about disabling IPv6

But I don’t know about /etc/postfix/main.cf.
Please find my config

> sudo wicked ifstatus all
[sudo] password for root: 
lo              up
      link:     #1, state up
      type:     loopback
      config:   compat:suse:/etc/sysconfig/network/ifcfg-lo
      leases:   ipv4 static granted
      leases:   ipv6 static granted
      addr:     ipv4 127.0.0.1/8 [static]
      addr:     ipv6 ::1/128 [static]

eth0            setup-in-progress
      link:     #2, state up, mtu 1500
      type:     ethernet, hwaddr 70:85:c2:94:4d:a7
      config:   compat:suse:/etc/sysconfig/network/ifcfg-eth0
      leases:   ipv4 dhcp granted, ipv4 auto requesting
      addr:     ipv4 192.168.1.120/24 [dhcp]
      route:    ipv4 default via 192.168.1.1 proto dhcp

So, could you help me to set up my config, let me know what command to run to get more info.
Thanks

Hi
You can set your hostname via YaST lan, or use hostnamectl to set?

For postfix, use an editor (vi,nano etc) and open /etc/postfix/main.cf then like I indicated, sroll down to the line around 706 and edit;


disable_vrfy_command = yes
inet_interfaces = localhost
inet_protocols = ipv4
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = 

The line inet_protocols will say all, change to ipv4 and save.

In case OP didn’t notice in my response in the parent thread, NetworkMangler and Wicked are not the only static IP options in openSUSE, though in YaST they are. I’m using the method systemd provides, systemd-networkd:

# systemd-analyze blame | grep net
  108ms systemd-networkd.service
# systemd-analyze
Startup finished in 1.761s (kernel) + 3.081s (initrd) + 6.816s (userspace) = 11.659s
graphical.target reached after 5.858s in userspace
# inxi -C
CPU:
  Info: dual core model: Intel Core i3-4150T bits: 64 type: MT MCP cache:
    L2: 512 KiB
  Speed (MHz): avg: 2833 min/max: 800/3000 cores: 1: 2839 2: 2971 3: 2822
    4: 2700

This is an 8 year old CPU legacy booting from plain-jane cheapy SSD with 15.3.

My 12 month old CPU & UEFI booting with NVME is more than twice as fast, but also slower, by somehow additionally counting firmware and loader times to reach the total:

# systemd-analyze blame | grep net
  40ms systemd-networkd.service
# systemd-analyze
Startup finished in 12.221s (firmware) + 23.524s (loader) + 1.070s (kernel) + 1.793s (initrd) + 2.452s (userspace) = 41.063s
graphical.target reached after 2.447s in userspace
# inxi -C
CPU:
  Info: 6-core model: 11th Gen Intel Core i5-11400 bits: 64 type: MT MCP
    cache: L2: 3 MiB
  Speed (MHz): avg: 800 min/max: 800/4400 cores: 1: 801 2: 801 3: 801
    4: 802 5: 800 6: 801 7: 800 8: 800 9: 801 10: 801 11: 800 12: 801

More. Loader times include 3 seconds grub wait:

**erlangen:~ #** inxi -SCMDm 
**System:    Host:** erlangen **Kernel:** 5.16.15-1-default x86_64 **bits:** 64 **Console:** pty pts/1 **Distro:** openSUSE Tumbleweed 20220328 
**Machine:   Type:** Desktop **Mobo:** ASRock **model:** Z170 Pro4S **serial:** M86-64000700034 **UEFI:** American Megatrends **v:** P7.50 
           **date:** 01/23/2018 
**Memory:    RAM:****total:** 31.29 GiB **used:** 2.68 GiB (8.6%) 
           **Array-1:****capacity:** 64 GiB **slots:** 4 **EC:** None 
           **Device-1:** ChannelA-DIMM0 **size:** No Module Installed 
           **Device-2:** ChannelA-DIMM1 **size:** 16 GiB **speed:** 2133 MT/s 
           **Device-3:** ChannelB-DIMM0 **size:** No Module Installed 
           **Device-4:** ChannelB-DIMM1 **size:** 16 GiB **speed:** 2133 MT/s 
**CPU:       Info:** Quad Core **model:** Intel Core i7-6700K **bits:** 64 **type:** MT MCP **cache:****L2:** 8 MiB 
           **Speed:** 800 MHz **min/max:** 800/4200 MHz **Core speeds (MHz):****1:** 800 **2:** 800 **3:** 800 **4:** 801 **5:** 800 **6:** 800 **7:** 800 **8:** 800 
**Drives:    Local Storage:****total:** 3.64 TiB **used:** 1.7 TiB (46.8%) 
           **ID-1:** /dev/nvme0n1 **vendor:** Samsung **model:** SSD 970 EVO Plus 2TB **size:** 1.82 TiB 
           **ID-2:** /dev/sda **vendor:** Crucial **model:** CT2000BX500SSD1 **size:** 1.82 TiB 
**erlangen:~ #** systemd-analyze 
Startup finished in 17.879s (firmware) + 3.645s (loader) + 802ms (kernel) + 1.736s (initrd) + 1.794s (userspace) = 25.858s  
graphical.target reached after 1.794s in userspace 
**erlangen:~ #** systemd-analyze critical-chain network.target 

network.target @888ms 
└─**systemd-resolved.service @816ms +71ms**
  └─**systemd-networkd.service @474ms +340ms**
    └─**systemd-udevd.service @384ms +89ms**
      └─**systemd-tmpfiles-setup-dev.service @359ms +16ms**
        └─**kmod-static-nodes.service @339ms +9ms**
          └─systemd-journald.socket 
            └─system.slice 
              └─-.slice 
**erlangen:~ #**
**i3-4130:~ #** inxi -SCMDm  
**System:    Host:** i3-4130 **Kernel:** 5.17.1-1.g47fa9ec-default x86_64 **bits:** 64 **Console:** pty pts/1 
           **Distro:** openSUSE Tumbleweed 20220328 
**Machine:   Type:** Desktop **Mobo:** ASRock **model:** Z87 Pro3 **serial:** M80-3B015801235 **UEFI:** American Megatrends **v:** P2.90 
           **date:** 07/11/2014 
**Memory:    RAM:****total:** 15.3 GiB **used:** 2.51 GiB (16.4%) 
           **Array-1:****capacity:** 32 GiB **slots:** 4 **EC:** None 
           **Device-1:** ChannelA-DIMM0 **size:** No Module Installed 
           **Device-2:** ChannelA-DIMM1 **size:** 8 GiB **speed:** 1600 MT/s 
           **Device-3:** ChannelB-DIMM0 **size:** No Module Installed 
           **Device-4:** ChannelB-DIMM1 **size:** 8 GiB **speed:** 1600 MT/s 
**CPU:       Info:** Dual Core **model:** Intel Core i3-4130 **bits:** 64 **type:** MT MCP **cache:****L2:** 3 MiB 
           **Speed:** 1109 MHz **min/max:** 800/3400 MHz **Core speeds (MHz):****1:** 1109 **2:** 1000 **3:** 1000 **4:** 1000 
**Drives:    Local Storage:****total:** 698.65 GiB **used:** 41.53 GiB (5.9%) 
           **ID-1:** /dev/sda **vendor:** Crucial **model:** CT250MX500SSD1 **size:** 232.89 GiB 
           **ID-2:** /dev/sdb **vendor:** Samsung **model:** SSD 850 EVO 500GB **size:** 465.76 GiB 
**i3-4130:~ #** systemd-analyze 
Startup finished in 3.864s (firmware) + 4.596s (loader) + 612ms (kernel) + 1.462s (initrd) + 2.036s (userspace) = 12.572s  
graphical.target reached after 2.036s in userspace 
**i3-4130:~ #** systemd-analyze critical-chain network.target 

network.target @955ms 
└─**systemd-resolved.service @859ms +96ms**
  └─**systemd-networkd.service @683ms +173ms**
    └─**systemd-udevd.service @506ms +174ms**
      └─**systemd-tmpfiles-setup-dev.service @471ms +21ms**
        └─**kmod-static-nodes.service @450ms +10ms**
          └─systemd-journald.socket 
            └─system.slice 
              └─-.slice 
**i3-4130:~ #** 

Bellow what I have in the file. I didn’t edit it, this is stock config.
As I expected, I have set hostnames in the router and they are sent by DHCP. In Yast2: “Set Hostname via DHCP: yes:any”
Nevertheless, /etc/hostname is not set but I have it in the terminal.

~> cat /etc/postfix/main.cf
...
############################################################

biff = no
content_filter = 
delay_warning_time = 1h
disable_dns_lookups = no
disable_mime_output_conversion = no
disable_vrfy_command = yes
inet_interfaces = localhost
inet_protocols = ipv4 
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = 
masquerade_exceptions = root
mydestination = $myhostname, localhost.$mydomain, localhost
myhostname = ASR5600G.locdom.org
mynetworks_style = subnet
relayhost = 

I don’t think I have to change something here. Should I?

I use to run NetworkManager, it has a GUI in the panel. Now with Wicked I even don’t know how to display the IP address, there is no GUI, not to mention troubleshooting… and there is another way, NetworkMangler. :question:
What to do, I’ll have to learn more!? I would be lost/incompetent without the help of all of you. Many thanks!
So my data

~> sudo systemd-analyze. Include 2s grub wait
Startup finished in 16.483s (firmware) + 2.461s (loader) + 2.857s (kernel) + 1.774s (initrd) + 5.489s (userspace) = 29.066s 
graphical.target reached after 5.484s in userspace

~> sudo systemd-analyze critical-chain network.target
...
network.target @2.945s
└─wicked.service @1.925s +1.019s
  └─wickedd-nanny.service @1.918s +6ms
    └─wickedd.service @1.903s +13ms
      └─wickedd-auto4.service @1.891s +11ms
        └─network-pre.target @1.890s
          └─firewalld.service @1.642s +247ms
            └─polkit.service @1.604s +37ms
              └─basic.target @1.596s
                └─sockets.target @1.596s
                  └─pcscd.socket @1.596s
                    └─sysinit.target @1.593s
                      └─systemd-udev-settle.service @186ms +1.406s
                        └─systemd-udev-trigger.service @140ms +45ms
                          └─systemd-udevd-kernel.socket @133ms
                            └─system.slice
                              └─-.slice

Let me know you thought.

Hi
All looks good main.cf is correct :slight_smile: I would check your BIOS for a post boot delay/check etc to reduce the ‘firmware’ time. The other times are great.

The ip command to see the address etc;


ip addr

How could I export and send you the settings? (ASRock B550M Steel Legend)
I can’t find a way.
Any idea?

Hi
You mean BIOS settings? I can see in a downloaded manual, so maybe review this, indicate the page number and settings, but I suspect the EFI menu and boot settings on page 66;
https://download.asrock.com/Manual/B550M%20Steel%20Legend.pdf

Sorry, the paper manual is different than the pdf and doesn’t mention the save to USB.
I saved the config to the USB key but this is not a text file (61525 bytes), maybe a binary. I can’t open it.
Do you want it? Let me know where to share.
Otherwise, by text or picture?