Installing new network driver ubuntu server 14.10











up vote
1
down vote

favorite












Ok first of all I was trying to connect my server to my router and set up my apache2 server so my server could be viewable online.



But in my attempts to connect, I found that I have no eth0 connection. I'm still not completely sure why or what that is, but I'm pretty sure it's important.



I think the bt router that I'm using is going to be a bit temperamental with my server but I'll cross that bridge when I come to it.



at the moment though I am trying to install new network drivers for my realtek r8111 network adapter so I can access all the settings for my network.



I managed to find the driver and have attempted to install it, but it needed a program called make. which I installed but now I get the error:



"make: *** No rule to make target 'all'. Stop."



I've accessed the autorun.sh file that comes with the driver, and have found the line that the autorun gets stuck on but don't know much about make or installing drivers so am stuck as to what too do now.



Any advise would be appreciated. Thanks.



edit:



Results from dmesg | grep r8169'



[1831.373396] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[1831.373412] r8169 0000:03:00.0: can't disable ASPM: OS doesn't have ASPM control
[1831.373634] r8169 0000:03:00.0: irq 43 for MSI/MSI-X
[1831.373810] r8169 0000:03:00.0: eth0: RTL8168f/8111f at 0xf841c000, (servercode), XID 08000880 IRQ 43
[1831.373812] r8169 0000:03:00.0: eth0: jumbo features [frame: 9200 bytes, tx checksumming: ko]
[1831.564275] r8169 0000:03:00.0: p4p1: link down
[1831.564309] r8169 0000:03:00.0: p4p1: link down
[1831.183660] r8169 0000:03:00.0: p4p1: link up


That's what I get and I can make that much sense of it










share|improve this question




























    up vote
    1
    down vote

    favorite












    Ok first of all I was trying to connect my server to my router and set up my apache2 server so my server could be viewable online.



    But in my attempts to connect, I found that I have no eth0 connection. I'm still not completely sure why or what that is, but I'm pretty sure it's important.



    I think the bt router that I'm using is going to be a bit temperamental with my server but I'll cross that bridge when I come to it.



    at the moment though I am trying to install new network drivers for my realtek r8111 network adapter so I can access all the settings for my network.



    I managed to find the driver and have attempted to install it, but it needed a program called make. which I installed but now I get the error:



    "make: *** No rule to make target 'all'. Stop."



    I've accessed the autorun.sh file that comes with the driver, and have found the line that the autorun gets stuck on but don't know much about make or installing drivers so am stuck as to what too do now.



    Any advise would be appreciated. Thanks.



    edit:



    Results from dmesg | grep r8169'



    [1831.373396] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
    [1831.373412] r8169 0000:03:00.0: can't disable ASPM: OS doesn't have ASPM control
    [1831.373634] r8169 0000:03:00.0: irq 43 for MSI/MSI-X
    [1831.373810] r8169 0000:03:00.0: eth0: RTL8168f/8111f at 0xf841c000, (servercode), XID 08000880 IRQ 43
    [1831.373812] r8169 0000:03:00.0: eth0: jumbo features [frame: 9200 bytes, tx checksumming: ko]
    [1831.564275] r8169 0000:03:00.0: p4p1: link down
    [1831.564309] r8169 0000:03:00.0: p4p1: link down
    [1831.183660] r8169 0000:03:00.0: p4p1: link up


    That's what I get and I can make that much sense of it










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Ok first of all I was trying to connect my server to my router and set up my apache2 server so my server could be viewable online.



      But in my attempts to connect, I found that I have no eth0 connection. I'm still not completely sure why or what that is, but I'm pretty sure it's important.



      I think the bt router that I'm using is going to be a bit temperamental with my server but I'll cross that bridge when I come to it.



      at the moment though I am trying to install new network drivers for my realtek r8111 network adapter so I can access all the settings for my network.



      I managed to find the driver and have attempted to install it, but it needed a program called make. which I installed but now I get the error:



      "make: *** No rule to make target 'all'. Stop."



      I've accessed the autorun.sh file that comes with the driver, and have found the line that the autorun gets stuck on but don't know much about make or installing drivers so am stuck as to what too do now.



      Any advise would be appreciated. Thanks.



      edit:



      Results from dmesg | grep r8169'



      [1831.373396] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
      [1831.373412] r8169 0000:03:00.0: can't disable ASPM: OS doesn't have ASPM control
      [1831.373634] r8169 0000:03:00.0: irq 43 for MSI/MSI-X
      [1831.373810] r8169 0000:03:00.0: eth0: RTL8168f/8111f at 0xf841c000, (servercode), XID 08000880 IRQ 43
      [1831.373812] r8169 0000:03:00.0: eth0: jumbo features [frame: 9200 bytes, tx checksumming: ko]
      [1831.564275] r8169 0000:03:00.0: p4p1: link down
      [1831.564309] r8169 0000:03:00.0: p4p1: link down
      [1831.183660] r8169 0000:03:00.0: p4p1: link up


      That's what I get and I can make that much sense of it










      share|improve this question















      Ok first of all I was trying to connect my server to my router and set up my apache2 server so my server could be viewable online.



      But in my attempts to connect, I found that I have no eth0 connection. I'm still not completely sure why or what that is, but I'm pretty sure it's important.



      I think the bt router that I'm using is going to be a bit temperamental with my server but I'll cross that bridge when I come to it.



      at the moment though I am trying to install new network drivers for my realtek r8111 network adapter so I can access all the settings for my network.



      I managed to find the driver and have attempted to install it, but it needed a program called make. which I installed but now I get the error:



      "make: *** No rule to make target 'all'. Stop."



      I've accessed the autorun.sh file that comes with the driver, and have found the line that the autorun gets stuck on but don't know much about make or installing drivers so am stuck as to what too do now.



      Any advise would be appreciated. Thanks.



      edit:



      Results from dmesg | grep r8169'



      [1831.373396] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
      [1831.373412] r8169 0000:03:00.0: can't disable ASPM: OS doesn't have ASPM control
      [1831.373634] r8169 0000:03:00.0: irq 43 for MSI/MSI-X
      [1831.373810] r8169 0000:03:00.0: eth0: RTL8168f/8111f at 0xf841c000, (servercode), XID 08000880 IRQ 43
      [1831.373812] r8169 0000:03:00.0: eth0: jumbo features [frame: 9200 bytes, tx checksumming: ko]
      [1831.564275] r8169 0000:03:00.0: p4p1: link down
      [1831.564309] r8169 0000:03:00.0: p4p1: link down
      [1831.183660] r8169 0000:03:00.0: p4p1: link up


      That's what I get and I can make that much sense of it







      networking drivers server






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 31 '14 at 15:11

























      asked Oct 31 '14 at 14:23









      user3879560

      6115




      6115






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          To compile a driver from source code requires the packages linux-headers and build-essential and all their dependencies. They would be very difficult to download and install without an internet connection.



          The default server install includes the driver by default. Let's load it and see if your ethernet comes to life:



          sudo modprobe r8169
          ifconfig


          Is there an eth0 now? If so, let's see if it will connect:



          sudo dhclient -v eth0


          If there is no eth0, check the log to see what's going wrong:



          dmesg | grep r8169


          Many servers have several ethernet ports. Therefor, Ubuntu often enumerates ethernet connections as yours is; p4p1, p4p2, etc. I believe this refers to PCI slot 4 and port 1.



          If you do:



          sudo dhclient -v p4p1


          Do you get an IP address? Check:



          ifconfig


          Can you reach the world?



          ping -c3 www.ubuntu.com


          If you are successful, I suggest you edit /etc/network/interfaces using p4p1 like this: No internet on Ubuntu Server 14.04 or 12.04






          share|improve this answer























          • all that happens when I modprobe then if config is the same a lo connection and a p4p1 connection. I can connect to the internet. Is p4p1 connection the Ethernet eth0 connection. I can connect I'm juts pretty sure I don't have a complete connection.
            – user3879560
            Oct 31 '14 at 14:53










          • edited to show output of dmesg
            – user3879560
            Oct 31 '14 at 15:11










          • Please see my edit in a few moments.
            – chili555
            Oct 31 '14 at 15:18










          • no I can't access the world I thought I could because I'm pretty sure that I've downloaded packages but I get no ping from Ubuntu. all the ip addresses are local I don't know if that's the way its meant to be.
            – user3879560
            Oct 31 '14 at 15:47










          • Local as in what? 192.168.x.y? Or..? Are you attached to a routeror switch?
            – chili555
            Oct 31 '14 at 15:54


















          up vote
          0
          down vote













          Just a simple Fix



          We just need to Load the Default Ethernet Driver and see if it is active



          sudo modprobe r8169



          ifconfig






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f544047%2finstalling-new-network-driver-ubuntu-server-14-10%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            To compile a driver from source code requires the packages linux-headers and build-essential and all their dependencies. They would be very difficult to download and install without an internet connection.



            The default server install includes the driver by default. Let's load it and see if your ethernet comes to life:



            sudo modprobe r8169
            ifconfig


            Is there an eth0 now? If so, let's see if it will connect:



            sudo dhclient -v eth0


            If there is no eth0, check the log to see what's going wrong:



            dmesg | grep r8169


            Many servers have several ethernet ports. Therefor, Ubuntu often enumerates ethernet connections as yours is; p4p1, p4p2, etc. I believe this refers to PCI slot 4 and port 1.



            If you do:



            sudo dhclient -v p4p1


            Do you get an IP address? Check:



            ifconfig


            Can you reach the world?



            ping -c3 www.ubuntu.com


            If you are successful, I suggest you edit /etc/network/interfaces using p4p1 like this: No internet on Ubuntu Server 14.04 or 12.04






            share|improve this answer























            • all that happens when I modprobe then if config is the same a lo connection and a p4p1 connection. I can connect to the internet. Is p4p1 connection the Ethernet eth0 connection. I can connect I'm juts pretty sure I don't have a complete connection.
              – user3879560
              Oct 31 '14 at 14:53










            • edited to show output of dmesg
              – user3879560
              Oct 31 '14 at 15:11










            • Please see my edit in a few moments.
              – chili555
              Oct 31 '14 at 15:18










            • no I can't access the world I thought I could because I'm pretty sure that I've downloaded packages but I get no ping from Ubuntu. all the ip addresses are local I don't know if that's the way its meant to be.
              – user3879560
              Oct 31 '14 at 15:47










            • Local as in what? 192.168.x.y? Or..? Are you attached to a routeror switch?
              – chili555
              Oct 31 '14 at 15:54















            up vote
            0
            down vote













            To compile a driver from source code requires the packages linux-headers and build-essential and all their dependencies. They would be very difficult to download and install without an internet connection.



            The default server install includes the driver by default. Let's load it and see if your ethernet comes to life:



            sudo modprobe r8169
            ifconfig


            Is there an eth0 now? If so, let's see if it will connect:



            sudo dhclient -v eth0


            If there is no eth0, check the log to see what's going wrong:



            dmesg | grep r8169


            Many servers have several ethernet ports. Therefor, Ubuntu often enumerates ethernet connections as yours is; p4p1, p4p2, etc. I believe this refers to PCI slot 4 and port 1.



            If you do:



            sudo dhclient -v p4p1


            Do you get an IP address? Check:



            ifconfig


            Can you reach the world?



            ping -c3 www.ubuntu.com


            If you are successful, I suggest you edit /etc/network/interfaces using p4p1 like this: No internet on Ubuntu Server 14.04 or 12.04






            share|improve this answer























            • all that happens when I modprobe then if config is the same a lo connection and a p4p1 connection. I can connect to the internet. Is p4p1 connection the Ethernet eth0 connection. I can connect I'm juts pretty sure I don't have a complete connection.
              – user3879560
              Oct 31 '14 at 14:53










            • edited to show output of dmesg
              – user3879560
              Oct 31 '14 at 15:11










            • Please see my edit in a few moments.
              – chili555
              Oct 31 '14 at 15:18










            • no I can't access the world I thought I could because I'm pretty sure that I've downloaded packages but I get no ping from Ubuntu. all the ip addresses are local I don't know if that's the way its meant to be.
              – user3879560
              Oct 31 '14 at 15:47










            • Local as in what? 192.168.x.y? Or..? Are you attached to a routeror switch?
              – chili555
              Oct 31 '14 at 15:54













            up vote
            0
            down vote










            up vote
            0
            down vote









            To compile a driver from source code requires the packages linux-headers and build-essential and all their dependencies. They would be very difficult to download and install without an internet connection.



            The default server install includes the driver by default. Let's load it and see if your ethernet comes to life:



            sudo modprobe r8169
            ifconfig


            Is there an eth0 now? If so, let's see if it will connect:



            sudo dhclient -v eth0


            If there is no eth0, check the log to see what's going wrong:



            dmesg | grep r8169


            Many servers have several ethernet ports. Therefor, Ubuntu often enumerates ethernet connections as yours is; p4p1, p4p2, etc. I believe this refers to PCI slot 4 and port 1.



            If you do:



            sudo dhclient -v p4p1


            Do you get an IP address? Check:



            ifconfig


            Can you reach the world?



            ping -c3 www.ubuntu.com


            If you are successful, I suggest you edit /etc/network/interfaces using p4p1 like this: No internet on Ubuntu Server 14.04 or 12.04






            share|improve this answer














            To compile a driver from source code requires the packages linux-headers and build-essential and all their dependencies. They would be very difficult to download and install without an internet connection.



            The default server install includes the driver by default. Let's load it and see if your ethernet comes to life:



            sudo modprobe r8169
            ifconfig


            Is there an eth0 now? If so, let's see if it will connect:



            sudo dhclient -v eth0


            If there is no eth0, check the log to see what's going wrong:



            dmesg | grep r8169


            Many servers have several ethernet ports. Therefor, Ubuntu often enumerates ethernet connections as yours is; p4p1, p4p2, etc. I believe this refers to PCI slot 4 and port 1.



            If you do:



            sudo dhclient -v p4p1


            Do you get an IP address? Check:



            ifconfig


            Can you reach the world?



            ping -c3 www.ubuntu.com


            If you are successful, I suggest you edit /etc/network/interfaces using p4p1 like this: No internet on Ubuntu Server 14.04 or 12.04







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 13 '17 at 12:25









            Community

            1




            1










            answered Oct 31 '14 at 14:38









            chili555

            37.5k54976




            37.5k54976












            • all that happens when I modprobe then if config is the same a lo connection and a p4p1 connection. I can connect to the internet. Is p4p1 connection the Ethernet eth0 connection. I can connect I'm juts pretty sure I don't have a complete connection.
              – user3879560
              Oct 31 '14 at 14:53










            • edited to show output of dmesg
              – user3879560
              Oct 31 '14 at 15:11










            • Please see my edit in a few moments.
              – chili555
              Oct 31 '14 at 15:18










            • no I can't access the world I thought I could because I'm pretty sure that I've downloaded packages but I get no ping from Ubuntu. all the ip addresses are local I don't know if that's the way its meant to be.
              – user3879560
              Oct 31 '14 at 15:47










            • Local as in what? 192.168.x.y? Or..? Are you attached to a routeror switch?
              – chili555
              Oct 31 '14 at 15:54


















            • all that happens when I modprobe then if config is the same a lo connection and a p4p1 connection. I can connect to the internet. Is p4p1 connection the Ethernet eth0 connection. I can connect I'm juts pretty sure I don't have a complete connection.
              – user3879560
              Oct 31 '14 at 14:53










            • edited to show output of dmesg
              – user3879560
              Oct 31 '14 at 15:11










            • Please see my edit in a few moments.
              – chili555
              Oct 31 '14 at 15:18










            • no I can't access the world I thought I could because I'm pretty sure that I've downloaded packages but I get no ping from Ubuntu. all the ip addresses are local I don't know if that's the way its meant to be.
              – user3879560
              Oct 31 '14 at 15:47










            • Local as in what? 192.168.x.y? Or..? Are you attached to a routeror switch?
              – chili555
              Oct 31 '14 at 15:54
















            all that happens when I modprobe then if config is the same a lo connection and a p4p1 connection. I can connect to the internet. Is p4p1 connection the Ethernet eth0 connection. I can connect I'm juts pretty sure I don't have a complete connection.
            – user3879560
            Oct 31 '14 at 14:53




            all that happens when I modprobe then if config is the same a lo connection and a p4p1 connection. I can connect to the internet. Is p4p1 connection the Ethernet eth0 connection. I can connect I'm juts pretty sure I don't have a complete connection.
            – user3879560
            Oct 31 '14 at 14:53












            edited to show output of dmesg
            – user3879560
            Oct 31 '14 at 15:11




            edited to show output of dmesg
            – user3879560
            Oct 31 '14 at 15:11












            Please see my edit in a few moments.
            – chili555
            Oct 31 '14 at 15:18




            Please see my edit in a few moments.
            – chili555
            Oct 31 '14 at 15:18












            no I can't access the world I thought I could because I'm pretty sure that I've downloaded packages but I get no ping from Ubuntu. all the ip addresses are local I don't know if that's the way its meant to be.
            – user3879560
            Oct 31 '14 at 15:47




            no I can't access the world I thought I could because I'm pretty sure that I've downloaded packages but I get no ping from Ubuntu. all the ip addresses are local I don't know if that's the way its meant to be.
            – user3879560
            Oct 31 '14 at 15:47












            Local as in what? 192.168.x.y? Or..? Are you attached to a routeror switch?
            – chili555
            Oct 31 '14 at 15:54




            Local as in what? 192.168.x.y? Or..? Are you attached to a routeror switch?
            – chili555
            Oct 31 '14 at 15:54












            up vote
            0
            down vote













            Just a simple Fix



            We just need to Load the Default Ethernet Driver and see if it is active



            sudo modprobe r8169



            ifconfig






            share|improve this answer

























              up vote
              0
              down vote













              Just a simple Fix



              We just need to Load the Default Ethernet Driver and see if it is active



              sudo modprobe r8169



              ifconfig






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                Just a simple Fix



                We just need to Load the Default Ethernet Driver and see if it is active



                sudo modprobe r8169



                ifconfig






                share|improve this answer












                Just a simple Fix



                We just need to Load the Default Ethernet Driver and see if it is active



                sudo modprobe r8169



                ifconfig







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 9 '15 at 15:09









                Jimmy

                1113




                1113






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f544047%2finstalling-new-network-driver-ubuntu-server-14-10%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                    ComboBox Display Member on multiple fields

                    Is it possible to collect Nectar points via Trainline?