"ubuntu" installing Ubuntu Server over a wireless network, how to connect to a wireless network after booting the system

Source: Internet
Author: User

Contact with Ubuntu system soon, found in the wireless network environment to install Ubuntu Server A less humane design: During the installation process to select a wireless network card, that is, the use of wireless networking installation (you need to select a Wi-Fi network and enter a password), However, after the system installation is restarted, the wireless card is not automatically started and the Wi-Fi network selected during installation is connected. This design for the inconvenience of using wired network of Linux Novice, will bring great annoyance ...

Because you cannot connect to applications such as the network installation GUI or Network-manager, you also try to use commands such as ifconfig and Iwconfig, but find that the Iwconfig command only supports WEP-encrypted Wi-Fi networks and does not support WPA-PSK encryption. Finally, the WPA-PSK encrypted Wi-Fi network is successfully connected by/etc/network/interfaces configuration of the wireless card, as follows:

1, dynamic access to the way to connect to the Wi-Fi network

1 Auto Wlan0 2 iface wlan0 inet DHCP 3 4 wpa-essid wi-finame 5 wpa-psk Wi-Fi password

P.S. If the security authentication method is WEP, change the last two lines to:

1 wireless-essid wi-finame 2 wireless-key Wi-Fi password

2, static address of the way to connect to the Wi-Fi network

 1  auto wlan0  2  iface wlan0 inet static  3  4  address  192.168 . 1   5  netmask 255.255 . 255.0  6  gateway 192.168 . 1.1  7  8  wpa-essid wi- fi name  9  wpa-psk Wi-fi password  

Note: The wireless card "Wlan0" is the name of the wireless network card that is queried through the iwconfig command and may vary

Through the above settings, you can automatically start the wireless network card and connect the Wi-Fi network encrypted by WPA-PSK mode!

"ubuntu" installing Ubuntu Server over a wireless network, how to connect to a wireless network after booting the system

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.