I installed CentOS6.3 on a netbook today to help with the data,
But wireless is required, and CentOS is minimized for installation.
Wireless kits are required to link to wireless.
Yum Install-y Wireless-tools
After the installation is complete, there are command-line tools such as IWCONFIG,IWLIST,IW.
Start the wireless card first, remember to turn on the wireless switch, and then start the wireless network device
You can turn on the power card by following the command
Iwconfig Wlan0 Txpower on
First we need to find the wireless network card corresponding to the device name, through the Ifconfig
You can get the name of the network excuse, the wireless device name is generally like wlan0.
You can also find it by command in the West:
find/sys/class/net/*/-maxdepth 1 | \
grep Wireless | \
Sed-e ' [email protected]/sys/class/net/@@ '-e ' [Email protected]/[email protected]@ '
Then we scan the wireless network.
Iwlist wlan0 Scanning
command will be output for all wireless networks that have a signal, we find the ESSID of our network
My is a long, then connect, have the password of my key to develop the password.
Iwconfig wlan0 Essid Long Key "Yourkey"
Run the command to see if the Essid is configured successfully
Iwconfig Wlan0
Enable device
Ifup Wlan0
assigning IP through DHCP
Dhclient Wlan0
Fixed IP can also be set in the network configuration file
Set up auto-connect wireless network on boot
With the functionality that Iwconfig can implement, we can write
Network configuration file, wlan0 configuration file in
/etc/sysconfig/network-scripts/ifcfg-wlan0
We add the following content
#开即启动
Onboot=yes
#固定IP
ipaddr=192.168.1.5
Prefix=24
gateway=192.168.1.1
#无线连接设置
Essid=long
key=123455
CentOS6 to enable the Wireless connection network (automatic connection setting) after the installation is minimized