Ubuntu10.4Server command line connection to Wireless Network

Source: Internet
Author: User
Because the UbuntuLinux kernel does not support WPA encryption, all common command lines cannot connect to WPA2 routes. First, check whether wpasupplicant and Ubuntu10.04 have been installed. Use the command to generate the required configuration file # wpa_passphraseESSIDPWD & gt; xxx. conf and put the generated xxx. conf in a specific directory ~ /Netc

The Ubuntu Linux kernel does not support the WPA encryption method well. All common command lines cannot connect to the WPA2 type routes. First, check whether wpasupplicant is installed and Ubuntu 10.04 is installed.

Use commands to generate the required configuration file
# Wpa_passphrase essid pwd> xxx. conf

Then place the generated xxx. conf file in a specified directory ~ /Netconf.
Then run:
# Sudo wpa_supplicant-B-I wlan0-Dwext-c ~ /Netconf/lncmcc. conf
# Iwconfig wlan0

Check the connected route

Then, the ip address is automatically obtained.

# Dhclient wlan0

Ping linuxidc.com.

# Ping www.linuxidc.com

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.