[Kubuntu]: Connect To Wireless Through Command Line

KDE 4.3 once again gave me a hard time. KNetworkManager crashed every time I tried to run it. It has something to do with segmentation fault.

Frustrated, I decided to find a way to connect to wireless using command line. After long hours of Googling, I found the solution.

First, you need to list available interfaces:

shidi@euphoria:~$ sudo iwlist scanning

and this will show something similar to the following:

lo        Interface doesn’t support scanning.

eth0      Interface doesn’t support scanning.

eth1      Scan completed :
Cell 01 – Address: 00:97:3G:G1:17:D4
ESSID:”MYNETWORK”
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.412 GHz (Channel 1)
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=77/100  Signal level=-49 dBm
Extra: Last beacon: 364ms ago

pan0      Interface doesn’t support scanning.

Continue reading “[Kubuntu]: Connect To Wireless Through Command Line” »

[Kubuntu]: Digikam Failed To Work With KDE 4.2.9

I have recently upgraded my KDE version to 4.2.9. This however caused a problem with Digikam, it failed to load the thumbnails of selected albums.

I found a quick fix for this by adding new repository to your aptitude source list. Those repository are:

deb http://ppa.launchpad.net/digikam-experimental/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/digikam-experimental/ppa/ubuntu jaunty main

The source file can be found at /etc/apt/sources.list. Once you have edited and saved the file, run the following command:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xbf860d3661fbbba575be617f0bf0f083e353b3e9

The final thing to do is to run the following command:

sudo aptitude upadate and sudo aptitude safe-upgrade.

Continue reading “[Kubuntu]: Digikam Failed To Work With KDE 4.2.9” »