eth0 NO-CARRIER, ifconfig shows no IP address
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
add a comment |
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
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 '18 at 0:45
add a comment |
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
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
ip ifconfig
edited Jul 18 '14 at 11:57
bain
9,09322942
9,09322942
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 '18 at 0:45
add a comment |
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 '18 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 '18 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 '18 at 0:45
add a comment |
2 Answers
2
active
oldest
votes
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.
add a comment |
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
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
add a comment |
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',
autoActivateHeartbeat: false,
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Sep 23 '15 at 16:25
Daniel
2,60811540
2,60811540
add a comment |
add a comment |
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
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
add a comment |
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
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
add a comment |
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
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
edited Oct 9 '18 at 0:40
Chai T. Rex
4,01711333
4,01711333
answered Jul 15 '14 at 1:34
nux
22.3k2994116
22.3k2994116
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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 '18 at 0:45