How Ubuntu installs the wireless network card drive method

Source: Internet
Author: User

After the installation of Ubuntu found no wireless network, no WiFi search, but the normal installation of Ubuntu, the system will automatically install the wireless network card driver, and the boot automatically connected to the wireless network. Check it out, originally my network card is not the mainstream network card, Ubuntu will not automatically install the driver. Find the reason, then to solve it! Connect the cable first.

May 11, 2014 added: This experience I wrote in the use of ubuntu12.10, now ubuntu14.04 released, in a new version I found that although the boot still did not show the wireless network, but do not use their own drive. Just set it up for you. Please see my other experience: Ubuntu does not display wireless network after boot, how to set up.

1, My network card is Broadcom (Bo Tong), drive download address: http://www.broadcom.com/support/802.11/linux_sta.php after decompression.

2, Ctrl+alt +t Open the Terminal Input command (install the necessary tools)

sudo apt-get install build-essential linux-headers-generic

sudo apt-get BUILD-DEP Linux

3. Note: You unpack in that file, compile it in that folder. The following commands do the same. For example: I put the compression pack in the/home/hufy/important to first use the CD to enter the directory, and then the command.

Compile.

sudo make clean

sudo make

4, the most critical statement, if the restart after the wireless is not, and then enter these sentences.

sudo modprobe lib80211

sudo modprobe cfg80211

sudo insmod Wl.ko

5, through the above 3 commands your wireless driver has been installed, to see your computer in the upper right corner of the wireless is not the sign of the end of the European, continue. Otherwise, the wireless is gone again after the reboot.

sudo cp/boot/initrd.img-' uname-r ' Somewheresafe (Uname-r is looking at the Linux kernel version)

sudo update-initramfs-u

sudo cp Wl.ko

6,/lib/modules/' uname-r '/kernel/drivers/net/wireless sudo depmod-a

The WL module is then added to the boot module, which is added to the/etc/modules file at the end of the WL

Using commands: sudo cp wl.ko/etc/modules

/lib/modules/3.5.0-48-generic/updates/dkms deletes the Wl.ko file in the updates/dkms directory. Where 3.5.0-48-generic is the version of my kernel I got using command uname-r. This place is yours. Command: sudo rm wl.ko

7, Re-enter: sudo depmod-a

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.