How to enable ubuntu to automatically disable Wireless Networks

Source: Internet
Author: User

Enable ubuntu to automatically disable the wireless network.
1. The self-launch script adds the following command for disabling the wireless network to "start the application", so that the wireless network will be automatically disabled at startup. Export-send -- system -- type = method_call -- dest = org. freedesktop. networkManager/org/freedesktop/NetworkManager org. freedesktop. invalid. properties. set string: org. freedesktop. networkManager string: WirelessEnabled variant: boolean: false

This is the most flexible and most effective method. The only drawback is that the wireless network will be re-enabled when the computer wakes up from the STANDBY state. 2. Add the wireless NIC driver to the blacklist to completely disable the wireless network. To disable the driver, you must first know the driver name of the wireless network card. Enter the lshw command in the terminal to list the detailed information of the computer hardware, you can obtain the driver name of the wireless network card. The following is an information snippet: *-network www.2cto.com description: Wireless interfaceproduct: PRO/Wireless 3945ABG [Golan] Network Connectionvendor: Intel configurationphysical id: 0bus info: pci. 0 logical name: wlan0version: 02 serial: width: 32 bitsclock: 33 MHzcapabilities: bus_master cap_list ethernet physical wirelessconfiguration: broadcast = yes driver = iwl3945 latency = 0 multicast = The Last line shows that my wireless NIC driver name is iwl3945 (intel 3945abg wireless network card), add it to the blacklist, the specific operation is as follows: sudo gedit/etc/modprobe. d/blacklist. add blacklist iwl3945 to the end of the conf file and restart it. If you do not need Wireless Networks for a long time, this method is clean and thorough. Author txgc_wm

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.