Skip to main content

Posts

black screen on 11.04 upgrade

Just have a time to upgrade my desktop to 11.04 after reboot i get black screen. ebbr.bugs from ubuntuforums said this bcoz nvidia driver was intstalled as a package not a drivers. so this two commands will help sudo apt-get install --reinstall linux-headers-'uname -r' sudo apt-get install --reinstall linux-image-'uname -r' and it fix my problem :)

internal mic on vaio w on karmic

i have vaio w for 3 five month. i install karmic on it use wubi everything work fine but yesterday i note that internal mic is not work. adding 'model=vaio' or model='sony' in "/etc/modprobe.d/alsa-base" are not work. in my case to make it work i have to add 'model=toshiba-s06' to that file like this options snd-hda-intel power_save=10 power_save_controller=N model=toshiba-s06 then run alsamixer in terminal change input source to 'Int DMic'.

makeing HTK3.4 on karmic

When do "make all" for htk3.4 on karmic, i get error "HGraf.c:73:77: X11/Xlib.h: No such file or director". this be solved by ... poj@ubuntu:~/Downloads$ sudo aptitude install libx11-dev Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The following NEW packages will be installed: libpthread-stubs0{a} libpthread-stubs0-dev{a} libx11-dev libxau-dev{a} libxcb1-dev{a} libxdmcp-dev{a} x11proto-core-dev{a} x11proto-input-dev{a} x11proto-kb-dev{a} xtrans-dev{a} 0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 2,242kB of archives. After unpacking 6,124kB will be used. . . . Initializing package states... Done Writing extended state information... Done poj@ubuntu:~/Downloads$ now try again.

a2billing on Karmic Koala

During install a2billing on Karmic Koala by follow this wiki. In Step9 I get this error. root@freeradius:/usr/local/src/a2billing/CallBack# easy_install callback-daemon-py/dist/callback_daemon-1.0.prod_r1527-py2.5.egg Processing callback_daemon-1.0.prod_r1527-py2.5.egg Copying callback_daemon-1.0.prod_r1527-py2.5.egg to /usr/local/lib/python2.6/dist-packages Adding callback-daemon 1.0.prod-r1527 to easy-install.pth file Installing a2b_callback_daemon script to /usr/local/bin Installed /usr/local/lib/python2.6/dist-packages/callback_daemon-1.0.prod_r1527-py2.5.egg Processing dependencies for callback-daemon==1.0.prod-r1527 Searching for callback-daemon==1.0.prod-r1527 Reading http://pypi.python.org/simple/callback-daemon/ Couldn't find index page for 'callback-daemon' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download links found for callback-daemon==1.0.prod-r1527 error: Could not f...

Arduino on Karmic Koala

To use arduino on karmic koala, first we need to install required package e.g. gcc-avr and jre[here i use jdk instead] pnix@x300:~$ sudo aptitude install gcc-avr sun-java6-jdk Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The following NEW packages will be installed: binutils-avr{a} gcc-avr gsfonts-x11{a} java-common{a} odbcinst1debian1{a} sun-java6-bin{a} sun-java6-jdk sun-java6-jre{a} unixodbc{a} 0 packages upgraded, 9 newly installed, 0 to remove and 0 not upgraded. ... Initializing package states... Done Writing extended state information... Done pnix@x300:~$ then get latest version of arduino ide, extract and run. pnix@x300:~/Downloads$ wget http://arduino.googlecode.com/files/arduino-0017.tgz --2009-12-22 23:05:34-- http://arduino.googlecode.com/files/arduino-0017.tgz Resolving arduino.googlecode.com... 209.85.231.82 Connecting to arduino.googlecod...

Fixing libstdc++5 Problem in Ubuntu 9.10

Trying to run X-lite on Karmic Koala[ubuntu 9.10] give me 'error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory' as you see below. pnix@trinity:~/Downloads$ wget http://counterpath.s3.amazonaws.com/downloads/X-Lite_Install.tar.gz --2009-12-11 02:08:02-- http://counterpath.s3.amazonaws.com/downloads/X-Lite_Install.tar.gz Resolving counterpath.s3.amazonaws.com... 72.21.202.96 Connecting to counterpath.s3.amazonaws.com|72.21.202.96|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2094582 (2.0M) [application/x-gzip] Saving to: `X-Lite_Install.tar.gz' 100%[======================================>] 2,094,582 90.1K/s in 25s 2009-12-11 02:08:32 (83.2 KB/s) - `X-Lite_Install.tar.gz' saved [2094582/2094582] pnix@trinity:~/Downloads$ tar xzf X-Lite_Install.tar.gz pnix@trinity:~/Downloads$ ls X-Lite_Install.tar.gz xten-xlite pnix@trinity:~/Downloads$ cd xten-xlite/ pnix@trinity:~/Download...

monitor your filesystem events with inotify-tools

I looking for the way to mirror files on my server to others when something're updated and found that inotify is a good idea in this case. Thanks for inotify-tools project, c library and set of command line programs for linux provide interface to inotify, that let me avoid from c code. On ibex, i get it by.. pnix@pnix-a7n:~$ sudo aptitude install inotify-tools [sudo] password for pnix: Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The following NEW packages will be installed: inotify-tools libinotifytools0{a} 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 39.0kB of archives. After unpacking 201kB will be used. Do you want to continue? [Y/n/?] y ... Writing extended state information... Done pnix@pnix-a7n:~$ Below is example shell script i use to moniter and update file to remote host . #!/bin/bash while inotifywait -r...