Ubuntu 14.10 Server version configuration wireless Internet access

Source: Internet
Author: User

The Ubuntu 14.10 Server server version will be installed on the "abandoned" laptop at home today as a small server
(Installation can be referred to:
Http://wenku.baidu.com/link?url= Aw0kay-ruvusdbikjqsbtlqtdqddh9qqid0muramrqb6l2hfsn3ajs7pn3lnfxhiak3oqtkkhrgwlgznkxkxiwtcecet9q0xvykiwgaspce

http://www.jb51.net/os/85856.html)

After the installation is successful, because the desktop version of the operating system is configured through the interface of the wireless internet, because of the lack of redundant network cable, so I want to use the wireless internet on Ubuntu, refer to some information on the Internet, the configuration steps are as follows:

1. Generate a wireless internet password configuration file

First enter the root mode (the following command is done in root mode), the command is sudo su then enter the password, and then enter the command below:

 root@Ubuntu:~# wpa_passphrase SSID SSID_PASS > /etc/wpa_config.conf   //其中 SSID是无线网络的SID, 如TP-LINK_123, SSID_PASS是在无线路由器上的密码

For example: The wireless network contains a wireless access point named "Iamwiff", the password is: 1234, then the upper command is:

wpa_passphrase1234  >  /etc/wpa_config.conf  

(Newly installed system, may not wpa_config.conf this file, we can create this file by touch/etc/wpa_config.conf)

2. Modify the network interface configuration file Settings Wlan0 interface
root@Ubuntu:~# vim /etc/network/interfacesauto//注意在无线路由器上开启DHCP功能wpa-conf /etc/wpa_config.conf

3. Restart the network service for the new settings to take effect
root@Ubuntu:~# /etc/init.d/networking restart

or restart the reboot operating system with a command.

4. Confirm whether the success

As a server, I logged on to the server via SSH to see if it was configured successfully:

(The SSH command used to log on to the server is: ssh 用户名@ip地址 then enter the password for the user name)

View the command for Ifconfig-a, and see that the WLAN 0,IP address is the IP address assigned by DHCP. The GAIIP address can be bound to the server through the router, so that the server's IP address will not change, so that we will be able to operate later.

Or not through the East Road to the server, directly on the server on the command line input ifconfig-a is the same.

By ifconfig -a confirming whether the Wlan0 interface obtains an IP address, if not, the main thing is to check if the input SSID Ssid_pass is correct and if the router turns on DHCP function.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Ubuntu 14.10 Server version configuration wireless Internet access

Related Article

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.