openSUSE fresh install does not connect to network

I have openSUSE 13.2 x64 installed on laptop and desktop. On the second one it’s impossible to connect to network, while on the first one it works ok. Network settings on both computers are 100% identical, network is controled by KDE NetworkManager (that shows “Connected” with zero in-\outcoming speeds), using of cloned MAC-address doesn’t help: desktop cannot ping even gateway. Before openSUSE there was Linux Mint 14 x32, and everything worked. What should I do to fix that?

Network card data:

Ethernet controller: Qualcomm Atheros Attansic L1 Gigabit Ethernet (rev b0)Subsystem: ASUSTek Computer Inc. P5KPL-VM Motherboard
Flags: bus master, fast devsel, latency 0, IRQ 36
Memory at fdbc0000 (64-bit, non-prefetchable) [size=256]
Expansion ROM at fbda0000 [disabled] [size=128]
...
Kernel driver in use: atl1
Kernel modules: atl1

[/size][/size]

On 2015-05-18 09:06, wimoza wrote:

> Network card data:

Start by posting the output of ifconfig, route, and


cat /etc/resolv.conf | egrep -v "^:space:]]*$|^#"


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

Here they are.

ifconfig -a:

enp4s0    Link encap:Ethernet  HWaddr ##:##:##:##:##:##
          inet addr:192.168.229.#  Bcast:192.168.229.255  Mask:255.255.255.0
          inet6 addr: fe80::21a:92ff:fe05:fdb2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000 
          RX bytes:1560 (1.5 Kb)  TX bytes:744 (744.0 b)


lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

route:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.229.1   0.0.0.0         UG    1024   0        0 enp4s0
192.168.229.0   *               255.255.255.0   U     0      0        0 enp4s0

cat /etc/resolv.conf | egrep -v “^:space:]]*$|^#”

search wimoza
nameserver 46.175.163.229
nameserver 46.175.161.230

On 2015-05-18 16:26, wimoza wrote:
>
> Here they are.
>
> ifconfig -a:

Ok, you have an IP.

>
> route:

And the routing seems correct.

> cat /etc/resolv.conf | egrep -v “^:space:]]*$|^#”
>
> Code:
> --------------------
> search wimoza
> nameserver 46.175.163.229
> nameserver 46.175.161.230
> --------------------

Here there is a problem, because those servers do not respond properly.
I tried them myself, and got:


cer@minas-tirith:~> host google.com 46.175.161.230
Using domain server:
Name: 46.175.161.230
Address: 46.175.161.230#53
Aliases:

Host google.com.valinor not found: 5(REFUSED)
cer@minas-tirith:~> host google.com 46.175.163.229

Using domain server:
Name: 46.175.163.229
Address: 46.175.163.229#53
Aliases:

Host google.com.valinor not found: 5(REFUSED)
cer@minas-tirith:~>
cer@minas-tirith:~> host google.com 46.175.161.230
Using domain server:
Name: 46.175.161.230
Address: 46.175.161.230#53
Aliases:

Host google.com.valinor not found: 5(REFUSED)
cer@minas-tirith:~>

The proper response is this:


cer@minas-tirith:~> host google.com 8.8.8.8
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:

google.com has address 216.58.210.174
google.com has IPv6 address 2a00:1450:4003:808::200e
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 50 alt4.aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.
google.com mail is handled by 30 alt2.aspmx.l.google.com.
google.com mail is handled by 40 alt3.aspmx.l.google.com.
cer@minas-tirith:~>

So you have to manually change your DNS addresses to somewhere else.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

Well, these addresses are given by my provider and laptop, from which I’m currently writing, uses them sucessfully (as well as the same network cable).
Applying hosts command on laptop in my case gives:

host google.com 46.175.161.230
Using domain server:
Name: 46.175.161.230
Address: 46.175.161.230#53
Aliases: 


google.com has address 216.58.209.174
google.com has IPv6 address 2a00:1450:400d:807::200e
google.com mail is handled by 50 alt4.aspmx.l.google.com.
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.
google.com mail is handled by 30 alt2.aspmx.l.google.com.
google.com mail is handled by 40 alt3.aspmx.l.google.com.

host google.com 46.175.163.229
Using domain server:
Name: 46.175.163.229
Address: 46.175.163.229#53
Aliases: 


google.com has address 216.58.209.206
google.com has IPv6 address 2a00:1450:400d:807::200e
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 40 alt3.aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.
google.com mail is handled by 30 alt2.aspmx.l.google.com.
google.com mail is handled by 50 alt4.aspmx.l.google.com.

While desktop tells only:

;; connection timed out; no servers could be reached

I have internet access via local network provider, if that is important.

On 2015-05-18 17:16, wimoza wrote:
>
> Well, these addresses are given by my provider and laptop, from which
> I’m currently writing, uses them sucessfully (as well as the same
> network cable).
> Applying hosts command on laptop in my case gives:

Ah, then it means that your provider blocks access to those DNS to the
world outside, so that I get the error I do. Your problem is different.

Instead, try to ping yourself, your router, and those DNS:

ping 192.168.229.XXX
ping 192.168.229.1
ping 46.175.163.229

Let’s find out where it fails.

> I have internet access via local network provider, if that is important.

I thought so, looking at the whois output for your DNS. Some one
described in the mail list that type of setup some years ago. Should not
be important, but who knows.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

My IP is pinged successfully, while gateway and DNS pings output single PING message (about sending data), delay for a long and then report “Host is unreachable”.

Perhaps I also should mention that I have static IP configuration (in local network).

On 2015-05-19 07:06, wimoza wrote:
>
> My IP is pinged successfully, while gateway and DNS pings output single
> PING message (about sending data), delay for a long and then report
> “Host is unreachable”.

That’s bad.

You do have a connectivity problem, if pings to the router fail.

Reboot the router, just to try.

Check/change cables. If the card has a LED, does it light up?

I would not know about your ethernet hw, how well the kernel supports it.

> Perhaps I also should mention that I have static IP configuration (in
> local network).

No, irrelevant - assuming that the router/GW address is correct. You
should verify that, too.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

There’s no router, just the cable, which is ok as laptop connects via it. LED indicators light as they should.

I suspect that there’s software\hardware incompatibility, how can I make sure in that?

On 2015-05-20 08:06, wimoza wrote:
>
> There’s no router, just the cable, which is ok as laptop connects via
> it. LED indicators light as they should.

Ah. One cable to the wall, I forgot.

Maybe your provider binds the connection to a single MAC address. As
your desktop has a different one than your laptop, it would not work.

It is the same issue with cable providers around here: you can not
change the router, because a new one has a new MAC.

> I suspect that there’s software\hardware incompatibility, how can I make
> sure in that?

Dunno. Besides plugin a new network card, or taking the computer
somewhere else and testing the connection there.

Get a crosscable and connect laptop to desktop machine direct. Test.
Or direct cable with a switch in the middle.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

MAC address was one of the first things, I’ve checked. Changing desktop’s one to laptop’s one gives nothing.

I found a cable for connecting router and computer, it’s a crosscable, isn’t it? I connected computers with it, gave them static IPs and pinged each other—sucessfully. So?

No.
Connecting a computer to a router is done with a straight network cable. You need a crosscable to connect two computers directly without a router.

But in my experience, most network interfaces nowadays (or rather since years) are smart enough to figure out themselves whether this is a straight or cross cable and act correctly accordingly. IOW, it should not matter what cable you use.

On 2015-05-20 19:36, wolfi323 wrote:
>
> wimoza;2711063 Wrote:
>> I found a cable for connecting router and computer, it’s a crosscable,
>> isn’t it?
> No.
> Connecting a computer to a router is done with a straight network cable.
> You need a crosscable to connect two computers directly without a
> router.
>
> But in my experience, most network interfaces nowadays (or rather since
> years) are smart enough to figure out themselves whether this is a
> straight or cross cable and act correctly accordingly. IOW, it should
> not matter what cable you use.

Ah…

Ok, in that case, as ping worked it proves that the network card in the
desktop computer works. wimoza, try more things like ssh from desktop to
laptop.

If it works, then the problem is outside your computer: cable, socket,
or your ISP configuration, that does not allow your desktop for some reason.

Compare the complete configuration between desktop and laptop; you know:


ifconfig
route
cat /etc/resolv.conf | egrep -v "^:space:]]*$|^#"


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Well, I plugged a router between cable and desktop and set cloned MAC to the desktop, and internet connection appeared. I upgraded all the packages of the desktop OS and restarted it without router and it still works. Mystery…

Anyway, thank you very much for your hints!

Maybe a Wicked problem that has been fixed by an update?
There has been 3 updates for it since the 13.2 release.

On 2015-05-21 22:36, wimoza wrote:
>
> Well, I plugged a router between cable and desktop and set cloned MAC to
> the desktop, and internet connection appeared. I upgraded all the
> packages of the desktop OS and restarted it without router and it still
> works. Mystery…
>
> Anyway, thank you very much for your hints!

Good! :slight_smile:


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))