Centos6.4 wireless network in the character interface, centos6.4 Wireless Network

Source: Internet
Author: User

Centos6.4 wireless network in the character interface, centos6.4 Wireless Network

1. Software wireless-tools-29-5.1.1.el6.x86_64.rpm to be installed, which has been installed by default in centos6.4

2. Disable the NetworkManager service and start it. Then, run the following command on the terminal:

Chkconfig -- del NetworkManager # disable startup service NetworkManager stop # disable service

3. Start the wireless network card

This article uses a wireless network environment named wlan0, SSID as "test", password as "12345678", and encryption method as an example.

ifconfig wlan0 up
4. Scan and filter out Wireless Network Information

iwlist wlan0 scan | grep test</span>
5. Write the configuration information of the wireless network to the configuration file.

wpa_passphrase test 12345678  >> /etc/wpa_supplicant/wpa_supplicant.conf
6. Establish a wireless connection

wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B

7. Obtain the address

dhclient wlan0
Now you can connect to the wireless network on the Character Interface


Add to start:

1. First create a wlantool file under/etc/init. d/and write the following content:

#!/bin/bash# chkconfig: 2345 10 90# description: wlan startifconfig wlan0 upwpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -Bdhclient wlan0
2. Add to startup:

chkconfig --add wlantool










How to connect to the Internet on the centos character Interface

The character interface comes with a setup tool. You can set the ip address by typing this command.
If not, edit/etc/sysconfig/network-scripts/ifcfg-eth0 on your own.

As for dial-up, make sure you have installed the rp-pppoe package, and then enter pppoe-setup as the root user to set your account password and configure pppoe information and enter pppoe-content

How to set up a wireless network for centos 64

In the graphical interface, you can find network setting in system, which can configure Nic information, including wlan.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.