eth0 NO-CARRIER, ifconfig shows no IP address











up vote
7
down vote

favorite
2












I left Ubuntu and came back after a while so I don't remember much. Now I'm trying to get my IP address. All I'm getting from running ifconfig is



eth0      Link encap:Ethernet  HWaddr 3c:97:0e:11:22:0d  
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:20 Memory:f2500000-f2520000


(BTW, I don't really understand what UP BROADCAST MULTICAST means.)



 $ sudo ifdown eth0 
ifdown: interface eth0 not configured


Then



$ sudo ifup eth0
Ignoring unknown interface eth0=eth0


And finally 2:



$ ip addr show eth0
eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN
group default qlen 1000 link/ether 3c:97:0e:11:22:0d brd ff:ff:ff:ff:ff:ff









share|improve this question
























  • possible duplicate of Command for determining my public IP?
    – edwin
    Jul 15 '14 at 0:01










  • Close voters this question is not a duplicate of Command for determining my public IP?. In that question the computer already has a local IP address and is trying to find the IP they have on the internet which may have been changed by the router or ISP. This question is about why they can't get any IP address.
    – Warren Hill
    Jul 18 '14 at 16:55






  • 3




    Have you found any solution to this problem?
    – alex
    Jun 4 '15 at 15:19










  • NO-CARRIER means that the network jack detects no signal on the line. This is usually because the network cable is unplugged or broken. In rare cases it can also be hardware failure or a driver bug. Have you checked the cables and rebooted the system?
    – tudor
    Oct 9 at 0:45















up vote
7
down vote

favorite
2












I left Ubuntu and came back after a while so I don't remember much. Now I'm trying to get my IP address. All I'm getting from running ifconfig is



eth0      Link encap:Ethernet  HWaddr 3c:97:0e:11:22:0d  
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:20 Memory:f2500000-f2520000


(BTW, I don't really understand what UP BROADCAST MULTICAST means.)



 $ sudo ifdown eth0 
ifdown: interface eth0 not configured


Then



$ sudo ifup eth0
Ignoring unknown interface eth0=eth0


And finally 2:



$ ip addr show eth0
eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN
group default qlen 1000 link/ether 3c:97:0e:11:22:0d brd ff:ff:ff:ff:ff:ff









share|improve this question
























  • possible duplicate of Command for determining my public IP?
    – edwin
    Jul 15 '14 at 0:01










  • Close voters this question is not a duplicate of Command for determining my public IP?. In that question the computer already has a local IP address and is trying to find the IP they have on the internet which may have been changed by the router or ISP. This question is about why they can't get any IP address.
    – Warren Hill
    Jul 18 '14 at 16:55






  • 3




    Have you found any solution to this problem?
    – alex
    Jun 4 '15 at 15:19










  • NO-CARRIER means that the network jack detects no signal on the line. This is usually because the network cable is unplugged or broken. In rare cases it can also be hardware failure or a driver bug. Have you checked the cables and rebooted the system?
    – tudor
    Oct 9 at 0:45













up vote
7
down vote

favorite
2









up vote
7
down vote

favorite
2






2





I left Ubuntu and came back after a while so I don't remember much. Now I'm trying to get my IP address. All I'm getting from running ifconfig is



eth0      Link encap:Ethernet  HWaddr 3c:97:0e:11:22:0d  
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:20 Memory:f2500000-f2520000


(BTW, I don't really understand what UP BROADCAST MULTICAST means.)



 $ sudo ifdown eth0 
ifdown: interface eth0 not configured


Then



$ sudo ifup eth0
Ignoring unknown interface eth0=eth0


And finally 2:



$ ip addr show eth0
eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN
group default qlen 1000 link/ether 3c:97:0e:11:22:0d brd ff:ff:ff:ff:ff:ff









share|improve this question















I left Ubuntu and came back after a while so I don't remember much. Now I'm trying to get my IP address. All I'm getting from running ifconfig is



eth0      Link encap:Ethernet  HWaddr 3c:97:0e:11:22:0d  
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:20 Memory:f2500000-f2520000


(BTW, I don't really understand what UP BROADCAST MULTICAST means.)



 $ sudo ifdown eth0 
ifdown: interface eth0 not configured


Then



$ sudo ifup eth0
Ignoring unknown interface eth0=eth0


And finally 2:



$ ip addr show eth0
eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN
group default qlen 1000 link/ether 3c:97:0e:11:22:0d brd ff:ff:ff:ff:ff:ff






ip ifconfig






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 18 '14 at 11:57









bain

9,03322942




9,03322942










asked Jul 14 '14 at 23:45









MasterPorky

36112




36112












  • possible duplicate of Command for determining my public IP?
    – edwin
    Jul 15 '14 at 0:01










  • Close voters this question is not a duplicate of Command for determining my public IP?. In that question the computer already has a local IP address and is trying to find the IP they have on the internet which may have been changed by the router or ISP. This question is about why they can't get any IP address.
    – Warren Hill
    Jul 18 '14 at 16:55






  • 3




    Have you found any solution to this problem?
    – alex
    Jun 4 '15 at 15:19










  • NO-CARRIER means that the network jack detects no signal on the line. This is usually because the network cable is unplugged or broken. In rare cases it can also be hardware failure or a driver bug. Have you checked the cables and rebooted the system?
    – tudor
    Oct 9 at 0:45


















  • possible duplicate of Command for determining my public IP?
    – edwin
    Jul 15 '14 at 0:01










  • Close voters this question is not a duplicate of Command for determining my public IP?. In that question the computer already has a local IP address and is trying to find the IP they have on the internet which may have been changed by the router or ISP. This question is about why they can't get any IP address.
    – Warren Hill
    Jul 18 '14 at 16:55






  • 3




    Have you found any solution to this problem?
    – alex
    Jun 4 '15 at 15:19










  • NO-CARRIER means that the network jack detects no signal on the line. This is usually because the network cable is unplugged or broken. In rare cases it can also be hardware failure or a driver bug. Have you checked the cables and rebooted the system?
    – tudor
    Oct 9 at 0:45
















possible duplicate of Command for determining my public IP?
– edwin
Jul 15 '14 at 0:01




possible duplicate of Command for determining my public IP?
– edwin
Jul 15 '14 at 0:01












Close voters this question is not a duplicate of Command for determining my public IP?. In that question the computer already has a local IP address and is trying to find the IP they have on the internet which may have been changed by the router or ISP. This question is about why they can't get any IP address.
– Warren Hill
Jul 18 '14 at 16:55




Close voters this question is not a duplicate of Command for determining my public IP?. In that question the computer already has a local IP address and is trying to find the IP they have on the internet which may have been changed by the router or ISP. This question is about why they can't get any IP address.
– Warren Hill
Jul 18 '14 at 16:55




3




3




Have you found any solution to this problem?
– alex
Jun 4 '15 at 15:19




Have you found any solution to this problem?
– alex
Jun 4 '15 at 15:19












NO-CARRIER means that the network jack detects no signal on the line. This is usually because the network cable is unplugged or broken. In rare cases it can also be hardware failure or a driver bug. Have you checked the cables and rebooted the system?
– tudor
Oct 9 at 0:45




NO-CARRIER means that the network jack detects no signal on the line. This is usually because the network cable is unplugged or broken. In rare cases it can also be hardware failure or a driver bug. Have you checked the cables and rebooted the system?
– tudor
Oct 9 at 0:45










2 Answers
2






active

oldest

votes

















up vote
0
down vote













You might just try setting your IP address to something on your subnet. Assuming you're on a 192.168.1.255 network, try this:



ifconfig address 192.168.1.50 netmask 255.255.255.0 gateway 192.168.1.1


Replace 192.168.1.50 with the IP you want to get, and replace 192.168.1.1 with the IP address of your router/gateway.



I have had a similar problem, and this solved it for me.






share|improve this answer




























    up vote
    0
    down vote













    Try :



    ifdown eth0
    ifup eth0
    ip addr show eth0


    The meanings of UP, BROADCAST, and MULTICAST





    • UP - device is functioning


    • BROADCAST - device can send traffic to all hosts on the link


    • MULTICAST - device can perform and receive multicast packets


    More about mulicast visit Site






    share|improve this answer























    • I tried the commands and none of them worked out so far. sudo ifdown eth0 ifdown: interface eth0 not configured Then sudo ifup eth0 Ignoring unknown interface eth0=eth0 And finally 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 link/ether 3c:97:0e:11:22:0d brd ff:ff:ff:ff:ff:ff
      – MasterPorky
      Jul 15 '14 at 4:45













    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%2f497850%2feth0-no-carrier-ifconfig-shows-no-ip-address%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













    You might just try setting your IP address to something on your subnet. Assuming you're on a 192.168.1.255 network, try this:



    ifconfig address 192.168.1.50 netmask 255.255.255.0 gateway 192.168.1.1


    Replace 192.168.1.50 with the IP you want to get, and replace 192.168.1.1 with the IP address of your router/gateway.



    I have had a similar problem, and this solved it for me.






    share|improve this answer

























      up vote
      0
      down vote













      You might just try setting your IP address to something on your subnet. Assuming you're on a 192.168.1.255 network, try this:



      ifconfig address 192.168.1.50 netmask 255.255.255.0 gateway 192.168.1.1


      Replace 192.168.1.50 with the IP you want to get, and replace 192.168.1.1 with the IP address of your router/gateway.



      I have had a similar problem, and this solved it for me.






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        You might just try setting your IP address to something on your subnet. Assuming you're on a 192.168.1.255 network, try this:



        ifconfig address 192.168.1.50 netmask 255.255.255.0 gateway 192.168.1.1


        Replace 192.168.1.50 with the IP you want to get, and replace 192.168.1.1 with the IP address of your router/gateway.



        I have had a similar problem, and this solved it for me.






        share|improve this answer












        You might just try setting your IP address to something on your subnet. Assuming you're on a 192.168.1.255 network, try this:



        ifconfig address 192.168.1.50 netmask 255.255.255.0 gateway 192.168.1.1


        Replace 192.168.1.50 with the IP you want to get, and replace 192.168.1.1 with the IP address of your router/gateway.



        I have had a similar problem, and this solved it for me.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 23 '15 at 16:25









        Daniel

        2,58811540




        2,58811540
























            up vote
            0
            down vote













            Try :



            ifdown eth0
            ifup eth0
            ip addr show eth0


            The meanings of UP, BROADCAST, and MULTICAST





            • UP - device is functioning


            • BROADCAST - device can send traffic to all hosts on the link


            • MULTICAST - device can perform and receive multicast packets


            More about mulicast visit Site






            share|improve this answer























            • I tried the commands and none of them worked out so far. sudo ifdown eth0 ifdown: interface eth0 not configured Then sudo ifup eth0 Ignoring unknown interface eth0=eth0 And finally 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 link/ether 3c:97:0e:11:22:0d brd ff:ff:ff:ff:ff:ff
              – MasterPorky
              Jul 15 '14 at 4:45

















            up vote
            0
            down vote













            Try :



            ifdown eth0
            ifup eth0
            ip addr show eth0


            The meanings of UP, BROADCAST, and MULTICAST





            • UP - device is functioning


            • BROADCAST - device can send traffic to all hosts on the link


            • MULTICAST - device can perform and receive multicast packets


            More about mulicast visit Site






            share|improve this answer























            • I tried the commands and none of them worked out so far. sudo ifdown eth0 ifdown: interface eth0 not configured Then sudo ifup eth0 Ignoring unknown interface eth0=eth0 And finally 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 link/ether 3c:97:0e:11:22:0d brd ff:ff:ff:ff:ff:ff
              – MasterPorky
              Jul 15 '14 at 4:45















            up vote
            0
            down vote










            up vote
            0
            down vote









            Try :



            ifdown eth0
            ifup eth0
            ip addr show eth0


            The meanings of UP, BROADCAST, and MULTICAST





            • UP - device is functioning


            • BROADCAST - device can send traffic to all hosts on the link


            • MULTICAST - device can perform and receive multicast packets


            More about mulicast visit Site






            share|improve this answer














            Try :



            ifdown eth0
            ifup eth0
            ip addr show eth0


            The meanings of UP, BROADCAST, and MULTICAST





            • UP - device is functioning


            • BROADCAST - device can send traffic to all hosts on the link


            • MULTICAST - device can perform and receive multicast packets


            More about mulicast visit Site







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Oct 9 at 0:40









            Chai T. Rex

            3,96711233




            3,96711233










            answered Jul 15 '14 at 1:34









            nux

            22k2993116




            22k2993116












            • I tried the commands and none of them worked out so far. sudo ifdown eth0 ifdown: interface eth0 not configured Then sudo ifup eth0 Ignoring unknown interface eth0=eth0 And finally 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 link/ether 3c:97:0e:11:22:0d brd ff:ff:ff:ff:ff:ff
              – MasterPorky
              Jul 15 '14 at 4:45




















            • I tried the commands and none of them worked out so far. sudo ifdown eth0 ifdown: interface eth0 not configured Then sudo ifup eth0 Ignoring unknown interface eth0=eth0 And finally 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 link/ether 3c:97:0e:11:22:0d brd ff:ff:ff:ff:ff:ff
              – MasterPorky
              Jul 15 '14 at 4:45


















            I tried the commands and none of them worked out so far. sudo ifdown eth0 ifdown: interface eth0 not configured Then sudo ifup eth0 Ignoring unknown interface eth0=eth0 And finally 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 link/ether 3c:97:0e:11:22:0d brd ff:ff:ff:ff:ff:ff
            – MasterPorky
            Jul 15 '14 at 4:45






            I tried the commands and none of them worked out so far. sudo ifdown eth0 ifdown: interface eth0 not configured Then sudo ifup eth0 Ignoring unknown interface eth0=eth0 And finally 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 link/ether 3c:97:0e:11:22:0d brd ff:ff:ff:ff:ff:ff
            – MasterPorky
            Jul 15 '14 at 4:45




















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f497850%2feth0-no-carrier-ifconfig-shows-no-ip-address%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

            數位音樂下載

            When can things happen in Etherscan, such as the picture below?

            格利澤436b