Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS minimal network is unavailable resolved     - Java NIO2: Buffer (Programming)

- Linux user login and IP restrictions (Linux)

- Linux Getting Started Tutorial: / var / spool / clientmqueue fill the root directory (Linux)

- The virtual memory (Linux)

- Compile and install LNMP under CentOS 6.5 (Server)

- Git you do not know about some of the things (Linux)

- Sysdig: system troubleshooting tool (Linux)

- MySQL binlog automatic cleanup script (Database)

- Linux Getting Started tutorial: Experience Xen Virtual Machine chapter (Linux)

- Linux PXE unattended installation PXE-E32: TFTP OPen timeout the solution (Linux)

- Acting on JavaScript events (Programming)

- CentOS 6.5 upgrade to CentOS 7 (Linux)

- Linux system - The understanding cpu load (Linux)

- Share Practical Tutorial GitHub (Linux)

- Oracle physical storage structure outline (Database)

- JavaScript common array manipulation functions and usage (Programming)

- CentOS Nginx achieve 3 virtual machine load balancing (Server)

- Installation configuration CUDA under Ubuntu 14.04 (Linux)

- Oracle Shared Server Configuration (Database)

- rpm package specify the installation path (Linux)

 
         
  CentOS minimal network is unavailable resolved
     
  Add Date : 2018-11-21      
         
         
         
  Problem description:

CentOS minimal after the installation is complete, the network is unavailable, some common commands being given:

ping: unknow host xxx

yum: Could not retrieve mirrorlist xxx error was 14: PYCURL ERROR 6 - "Could't resolve host 'mirrorlist.centos.org'" ...

Cause Definitions:

CentOS minimal after the installation is complete, the default card does not boot from the start, regardless of the network there is no configuration (even complete network configuration during installation), you need to manually modify NIC configuration, restart the services in order to properly use the network.

Problem:

Open Network Profiles

# Vi / etc / sysconfig / network-script / ifcfg-eth0

Set to automatically obtain ip address

ONBOOT = yes
MM_Controlled = no
BOOTPROTO = dhcp

(Or) set to a fixed ip address

ONBOOT = yes
MM_Controlled = no
BOOTPROTO = static
IPADDR = 192.168.1.33
BROADCAST = 192.168.1.255
NETMASK = 255.255.255.0
GATEWAY = 192.168.1.1
DNS1 = 192.168.1.1
DNS2 = 192.168.1.2

Network profile configuration item Full Description

TYPE = Ethernet # card type
DEVICE = eth0 # NIC interface name
Are ONBOOT = yes # automatically load at startup
BOOTPROTO = static # Enable address protocol --static: static protocol agreement --bootp agreement --dhcp
IPADDR = 192.168.1.11 # NIC IP address
NETMASK = 255.255.255.0 # NIC network address
GATEWAY = 192.168.1.1 # NIC Gateway address
DNS1 = 10.203.104.41 # NIC DNS address
HWADDR = 00: 0C: 29: 13: 5D: 74 # NIC MAC address
BROADCAST = 192.168.1.255 # NIC broadcast address
     
         
         
         
  More:      
 
- Installation of network monitoring ntopng under CentOS 6.4 (Linux)
- Reason C ++ program running under Linux a segmentation fault core dumped in (Programming)
- Virtualization and IT cooperation (Linux)
- Java implementation of stacks and queues (Programming)
- Deployment Kubernetes manage Docker example cluster on Ubuntu (Server)
- How to disable IPv6 in the CentOS 7 (Linux)
- How to install Visual Studio Code on Ubuntu (Linux)
- How to make a U disk to install Ubuntu (Linux)
- MySQL EXPLAIN SQL output description (Database)
- Installation and deployment of MariaDB under CentOS (Database)
- Android application security of data transmission security (Programming)
- ORA-08102 errors (Database)
- How ONLYOFFICE collaborative editing document on Linux (Linux)
- How to monitor network usage by nload in Linux (Linux)
- Oracle in the add & split partition on the impact of global & local index (Database)
- Oracle 11g can not export a variety of empty table solution (Database)
- Actual SSH port forwarding (Linux)
- Node.js v4.0.0 installation configuration on Ubuntu 14.04 / 15.04 (Linux)
- PostgreSQL query lock and kill the process (Database)
- Linux + Apache + PHP + Oracle based environment to build (Server)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.