Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Turning off the interface eth0: error: Disconnect the device 'eth0'     - Linux crontab (Linux)

- HBase vs Oracle (Database)

- CentOS 6.4 (64bit) install Python 2.7.5 (Linux)

- Oracle View Object Information (Database)

- Linux System Getting Started Learning: Repair (Linux)

- Installation Android IDE development tools, Android Studio 1.5 under Ubuntu (Linux)

- Using the Linux VNC service (Server)

- Linux how to prohibit the use of Ping command (Linux)

- Binary tree traversal algorithm summary (recursive and non-recursive) (Programming)

- Java JDK has been able to compile without warning (Programming)

- CentOS 6 rapid deployment of Java applications (Linux)

- Installation and Configuration Munin monitoring server on Linux (Server)

- Several Methods of SSH Auto - login (Linux)

- Oracle RMAN-06023 and ORA-19693 errors (Database)

- Linux command find (Linux)

- Ubuntu 14.04 LTS NTFS partition can not access solution (Linux)

- Java in the inverter and covariance (Programming)

- How to determine whether the Linux server was hacked (Linux)

- Linux Network Programming - libnet Guide (Programming)

- Ubuntu Gnome and Fedora 22 Gnome desktop, extended to achieve global menu (Linux)

 
         
  Turning off the interface eth0: error: Disconnect the device 'eth0'
     
  Add Date : 2018-11-21      
         
         
         
  1. Description of the problem
[Root @ pdshow ~] # ping www.linuxhost.com
connect: network is unreachable
[Root @ pdshow ~] #

[Root @ pdshow ~] # ping www.linuxhost.com
connect: network is unreachable
[Root @ pdshow ~] # ifconfig eth0 192.168.121.51 netmask 255.255.255.0 broadcast 192.168.121.255
[Root @ pdshow ~] # route add default gw 192.168.120.1
SIOCADDRT: No such process
[Root @ pdshow ~] #
Network ip address settings without success, ineffective.

2, network startup error
Turning off the interface eth0: error: Disconnect the device 'eth0' (/ org / freedesktop / NetworkManager / Devices / 0) failed: This device is not active;

3, close NetworkManager
See online say is NetworkManager affected /etc/init.d/network, so close NetworkManager
[Root @ 192 ~] # service NetworkManager stop
Stop NetworkManager daemon: [OK]
[Root @ 192 ~] #

There is no effect, service network restart failed.

4. Check ifcfg-eth0 configuration problem
[Root @ 192 ~] # vim / etc / sysconfig / network-scripts / ifcfg-eth0

DEVICE = eth0
TYPE = Ethernet
UUID = fd7935ed-d944-4a1a-81eb-bf72b1e368c0
ONBOOT = no
NM_CONTROLLED = yes
BOOTPROTO = none
HWADDR = 00: 0c: 29: cd: 1f: 68
IPADDR = 192.168.121.52
PREFIX = 23
GATEWAY = 192.168.120.1
DNS1 = 192.168.121.212
DEFROUTE = yes
IPV4_FAILURE_FATAL = yes
IPV6INIT = no
NAME = "System eth0"

See ONBOOT = no, this configuration fails, should be configured to guess yes, no is no card activation failure settings. Yes change

5, restart the network
/etc/init.d/network restart, after the entry into force of the network problem has been solved.
     
         
         
         
  More:      
 
- JavaScript closures and the scope chain (Programming)
- Ubuntu 12.04 installation instructions under GAMIT10.40 (Linux)
- Java implementation file encryption and decryption (Programming)
- MySQL performance view and configure finishing Daquan (Database)
- VirtualBox CentOS is configured as a local disk mirroring software source (Linux)
- Ganglia Python plug-in the process of writing notes (Linux)
- Oracle 12c PDB Analysis (Database)
- Applications in Objective-C runtime mechanism (Programming)
- Linux Platform Oracle 11g Single Instance Installation Deployment Configuration Quick Reference (Database)
- How VMware extend disk without rebooting the system (Linux)
- Nginx reverse proxy and self-signed https (Server)
- CentOS boot image to achieve semi-automatic installation (Linux)
- How to monitor network usage by nload in Linux (Linux)
- CentOS 6.5 Telnet SecureCRT use management tools (Linux)
- How to view information about the installed version of CentOS (Linux)
- MySQL composite partition (Database)
- Introduction and use of the Raspberry Pi (Linux)
- Python Django model within the class meta Detailed (Programming)
- How to use nmap command in Linux (Linux)
- Ceph distributed storage system is installed on a CentOS 7.1 (Server)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.