No Internet Connection?

I have installed openSUSE Leap 15 and i am very impressed with the OS. But for some reason i cannot get online. Could some one help me please.

Wireless or wired? Desktop used???

Didn’t it try to setup the network during the installation? And what were the results there?

There is a general recipe to walk down with network problems:

You check from bottom to top:

  1. Is the NIC up with an IP address?
    
ip addr
  1. Can you connect to another system on your LAN?
    
ping -c1 <IP-address of your router>

(I hope you know that address)

  1. Do you have a default route to the Internet?
    
ip route
  1. Can you connect to a system on the internet?
    
ping -c1 130.57.66.6
  1. Can you resolve host/domain names?
    
ping -c1 forums.opensuse.org

Take care. As soon a one step fails, that must be resolved first. It is useless to go to the next step before it is resolved.

So start with 1. and do not hesitate to post the output here to get help on the interpretation.

I’ve got a wireless Desktop.

It did try to set up the network during installation but i must have done something wrong. Alas, i didn’t save the results.

The output of

 ip addr 


z8603@linux-wd2g:~> ip addr
1: lo <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
        valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
        valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group
default qlen 1000
       link/ether 1c:1b:0d:5e:62::04 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default
  qlen 1000
       link/ether b0:63:bf:a7:5c:61 brd ff:ff:ff:ff:ff:ff
       inet6 fe80::b263:bfff:fea7:5c61:/64 scope link
           valid_lft forever preferred_lft forever
z8603@linux-wd2g:~>


You indeed have no IP set at all.

As you use a desktop, I assume that using wicked maybe fine.

Use YaST > Network Devices > Network settings.

At the Global tab choose for wicked (when not already set).

At the Overview tab, select the network device and click Edit below.

Assuming you want to use DHCP to set network parameters from the DHCP server in your router, choose Dynamic address. Click Next.

On the next screen you call fill in the SSID of your network and security parameters. Next.

I think that is it.

When question, please come back here. When success, please report also.

You even didn’t highlight your problem. However, few things you can try:

  1. Check system updates
  2. Install software
  3. Install multimedia codecs
  4. Install proprietary graphics driver.

Hope that help!

I assume that all four point above are a bit difficult to do when the OP has no network connection.

Hi! I have the same problem. I did not use my openSuse a while, so today I tried to update from 42.3 to 15.0. Update have gone quite ok (I guess - all other programs work well), but I cannot established wireless connection. When I try “ip addr” command, I get something that looks like:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 60:02:92:25:97:65 brd ff:ff:ff:ff:ff:ff
3: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether a0:a8:cd:0d:06:ec brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.199/24 brd 192.168.0.255 scope global noprefixroute dynamic wlan1
       valid_lft 3362sec preferred_lft 3362sec
    inet6 2a02:a310:8239:4100:b87d:8dc8:550:fd3d/64 scope global temporary dynamic 
       valid_lft 604565sec preferred_lft 85806sec
    inet6 2a02:a310:8239:4100:a2a8:cdff:fe0d:6ec/64 scope global mngtmpaddr noprefixroute dynamic 
       valid_lft 924172sec preferred_lft 319372sec
    inet6 fe80::a2a8:cdff:fe0d:6ec/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

and still I do not have a connection. I already try to solve it this way:

Network settings.
At the Global tab choose for wicked (when not already set).
At the Overview tab, select the network device and click Edit below.
Assuming you want to use DHCP to set network parameters from the DHCP server in your router, choose Dynamic address. Click Next.
On the next screen you call fill in the SSID of your network and security parameters. Next.

I will appreciate any help!

It would be better to start your own thread. That makes it less confusing.

Please indicate what method you used to update to 15.0.

Rest of recommended commands:


ping -c1 192.168.0.1

PING 168.0.1 (168.0.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.0.1: icmp_seq=1 ttl=64 time=11.2 ms

--- 192.168.0.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 11.295/11.295/11.295/0.000 ms

ip route
default via 192.168.0.1 dev wlan1 proto dhcp 
default via 192.168.0.1 dev wlan1 proto dhcp metric 20600 
192.168.0.0/24 dev wlan1 proto kernel scope link src 192.168.0.199 metric 600 
ping -c1 130.57.66.6
PING 130.57.66.6 (130.57.66.6) 56(84) bytes of data.
64 bytes from 130.57.66.6: icmp_seq=1 ttl=45 time=385 ms

--- 130.57.66.6 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 385.732/385.732/385.732/0.000 ms

ping -c1 forums.opensuse.org
ping: forums.opensuse.org: Name or service not known

The way I updated to Leap 15:

  1. I changed paths in respositories from 42.3 to 15.0

  2. Then I run:

zypper dup
  1. and i rebooted a computer after the process

Since pings by IP worked, it seems that your only problem is with DNS.

My usual advice for this:

Remove the file “/etc/resolv.conf” and then reboot.

However, an alternative is to run (as root)

netconfig update -f

Hello, please I have tried all the above options and still can’t connect to the internet
The ping test worked except ‘‘ping forums.opensuse.org’’ is it possible that a netconfig settings solve if so please advice me on what to do

I have the same problem, neither “install” nor “update” (from net.iso 15.1 or 15.2 Alpha) works within an IPV4 network with ipv4 DHCP Server. May be there is a bug in setting the priority of DCP IPV4 and IPV6 call. I cannot setup new 15.1 or 15.2 VMs in a longtime working IPV4 XEN environment.

As standard within the last 6 or 7 major releases, the opensuse versions xx.3 will work. From opensuse 10.x on, all xx.0 versions did not work seemless as servers.
.