Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Thread: Fresh install - no internet access

  1. #1

    Default Fresh install - no internet access

    I freshly installed Leap 42.3, but do not have internet access. I can't ping my router, my desktop is connected via ethernet. I have looked through multiple posts and none of them helped solve my problem, but they did help me gather information. If you would like to see more information please ask.

    Here are my terminal commands and their respective responses:

    Code:
    samuel@linux:~> ip address
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
        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: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
        link/ether 40:8d:5c:86:5d:82 brd ff:ff:ff:ff:ff:ff
        inet6 fe80::428d:5cff:fe86:5d82/64 scope link 
           valid_lft forever preferred_lft forever
    
    
    samuel@linux:~> ip route
    
    
    samuel@linux:~> cat /etc/sysconfig/network/ifcfg-eth0 
    BOOTPROTO='dhcp'
    BROADCAST=''
    DHCLIENT_SET_DEFAULT_ROUTE='yes'
    ETHTOOL_OPTIONS=''
    IPADDR=''
    MTU=''
    NAME='RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
    NETMASK=''
    NETWORK=''
    REMOTE_IPADDR=''
    STARTMODE='ifplugd'
    IFPLUGD_PRIORITY='0'
    PREFIXLEN='24'
    
    
    samuel@linux:~> ls /etc/sysconfig/network/ -alh
    total 56K
    drwxr-xr-x 1 root root  192 Jan 21 10:40 .
    drwxr-xr-x 1 root root  714 Jan 20 00:45 ..
    -rw-r--r-- 1 root root 9.5K Jan 20 00:45 config                                                                                                                                                           
    -rw-r--r-- 1 root root  12K Jan 20 00:45 dhcp                                                                                                                                                             
    -rw-r--r-- 1 root root  259 Jan 21 09:41 ifcfg-eth0                                                                                                                                                       
    -rw------- 1 root root  147 Jan 20 00:45 ifcfg-lo                                                                                                                                                         
    -rw-r--r-- 1 root root  22K May  9  2017 ifcfg.template                                                                                                                                                   
    drwxr-xr-x 1 root root   66 Jan 20 00:43 if-down.d                                                                                                                                                        
    drwxr-xr-x 1 root root  116 Jan 20 00:43 if-up.d                                                                                                                                                          
    drwx------ 1 root root    0 May  9  2017 providers                                                                                                                                                        
    -rw-r--r-- 1 root root    0 Jan 21 09:58 routes                                                                                                                                                           
    -rw-r--r-- 1 root root    0 Jan 21 09:58 routes.YaST2save                                                                                                                                                 
    drwxr-xr-x 1 root root  206 Jan 20 00:43 scripts                                                                                                                                                          
    
                                                                                                                                                                       
    samuel@linux:~> cat /etc/sysconfig/network/routes
    
    
    samuel@linux:~> cat /etc/sysconfig/network/routes.YaST2save 
    
    
    samuel@linux:~> sudo systemctl status wicked                                                                                                                                                                                                                                                                                                                                         
    ● wicked.service - wicked managed network interfaces                                                                                                                                                      
       Loaded: loaded (/usr/lib/systemd/system/wicked.service; enabled; vendor preset: disabled)                                                                                                              
       Active: active (exited) since Sun 2018-01-21 10:44:46 MST; 3min 24s ago                                                                                                                                
      Process: 1129 ExecStart=/usr/sbin/wicked --systemd ifup all (code=exited, status=0/SUCCESS)                                                                                                             
     Main PID: 1129 (code=exited, status=0/SUCCESS)                                                                                                                                                           
        Tasks: 0 (limit: 512)                                                                                                                                                                                 
       CGroup: /system.slice/wicked.service                                                                                                                                                                   
                                                                                                                                                                                                              
    Jan 21 10:44:16 linux systemd[1]: Starting wicked managed network interfaces...
    Jan 21 10:44:46 linux wicked[1129]: lo              up
    Jan 21 10:44:46 linux wicked[1129]: eth0            setup-in-progress
    Jan 21 10:44:46 linux systemd[1]: Started wicked managed network interfaces.
    
    
    samuel@linux:~> /sbin/ifstatus eth0
    eth0            setup-in-progress
          link:     #2, state up, mtu 1500
          type:     ethernet, hwaddr 40:8d:5c:86:5d:82
          config:   compat:suse:/etc/sysconfig/network/ifcfg-eth0
          leases:   ipv4 dhcp requesting
          leases:   ipv6 dhcp requesting
    
          
    samuel@linux:~> ip link
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
        link/ether 40:8d:5c:86:5d:82 brd ff:ff:ff:ff:ff:ff
    
        
    samuel@linux:~> sudo ifup eth0
    eth0            setup-in-progress
    
    
    samuel@linux:~> sudo journalctl -f
    -- Logs begin at Sat 2018-01-20 00:46:53 MST. --
    Jan 21 10:50:00 linux kernel: Leftover inexact backtrace:
    Jan 21 10:50:00 linux kernel:  <IRQ>  <EOI>  [<ffffffff814ed967>] ? cpuidle_enter_state+0xd7/0x270
    Jan 21 10:50:00 linux kernel:  [<ffffffff814ed942>] ? cpuidle_enter_state+0xb2/0x270
    Jan 21 10:50:00 linux kernel:  [<ffffffff810c5a1d>] ? cpu_startup_entry+0x2ad/0x3a0
    Jan 21 10:50:00 linux kernel:  [<ffffffff8104e730>] ? start_secondary+0x150/0x180
    Jan 21 10:50:00 linux kernel: ---[ end trace f058305798b591cf ]---
    Jan 21 10:50:00 linux kernel: r8169 0000:03:00.0 eth0: link up
    Jan 21 10:54:07 linux sudo[2567]:   samuel : TTY=pts/0 ; PWD=/home/samuel ; USER=root ; COMMAND=/usr/bin/journalctl -f
    Jan 21 10:54:07 linux sudo[2567]: pam_unix(sudo:session): session opened for user root by samuel(uid=0)
    Jan 21 10:54:07 linux sudo[2567]: pam_systemd(sudo:session): Cannot create session: Already running in a session
    Jan 21 10:54:14 linux kernel: r8169 0000:03:00.0 eth0: link down
    Jan 21 10:54:17 linux kernel: r8169 0000:03:00.0 eth0: link up
    Jan 21 10:54:17 linux wickedd-dhcp4[1116]: eth0: Request to acquire DHCPv4 lease with UUID 70d1645a-a98b-0b00-6104-000005000000
    Jan 21 10:54:17 linux wickedd-dhcp6[1110]: eth0: Request to acquire DHCPv6 lease with UUID 70d1645a-a98b-0b00-6104-000006000000 in mode auto
    Jan 21 10:54:32 linux wickedd-dhcp4[1116]: eth0: defer timeout 15 reached (state SELECTING)
    ^C
    
    
    samuel@linux:~> ping 130.57.66.6
    connect: Network is unreachable

    Thank you for any help and advice you give me.

  2. #2
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    6,721

    Default AW: Fresh install - no internet access

    How do you set up your Network?

    Yast2/wicked or Networkmanager?

    If Wicked:
    Do you setup it in Yast2----System ----Network?
    Do you set a Route/Gateway?

  3. #3

    Default Re: Fresh install - no internet access

    I tried both wicked and NetworkManager, neither worked. Currently I have it setup with wicked. I tried setting a route/gateway but that did not work so I removed it. I did set wicked up through Yast. I don't have a preference on which one to use.

    Thank you for your reply.

  4. #4
    Join Date
    Sep 2012
    Posts
    7,096

    Default Re: Fresh install - no internet access

    Quote Originally Posted by hinricni View Post
    Code:
    samuel@linux:~> cat /etc/sysconfig/network/ifcfg-eth0 
    BOOTPROTO='dhcp'
    Do you have DHCP server on your network?

  5. #5

    Default Re: Fresh install - no internet access

    Quote Originally Posted by arvidjaar View Post
    Do you have DHCP server on your network?
    Yes, my router dynamically assigns ip addresses.

  6. #6
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: Fresh install - no internet access

    What does
    Code:
    cat /etc/resolv.conf
    give

    Try this
    Code:
    rm /etc/resolv.conf
    rcnetwork restart
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  7. #7
    Join Date
    Sep 2012
    Posts
    7,096

    Default Re: Fresh install - no internet access

    Quote Originally Posted by Sauerland View Post
    Do you set a Route/Gateway?
    Quote Originally Posted by Knurpht View Post
    What does
    Code:
    cat /etc/resolv.conf
    give
    C'mon, interface does not have IP address, how exactly gateway or /etc/resolv.conf help in this case? From the posted log snippets wicked appears to have attempted to acquire DHCP address on interface. I would start with setting static address to verify that NIC works at all.

  8. #8

    Default Re: Fresh install - no internet access

    Quote Originally Posted by Knurpht View Post
    What does
    Code:
    cat /etc/resolv.conf
    give

    Try this
    Code:
    rm /etc/resolv.conf
    rcnetwork restart
    Removing it did nothing, even after rcnetwork restart and a reboot.

    Code:
    samuel@linux:~> cat /etc/resolv.conf 
    ### /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!

  9. #9

    Default Re: Fresh install - no internet access

    Quote Originally Posted by arvidjaar View Post
    C'mon, interface does not have IP address, how exactly gateway or /etc/resolv.conf help in this case? From the posted log snippets wicked appears to have attempted to acquire DHCP address on interface. I would start with setting static address to verify that NIC works at all.
    Can I just set it statically from wicked, or do I need to set it from the router?

  10. #10
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,698
    Blog Entries
    1

    Default Re: Fresh install - no internet access

    Quote Originally Posted by hinricni View Post
    Can I just set it statically from wicked, or do I need to set it from the router?
    Configure a static IP address (suitable for your LAN network) via YaT > System > Network Settings > Overview, select the NIC and 'Edit'. Follow the prompts given.

    More info here...
    https://doc.opensuse.org/documentati...netcard.change
    Last edited by deano_ferrari; 21-Jan-2018 at 13:17.

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •