ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Can't connect CentOS 7 to network

    IT Discussion
    linux centos centos 7 nmtui
    7
    31
    8.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Did nmtui show any other available connections?

      1 Reply Last reply Reply Quote 0
      • NerdyDadN
        NerdyDad
        last edited by

        It did the first time, but not anymore.

        travisdh1T 1 Reply Last reply Reply Quote 0
        • travisdh1T
          travisdh1 @NerdyDad
          last edited by

          @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?

          NerdyDadN 1 Reply Last reply Reply Quote 0
          • NerdyDadN
            NerdyDad @travisdh1
            last edited by

            @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=yes

            Everything looks right to me, but maybe I'm missing something.

            travisdh1T 1 Reply Last reply Reply Quote 0
            • travisdh1T
              travisdh1 @NerdyDad
              last edited by

              @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=yes

              Everything 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.

              stacksofplatesS 1 Reply Last reply Reply Quote 0
              • NerdyDadN
                NerdyDad
                last edited by

                I am also not getting any activity lights on the network card. Is this normal in Linux?

                travisdh1T scottalanmillerS 2 Replies Last reply Reply Quote 0
                • travisdh1T
                  travisdh1 @NerdyDad
                  last edited by

                  @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.

                  NerdyDadN 1 Reply Last reply Reply Quote 0
                  • NerdyDadN
                    NerdyDad @travisdh1
                    last edited by

                    @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?

                    travisdh1T 1 Reply Last reply Reply Quote 0
                    • travisdh1T
                      travisdh1 @NerdyDad
                      last edited by

                      @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?

                      NerdyDadN 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @NerdyDad
                        last edited by

                        @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.

                        NerdyDadN 1 Reply Last reply Reply Quote 1
                        • NerdyDadN
                          NerdyDad @travisdh1
                          last edited by

                          @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

                          travisdh1T 1 Reply Last reply Reply Quote 0
                          • NerdyDadN
                            NerdyDad @scottalanmiller
                            last edited by

                            @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.

                            NerdyDadN 1 Reply Last reply Reply Quote 0
                            • NerdyDadN
                              NerdyDad @NerdyDad
                              last edited by

                              @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.

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @NerdyDad
                                last edited by

                                @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

                                1 Reply Last reply Reply Quote 1
                                • travisdh1T
                                  travisdh1 @NerdyDad
                                  last edited by

                                  @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: no

                                  An Intel e1000e should be fine. Any lights showing on the switch port? No lights on either end = no network.

                                  NerdyDadN 1 Reply Last reply Reply Quote 0
                                  • NerdyDadN
                                    NerdyDad @travisdh1
                                    last edited by

                                    @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: no

                                    An Intel e1000e should be fine. Any lights showing on the switch port? No lights on either end = no network.

                                    No lights.

                                    travisdh1T 1 Reply Last reply Reply Quote 0
                                    • travisdh1T
                                      travisdh1 @NerdyDad
                                      last edited by

                                      @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: no

                                      An 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 😞

                                      NerdyDadN 1 Reply Last reply Reply Quote 0
                                      • NerdyDadN
                                        NerdyDad @travisdh1
                                        last edited by

                                        @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: no

                                        An 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.

                                        wirestyle22W 1 Reply Last reply Reply Quote 1
                                        • scottalanmillerS
                                          scottalanmiller
                                          last edited by

                                          Why CentOS on laptops in the first place? That's the least laptop friendly Linux OS I can think of.

                                          NerdyDadN 1 Reply Last reply Reply Quote 2
                                          • wirestyle22W
                                            wirestyle22 @NerdyDad
                                            last edited by wirestyle22

                                            @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: no

                                            An 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.

                                            1 Reply Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post