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:
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.
-
@scottalanmiller said in Can't connect CentOS 7 to network:
Why CentOS on laptops in the first place? That's the least laptop friendly Linux OS I can think of.
I am wanting to build out a network for my house with as minimal cost as possible while also being secure. This laptop I was wanting to use for NextCloud while having another laptop for ldap and another for PLEX.
I know that you're going to suggest putting it on a server with XenServer and run each installation as a VM. I have Dell PowerEdge 1950 that I could use, but I don't want to draw that much power and the thing is too noisy to have in the house. It gets too hot for it in the garage.
Have any suggestions? Maybe I could use a Dell Optiplex 380 desktop for either XS or bare-metal CentOS?
-
Intel NUC is a good way to go. SSD and loads of RAM.
-
@NerdyDad Intel NUC like @scottalanmiller said, or load XenServer on a laptop (just disable low-power modes in the BIOS.) Quiet and low power, also about the lowest reliability possible. That 1950 would draw more power than running it would be worth. If your serious about a home lab, you might want to pickup a T3500 from Stallard Tech, or a low end server from xByte.
-
@NerdyDad If power is a concern it's hard to beat a NUC as @scottalanmiller said above. I have a Dell PowerEdge R510 with dual power supplies I got from @BradfromxByte and I honestly didn't see a huge increase in my monthly costs. It runs 24/7.