Announcement

Collapse
No announcement yet.

cable eth0 connection issues

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    cable eth0 connection issues

    On my lappy (HP dv6 core i7) my cable connection stopped working after a reboot.

    It says it is connected but I have no connection to the net.
    I am using my android phone hotspot at the moment, but that is not a durable solution.

    It works fine on windows and wifi.

    Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

    Anyone have an idea what is going on? Is it network manager?

    Edit: I am a bit wary of trying to install wicd from my phone hotsspot and removing network manager and then losing the connection completely
    HP Pavilion dv6 core i7 (Main)
    4 GB Ram
    Kubuntu 18.10

    #2
    Re: cable eth0 connection issues

    Originally posted by Fintan
    It says it is connected but I have no connection to the net.
    That might indicate a DNS issue. Are you connecting using DHCP or with a static IP? Can you edit the connection and enter your DNS there?

    Comment


      #3
      Re: cable eth0 connection issues

      Hi detonate, I have a dhcp connection.
      HP Pavilion dv6 core i7 (Main)
      4 GB Ram
      Kubuntu 18.10

      Comment


        #4
        Re: cable eth0 connection issues

        OK, just to be sure it is recognizing the interface post the results of
        Code:
        ifconfig

        Comment


          #5
          Re: cable eth0 connection issues

          I am on a wifi for the moment.
          This is what it looks like now:

          fintan@fintanws3:~$ ifconfig
          eth0 Link encap:Ethernet HWaddr 10:1f:74:0b:6d:9c
          UP BROADCAST MULTICAST MTU:1500 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:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
          Interrupt:41 Base address:0x2000

          lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:96 errors:0 dropped:0 overruns:0 frame:0
          TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7048 (7.0 KB) TX bytes:7048 (7.0 KB)

          wlan0 Link encap:Ethernet HWaddr cc:af:78:3e:94:9d
          inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
          inet6 addr: fe80::ceaf:78ff:fe3e:949d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:6629 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5913 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5777195 (5.7 MB) TX bytes:1419090 (1.4 MB)

          fintan@fintanws3:~$

          HP Pavilion dv6 core i7 (Main)
          4 GB Ram
          Kubuntu 18.10

          Comment


            #6
            Re: cable eth0 connection issues

            Hey Fintan -- looks like you are one IP address short of an internet connection!

            What happens if you issue

            Code:
            sudo ifdown eth0
            and then

            Code:
            sudo ifup eth0
            ?

            Comment


              #7
              Re: cable eth0 connection issues

              Hey dible.

              not sure what it looks like but I'll try that when I get home and hook up the cable. Be about an hour or so.
              HP Pavilion dv6 core i7 (Main)
              4 GB Ram
              Kubuntu 18.10

              Comment


                #8
                Re: cable eth0 connection issues

                Cool. Since it is working with wireless, the networking service is obviously running. However, upon hooking up cable, another thing to try, once you've got an IP address on eth0, is to stop and restart the networking service:

                Code:
                sudo service networking stop
                Code:
                sudo service networking start
                watching for errors, of course.

                Comment


                  #9
                  Re: cable eth0 connection issues

                  After doing what dibl said, if that doesn't work, try
                  Code:
                  sudo dhclient -r
                  and
                  Code:
                  sudo dhclient

                  Comment


                    #10
                    Re: cable eth0 connection issues

                    Hey guys. Strange things going on. I just plugged my lappy in and the connection was shown as on in NM. I thought, okay, seen that before. But the connection is actually online. For now all is well, I will have to follow this over a peroid of time to make sure. In doubt I have a few commands to play with

                    Thanks for the help
                    HP Pavilion dv6 core i7 (Main)
                    4 GB Ram
                    Kubuntu 18.10

                    Comment


                      #11
                      Re: cable eth0 connection issues

                      What happens is, when you reboot, with DHCP, it remembers the last IP you had and tries to restore that. If someone else is now using that IP it can cause problems. Which is one of the reasons I use a static IP.

                      Comment

                      Working...
                      X