Centos 6.7 in a laptop does not detect network interfaces but detect network hardware
Clash Royale CLAN TAG#URR8PPP
I am installing CentOS 6.7 in my laptop, I have Windows 10, Centos 6.7 and Ubuntu 18 installed, but CentOS is the only OS that is not detecting any network interface, wired neither wifi.
I used NetworkManager to automatic configuration, but it seems that is not being able to configure it.
My laptop is a MSI GE60-20E. SN: GE60 2OE-223XESK1402000204
Outputs are: (sorry for quality, I don't have any internet on my laptop in CentOS)
I need to configure it. Windows and Ubuntu is detecting everything.
UPDATE new outputs with nmcli
centos network-interface networkmanager laptop
|
show 5 more comments
I am installing CentOS 6.7 in my laptop, I have Windows 10, Centos 6.7 and Ubuntu 18 installed, but CentOS is the only OS that is not detecting any network interface, wired neither wifi.
I used NetworkManager to automatic configuration, but it seems that is not being able to configure it.
My laptop is a MSI GE60-20E. SN: GE60 2OE-223XESK1402000204
Outputs are: (sorry for quality, I don't have any internet on my laptop in CentOS)
I need to configure it. Windows and Ubuntu is detecting everything.
UPDATE new outputs with nmcli
centos network-interface networkmanager laptop
is it a newer MSI laptop? I have the MSI ps42 and CentOS 7.5 worked on it.
– thebtm
Feb 14 at 18:29
Is not new, it has an i5-4200U. I bought in 2014 May. SN: GE60 2OE-223XESK1402000204
– rokimoki
Feb 14 at 18:33
ls -la /etc/sysconfig/network-scripts/
do you have any configurations already setup? if not, you may have to set that up.
– thebtm
Feb 14 at 18:36
The thing is, that I don't know which to configure because usually is eth0 or wlan0, and the system does not recognize those interfaces. I mean, I createetc/sysconfig/network-scripts/ifcfg-eth0
and configure it but nothing happens.
– rokimoki
Feb 14 at 18:38
1
Minimal support was added in vanilla kernel 3.10 : chances are this would work on CentOS 7 (not 6.x) instead.
– A.B
Feb 14 at 22:16
|
show 5 more comments
I am installing CentOS 6.7 in my laptop, I have Windows 10, Centos 6.7 and Ubuntu 18 installed, but CentOS is the only OS that is not detecting any network interface, wired neither wifi.
I used NetworkManager to automatic configuration, but it seems that is not being able to configure it.
My laptop is a MSI GE60-20E. SN: GE60 2OE-223XESK1402000204
Outputs are: (sorry for quality, I don't have any internet on my laptop in CentOS)
I need to configure it. Windows and Ubuntu is detecting everything.
UPDATE new outputs with nmcli
centos network-interface networkmanager laptop
I am installing CentOS 6.7 in my laptop, I have Windows 10, Centos 6.7 and Ubuntu 18 installed, but CentOS is the only OS that is not detecting any network interface, wired neither wifi.
I used NetworkManager to automatic configuration, but it seems that is not being able to configure it.
My laptop is a MSI GE60-20E. SN: GE60 2OE-223XESK1402000204
Outputs are: (sorry for quality, I don't have any internet on my laptop in CentOS)
I need to configure it. Windows and Ubuntu is detecting everything.
UPDATE new outputs with nmcli
centos network-interface networkmanager laptop
centos network-interface networkmanager laptop
edited Feb 14 at 20:36
rokimoki
asked Feb 14 at 18:24
rokimokirokimoki
1012
1012
is it a newer MSI laptop? I have the MSI ps42 and CentOS 7.5 worked on it.
– thebtm
Feb 14 at 18:29
Is not new, it has an i5-4200U. I bought in 2014 May. SN: GE60 2OE-223XESK1402000204
– rokimoki
Feb 14 at 18:33
ls -la /etc/sysconfig/network-scripts/
do you have any configurations already setup? if not, you may have to set that up.
– thebtm
Feb 14 at 18:36
The thing is, that I don't know which to configure because usually is eth0 or wlan0, and the system does not recognize those interfaces. I mean, I createetc/sysconfig/network-scripts/ifcfg-eth0
and configure it but nothing happens.
– rokimoki
Feb 14 at 18:38
1
Minimal support was added in vanilla kernel 3.10 : chances are this would work on CentOS 7 (not 6.x) instead.
– A.B
Feb 14 at 22:16
|
show 5 more comments
is it a newer MSI laptop? I have the MSI ps42 and CentOS 7.5 worked on it.
– thebtm
Feb 14 at 18:29
Is not new, it has an i5-4200U. I bought in 2014 May. SN: GE60 2OE-223XESK1402000204
– rokimoki
Feb 14 at 18:33
ls -la /etc/sysconfig/network-scripts/
do you have any configurations already setup? if not, you may have to set that up.
– thebtm
Feb 14 at 18:36
The thing is, that I don't know which to configure because usually is eth0 or wlan0, and the system does not recognize those interfaces. I mean, I createetc/sysconfig/network-scripts/ifcfg-eth0
and configure it but nothing happens.
– rokimoki
Feb 14 at 18:38
1
Minimal support was added in vanilla kernel 3.10 : chances are this would work on CentOS 7 (not 6.x) instead.
– A.B
Feb 14 at 22:16
is it a newer MSI laptop? I have the MSI ps42 and CentOS 7.5 worked on it.
– thebtm
Feb 14 at 18:29
is it a newer MSI laptop? I have the MSI ps42 and CentOS 7.5 worked on it.
– thebtm
Feb 14 at 18:29
Is not new, it has an i5-4200U. I bought in 2014 May. SN: GE60 2OE-223XESK1402000204
– rokimoki
Feb 14 at 18:33
Is not new, it has an i5-4200U. I bought in 2014 May. SN: GE60 2OE-223XESK1402000204
– rokimoki
Feb 14 at 18:33
ls -la /etc/sysconfig/network-scripts/
do you have any configurations already setup? if not, you may have to set that up.– thebtm
Feb 14 at 18:36
ls -la /etc/sysconfig/network-scripts/
do you have any configurations already setup? if not, you may have to set that up.– thebtm
Feb 14 at 18:36
The thing is, that I don't know which to configure because usually is eth0 or wlan0, and the system does not recognize those interfaces. I mean, I create
etc/sysconfig/network-scripts/ifcfg-eth0
and configure it but nothing happens.– rokimoki
Feb 14 at 18:38
The thing is, that I don't know which to configure because usually is eth0 or wlan0, and the system does not recognize those interfaces. I mean, I create
etc/sysconfig/network-scripts/ifcfg-eth0
and configure it but nothing happens.– rokimoki
Feb 14 at 18:38
1
1
Minimal support was added in vanilla kernel 3.10 : chances are this would work on CentOS 7 (not 6.x) instead.
– A.B
Feb 14 at 22:16
Minimal support was added in vanilla kernel 3.10 : chances are this would work on CentOS 7 (not 6.x) instead.
– A.B
Feb 14 at 22:16
|
show 5 more comments
1 Answer
1
active
oldest
votes
eth0
is for the wired connectionwlan0
is for the wireless connection
For configuring a network connection, if it hasn't already been completed automatically, there is a few ways you can go about it from the command line and from the GUI (though I dont have that information handy at the moment)
If you are missing the files in /etc/sysconfig/network-scripts/
then you have to tell nmcli to create the connections, it helps to do checks before you actually start making connections.
Starting with an nmcli dev show
to make sure you can see all the hardware with nmcli
[root@linux-repository ~]# nmcli dev show
GENERAL.DEVICE: eth0
GENERAL.TYPE: ethernet
GENERAL.HWADDR: XX:XX:XX:XX:XX:XX
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: eth0
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: X.X.X.X/24
IP4.GATEWAY: X.X.X.X
IP4.ROUTE[1]: dst = X.X.X.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[2]: dst = 0.0.0.0/0, nh = X.X.X.1, mt = 100
IP4.DNS[1]: X.X.X.X
IP4.DNS[2]: 8.8.8.8
IP4.DNS[3]: 8.8.4.4
GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY: --
IP6.ADDRESS[1]: ::1/128
IP6.GATEWAY: --
then you want to see if you can see already configured connections with nmcli con show
[root@linux-repository ~]# nmcli con show
NAME UUID TYPE DEVICE
eth0 0c7ab467-dbdf-41c2-b3a3-882760879594 ethernet eth0
once you have the device name from nmcli dev show
just add a generic connection with nmcli con add type ethernet con-name <dev name> ifname <dev name>
and this should add a dhcp connection to your wired connection to help get you going to be online again; for wireless, I recommend checking out a nmtui tutorial.
[root@linux-repository ~]# nmcli con add type ethernet con-name eth0 ifname eth0
Connection 'eth0' (058aac84-c024-46bc-9847-b6e8044fb9c6) successfully added.
NMCLI & NMTUI
CentOS 7 Network Configuration Using nmtui Tool here is an CentOS tutorial on nmcli
RHEL 7 nmcli [this is pretty much the same as the nmcli for RHEL 6, Centos 7 & 6]
also can run man nmcli
the manual for the tool is also on the system.
ifcfg
How To Configure Static IP On CentOS 6
an example of setting up a network via the ifcfg files, you may have to add the NM_CONTROLLED="no" if you dont want network manager to mess with it.
Thanks, I'm getting some empty outputs with nmcli.nmcli dev
empty list,nmcli con
empty list. With configuration files I create theifcfg-eth0
file, withdevice=eth0
, and then restarting the networks, but it doesn't up the interface because it doesn't exist.
– rokimoki
Feb 14 at 19:14
on the question, can you attach thenmcli dev show
– thebtm
Feb 14 at 19:17
nmcli dev show
says that dev show is not a valid command.
– rokimoki
Feb 14 at 19:39
I'm going to post those outputs I got in question, give me some minutes please. Thanks.
– rokimoki
Feb 14 at 20:04
thenmcli con add
command should still work. if your device is namedeth0
– thebtm
Feb 14 at 20:16
|
show 1 more comment
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f500677%2fcentos-6-7-in-a-laptop-does-not-detect-network-interfaces-but-detect-network-har%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
eth0
is for the wired connectionwlan0
is for the wireless connection
For configuring a network connection, if it hasn't already been completed automatically, there is a few ways you can go about it from the command line and from the GUI (though I dont have that information handy at the moment)
If you are missing the files in /etc/sysconfig/network-scripts/
then you have to tell nmcli to create the connections, it helps to do checks before you actually start making connections.
Starting with an nmcli dev show
to make sure you can see all the hardware with nmcli
[root@linux-repository ~]# nmcli dev show
GENERAL.DEVICE: eth0
GENERAL.TYPE: ethernet
GENERAL.HWADDR: XX:XX:XX:XX:XX:XX
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: eth0
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: X.X.X.X/24
IP4.GATEWAY: X.X.X.X
IP4.ROUTE[1]: dst = X.X.X.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[2]: dst = 0.0.0.0/0, nh = X.X.X.1, mt = 100
IP4.DNS[1]: X.X.X.X
IP4.DNS[2]: 8.8.8.8
IP4.DNS[3]: 8.8.4.4
GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY: --
IP6.ADDRESS[1]: ::1/128
IP6.GATEWAY: --
then you want to see if you can see already configured connections with nmcli con show
[root@linux-repository ~]# nmcli con show
NAME UUID TYPE DEVICE
eth0 0c7ab467-dbdf-41c2-b3a3-882760879594 ethernet eth0
once you have the device name from nmcli dev show
just add a generic connection with nmcli con add type ethernet con-name <dev name> ifname <dev name>
and this should add a dhcp connection to your wired connection to help get you going to be online again; for wireless, I recommend checking out a nmtui tutorial.
[root@linux-repository ~]# nmcli con add type ethernet con-name eth0 ifname eth0
Connection 'eth0' (058aac84-c024-46bc-9847-b6e8044fb9c6) successfully added.
NMCLI & NMTUI
CentOS 7 Network Configuration Using nmtui Tool here is an CentOS tutorial on nmcli
RHEL 7 nmcli [this is pretty much the same as the nmcli for RHEL 6, Centos 7 & 6]
also can run man nmcli
the manual for the tool is also on the system.
ifcfg
How To Configure Static IP On CentOS 6
an example of setting up a network via the ifcfg files, you may have to add the NM_CONTROLLED="no" if you dont want network manager to mess with it.
Thanks, I'm getting some empty outputs with nmcli.nmcli dev
empty list,nmcli con
empty list. With configuration files I create theifcfg-eth0
file, withdevice=eth0
, and then restarting the networks, but it doesn't up the interface because it doesn't exist.
– rokimoki
Feb 14 at 19:14
on the question, can you attach thenmcli dev show
– thebtm
Feb 14 at 19:17
nmcli dev show
says that dev show is not a valid command.
– rokimoki
Feb 14 at 19:39
I'm going to post those outputs I got in question, give me some minutes please. Thanks.
– rokimoki
Feb 14 at 20:04
thenmcli con add
command should still work. if your device is namedeth0
– thebtm
Feb 14 at 20:16
|
show 1 more comment
eth0
is for the wired connectionwlan0
is for the wireless connection
For configuring a network connection, if it hasn't already been completed automatically, there is a few ways you can go about it from the command line and from the GUI (though I dont have that information handy at the moment)
If you are missing the files in /etc/sysconfig/network-scripts/
then you have to tell nmcli to create the connections, it helps to do checks before you actually start making connections.
Starting with an nmcli dev show
to make sure you can see all the hardware with nmcli
[root@linux-repository ~]# nmcli dev show
GENERAL.DEVICE: eth0
GENERAL.TYPE: ethernet
GENERAL.HWADDR: XX:XX:XX:XX:XX:XX
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: eth0
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: X.X.X.X/24
IP4.GATEWAY: X.X.X.X
IP4.ROUTE[1]: dst = X.X.X.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[2]: dst = 0.0.0.0/0, nh = X.X.X.1, mt = 100
IP4.DNS[1]: X.X.X.X
IP4.DNS[2]: 8.8.8.8
IP4.DNS[3]: 8.8.4.4
GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY: --
IP6.ADDRESS[1]: ::1/128
IP6.GATEWAY: --
then you want to see if you can see already configured connections with nmcli con show
[root@linux-repository ~]# nmcli con show
NAME UUID TYPE DEVICE
eth0 0c7ab467-dbdf-41c2-b3a3-882760879594 ethernet eth0
once you have the device name from nmcli dev show
just add a generic connection with nmcli con add type ethernet con-name <dev name> ifname <dev name>
and this should add a dhcp connection to your wired connection to help get you going to be online again; for wireless, I recommend checking out a nmtui tutorial.
[root@linux-repository ~]# nmcli con add type ethernet con-name eth0 ifname eth0
Connection 'eth0' (058aac84-c024-46bc-9847-b6e8044fb9c6) successfully added.
NMCLI & NMTUI
CentOS 7 Network Configuration Using nmtui Tool here is an CentOS tutorial on nmcli
RHEL 7 nmcli [this is pretty much the same as the nmcli for RHEL 6, Centos 7 & 6]
also can run man nmcli
the manual for the tool is also on the system.
ifcfg
How To Configure Static IP On CentOS 6
an example of setting up a network via the ifcfg files, you may have to add the NM_CONTROLLED="no" if you dont want network manager to mess with it.
Thanks, I'm getting some empty outputs with nmcli.nmcli dev
empty list,nmcli con
empty list. With configuration files I create theifcfg-eth0
file, withdevice=eth0
, and then restarting the networks, but it doesn't up the interface because it doesn't exist.
– rokimoki
Feb 14 at 19:14
on the question, can you attach thenmcli dev show
– thebtm
Feb 14 at 19:17
nmcli dev show
says that dev show is not a valid command.
– rokimoki
Feb 14 at 19:39
I'm going to post those outputs I got in question, give me some minutes please. Thanks.
– rokimoki
Feb 14 at 20:04
thenmcli con add
command should still work. if your device is namedeth0
– thebtm
Feb 14 at 20:16
|
show 1 more comment
eth0
is for the wired connectionwlan0
is for the wireless connection
For configuring a network connection, if it hasn't already been completed automatically, there is a few ways you can go about it from the command line and from the GUI (though I dont have that information handy at the moment)
If you are missing the files in /etc/sysconfig/network-scripts/
then you have to tell nmcli to create the connections, it helps to do checks before you actually start making connections.
Starting with an nmcli dev show
to make sure you can see all the hardware with nmcli
[root@linux-repository ~]# nmcli dev show
GENERAL.DEVICE: eth0
GENERAL.TYPE: ethernet
GENERAL.HWADDR: XX:XX:XX:XX:XX:XX
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: eth0
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: X.X.X.X/24
IP4.GATEWAY: X.X.X.X
IP4.ROUTE[1]: dst = X.X.X.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[2]: dst = 0.0.0.0/0, nh = X.X.X.1, mt = 100
IP4.DNS[1]: X.X.X.X
IP4.DNS[2]: 8.8.8.8
IP4.DNS[3]: 8.8.4.4
GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY: --
IP6.ADDRESS[1]: ::1/128
IP6.GATEWAY: --
then you want to see if you can see already configured connections with nmcli con show
[root@linux-repository ~]# nmcli con show
NAME UUID TYPE DEVICE
eth0 0c7ab467-dbdf-41c2-b3a3-882760879594 ethernet eth0
once you have the device name from nmcli dev show
just add a generic connection with nmcli con add type ethernet con-name <dev name> ifname <dev name>
and this should add a dhcp connection to your wired connection to help get you going to be online again; for wireless, I recommend checking out a nmtui tutorial.
[root@linux-repository ~]# nmcli con add type ethernet con-name eth0 ifname eth0
Connection 'eth0' (058aac84-c024-46bc-9847-b6e8044fb9c6) successfully added.
NMCLI & NMTUI
CentOS 7 Network Configuration Using nmtui Tool here is an CentOS tutorial on nmcli
RHEL 7 nmcli [this is pretty much the same as the nmcli for RHEL 6, Centos 7 & 6]
also can run man nmcli
the manual for the tool is also on the system.
ifcfg
How To Configure Static IP On CentOS 6
an example of setting up a network via the ifcfg files, you may have to add the NM_CONTROLLED="no" if you dont want network manager to mess with it.
eth0
is for the wired connectionwlan0
is for the wireless connection
For configuring a network connection, if it hasn't already been completed automatically, there is a few ways you can go about it from the command line and from the GUI (though I dont have that information handy at the moment)
If you are missing the files in /etc/sysconfig/network-scripts/
then you have to tell nmcli to create the connections, it helps to do checks before you actually start making connections.
Starting with an nmcli dev show
to make sure you can see all the hardware with nmcli
[root@linux-repository ~]# nmcli dev show
GENERAL.DEVICE: eth0
GENERAL.TYPE: ethernet
GENERAL.HWADDR: XX:XX:XX:XX:XX:XX
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: eth0
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: X.X.X.X/24
IP4.GATEWAY: X.X.X.X
IP4.ROUTE[1]: dst = X.X.X.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[2]: dst = 0.0.0.0/0, nh = X.X.X.1, mt = 100
IP4.DNS[1]: X.X.X.X
IP4.DNS[2]: 8.8.8.8
IP4.DNS[3]: 8.8.4.4
GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY: --
IP6.ADDRESS[1]: ::1/128
IP6.GATEWAY: --
then you want to see if you can see already configured connections with nmcli con show
[root@linux-repository ~]# nmcli con show
NAME UUID TYPE DEVICE
eth0 0c7ab467-dbdf-41c2-b3a3-882760879594 ethernet eth0
once you have the device name from nmcli dev show
just add a generic connection with nmcli con add type ethernet con-name <dev name> ifname <dev name>
and this should add a dhcp connection to your wired connection to help get you going to be online again; for wireless, I recommend checking out a nmtui tutorial.
[root@linux-repository ~]# nmcli con add type ethernet con-name eth0 ifname eth0
Connection 'eth0' (058aac84-c024-46bc-9847-b6e8044fb9c6) successfully added.
NMCLI & NMTUI
CentOS 7 Network Configuration Using nmtui Tool here is an CentOS tutorial on nmcli
RHEL 7 nmcli [this is pretty much the same as the nmcli for RHEL 6, Centos 7 & 6]
also can run man nmcli
the manual for the tool is also on the system.
ifcfg
How To Configure Static IP On CentOS 6
an example of setting up a network via the ifcfg files, you may have to add the NM_CONTROLLED="no" if you dont want network manager to mess with it.
edited Feb 14 at 19:22
answered Feb 14 at 18:51
thebtmthebtm
726515
726515
Thanks, I'm getting some empty outputs with nmcli.nmcli dev
empty list,nmcli con
empty list. With configuration files I create theifcfg-eth0
file, withdevice=eth0
, and then restarting the networks, but it doesn't up the interface because it doesn't exist.
– rokimoki
Feb 14 at 19:14
on the question, can you attach thenmcli dev show
– thebtm
Feb 14 at 19:17
nmcli dev show
says that dev show is not a valid command.
– rokimoki
Feb 14 at 19:39
I'm going to post those outputs I got in question, give me some minutes please. Thanks.
– rokimoki
Feb 14 at 20:04
thenmcli con add
command should still work. if your device is namedeth0
– thebtm
Feb 14 at 20:16
|
show 1 more comment
Thanks, I'm getting some empty outputs with nmcli.nmcli dev
empty list,nmcli con
empty list. With configuration files I create theifcfg-eth0
file, withdevice=eth0
, and then restarting the networks, but it doesn't up the interface because it doesn't exist.
– rokimoki
Feb 14 at 19:14
on the question, can you attach thenmcli dev show
– thebtm
Feb 14 at 19:17
nmcli dev show
says that dev show is not a valid command.
– rokimoki
Feb 14 at 19:39
I'm going to post those outputs I got in question, give me some minutes please. Thanks.
– rokimoki
Feb 14 at 20:04
thenmcli con add
command should still work. if your device is namedeth0
– thebtm
Feb 14 at 20:16
Thanks, I'm getting some empty outputs with nmcli.
nmcli dev
empty list, nmcli con
empty list. With configuration files I create the ifcfg-eth0
file, with device=eth0
, and then restarting the networks, but it doesn't up the interface because it doesn't exist.– rokimoki
Feb 14 at 19:14
Thanks, I'm getting some empty outputs with nmcli.
nmcli dev
empty list, nmcli con
empty list. With configuration files I create the ifcfg-eth0
file, with device=eth0
, and then restarting the networks, but it doesn't up the interface because it doesn't exist.– rokimoki
Feb 14 at 19:14
on the question, can you attach the
nmcli dev show
– thebtm
Feb 14 at 19:17
on the question, can you attach the
nmcli dev show
– thebtm
Feb 14 at 19:17
nmcli dev show
says that dev show is not a valid command.– rokimoki
Feb 14 at 19:39
nmcli dev show
says that dev show is not a valid command.– rokimoki
Feb 14 at 19:39
I'm going to post those outputs I got in question, give me some minutes please. Thanks.
– rokimoki
Feb 14 at 20:04
I'm going to post those outputs I got in question, give me some minutes please. Thanks.
– rokimoki
Feb 14 at 20:04
the
nmcli con add
command should still work. if your device is named eth0
– thebtm
Feb 14 at 20:16
the
nmcli con add
command should still work. if your device is named eth0
– thebtm
Feb 14 at 20:16
|
show 1 more comment
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f500677%2fcentos-6-7-in-a-laptop-does-not-detect-network-interfaces-but-detect-network-har%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
is it a newer MSI laptop? I have the MSI ps42 and CentOS 7.5 worked on it.
– thebtm
Feb 14 at 18:29
Is not new, it has an i5-4200U. I bought in 2014 May. SN: GE60 2OE-223XESK1402000204
– rokimoki
Feb 14 at 18:33
ls -la /etc/sysconfig/network-scripts/
do you have any configurations already setup? if not, you may have to set that up.– thebtm
Feb 14 at 18:36
The thing is, that I don't know which to configure because usually is eth0 or wlan0, and the system does not recognize those interfaces. I mean, I create
etc/sysconfig/network-scripts/ifcfg-eth0
and configure it but nothing happens.– rokimoki
Feb 14 at 18:38
1
Minimal support was added in vanilla kernel 3.10 : chances are this would work on CentOS 7 (not 6.x) instead.
– A.B
Feb 14 at 22:16