How to enable ubuntu to automatically disable wireless networks

Source: Internet
Author: User
Enable ubuntu to automatically disable the wireless network. 1. the auto-start script adds the following command for disabling the wireless network to the startup application, so that the wireless network will be automatically disabled at the startup. Disable-send -- system -- typemethod_call -- destorg. freedesktop. Networ... enable ubuntu to automatically disable the wireless network when it is started.
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
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.