I am a newbie to opensuse, used a very little in the distant past. Once every 3 or 4 years I have an attempt to switch to Linux desktop, this is my current try. Previously I tried a bit of ubuntu, and seen some debian, redhat, slackware installations, mostly some years in the past. Today I have installed Tumbleweed alongside with Win11, but on a second ssd I had available. I chose Opensuse because I have windows 11 which requires secure boot and it’s one of the few distros available that support it out of the box (according to google).
Network doesn’t work after booting into the fresh installation. It seems to keep disabling and enabling. At least an interface shows up (however it’s different some long name hard to remember instead of usual eth0 but I think that’s some new network tools). I tried both manual and dhcp settings, entering IP, subnet mask (just /24), default route (.1 which is my router), dns which is same, just the same settings as on Windows, but leaving it all to DHCP as well. At some point network interface seemed to keep disabling enabling forever.
I tried to confirm settings but it’s a bit hard, in settings I found yast which said it can’t configure network settings because network manager has it, so I just right clicked the network icon in the sys tray to configure settings. The commands I was familiar - ipconfig, route, traceroute - are all missing so I couldn’t confirm settings in command line and not sure what config files are used but I was able to ping myself and the default gw (my router). Nothing past that worked.
Setup is an older desktop machine (b450 mb with integrated lan, ryzen 5 3600), with a mikrotik hap ac2 router that is connected to provider router. The setup - of course - works in Windows, also works with my work notebook just with dhcp nothing configured.
I’m not sure what info should I provide, any ideas?
Network doesn’t work after booting into the fresh installation. It seems to keep disabling and enabling. At least an interface shows up (however it’s different some long name hard to remember instead of usual eth0 but I think that’s some new network tools). I tried both manual and dhcp settings, entering IP, subnet mask (just /24), default route (.1 which is my router), dns which is same, just the same settings as on Windows, but leaving it all to DHCP as well. At some point network interface seemed to keep disabling enabling forever.
I tried to confirm settings but it’s a bit hard, in settings I found yast which said it can’t configure network settings because network manager has it, so I just right clicked the network icon in the sys tray to configure settings.
With openSUSE there are three main frameworks to manage network connectivity: wicked, NetworkManager, or Systemd-networkd. YaST netowrk configuration can be used when using wicked. NetworkManager has it’s only CLI and GUI-frontend to manage network connectivity.
Although not relevant to this thread, the following reference may be of value for those interested in using systemd-networkd… https://en.opensuse.org/Systemd-networkd
The commands I was familiar - ipconfig, route, traceroute - are all missing so I couldn’t confirm settings in command line and not sure what config files are used but I was able to ping myself and the default gw (my router). Nothing past that worked.[/QUOTE]
Show us the configured IP address and routing…
ip address > out1.txt
ip route > out2.txt
grep -i name /etc/resolv.conf > out3.txt
You can transfer the files to USB memory stick and post the output here via an internet-connected machine. Others can advise further once you have shared the requested output.
If you want obsolete Network commands like ifconfig run this command as root:
zypper in net-tools-deprecated
If you want the names to be eth0 instead of the path to the network interface change /etc/default/grub line to include net.ifnames=0 - this is how my file looks - do run the grub2-mkconfig -o /boot/grub2/grub.cfg after any change - you have to reboot for this to take effect.
# cat /etc/default/grub
# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update
Lines deleted
GRUB_CMDLINE_LINUX_DEFAULT="splash=verbose showopts nouveau.modeset=0 net.ifnames=0 usbcore.autosuspend=-1"
More lines deleted
Thanks for all your input. I have a starting point in the newer tools now thanks to your answers, however the 3 different ways of config are somewhat confusing and will have to read up on that
With dhcp and just auto settings I didn’t even have ip address anymore and interface kept going up and down so I just reinstalled the entire thing with basically same settings and same partitioning scheme and I got lucky now it works.
I guess it was “cheap” to do it as it was completely fresh, may not get away with it so easily next time.
Now I can run updater, install software, and even installed Steam and basic tools. Looking forward to see how things look but apparently many things changed since I tried last time.
For now I would recommend staying with using NetworkManager.
With dhcp and just auto settings I didn’t even have ip address anymore and interface kept going up and down so I just reinstalled the entire thing with basically same settings and same partitioning scheme and I got lucky now it works.
I guess it was “cheap” to do it as it was completely fresh, may not get away with it so easily next time.
Now I can run updater, install software, and even installed Steam and basic tools. Looking forward to see how things look but apparently many things changed since I tried last time.