In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to configure the network card to access the external network for everyone. The content of the article is of high quality. Therefore, Xiaobian shares it with you as a reference. I hope that after reading this article, you will have a certain understanding of relevant knowledge.
Linux Network Configuration Basics 2
system-config-network Configure network cards to access external networks
undefined
OS:Red Hat Enterprise Linux 6.4
The current computer wireless network card uses DHCP to automatically obtain, you can access the Internet (external network)
1 Disable NetworkManager
[root@rhel64 ~]# service NetworkManager status
[root@rhel64 ~]# chkconfig --list NetworkManager
If it is not disabled, use the command Close, Disable
[root@rhel64 ~]# service NetworkManager stop
[root@rhel64 ~]# chkconfig NetworkManager off
2 Normal shutdown of the operating system
[root@rhel64 ~]# init 0
or
[root@rhel64 ~]# shutdown -h now
3 Start Network Card 2 Bridge Wireless Network Card
4 Start the virtual machine to view the network card information
[root@rhel64 ~]# ifconfig
[root@rhel64 ~]# ifconfig -a
[root@rhel64 ~]# ls /etc/sysconfig/network-scripts/ifcfg-eth*
Current linux can recognize that eth2 exists on the network card. Use ifconfig -a to view it.
But there is no specific profile.
When eth2 is enabled with ifconfig eth2 up, ifconfig can be viewed but no ip information is available.
[root@rhel64 ~]# ifconfig eth2 up
[root@rhel64 ~]# ifconfig
5 Configuring network cards using system-config-network
5.1 Set the current session character encoding to UTF-8
[root@rhel64 ~]# system-config-network
5.2 View eth0 configuration
5.3 Add device configuration eth2 with ip
5.4 Restart network services
[root@rhel64 ~]# service network restart
5.5 View ip and profile changes
[root@rhel64 ~]# ifconfig
[root@rhel64 ~]# cat /etc/sysconfig/network
The GATEWAY entry in the global configuration file was deleted
[root@rhel64 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth2
[root@rhel64 ~]# cat /etc/resolv.conf
[root@rhel64 ~]# route -n
[root@rhel64 ~]# ip route
5.6 network access test
Win7 cmd ping command execution test able to ping eth2 address
Linux ping external network access test can ping
[root@rhel64 ~]# ping www.baidu.com -c4
6 Using a browser to access external networks
6.1 Set Chinese Pinyin Input Method
Ctrl + Space Toggle Input Method
shift switch between Chinese and English
6.2 flash-plugin
View web video missing plug-ins can yum install flash-plugin
[root@rhel64 ~]# yum install flash*
About system-config-network how to configure network card access to the external network to share here, I hope the above content can have some help for everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.