Two wireless network adapters in ubuntu

Source: Internet
Author: User
Because the chinanet signal is not strong, I bought a usb wireless network card for two wireless network cards in ubuntu. I usually want to develop it again. I have to connect it to the development board. I don't know what's going on, once the wireless network adapter is connected to the intranet, the Internet cannot be accessed. After searching the Internet for a long time, I finally found the solution... because the chinanet signal is not strong, I bought a usb wireless network card for two wireless network cards in ubuntu. I usually want to develop it again. I have to connect it to the development board. I don't know what's going on, once the wireless network adapter is connected to the intranet, the Internet cannot be accessed. After searching on the Internet for a long time, I finally found a solution. when multiple NICs are enabled in the system, Ubuntu will use the NIC set by "default gateway" (default gateway) to link. Therefore, the solution is to set the ubuntu default gateway to the NIC gateway connected to the Internet. Step: 1. use ifconfig to view your ip address. connect your usb wireless network card to chinanet. ip address: 123.163.31.18. 2. use sudo ifconfig to add default gw 123.163.31.1 (each person may be different, check your own) there can be multiple default gateways. To delete unnecessary default gateways, run the following command: sudo route del default gw 123.163.31.1 to connect to the intranet and the Internet.
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.