Posts Tagged ‘kubuntu’

February 11th, 2010

Compaq CQ40 Wireless Driver

This did not work out-of the box for me with Kubuntu 9.10.
`lspci` showed me that the wireless device was:
03:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
This is messed up. The driver provided by the manufacturer worked fine with the previous kernels and the previous releases of kubuntu (kernel 2.6.28 ). After some googling I found a broadcom driver in the Ubuntu ‘restriced’ repos which is provided by the package `bcmwl-kernel-source`.

So if you have the “restricted” repositories turned on in your machine this will work fine. You’ll just need a reboot sudo aptitude install bcmwl-kernel-source

October 30th, 2009

Huawei E620 and Linux

The modem used is Huawei E620 or E1550. I’m not sure why it has 2 names, but it’s the same thing as far as I can see.

This is specifically for DiGi, but anything else on the same modem would work as well

1. make sure the device registers as a 3g modem and not a storage device. lsusb and look for:

Bus 002 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
if you get that proceed to step 5. Else continue with step 2
2. Get usb_modswitch, install it as root. The default installation path is /usr/sbin.
You will not need to compile this, there is a binary prepackaged that you may use.
3. `vim /etc/usb_modeswitch.conf` and paste the following lines:
# Huawei E1550
DefaultVendor = 0x12d1
DefaultProduct = 0x1446
MessageEndpoint = 0x01
MessageContent = "55534243000000000000000000000011060000000000000000000000000000"

4. plug in the modem and run `sudo usb_modswitch`. do another `lsusb` to make sure the device is registered properly as in step 1. `vimĀ /etc/udev/rules.d/45-huawei1550.rules` and paste the following line:

SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch"
5. I use wvdial, if you do too then `vim /etc/wvdial.conf` and paste the following lines:
< == Leave This Line Empty ==>
Modem = /dev/ttyUSB0
Baud = 230400
Init1 = AT+CGDCONT=1,"IP","3gdgnet"
Init3 =
Area Code =
Phone = *99***1#
Username = digi
Password = digi
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 0
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1
Check Def Route = 1
Notice the empty first line. That makes a difference. Trust me.
6. run `sudo wvdial` and you should be good to go.
If you’re using kppp then just use the configuration from the top except the phone number is *99#
And who said linux was not ready for the desktop??
June 5th, 2009

How to install Swiftfox on K/Ubuntu

0. Take note that I use aptitude, apt-get will serve the same function.

1. edit /etc/apt/sources. list and add the following lines:

deb http://getswiftfox.com/builds/debian unstable non-free

2. Go to a terminal and type:

sudo aptitude update
sudo aptitude install swiftfox-prescott

3. You’re done. Look below for instructions on how to setup Java on Swiftfox

Note: Your best place to look for swiftfox and .deb is still here

May 20th, 2009

Firefox kills Plasma!

OK Fine, it’s really Swiftfox, but the problem is really inherent to Firefox.

My Swiftfox 3.0 kills my KDE4 Desktop Effects. Which pisses me off because I love my shinny objects.

Everytime I accidentally drag select some text and then accidentally attempt to move the selected text, everything hangs up and poof. There goes effects.

I solved this by disabling the drag-drop feature in firefox but I’m still not happy.

Workaround:

May 18th, 2009

K/Ubuntu for Developers

There are important packages that don’t come default with kubuntu which I would need for development. So after setting up a new installation of Kubuntu this is what I’d do:

sudo aptitude install openssh-server build-essential vim kdesvn mysql-server-5.0

These are needed as of kubuntu 9.04 – Jaunty and as you can see installs:

  • openssh-server – which will immediately listen on port 22
  • build-essential – compilers, etc
  • vim – because I don’t like using vi
  • kdesvn – Cuz can be easier to diff my devels
  • mysql-server – well… i need it and Mysql 5.1 does not have great reviews.

Even if you don’t want kdesvn, I’d take kompare any day. The best diff front end for KDE. Although kdiff3 (sudo aptitude install kdiff3) isn’t too bad.