Network Settings

Hello everyone

Before i go any further i must admit to being an openSUSE Leap noob.

I have installed openSUSE Leap 15 without any problem at all
but for some reason i just can’t get online. Could someone tell me how l might
configure my network settings in order for me to get on line please.
Thanks.

Which desktop environment?
Wireless or wired?
Does


sudo netconfig -f update

( enter your root password )
improve things?

Does

ping 8.8.8.8

get any response?

For example, I get:


% ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=119 time=23.0 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=119 time=23.2 ms
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 23.013/23.151/23.289/0.138 ms

If that does get responses, then you have a DNS problem. If that does not get responses, then you have a broader network problem.

The online LEAP documentation can provide you with more info than you may need to get yourself configured…

https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.network.html

I’d point you to pay special attention to the following sections…
13.3 Name Resolution
https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.network.html#sec.network.nameres
13.4 Configuring using YaST
https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.network.html#sec.network.yast
13.5 Configuring using Network Manager
https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.network.html#sec.network.nm

e basic concepts to get you started…

  • Running the following command in a windowed command line console will display your current network settings
ip addr

And the following will display your gateways including your Default Gateway

ip route

And the following will display your currently configured DNS name servers

cat /etc/resolv.conf
  • There are two main ways to configure your network connection…
    Wicked is your traditional ifup/ifdown primarily used when the machine isn’t portable, like office workstations, and always connects to the same network.
    Network Manager is what you would use if your machine is portable, and might connect to many different networks.

The reason why Network Manager is practically always used for laptops is to support moving from one wireless network to another, or moving from one building to another. Network Manager can remember the settings of numerous network connections, whereas Wicked will forget the previous network any time the machine connects to a new network.

You can switch from Wicked to Network Manager or vice versa in YaST > System > Network Settings > Global tab.

If you have any questions how to read your current network settings or how to configure, post again with your specific question (What you may have read, what you tried, what you see that was unexpected).

HTH,
TSU