LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 06-05-2017, 07:20 PM   #1
verndog
Member
 
Registered: Oct 2007
Posts: 279

Rep: Reputation: 68
No network


Just installed centos 7. Here's some info:
Code:
]$ sudo systemctl stop networkmanager.service

Failed to stop networkmanager.service: Unit networkmanager.service not loaded.
$ sudo systemctl disable networkmanager.service
Failed to execute operation: Access denied

$ sudo systemctl enable network.service
network.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig network on

$ sudo systemctl start network.service
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
$ systemctl status network.service

● network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2017-06-06 00:05:55 EDT; 26s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2762 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)

Jun 06 00:05:54 localhost.localdomain systemd[1]: Starting LSB: Bring up/down...
Jun 06 00:05:55 localhost.localdomain network[2762]: Bringing up loopback int...
Jun 06 00:05:55 localhost.localdomain network[2762]: Bringing up interface Et...
Jun 06 00:05:55 localhost.localdomain network[2762]: [FAILED]
Jun 06 00:05:55 localhost.localdomain systemd[1]: network.service: control pr...
Jun 06 00:05:55 localhost.localdomain systemd[1]: Failed to start LSB: Bring ...
Jun 06 00:05:55 localhost.localdomain systemd[1]: Unit network.service entere...
Jun 06 00:05:55 localhost.localdomain systemd[1]: network.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

$ systemctl status network.service
● network.service - LSB: Bring up/down networking
   Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2017-06-06 00:05:55 EDT; 38s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2762 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)

Jun 06 00:05:54 localhost.localdomain systemd[1]: Starting LSB: Bring up/down networking...
Jun 06 00:05:55 localhost.localdomain network[2762]: Bringing up loopback interface:  [  OK  ]
Jun 06 00:05:55 localhost.localdomain network[2762]: Bringing up interface Ethernet_connection_1:  Error: Connection activation failed: No suitable device found fo...onnection.
Jun 06 00:05:55 localhost.localdomain network[2762]: [FAILED]
Jun 06 00:05:55 localhost.localdomain systemd[1]: network.service: control process exited, code=exited status=1
Jun 06 00:05:55 localhost.localdomain systemd[1]: Failed to start LSB: Bring up/down networking.
Jun 06 00:05:55 localhost.localdomain systemd[1]: Unit network.service entered failed state.
Jun 06 00:05:55 localhost.localdomain systemd[1]: network.service failed.
Hint: Some lines were ellipsized, use -l to show in full.


$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
$ ip route

$ ifconfig

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 256  bytes 22272 (21.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 256  bytes 22272 (21.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
I visied several sites on "How to setup network on centos 7". That still didn't resolve no network. I have several distros installed, Fedora, suse, ubuntu. They all work.
 
Old 06-05-2017, 09:54 PM   #2
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
Probably NetworkManager is still running. On my fedora 25 system, the service name "NetworkManager.service" is case-sensitive, and systemctl doesn't find all lowercase "networkmanager.service"

I have a couple centos7 servers here and I kept NetworkManager, which for standard network configurations works quite well. If you keep it, don't forget to install nmtui for easier command-line control of NM
 
Old 06-05-2017, 11:37 PM   #3
verndog
Member
 
Registered: Oct 2007
Posts: 279

Original Poster
Rep: Reputation: 68
I found out my ethernet card is now deprecated in CentOS 7.(NVIDIA Corporation MCP61 Ethernet)
Installing ELRepo's kmod-forcedeth package solved the issue.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux network architecture - local network vs. LAN network rule LnxNewUser Linux - Newbie 2 11-19-2016 03:49 AM
Unable to connect to wifi network with network manager. Poss authorization issue openSauce Linux - Networking 14 12-13-2008 10:05 AM
LXer: Network World names Zenoss Clear Choice for Network Management LXer Syndicated Linux News 0 06-20-2007 08:01 AM
In FC6 network interface doesn't come up if 'service network restart' command is run rajat Linux - Networking 2 05-02-2007 11:53 PM
3c905C network card in docking station. Cannot activate network device eth0. pathelms Linux - Networking 4 04-12-2006 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 04:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration