1, 如何解决无线BCM4312芯片上网问题
2, setup java evironment
3, fix coding of gedit
http://askubuntu.com/questions/232532/cant-get-wireless-working-on-12-10-and-dell-latitude-d630
http://ubuntuforums.org/showthread.php?t=1829917http://ubuntuforums.org/showthread.php?t=1816276&page=6
adan@adan-Latitude-D630:~$ lspci -nnk | grep -iA2 net
09:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5755M Gigabit Ethernet PCI Express [14e4:1673] (rev 02)
Subsystem: Dell Device [1028:01f9]
Kernel driver in use: tg3
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
Subsystem: Dell Wireless 1395 WLAN Mini-Card [1028:000b]
Kernel driver in use: b43-pci-bridge
For this device you can use the b43 driver, but the firmware has to be installed. Deactivate the STA-driver and uninstall it:
Code:
sudo modprobe -rf wl
sudo apt-get remove --purge bcmwl-kernel-source
sudo depmod -a
sudo apt-get install --reinstall b43-fwcutter #until Maverick
sudo apt-get install --reinstall b43-fwcutter firmware-b43-installer #for Natty
sudo modprobe -v b43
controls:
Code:
iwconfig
lspci -nnk | grep -iA2 net
lsmod
dmesg | grep b43
sudo iwlist scan
You may try rebooting your system.
----------------------------------------------------
adan@adan-Latitude-D630:~$ lspci -nn | grep 0280
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
adan@adan-Latitude-D630:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
adan@adan-Latitude-D630:~$ rfkill list all
-----------------------------------------------------------------
An unsupported BCM4312 Low-Power (LP-PHY) device was found
----------------------------------------------------
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_45/bin/javac 1
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_45/bin/java 1
sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_45/bin/javaws 1
Download jdk-6u32-linux-x64.bin from this link. If you have used 32-bit Ubuntu installation, download jdk-6u32-linux-x32.bin instead.
To make the downloaded bin file executable use the following command
view source
print?
1.chmod +x jdk-6u32-linux-x64.bin
To extract the bin file use the following command
1../jdk-6u32-linux-x64.bin
Using the following command create a folder called "jvm" inside /usr/lib if it is not already existing
1.sudo mkdir /usr/lib/jvm
Move the extracted folder into the newly created jvm folder
1.sudo mv jdk1.6.0_32 /usr/lib/jvm/
To install the Java source use following commands
1.sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_45/bin/javac 1
2.sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_45/bin/java 1
3.sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_45/bin/javaws 1
To make this default java
1.sudo update-alternatives --config javac
2.sudo update-alternatives --config java
3.sudo update-alternatives --config javaws
To make symlinks point to the new Java location use the following command
1.ls -la /etc/alternatives/java*
To verify Java has installed correctly use this command
1.java -version
--------------------------------------------------------------------
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['GB18030', 'UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"