Configure a wireless network card in Ubuntu

Source: Internet
Author: User

After one night, I finally configured the wireless network card in the Ubuntu environment on my Dell 1440. In Linux, everything really needs to be done by yourself, which is painful and happy. I checked on the UBUNTU Forum that the b43 driver and ndiswrapper driver are used for loading. I directly use the Broadcom driver.

First:

Lspci-vnn | grep 14e4
0C: 00.0 network controller [0280]: Broadcom Corporation bcm4312 802.11b/g [14e4: 4315] (Rev 01)
The specific pci id: 14e4: 4315. 4315 is the specific model of the wireless chip used.

Then:

Download the Linux driver from the Broadcom website. Www.broadcom.com/support/802.11/linux_sta.php. With the 32-bit driver and a readme. Then basically follow this readme to install the driver.

 

Installation:

# Mkdir hybrid_wl
# Cd hybrid_wl
# Tar xzf <path>/hybrid-portsrc-x86_32-v5.10.91.9.3.tar.gz

I entered tar xzf ../hybrid-portsrc-x86_32-v5.10.91.9.3.tar.gz here because my zip package is in the upper-level directory.

 

# Make clean (optional)
# Make

 

The following is how to remove the original driver.

# Lsmod | grep "b43/| SSB/| WL"
# Rmmod b43
# Rmmod SSB
# Rmmod WL
# Echo "blacklist SSB">/etc/modprobe. d/blacklist. conf
# Echo "blacklist b43">/etc/modprobe. d/blacklist. conf

 

Installation:

# Modprobe lib80211
# Insmod WL. Ko

After installation, iwconfig can see that eth1 is a wireless network adapter, but TX-power is still off. For the sake of insurance, I added two more

# Modprobe wl-the first time I was prompted that there was no WL module. Later I activated the Broadcom sta driver in the system -- Management -- hardware driver (originally none, as if insmod WL. after Ko), run this command again.

# Depmod-S

 

After installation, you can add WL to/etc/modules to load the module at the beginning.

#/Etc/modules: Kernel Modules to load at boot time.
#
# This file contains the names of kernel modules that shoshould be loaded
# At boot time, one per line. Lines beginning with "#" are ignored.

Lp
WL

 

This is the case above. On a wiki, I found a few words added in/etc/rc. conf, but Ubuntu does not have this file.

 

I thought this would work. After the installation, the upper-right corner shows that the wireless network has been disabled and cannot be resolved. Later, I searched for a long time on the UBUNTU Forum. For various reasons, I was dazzled and finally found it in a reply. Someone said they needed FN + F2 to enable the wireless Nic of the notebook.

OK. In the final step, press FN + F2. or not. restart the system and press FN + F2 several times before entering the system. Then, the system is OK.

Connect to the wireless network, enter the password, and click OK.

Hahahaha.

 

This method is very simple and not as troublesome as using ndiswrapper, while the b43 driver does not support 4315 chips. The only disadvantage is that if you need to re-compile and install the driver after updating the kernel, the steps for installing the driver are still very simple.

 

PS: I tried again today. After Ubuntu is installed, it seems that the hardware driver will have a wireless driver only once it is updated. Without this driver, no wireless network card can be installed.

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.