![](https://seccdn.libravatar.org/avatar/54df84b83dac3594fa721c3612615e40.jpg?s=120&d=mm&r=g)
Mark Misulich wrote:
On Sun, 2019-05-26 at 22:16 +0200, Carlos E. R. wrote:
On 26/05/2019 19.05, Mark Misulich wrote:
Hi, I did a zypper dup from 15.0 to 15.1 this morning on my laptop. The process went without a hitch, but now that it is complete I can't connect to the internet anymore either with wifi or cable connection.
The first thing is to diagnose the problem, not to apply random solutions.
So, did you got an IP address?
As ifconfig will probably not be installed, try "ip addr", otherwise "ip link" or perhaps "ip netconf".
I used #curl ifconfig.me curl: (6) Could not resolve host: ifconfig.me #curl api.ipify curl: (6) api.ipify
Both indicate inability to resolve names, but not necessarily that you have no internet access.
If you haven't already, check your /etc/resolv.conf, next if you can ping the server(s) listed. I tried to recreate the etc/resolv.conf file as my first step in trying to fix this problem, as I had to do when I had a similar problem using zypper dup to go from 42.3 to 15.0. My first post in this thread
On Mon, 2019-05-27 at 08:13 +0200, Per Jessen wrote: details how I used netconfig update -f, and also another method. The etc/resolv.conf file on my laptop is named resolv.conf.20180610- 203042 I looked at the etc/resolv.conf file using Kate on my laptop, and it only reads "# Generated by NetworkManager" without the quotes. I opened the etc/resolv.conf file, named etc/resolv.conf, the same way on my desktop, and it reads: ### /etc/resolv.conf file autogenerated by netconfig! # # Before you change this file manually, consider to define the # static DNS configuration using the following variables in the # /etc/sysconfig/network/config file: # NETCONFIG_DNS_STATIC_SEARCHLIST # NETCONFIG_DNS_STATIC_SERVERS # NETCONFIG_DNS_FORWARDER # or disable DNS configuration updates via netconfig by setting: # NETCONFIG_DNS_POLICY='' # # See also the netconfig(8) manual page and other documentation. # # Note: Manual change of this file disables netconfig too, but # may get lost when this file contains comments or empty lines # only, the netconfig settings are same with settings in this # file and in case of a "netconfig update -f" call. # ### Please remove (at least) this line when you modify the file! nameserver 191.147.1.1 In addition, on the laptop the file system is different for etc/resolv.conf. I have a black file icon with a question mark in the middle that is named resolv.conf. Opening it, it reads ### /etc/resolv.conf is a symlink to /var/run/netconfig/resolv.conf ### autogenerated by netconfig! # # Before you change this file manually, consider to define the # static DNS configuration using the following variables in the # /etc/sysconfig/network/config file: # NETCONFIG_DNS_STATIC_SEARCHLIST # NETCONFIG_DNS_STATIC_SERVERS # NETCONFIG_DNS_FORWARDER # or disable DNS configuration updates via netconfig by setting: # NETCONFIG_DNS_POLICY=' ' # # See also the netconfig(8) manual page and other documentation. # ### Call 'netconfig update -f to force adjusting of /etc/resolv.conf. nameserver 192.147.1.= When using the real ip address of my wifi router, I can ping it successfully. The NetworkManager icon on the taskbar has a red exclamation mark next to it, which I have understood to mean that I am connected to the wifi router but not to the internet.
~ip addr <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 1c:2g:39:14:4s:2o brd ff:ff:ff:ff:ff:ff inet 192.147.1.1/24 brd 192.147.1.298 scope global noprefixroute dynamic wlan1 valid_lft 86277sec preferred_lft 86277sec inet6 fe80::85s6:15gg:41:4c7z/64 scope link noprefixroute valid_lft forever preferred_lft forever
Just shows the address of my wifi but not an ip address.
That looks a bit dodgy to me. ip addr is 192.147.1.1 and broadcast is 192.147.1.298 ?? The oui of '1c:2g:39' isn't listed at the IEEE. I guess you did some obscuring?
Yes, I did.
Then if you do have an IP, next see if you have a route, so "ip route" (all work as user).
#ip route
So no routes at all - not even a default. 'noprefixroute' from your config above prevents 192.147.1.0/24 being added too.
-- Per Jessen, Zürich (15.4°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org