Connecting to BT hub but not the Internet! With Suse LEAP 15 installation

Hi people,
I’m running leap 15 which I have practiced installing many times on a dell optiplex 780.it is the sole operating system. Each of the various times I installed 15,i was able to configure my eth0 without problems. Wlan0 was problematic but I was able to get it going from time to time.

Once I had got my replacement 1Tb drives, I started again and went through the procedures I had become familiar with.

I configured eth0 with yast.

Using Firefox, I can connect to my BT hub, I can see my machine, it’s name, it’s url and it’s state of connection. I also track this on my android tablet.

So far, so good.

I cannot connect to the Internet!

I can connect on other devices on my network but not the Internet! Other equipment, such as the android I’m sending this from, are fine. Annoyingly, the windows box is fine too.

I am writing this mail from the android.

So I’ve done the following at least five times each. More like ten. It’s been a week of head scratching.

Starting with nothing configured, I’ve configured eth0, nay luck.

15 appears to default to wicked but having failed to get a connection to the Web I’ve started NetworkManager and tried from there. Still nay luck.

I’ve repeated the process with wlan0 having deleted the eth0 configuration. Reboot, try to get it up with wicked, can connect to hub but no further. Delete.

Reboot start again. I’ve noticed now though, I can’t use wlan0, only wlan1! Nothing else is configured so I really don’t understand this.

At the last, (and current), configuration, wlan2 is the only one available to me. I don’t really care what’s called but I would like it to work.

So, with either eth0 or wlan?, I can get access to the BT hub but no further.

I feel I’m missing something obvious but also feel secure in your ability to point that out! :slight_smile:
I’ve had it connected with DHCP and without. It connects to the hub but no further than that very local lan.

Any guidance appreciated.

Regards

Chris

You say that you have no connection to the internet, but you do not show it.

So please show

ping -c1 130.57.66.6

And to show the full story when someone says “I have no Internet” (or similar vague wording):

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.

When I understand you correct, you say (but do not show) that 1. and 2. are OK. Nevertheless, for the unbelievers here, better show them also.

Hi hcvv,
thanks for your reply.

Perhaps some of the text was missing.

To reiterate
I configured eth0 with yast.

Using Firefox, I can connect to my BT hub, I can see my machine, it’s name, it’s url and it’s state of connection. I also track this on my android tablet.

So far, so good.

I cannot connect to the Internet!

I can connect on other devices on my network but not the Internet! Other equipment, such as the android I’m sending this from, are fine. Annoyingly, the windows box is fine too.

I am writing this mail from the android.

Posting code is very difficult, photos don’t cut it but I can do that.

So, ping - c1 reports 1 packets transmitted, 1 received, 02 packet loss, time 0ms
64 bytes from 130.57.66.6: icmp_seq=1 ttl=42.time 189ms
130.57.66.6 ping statistics

1 packets transmitted, 1 received, 0% packet loss, time 0ms
Rtt min/avg/max/mdev = 189.242/189.242/189.242/0.000 ms

1: Yes, I can see both the eth0 and wla0 and can use ipup and down and see the effect of them connecting to the BT router and disconnecting while looking on the android

2: Yes. I can connect to a share centre for backup, it has its own url. Not tried anything else.

3: I don’t understand the question. Configuration requires me to identify the linux box and the server I’m trying to connect to. I have the urls of both. I am not asked about the ‘internet’.

4: No! This is the problem.

5: Sorry, don’t understand the question. I can type various urls into the address bar of Firefox and connect. The two available to me are the share centre and the BT router.

I and 2 are OK but not having a connection beyond the router makes it difficult to show, however, be specific and I will take a photo and attach that.

Regards

Chris

Sorry, forgot

Ping - c1 forums.opensuse.org

Name or service not known

ping - c1 reports 1 packets transmitted, 1 received, 0% packet loss, time 0ms
64 bytes from 130.57.66.6: icmp_seq=1 ttl=42.time 189ms
130.57.66.6 ping statistics

Connection works.

So what about this:

ping -c1 forums.opensuse.org

Maybe this as root does help:

netconfig update -f

On 07/27/2018 03:46 PM, Crb999 wrote:
>
> Sorry, forgot
>
> Ping - c1 forums.opensuse.org
>
> Name or service not known
>
>

Sounds like another case of /etc/resolv.conf not being properly populated.


Ken
unix since 1986
S.u.S.E.-openSUSE since 1998

You forget that he is already struggling at point 3. Thus not being able to tresolve names is the logical.

As I said, when stuck at one of the points, it is of NO USE to get to the next point.

@Crb999

3: I don’t understand the question. Configuration requires me to identify the linux box and the server I’m trying to connect to. I have the urls of both. I am not asked about the ‘internet’.

There is not much in “understanding the question”. You should do

ip route

and report what happens.
I understand that you have to copy that output in some way to another system to post, but what comes out are only a few lines.
Important is if there is a line that had the word ‘default’. Show that or tell if there isn’t one.

And please stop talking about what Firefox does. That is only an application for the end user. We are now checking if you have connection to the internet and when not we try to repaitr that. When that is OK, applications like FF will function to your satisfaction automagicaly.

To repeat, we are at point 3 and want to see what you have there.

Ip route
Default via 192.168.1.253 dev eth0 port dhcp
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.112

Ok, then 192.168.1.253 is what you call your BT hub. Correct?

When that is the correct gateway/router, you should have connection to outsite.

OK, sorry, I see you posted in a confusing way for step 4

ping -c1 130.57.66.6

that it succeeded!
Thus you have connection to the internet.

I am sorry, but instead of just posting the results of the commands you cluttered it with all sorts of conclusions. I understand that copying down the results might be a tedious task, but you added all sorts of text that was never shown on the screen. We do not need your stories. We need the computer facts.

Now you do have connection to the Internet, the only thing that left is step 5, where it goes wrong. And now it shows that @Sauerland (sorry, you seem to have deciphered the post better then I have) was correct .

So, try his suggestion

netconfig update -f

When that does not work, as root remove /etc/resolv.conf:

rm /etc/resolv.conf

and reboot.

All the following executed as root

1/
linux-ox1l:~ # ip addr
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
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:ac:6f:2e:0b:4e brd ff:ff:ff:ff:ff:ff
inet 192.168.1.112/24 brd 192.168.1.255 scope global eth0
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 00:e0:4c:18:b1:81 brd ff:ff:ff:ff:ff:ff

2/
linux-ox1l:~ # ping -c1 192.168.1.253
PING 192.168.1.253 (192.168.1.253) 56(84) bytes of data.
64 bytes from 192.168.1.253: icmp_seq=1 ttl=64 time=10.2 ms

— 192.168.1.253 ping statistics —
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 10.260/10.260/10.260/0.000 ms

3/
linux-ox1l:~ # ip route
default via 192.168.1.253 dev eth0 proto dhcp
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.112

4/
linux-ox1l:~ # 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=42 time=187 ms

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

5/
linux-ox1l:~ # ping -c1 forums.opensuse.org
ping: forums.opensuse.org: Name or service not known

Yes, that is how it could have been posted much earlier. But we are already at the point where it comes down to step 5, no DNS resolving is the problem you have.

Did you try the advices in post #10 above?

netconf update -f

and when that does not solve it

rm /etc/resolv.conf

and reboot

So,

linux-ox1l:~ # netconf update -f
If 'netconf' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf netconf

It appears that LEAP 15 requires ‘netconfig’.

linux-ox1l:~ # netconfig update -f
<13>Jul 28 13:37:28 dns-resolver: force replace set: backup created as /etc/resolv.conf.20180728-133728

Well, that did it.

Why was it wrong?

Thanks for your help.

I am a novelist not a programmer, I won’t ever think like a programmer so thanks for your perseverance.

The last post use three machines to get it to you and lots of typing on the wrong keyboard, very frustrating, but you won’t want to know that :slight_smile:

Thanks again but I really would like to know why a newly installed Suse linux LEAP 15 got it wrong?

Regards

Chris

congratulations that it works now.

I am not sure why this went wrong.

For sure is that the problem is detected more often, but most people then report that their DNS does not function properly.

Again, I am not sure why. Could be that switching between Wicked and NM does not always have it correct.

In any case, removing the configuration file makes it to be created new at network start. It is a quick solution instead of analyzing the contents and trying to repair it with an editor.

But take care, removing configuration files does not work in general for most problems :wink:

BTW, there are of course more ways to export terminal text from a system then just typing what one sees. Doing a copy/paste to a file on an USB stick that one then can read on another system is also a possibility.

Congratulations go to you.

I am not sure why this went wrong.

> Again, I am not sure why. Could be that switching between
> Wicked and NM does not always have it correct.

I only invoked NM because wicked wasn’t working.

> In any case, removing the configuration file makes it to be
> created new at network start. It is a quick solution instead of
> analyzing the contents and trying to repair it with an editor.

Learnt something new here.

> But take care, removing configuration files does not work in
> general for most problems

Noted.

> BTW, there are of course more ways to export terminal text
> from a system then just typing what one sees. Doing a
> copy/paste to a file on an USB stick that one then can read on
> another system is also a possibility.

He tells me now! :slight_smile:

Thanks again. Our whole communication has been saved for use as an object lesson.

Best regards

Chris

Sorry to hear that.

At that moment in the thread I thought you did rather well in copying the essential lines and I did not want to clutter the thread more and more by explaining how it can be done. The more because I thought all the time the solution was around the corner.

Communication on a forums is not always as simple as in a face to face gathering at the system. :cry:

It was good communication though and I learnt a lot, about communication!

I didn’t even think about USB because there are many problems I was and am trying to cope with.

My music won’t play because it can’t connect to the web to ascertain what it is I’m trying to play!

I am unable to print to a wireless Epson printer, installed via hast, even though the correct driver is in place.

I have RAID 1 but when I add another disk, it puts it as a third RAID member and tells me it is degraded! That is alarming.

That third disk contains all my data, rescued from the failure of 15 to install properly in the first place many weeks ago, and I do NOT want RAID writing to it, ever!

So, I have many things on my hands most of which are difficult to persue without the connection to the Internet.

We have that now, thanks to you, so, onward and upward.

Regards

Chris