Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: no network, stuck on setting network address

  1. #1

    Default no network, stuck on setting network address

    using networkmanager on KDE in my opensuse leap 15.0, no cable and no wireless network, I tried to delete /etc/resolv.conf and to run netconfig update -f and reboteed and rebooted but no network connection obtained

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,977

    Default Re: no network, stuck on setting network address

    Your description "stuck on setting network address" is nowhere confirmed in your post.

    Maybe it is better to follow this recipe:

    You check from bottom to top:

    Is the NIC up with an IP address?
    Code:
    ip addr
    Can you connect to another system on your LAN?
    Code:
    ping -c1 <IP-address of your router>
    (I hope you know that address)
    Do you have a default route to the Internet?
    Code:
    ip route
    Can you connect to a system on the internet?
    Code:
    ping -c1 130.57.66.6
    Can you resolve host/domain names?
    Code:
    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.

    BTW deleting /etc/resolv.conf may help when you have problems with resolving host/domain names (DNS). but when you have no IP address (as you assume), this is pretty useless.

    So start with 1. and do not hesitate to post the output here to get help on the interpretation.
    Henk van Velden

  3. #3

    Default Re: no network, stuck on setting network address

    Quote Originally Posted by hcvv View Post
    Your description "stuck on setting network address" is nowhere confirmed in your post.
    yes, I confirm
    Quote Originally Posted by hcvv View Post
    Maybe it is better to follow this recipe:

    You check from bottom to top:

    Is the NIC up with an IP address?
    Code:
    ip addr
    Can you connect to another system on your LAN?
    Code:
    ping -c1 <IP-address of your router>
    (I hope you know that address)
    Do you have a default route to the Internet?
    Code:
    ip route
    Can you connect to a system on the internet?
    Code:
    ping -c1 130.57.66.6
    Can you resolve host/domain names?
    Code:
    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.

    BTW deleting /etc/resolv.conf may help when you have problems with resolving host/domain names (DNS). but when you have no IP address (as you assume), this is pretty useless.

    So start with 1. and do not hesitate to post the output here to get help on the interpretation.
    manythanks, well, I don't understand if from bottom or from top of your instructions, but, I do both:
    Code:
    pla@pla4-TW:~> ip addr1: 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
        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 80:fa:5b:69:82:7d brd ff:ff:ff:ff:ff:ff
        inet6 fe80::9292:6add:1d82:9544/64 scope link noprefixroute 
           valid_lft forever preferred_lft forever
    3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
        link/ether 9a:be:81:87:25:5b brd ff:ff:ff:ff:ff:ff
    pla@pla4-TW:~> 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
        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 80:fa:5b:69:82:7d brd ff:ff:ff:ff:ff:ff
    3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
        link/ether 18:1d:ea:9e:86:71 brd ff:ff:ff:ff:ff:ff
        inet6 fe80::fe49:f156:174d:c899/64 scope link noprefixroute 
           valid_lft forever preferred_lft forever
    pla@pla4-TW:~>
    Code:
    pla@pla4-TW:~> ping -c1 forums.opensuse.orgping: forums.opensuse.org: Name or service not known
    pla@pla4-TW:~>

  4. #4

    Default Re: no network, stuck on setting network address

    furthermore, I can connect with wireless to my cell phone acting as hotspot.
    with cable, where the pc where I'm writing this post is connected and working, I cannot connect, and also with wireless

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,650
    Blog Entries
    15

    Default Re: no network, stuck on setting network address

    Quote Originally Posted by pier_andreit View Post
    furthermore, I can connect with wireless to my cell phone acting as hotspot.
    with cable, where the pc where I'm writing this post is connected and working, I cannot connect, and also with wireless
    Hi
    Can you reboot your router? Sounds like it's not dishing up dhcp addresses...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6
    Join Date
    Jan 2017
    Location
    Nürnberg, Germany
    Posts
    171

    Default Re: no network, stuck on setting network address

    Quote Originally Posted by malcolmlewis View Post
    Can you reboot your router? Sounds like it's not dishing up dhcp addresses...
    My first guess would be the router as well — and if it's an older model, maybe it has difficulties with those newfangled IPv6 packets, in which case disabling IPv6 could do the trick.
    There are multiple options:
    • disable IPv6 in YaST2/Network Settings
    • add ipv6.disable=1 as a kernel command line parameter
    • create a file /etc/modprobe.d/blacklist-ipv6.conf with contents »blacklist ipv6« (without the quote marks)
    • create a file /etc/dracut.conf.d/01-no-ipv6.conf with »omit_dracutmodules+=" ipv6 "« in it, then generate a new initrd

    All of these changes require a reboot in order to test a IPv4-only system with your router. Hopefully, though, restarting the router suffices, as malcolmlewis suggested. Good luck.

  7. #7

    Default Re: no network, stuck on setting network address

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Can you reboot your router? Sounds like it's not dishing up dhcp addresses...
    yes, I rebooted sftware way and hardware way but nothing changed, now I'm on another place and on another router but connecting via cable doesn't works, via wireless it's ok, but via cable not. stuck on setting network address

  8. #8

    Default Re: no network, stuck on setting network address

    Quote Originally Posted by unix111 View Post
    My first guess would be the router as well — and if it's an older model, maybe it has difficulties with those newfangled IPv6 packets, in which case disabling IPv6 could do the trick.
    There are multiple options:
    • disable IPv6 in YaST2/Network Settings
    • add ipv6.disable=1 as a kernel command line parameter
    • create a file /etc/modprobe.d/blacklist-ipv6.conf with contents »blacklist ipv6« (without the quote marks)
    • create a file /etc/dracut.conf.d/01-no-ipv6.conf with »omit_dracutmodules+=" ipv6 "« in it, then generate a new initrd

    All of these changes require a reboot in order to test a IPv4-only system with your router. Hopefully, though, restarting the router suffices, as malcolmlewis suggested. Good luck.
    my router is a new one, this: https://www.infostrada.it/fileadmin/...ale_HL_HUB.pdf
    the other router is my company router so it is a professional router that works fine on many computers.
    I will try the other ipv6 things

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,650
    Blog Entries
    15

    Default Re: no network, stuck on setting network address

    Quote Originally Posted by pier_andreit View Post
    yes, I rebooted sftware way and hardware way but nothing changed, now I'm on another place and on another router but connecting via cable doesn't works, via wireless it's ok, but via cable not. stuck on setting network address
    Hi
    Is the kernel-firmware package installed?

    Can you show the output from;

    Code:
    /sbin/lspci -nnk | egrep -A3 "Ethernet|Network"
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  10. #10

    Default Re: no network, stuck on setting network address

    Quote Originally Posted by unix111 View Post
    My first guess would be the router as well — and if it's an older model, maybe it has difficulties with those newfangled IPv6 packets, in which case disabling IPv6 could do the trick.
    There are multiple options:
    • disable IPv6 in YaST2/Network Settings
    tried first option and rebooted but didn' works

Page 1 of 2 12 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
  •