Saturday, November 06, 2010

Some configs with Debian on BenQ U-102

- Wireless

# lspci
Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)



Debian Squeeze (http://wiki.debian.org/wl)
1. Add a "non-free" component to /etc/apt/sources.list, for example:
# Debian Squeeze (testing)
deb http://ftp.us.debian.org/debian squeeze main contrib non-free

2. Update the list of available packages. Install the module-assistant and wireless-tools packages:
# aptitude update
# aptitude install module-assistant wireless-tools

3. Build and install a broadcom-sta-modules-* package for your system, using Module-Assistant:
# m-a a-i broadcom-sta

4. Blacklist the brcm80211 module, to prevent it conflicting for support of BCM4313, BCM43224 and BCM43225 devices:
# echo blacklist brcm80211 >> /etc/modprobe.d/broadcom-sta-common.conf

5. Rebuild your initial ramdisk, to blacklist modules defined at /etc/modprobe.d/broadcom-sta-common.conf within initramfs:
# update-initramfs -u -k $(uname -r)

6. Unload conflicting modules:
# modprobe -r b44 b43 b43legacy ssb brcm80211

7. Load the wl module:
# modprobe wl

8. Verify your device has an available interface:
# iwconfig

9. Configure your wireless interface as appropriate.


- Synaptics touchpad (http://wiki.debian.org/SynapticsTouchpad)
Debian squeeze, kernel 2.6.30-1, Xorg 7.4

If you are using a generic synaptic touchpad, but it fails to respond to tapping or scrolling actions under a new installation of Squeeze (as in testing), you can run the following two commands to immediately make it work:
modprobe -r psmouse
modprobe psmouse proto=imps

To make this change permanent, create a file such as touchpad.conf under /etc/modprobe.d/, and put the following line in it:
options psmouse proto=imps

You do not need to install gsynptics, synaptic, tpconfig or edit xorg.conf. All you need is passing the kernel options for module psmouse.


- No DNS autoupdate: using DNS from Google for accessing Fb in VN
In /etc/dhcp/dhclient.conf (not /etc/dhcp3/)

supersede domain-name-servers 8.8.8.8