Cannot connect to internet

I am new to linux and openSUSE and I am unable to connect to the internet via any method I have yet tried.

I am dual-booting with windows 8.1 & OpenSuse 13.2 installed on seperated SSDs. I can connect to the internet within Windows both through DHCP and static IP (with the following settings) so there’s no connection/jack problem.

C:\Windows> ipconfig

Windows IP Configuration


Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::403b:ca1c:3777:45c2%3
   IPv4 Address. . . . . . . . . . . : 192.168.1.102
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Connection-specific DNS Suffix  . :
   IPv6 Address. . . . . . . . . . . : 2001:0:9d38:6ab8:409:165a:3f57:fe99
   Link-local IPv6 Address . . . . . : fe80::409:165a:3f57:fe99%4
   Default Gateway . . . . . . . . . : ::

Tunnel adapter isatap.{AA262369-F42A-4029-B821-DC4DAD6740EF}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

I installed opensuse 13.2 from DVD. I could not get an internet connection during install. I have turned NetworkManager on and have attempted to connect with automatic settings, but that gets stuck on “setting network address”. I moved to experimenting with static settings. Sorry for the info dump, but through browsing similar posts i’ve gathered the following information might be useful…

Pings:

coupe:/home/Zangaloo # ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.1.102 icmp_seq=1 Destination Host Unreachable
From 192.168.1.102 icmp_seq=2 Destination Host Unreachable
From 192.168.1.102 icmp_seq=3 Destination Host Unreachable
From 192.168.1.102 icmp_seq=4 Destination Host Unreachable
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 2999ms
pipe 4

coupe:/home/Zangaloo # ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.102 icmp_seq=1 Destination Host Unreachable
From 192.168.1.102 icmp_seq=2 Destination Host Unreachable
From 192.168.1.102 icmp_seq=3 Destination Host Unreachable
From 192.168.1.102 icmp_seq=4 Destination Host Unreachable
From 192.168.1.102 icmp_seq=5 Destination Host Unreachable
From 192.168.1.102 icmp_seq=6 Destination Host Unreachable
From 192.168.1.102 icmp_seq=7 Destination Host Unreachable
From 192.168.1.102 icmp_seq=8 Destination Host Unreachable
^C
--- 192.168.1.1 ping statistics ---
8 packets transmitted, 0 received, +8 errors, 100% packet loss, time 7000ms
pipe 4

coupe:/home/Zangaloo # ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.036 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.048 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.049 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.048 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.048 ms
64 bytes from 127.0.0.1: icmp_seq=6 ttl=64 time=0.047 ms
^C
--- 127.0.0.1 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 4999ms
rtt min/avg/max/mdev = 0.036/0.046/0.049/0.004 ms

coupe:/home/Zangaloo # ping 192.168.1.102
PING 192.168.1.102 (192.168.1.102) 56(84) bytes of data.
64 bytes from 192.168.1.102: icmp_seq=1 ttl=64 time=0.035 ms
64 bytes from 192.168.1.102: icmp_seq=2 ttl=64 time=0.047 ms
64 bytes from 192.168.1.102: icmp_seq=3 ttl=64 time=0.048 ms
64 bytes from 192.168.1.102: icmp_seq=4 ttl=64 time=0.046 ms
64 bytes from 192.168.1.102: icmp_seq=5 ttl=64 time=0.047 ms
64 bytes from 192.168.1.102: icmp_seq=6 ttl=64 time=0.046 ms
^C
--- 192.168.1.102 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 4999ms
rtt min/avg/max/mdev = 0.035/0.044/0.048/0.009 ms

ConfigFiles:

### /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!
search home
nameserver 192.168.1.1

~~

/etc/NetworkManager/ConnectionOne

[ethernet]
mac-address=74:D4:35:0D:A1:EF

[connection]
id=ConnectionOne
uuid=b00baaaf-5a64-4a36-a410-3c276905857f
type=ethernet

[ipv6]
method=link-local

[ipv4]
method=manual
dns=192.168.1.1;
dns-search=home;
address1=192.168.1.102/24,192.168.1.1
may-fail=false

Commands:

coupe:/home/Zangaloo # ifconfig -a
enp6s0    Link encap:Ethernet  HWaddr 74:D4:35:0D:A1:EF  
          inet addr:192.168.1.102  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::76d4:35ff:fe0d:a1ef/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:94 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:90 (90.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:104 errors:0 dropped:0 overruns:0 frame:0
          TX packets:104 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:9104 (8.8 Kb)  TX bytes:9104 (8.8 Kb)


coupe:/home/Zangaloo # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
    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: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 74:d4:35:0d:a1:ef brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.102/24 brd 192.168.1.255 scope global enp6s0
       valid_lft forever preferred_lft forever
    inet6 fe80::76d4:35ff:fe0d:a1ef/64 scope link 
       valid_lft forever preferred_lft forever


coupe:/home/Zangaloo # ip r
default via 192.168.1.1 dev enp6s0  proto static  metric 1024 
192.168.1.0/24 dev enp6s0  proto kernel  scope link  src 192.168.1.102 


coupe:/home/Zangaloo # ip -s link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    RX: bytes  packets  errors  dropped overrun mcast   
    10616      120      0       0       0       0      
    TX: bytes  packets  errors  dropped carrier collsns 
    10616      120      0       0       0       0      
2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 74:d4:35:0d:a1:ef brd ff:ff:ff:ff:ff:ff
    RX: bytes  packets  errors  dropped overrun mcast   
    0          0        0       0       0       0      
    TX: bytes  packets  errors  dropped carrier collsns 
    90         1        0       94      0       0    


coupe:/home/Zangaloo # ip route
default via 192.168.1.1 dev enp6s0  proto static  metric 1024 
192.168.1.0/24 dev enp6s0  proto kernel  scope link  src 192.168.1.102 


coupe:/home/Zangaloo # arp -a
? (192.168.1.1) at <incomplete> on enp6s0


coupe:/home/Zangaloo # arp -n
Address                  HWtype  HWaddress           Flags Mask            Iface
192.168.1.1                      (incomplete)                              enp6s0


coupe:/home/Zangaloo # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.1.1     0.0.0.0         UG    1024   0        0 enp6s0
192.168.1.0     *               255.255.255.0   U     0      0        0 enp6s0

Hardware:

coupe:/home/Zangaloo # hwinfo --netcard
40: PCI 600.0: 0200 Ethernet controller                         
  [Created at pci.328]
  Unique ID: 4Nnf.5rbhBgx50x4
  Parent ID: Rgik.DknfbwVt1O3
  SysFS ID: /devices/pci0000:00/0000:00:15.0/0000:06:00.0
  SysFS BusID: 0000:06:00.0
  Hardware Class: network
  Model: "Realtek RTL8111/8168 PCI Express Gigabit Ethernet controller"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8168 "RTL8111/8168 PCI Express Gigabit Ethernet controller"
  SubVendor: pci 0x1458 "Giga-byte Technology"
  SubDevice: pci 0xe000 "Motherboard"
  Revision: 0x06
  Driver: "r8169"
  Driver Modules: "r8169"
  Device File: enp6s0
  I/O Ports: 0xa000-0xafff (rw)
  Memory Range: 0xfe500000-0xfe500fff (rw,non-prefetchable)
  Memory Range: 0xd0000000-0xd0003fff (ro,non-prefetchable)
  IRQ: 78 (3 events)
  HW Address: 74:d4:35:0d:a1:ef
  Link detected: yes
  Module Alias: "pci:v000010ECd00008168sv00001458sd0000E000bc02sc00i00"
  Driver Info #0:
    Driver Status: r8169 is active
    Driver Activation Cmd: "modprobe r8169"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #22 (PCI bridge)

Logs:

coupe:/home/Zangaloo # systemctl status network
NetworkManager.service - Network Manager
   Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled)
   Active: active (running) since Mon 2015-08-31 20:10:01 NZST; 8min ago
 Main PID: 966 (NetworkManager)
   CGroup: /system.slice/NetworkManager.service
           └─966 /usr/sbin/NetworkManager --no-daemon

Aug 31 20:10:03 coupe.home NetworkManager[966]: <info> (enp6s0): device state change: secondaries -> activated (reason 'none') [90 100 0]
Aug 31 20:10:03 coupe.home NetworkManager[966]: <info> NetworkManager state is now CONNECTED_LOCAL
Aug 31 20:10:03 coupe.home NetworkManager[966]: <info> NetworkManager state is now CONNECTED_GLOBAL
Aug 31 20:10:03 coupe.home NetworkManager[966]: <info> Policy set 'ConnectionOne' (enp6s0) as default for IPv4 routing and DNS.
Aug 31 20:10:03 coupe.home NetworkManager[966]: <info> Activation (enp6s0) successful, device activated.
Aug 31 20:10:04 coupe.home NetworkManager[966]: <info> Activation (enp6s0) Stage 5 of 5 (IPv6 Commit) scheduled...
Aug 31 20:10:04 coupe.home NetworkManager[966]: <info> Activation (enp6s0) Stage 5 of 5 (IPv6 Commit) started...
Aug 31 20:10:04 coupe.home NetworkManager[966]: <info> Activation (enp6s0) Stage 5 of 5 (IPv6 Commit) complete.
Aug 31 20:10:05 coupe.home NetworkManager[966]: <info> use BlueZ version 5
Aug 31 20:10:08 coupe.home NetworkManager[966]: <info> startup complete


coupe:/home/Zangaloo # dmesg | grep enp6s0
    6.994966] r8169 0000:06:00.0 enp6s0: link down
    6.994996] r8169 0000:06:00.0 enp6s0: link down
    6.995013] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready
    8.734369] r8169 0000:06:00.0 enp6s0: link up
    8.734387] IPv6: ADDRCONF(NETDEV_CHANGE): enp6s0: link becomes ready
   10.170932] SFW2-INext-DROP-DEFLT IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:76d4:35ff:fe0d:a1ef DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44 
   10.263641] SFW2-INext-DROP-DEFLT IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:76d4:35ff:fe0d:a1ef DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=410 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=370 
   10.291146] SFW2-INext-DROP-DEFLT IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:76d4:35ff:fe0d:a1ef DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=243 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=203 
   10.514291] SFW2-INext-DROP-DEFLT IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:76d4:35ff:fe0d:a1ef DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=410 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=370 
   10.764928] SFW2-INext-DROP-DEFLT IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:76d4:35ff:fe0d:a1ef DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=410 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=370 
   20.850992] NETDEV WATCHDOG: enp6s0 (r8169): transmit queue 0 timed out
   20.859338] r8169 0000:06:00.0 enp6s0: link up
   41.194715] SFW2-INext-DROP-DEFLT IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:76d4:35ff:fe0d:a1ef DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44 
   73.214975] SFW2-INext-DROP-DEFLT IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:76d4:35ff:fe0d:a1ef DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44 
   92.903324] r8169 0000:06:00.0 enp6s0: link up
  137.257973] SFW2-INext-DROP-DEFLT IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:76d4:35ff:fe0d:a1ef DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44 
  265.342529] SFW2-INext-DROP-DEFLT IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:76d4:35ff:fe0d:a1ef DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44 
  387.098253] r8169 0000:06:00.0 enp6s0: link up
  521.510603] SFW2-INext-DROP-DEFLT IN=enp6s0 OUT= MAC= SRC=fe80:0000:0000:0000:76d4:35ff:fe0d:a1ef DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44 
  531.189139] r8169 0000:06:00.0 enp6s0: link up

I am attempting to connect at home to a Dynalink ADSL2+ modem through a wired connection with the following settings:
Primary IP Address: 192.168.1.1
Subnet Mask: 255.255.255.0
Host Name: RTA1025W
Domain Name: home

I have no preference whether through DHCP or static IP. Could someone help?

On 2015-09-01 11:06, Zangaloo wrote:

Your setup looks correct. I don’t know/see why it doesn’t work.


Cheers / Saludos,

Carlos E. R.

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

A wonderful heap of information (serious, almost everything one could ask for is already there).

My first conclusions:
the correct IP adddress 192.168.1.102 and netmask is configured in your ethernet card enp6s0. You can not even ping your router 192.168.1.1. Thus all further trials (like pimging 8.8.8.8) are futile.

The bad thing is that I can not see why. Except broken cable/jumper/switched off router. Hope others jump in.

coupe:/home/Zangaloo # hwinfo --netcard  Attached to: #22 (PCI bridge)
40: PCI 600.0: 0200 Ethernet controller                         
  [Created at pci.328]
  Unique ID: 4Nnf.5rbhBgx50x4
  Parent ID: Rgik.DknfbwVt1O3
  SysFS ID: /devices/pci0000:00/0000:00:15.0/0000:06:00.0
  SysFS BusID: 0000:06:00.0
  Hardware Class: network
  Model: "Realtek RTL8111/8168 PCI Express Gigabit Ethernet controller"
  Vendor: pci 0x10ec "Realtek Semiconductor Co., Ltd."
  Device: pci 0x8168 "RTL8111/8168 PCI Express Gigabit Ethernet controller"
  SubVendor: pci 0x1458 "Giga-byte Technology"
  SubDevice: pci 0xe000 "Motherboard"
  Revision: 0x06
  Driver: "r8169"
  Driver Modules: "r8169"
  Device File: enp6s0
  I/O Ports: 0xa000-0xafff (rw)
  Memory Range: 0xfe500000-0xfe500fff (rw,non-prefetchable)
  Memory Range: 0xd0000000-0xd0003fff (ro,non-prefetchable)
  IRQ: 78 (3 events)
  HW Address: 74:d4:35:0d:a1:ef
  Link detected: yes
  Module Alias: "pci:v000010ECd00008168sv00001458sd0000E000bc02sc00i00"
  Driver Info #0:
    Driver Status: r8169 is active
    Driver Activation Cmd: "modprobe r8169"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

Maybe it’s a problem with the r8169 kernel module?
The r8168 driver from Realtek might work better with some cards.

These links should help you getting it installed:
https://unixblogger.wordpress.com/2011/10/18/the-pain-of-an-realtek-rtl8111rtl8168-ethernet-card/
https://forums.opensuse.org/showthread.php/493427-How-install-r8168-ethernet-driver-when-can-t-connect
That’s just guessing though, and I have no idea whether that driver still works with current kernels…

Maybe it’s a problem with the r8169 kernel module?
The r8168 driver from Realtek might work better with some cards.

These links should help you getting it installed:
https://unixblogger.wordpress.com/2011/10/18/the-pain-of-an-realtek-rtl8111rtl8168-ethernet-card/
https://forums.opensuse.org/showthread.php/493427-How-install-r8168-ethernet-driver-when-can-t-connect
That’s just guessing though, and I have no idea whether that driver still works with current kernels…

Yes, thank you. That was the problem. Maximillium’s last post in his thread was a godsend.