BSNL 3g and broadband conflicts eachother

Leave a comment

Recently I got a bsnl 3g net setter and installed Join_Air to access it in ubuntu10.04(lucid). We can connect bsnl 3g or 2g with these configurations but bsnl broadband will fail to connect. To use bsnl broadband, backup the file /etc/ppp/options and delete it. You can connect bsnl net setter later on by restoring the file.

Installing Canon PIXMA iP1200 on Ubuntu9.10

Leave a comment

Drivers for this printer are not available. Following the instructions to install the device on Hardy I encountered some errors and fixing them makes it work fine.Try this code initially

$ sudo vi /etc/apt/sources.list

Add the following lines
deb http://mambo.kuhp.kyoto-u.ac.jp/~takushi/ubuntu ./
deb-src http://mambo.kuhp.kyoto-u.ac.jp/~takushi/ubuntu ./
and save it.
$ sudo apt-get update
$ sudo apt-get install libcnbj-2.6 bjfilter-2.6 pstocanonbj

If this work fine, goto System->Administration->Printing
New Printer
Follow on-screen instructions ,authenticate with username: root and password: your root password ,choose Canon iP2200 Ver.2.60 as your driver. Print your test page.
You can accomplish the same at http://127.0.0.1:631/ also

The error I encountered is pstocanonbj: Depends: libcupsys2 (>= 1.2.3)
If you got a similar error then run
$ sudo apt-get install libcups2-dev
If it works fine then goto instruction for building pstocanonbj .

If you get following output instead
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

run the following code to fix it.
# locale-gen en_US en_US.UTF-8 hu_HU hu_HU.UTF-8
# dpkg-reconfigure locales

This will fix the issue and run sudo apt-get install libcups2-dev

Now,we should build pstocanobj from source
$ sudo aptitude install dpkg-dev
$ sudo apt-get source pstocanonbj
$ cd pstocanonbj-3.3/
$ ./configure
$ make
$ sudo make install
$ sudo cp /usr/local/lib/cups/filter/pstocanonbj /usr/lib/cups/filter/

If this work fine, goto System->Administration->Printing
New Printer
Follow on-screen instructions ,authenticate with username: root and password: your root password ,choose Canon iP2200 Ver.2.60 as your driver. Print your test page.

Configuring mailman-How to select language while installing mailman

Leave a comment

I joined systers about a month back.It is a community to promote women in technology.It is a nice experience to be a part of such a friendly community.I personally encourage all female students to join the community and hope they will definitely love it.

Normally systers mailman is setup on mailman installed from source on Ubuntu8.04LTS.Now we have a script to set it up on Ubuntu9.10.While setting up systers mailman in Ubuntu9.10,I encountered a funny behaviour.Try installing mailman with “sudo aptitude install mailman”. On configuring, you will get notification of language settings in mailman followed by a list of languages.I tried almost all the keys to select a language out of list and all resulted in running the notification window and the list alternately.I didn’t find a solution from google engine. I got a variety of suggestions about what might have caused the bug and I experimented to give away those chances. Finally, svaksha who also got the same problem earlier and spent a lot of time over this funny behaviour like me gave the solution(use space bar).It was hilarious and we were adviced to have an entry about it in mailman faq.

If you ever happen to come across a list similar to one attached below use ‘space bar’ to select one out of it .