Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Do not find ifconfig eth0 and IP address under CentOS6.5     - Use GNU / Linux broadcasting of television programs (Linux)

- Linux AS4 VPN server in conjunction with a firewall perfect (Linux)

- Repair Raspbian Encountered a section with no Package (Linux)

- CentOS-based Kickstart automated installation practice (Linux)

- MongoDB replication instance (Database)

- High-performance Linux system firewall detailed analysis of double-effect (Linux)

- Using IE can also be easily remotely control the computer (Linux)

- Simple to use multi-threaded programming under Linux mutex and condition variable (Programming)

- Linux ban single-user mode to enhance system security (Linux)

- Linux command in the dialog whiptail (Linux)

- Nginx log cutting and MySQL script regular backup script (Server)

- RHEL 6.6 install GNOME desktop environment (Linux)

- Unix system security configuration (Linux)

- Terminal multiplexing tool tmux use (Linux)

- Let MySQL 5.6 support Emoji expression (Database)

- Linux kernel boot to retain large memory method summary (Linux)

- Mumble installation source VoIP application on Ubuntu (Linux)

- Linux create and delete user step (Linux)

- CentOS 6 rapid deployment of Java applications (Linux)

- Ubuntu 14.10 users to install Audio Recorder 1.5.7 (Linux)

 
         
  Do not find ifconfig eth0 and IP address under CentOS6.5
     
  Add Date : 2018-11-21      
         
         
         
  After installing CentOS6.5, by ifconfig to see the IP to use putty software to achieve remote link, but found no eth0, only l0

solution:

(1) Enter the following directory: / etc / sysconfig / network-scripts /

(2) creates a file in the current directory and named: ifcfg-eth0

(3) At this point you can on the new file for editing, and add the following inside (individual items to be modified)

DEVICE = eth0 physical device name

IPADDR = 192.168.1.x IP address

NETMASK = 255.255.255.0 subnet mask

NETWORK = 192.168.1.0 specify a network to obtain the IP address and subnet mask automatically calculated

GATEWAY = 192.168.1.1 gateway address

BROADCAST = 192.168.1.255 broadcast address, IP address and subnet mask obtained by automatic calculation

ONBOOT = [yes | no] whether to activate the device at boot time

USERCTL = [yes | no] non-ROOT whether the user can control the device

BOOTPROTO = [none | static | bootp | dhcp]

Do not use the boot protocol | statically allocated | BOOTP protocol | dhcp protocol

HWADDR = 00: 13: D3: 27: 9F: 80 MAC address

NAME = eth0 file name

(4) After completion of editing: Press ESC and enter: Enter conduct saved "wq";

By "more ifcfg-eth0" to just modify the content view

(5) In the last line "/etc/rc.d/rc.loacl" file added "ifup eth0" statement

(6) by the method of step 4 to save, then restart.
     
         
         
         
  More:      
 
- MySQL development common query summary (Database)
- Hibernate in profile (Database)
- JavaScript property of checkbox.disabled (Programming)
- To install MySQL on Linux (Database)
- Ubuntu install Oracle 10g process and problem solution (Linux)
- Using Java program determines whether it is a leap year (Programming)
- 12 kinds of detection of CPU information on a Linux system tools (Linux)
- Radius server setup under CentOS (Server)
- CentOS7 compile and install Tengine + PHP + MariaDB notes (Server)
- Linux system security check notes on performance (Linux)
- DRBD installation configuration, working principle and Recovery (Server)
- Use FirewallD build dynamic firewall (Linux)
- Ubuntu treated with cue file to ape and wav files automatically track points (Linux)
- How to use SVN to manage our source code (Server)
- RM Environment Database RMAN Backup Strategy Formulation (Database)
- Android LayoutInflater source parsing (Programming)
- MyCAT easy entry (Database)
- SecureCRT session buffer size settings (Linux)
- Linux operating system must know the security command (Linux)
- Add local search to your Android app (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.