Can't connect CentOS 7 to network
-
Did nmtui show any other available connections?
-
It did the first time, but not anymore.
-
@NerdyDad said in Can't connect CentOS 7 to network:
It did the first time, but not anymore.
Can you post the contents of /etc/sysconfig/network-scripts/ifcfg-em1, or whatever file(s) start with ifcfg in that directory other than ifcfg-lo?
-
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
It did the first time, but not anymore.
Can you post the contents of /etc/sysconfig/network-scripts/ifcfg-em1, or whatever file(s) start with ifcfg in that directory other than ifcfg-lo?
Retyping as I see it.
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=em1
UUID=(big long number) Do you really need it?
DEVICE=em1
ONBOOT=yes
PEERDNS=yes
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yesEverything looks right to me, but maybe I'm missing something.
-
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
It did the first time, but not anymore.
Can you post the contents of /etc/sysconfig/network-scripts/ifcfg-em1, or whatever file(s) start with ifcfg in that directory other than ifcfg-lo?
Retyping as I see it.
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=em1
UUID=(big long number) Do you really need it?
DEVICE=em1
ONBOOT=yes
PEERDNS=yes
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yesEverything looks right to me, but maybe I'm missing something.
Yeah, ever thing looks good to me in that as well. You're not getting a DHCP address assigned for some reason. You could try changing to a static IP (easier to do with nmtui when available, but since it's not working, here we go.)
Change the BOOTPROTO to none
BOOTPROTO=none
and add the following settings with the proper information for your environment.
IPADDR=xxx.xxx.xxx.xxx PREFIX=24 GATEWAY=xxx.xxx.xxx.xxx DNS1=xxx.xxx.xxx.xxx DNS2=xxx.xxx.xxx.xxx
Finally, restart the network stack.
sudo systemctl restart network
Let's see weather that works.
-
I am also not getting any activity lights on the network card. Is this normal in Linux?
-
@NerdyDad said in Can't connect CentOS 7 to network:
I am also not getting any activity lights on the network card. Is this normal in Linux?
Well, that's even easier, it's a hardware problem. Nothing should ever effect the blinking lights.
-
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
I am also not getting any activity lights on the network card. Is this normal in Linux?
Well, that's even easier, it's a hardware problem. Nothing should ever effect the blinking lights.
Possibly a driver issue then?
-
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
I am also not getting any activity lights on the network card. Is this normal in Linux?
Well, that's even easier, it's a hardware problem. Nothing should ever effect the blinking lights.
Possibly a driver issue then?
While possible, it's unlikely. The only real exceptoin that comes to mind is Debian with certain closed-source Broadcom drivers. What kind of network card is it, and was it working before?
-
@NerdyDad said in Can't connect CentOS 7 to network:
I am also not getting any activity lights on the network card. Is this normal in Linux?
Your OS does not change the hardware.
-
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
I am also not getting any activity lights on the network card. Is this normal in Linux?
Well, that's even easier, it's a hardware problem. Nothing should ever effect the blinking lights.
Possibly a driver issue then?
While possible, it's unlikely. The only real exceptoin that comes to mind is Debian with certain closed-source Broadcom drivers. What kind of network card is it, and was it working before?
It used to work before as it was my first coming to this company. I later switched to a newer laptop and put this one in the back for storage.
driver: e1000e
version: 3.2.5-k
firmware-version: 0.12-1
bus-info: 0000:00:19.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no -
@scottalanmiller said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
I am also not getting any activity lights on the network card. Is this normal in Linux?
Your OS does not change the hardware.
I get that, but wasn't sure if Linux would handle the hardware differently. Thought it was a nuance of Linux vs. Windows.
-
@NerdyDad said in Can't connect CentOS 7 to network:
@scottalanmiller said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
I am also not getting any activity lights on the network card. Is this normal in Linux?
Your OS does not change the hardware.
I get that, but wasn't sure if Linux would handle the hardware differently. Thought it was a nuance of Linux vs. Windows.
That's like saying that the recent iOS upgrade for your iPhone now made your iPhone water proof. Software doesn't change hardware.
-
@NerdyDad said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
@scottalanmiller said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
I am also not getting any activity lights on the network card. Is this normal in Linux?
Your OS does not change the hardware.
I get that, but wasn't sure if Linux would handle the hardware differently. Thought it was a nuance of Linux vs. Windows.
That's like saying that the recent iOS upgrade for your iPhone now made your iPhone water proof. Software doesn't change hardware.
Are you mocking yourself? LMAO
-
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
I am also not getting any activity lights on the network card. Is this normal in Linux?
Well, that's even easier, it's a hardware problem. Nothing should ever effect the blinking lights.
Possibly a driver issue then?
While possible, it's unlikely. The only real exceptoin that comes to mind is Debian with certain closed-source Broadcom drivers. What kind of network card is it, and was it working before?
It used to work before as it was my first coming to this company. I later switched to a newer laptop and put this one in the back for storage.
driver: e1000e
version: 3.2.5-k
firmware-version: 0.12-1
bus-info: 0000:00:19.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: noAn Intel e1000e should be fine. Any lights showing on the switch port? No lights on either end = no network.
-
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
I am also not getting any activity lights on the network card. Is this normal in Linux?
Well, that's even easier, it's a hardware problem. Nothing should ever effect the blinking lights.
Possibly a driver issue then?
While possible, it's unlikely. The only real exceptoin that comes to mind is Debian with certain closed-source Broadcom drivers. What kind of network card is it, and was it working before?
It used to work before as it was my first coming to this company. I later switched to a newer laptop and put this one in the back for storage.
driver: e1000e
version: 3.2.5-k
firmware-version: 0.12-1
bus-info: 0000:00:19.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: noAn Intel e1000e should be fine. Any lights showing on the switch port? No lights on either end = no network.
No lights.
-
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
I am also not getting any activity lights on the network card. Is this normal in Linux?
Well, that's even easier, it's a hardware problem. Nothing should ever effect the blinking lights.
Possibly a driver issue then?
While possible, it's unlikely. The only real exceptoin that comes to mind is Debian with certain closed-source Broadcom drivers. What kind of network card is it, and was it working before?
It used to work before as it was my first coming to this company. I later switched to a newer laptop and put this one in the back for storage.
driver: e1000e
version: 3.2.5-k
firmware-version: 0.12-1
bus-info: 0000:00:19.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: noAn Intel e1000e should be fine. Any lights showing on the switch port? No lights on either end = no network.
No lights.
Well, we know where the problem is now, but I doubt you'll be able to change the network card in a laptop
-
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
I am also not getting any activity lights on the network card. Is this normal in Linux?
Well, that's even easier, it's a hardware problem. Nothing should ever effect the blinking lights.
Possibly a driver issue then?
While possible, it's unlikely. The only real exceptoin that comes to mind is Debian with certain closed-source Broadcom drivers. What kind of network card is it, and was it working before?
It used to work before as it was my first coming to this company. I later switched to a newer laptop and put this one in the back for storage.
driver: e1000e
version: 3.2.5-k
firmware-version: 0.12-1
bus-info: 0000:00:19.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: noAn Intel e1000e should be fine. Any lights showing on the switch port? No lights on either end = no network.
No lights.
Well, we know where the problem is now, but I doubt you'll be able to change the network card in a laptop
Well crap. I guess I'll use this for a study machine to learn with. I have a few more laptops here that I haven't installed CentOS on yet. I'll test their cards before I install CentOS.
-
Why CentOS on laptops in the first place? That's the least laptop friendly Linux OS I can think of.
-
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
@travisdh1 said in Can't connect CentOS 7 to network:
@NerdyDad said in Can't connect CentOS 7 to network:
I am also not getting any activity lights on the network card. Is this normal in Linux?
Well, that's even easier, it's a hardware problem. Nothing should ever effect the blinking lights.
Possibly a driver issue then?
While possible, it's unlikely. The only real exceptoin that comes to mind is Debian with certain closed-source Broadcom drivers. What kind of network card is it, and was it working before?
It used to work before as it was my first coming to this company. I later switched to a newer laptop and put this one in the back for storage.
driver: e1000e
version: 3.2.5-k
firmware-version: 0.12-1
bus-info: 0000:00:19.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: noAn Intel e1000e should be fine. Any lights showing on the switch port? No lights on either end = no network.
No lights.
Well, we know where the problem is now, but I doubt you'll be able to change the network card in a laptop
Well crap. I guess I'll use this for a study machine to learn with. I have a few more laptops here that I haven't installed CentOS on yet. I'll test their cards before I install CentOS.
You would see the NIC light up regardless FYI. It only requires about 2 AMPS of power to light up or something.