Friday, February 26, 2010

Install Ubuntu on Asus Eee PC 1201N

You need to make boot able USB and install as usual.

Wireless driver should be install this way:


Download this file
http://launchpadlibrarian.net/36688638/rtl8192se_linux_2.6.0010.1211.2009.tar.gz


[1] Copy the target module r8192se_pci.ko to /lib/modules/2.6.31-14-generic/kernel/drivers/net/wireless/
[2] Copy rtl8192se firmware folder to /lib/firmware/`uname -r`
[3] Run the command of `depmod -a`
[4] Run the command of 'modprobe rtl8192se_pci', or reboot.
[5] Check the NetworkManager, and see whether there's network list show out?


--------------------------------------------------------------------------------------------------------------------------------

Install Nvidia driver

# wget http://www.avenard.org/files/ubuntu-repos/ubuntu-repos.key && apt-key add ubuntu-repos.key && rm ubuntu-repos.key
# echo "deb http://www.avenard.org/files/ubuntu-repos jaunty release" | sudo tee /etc/apt/sources.list.d/avenard.list
# apt-get update
# apt-get install linux-headers-2.6.28-11-generic
# apt-get install nvidia-glx-195 nvidia-195-libvdpau
# nvidia-xconfig
# apt-get install vim
# vi /etc/X11/xorg.conf
-- [Change Mouse to /dev/input/mice]
# /etc/init.d/gdm stop
# rmmod nvidia
# modprobe nvidia
# echo nvidia >>/etc/modules
# /etc/init.d/gdm start

----------------------------------------------------------------------------------------


for the browser plugins you need to install xine and flashplayer 10.1

Or you can go here and install this https://help.ubuntu.com/community/RestrictedFormats


-----------------------------------------------------------------------------------------

If you have problem with background after restart this is a solution


rm -R .gconf/desktop/gnome/background (and restart gnome)



-------------------------------------------------------------


Sunday, February 21, 2010

Install Asterisk on CentOS

Step1: We need to install some required packages. Fro this login as root and type the following in the terminal:

yum -y install gcc gcc-c++ kernel-devel bison openssl-devel libtermcap-devel ncurses-devel doxygen curl-devel newt-devel mlocate lynx tar wget nmap bzip2 mod_ssl crontabs vixie-cron speex speex-devel unixODBC unixODBC-devel libtool-ltdl libtool-ltdl-devel mysql-connector-odbc mysql mysql-devel mysql-server php-mysql php-mbstring php-mcrypt flex screen bison libtermcap libtermcap-devel newt newt-devel ncurses ncurses-devel

Step2: Create a new file in a directory /etc/yum.repos.d with a name "centos-asterisk.repo" and put this text there:

[asterisk-tested]
name=CentOS-$releasever - Asterisk - Tested
baseurl=http://packages.asterisk.org/centos/$releasever/tested/$basearch/
enabled=0
gpgcheck=0
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium

[asterisk-current]
name=CentOS-$releasever - Asterisk - Current
baseurl=http://packages.asterisk.org/centos/$releasever/current/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium


Now create another file with a name "centos-digium.repo" and put the text:

[digium-tested]
name=CentOS-$releasever - Digium - Tested
baseurl=http://packages.digium.com/centos/$releasever/tested/$basearch/
enabled=0
gpgcheck=0
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium

[digium-current]
name=CentOS-$releasever - Digium - Current
baseurl=http://packages.digium.com/centos/$releasever/current/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium

STEP3: now simply run this command: yum -y install asterisk16 asterisk16-configs asterisk16-voicemail dahdi-linux dahdi-tools libpri

Install CentOS on Virtualbox


Install Virtualbox guest additions
log in as root and type in terminal

CODE: SELECT ALL EXPAND VIEW
yum install gcc -y


CODE: SELECT ALL EXPAND VIEW
yum install kernel sources -y

CODE: SELECT ALL EXPAND VIEW
yum install kernel-devel -y


restart the system

now go to the VBox Addition directory in your /media directory and type:

CODE: SELECT ALL EXPAND VIEW
sh VBoxLinuxAdditions.run


restart the system again

Edit xorg.conf

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection

Monday, February 15, 2010

FAQ from x.org about ATI driver

I have an ATI graphics card, which driver should I use ?

The GATOS project create enhanced (fast) drivers for the ATI chipsets, which also include TV in/out support for most ATI cards that have this feature. While the main target of these drivers is still XFree86, they are still compatible with the X.org server. The GATOS project does not yet redistribute X.org compatible binaries, but compiling against the X.org source tree will work. The GATOS TV-in code has been incorporated into XOrg, but its TV-out code is still only available in the GATOS drivers.

For r200 cards on down, the open source ati drivers will provide excellent 3d acceleration. for r300 and up, the only fully functioning option is ATI's proprietary fglrx drivers in X11R6.8 and below. In X11R6.9 and X11R7.0, DRI will work on r300 and up.

Sunday, February 14, 2010

Install codecs on Fedora

First, install RPM Fusion's free and nonfree YUM repositories. For detailed information about installing RPM Fusion, see: http://rpmfusion.org/Configuration

su -c "rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm"

su -c "rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm"

Next, install MPlayer from RPMFusion.org.

su -c "yum install mplayer gnome-mplayer gnome-mplayer-common mencoder"

Now, visit the MPlayer Codecs Directory and download the latest 'All' tarball.

wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2

Next, prepare the codecs folder. MPlayer from RPMFusion.org will use /usr/lib/codecs.

su -c "mkdir -p /usr/lib/codecs"

Other media players like Xine and avifile might use /usr/lib/win32, so create a symlink.

su -c "ln -s /usr/lib/codecs /usr/lib/win32"
ls -l /usr/lib/win32
lrwxrwxrwx 1 root root 15 2008-05-24 08:02 /usr/lib/win32 -> /usr/lib/codecs

Finally, extract the contents of the tarball and copy all files to /usr/lib/codecs.

tar -xjvf all-20071007.tar.bz2
su -c "cp -a all-20071007/* /usr/lib/codecs/"

See the MPlayer(1) man page for /usr/bin/mplayer usage.

man 1 mplayer


To watch the videos on rustavi2.com

yum install gstreamer-plugins* gstreamer-ffmpeg mplayer gecko-mediaplayer smplayer

Cheap accessory store

http://www.bitssite.com

Friday, February 12, 2010

Fedora 12 on HP Pavilion ZV5000

Wi-Fi driver

export FIRMWARE_INSTALL_DIR= /lib/firmware/b43
sudo b43-fwcutter -w /lib/firmware/b43 broadcom-wl-4.80.53.0/kmod/wl_apsta.o
sudo modprobe -r b43 ssb wl # remove modules
sudo modprobe b43 # install module to force load of new firmware


Video driver

yum install kernel xorg-x11-drv-ati xorg-x11-drv-radeonhd
reboot
system-config-display

Asterisk

yum -y install gcc gcc-c++ kernel-devel bison openssl-devel libtermcap-devel ncurses-devel doxygen curl-devel newt-devel mlocate lynx tar wget nmap bzip2 mod_ssl crontabs vixie-cron speex speex-devel unixODBC unixODBC-devel libtool-ltdl libtool-ltdl-devel mysql-connector-odbc mysql mysql-devel mysql-server php-mysql php-mbstring php-mcrypt flex screen bison libtermcap libtermcap-devel newt newt-devel ncurses ncurses-devel



sip.conf

[100]
type=friend
host=dynamic
username=100
secret=123
nat=yes
canreinvite = no
qualify=yes
context=internal
dial=SIP/100
disallow=all
allow=ulaw


[101]
type=friend
host=dynamic
username=101
secret=123
nat=yes
canreinvite = no
qualify=yes
context=internal
dial=SIP/101
disallow=all
allow=ulaw



extensions.conf

[globals]
[general]
[default]
exten => s,1,Verbose(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()





[localphone-in]
exten => 8201389,1,Dial(SIP/100,60,tr)
exten => 8201389,2,Hangup

[localphone-out]
exten => _8.,1,Dial(SIP/${EXTEN:1}@localphone,30,tr)
exten => _8.,2,Playback(invalid)
exten => _8.,3,Hangup


[internal]

exten => 100,1,Dial(SIP/100,30)
exten => 100,n,Macro(voicemail,100)
exten => 100,n,Hangup()


exten => 101,1,Dial(SIP/101,30)
exten => 101,n,Macro(voicemail,101)
exten => 101,n,Hangup()

exten => 500,1,VoiceMailMain(${CALLERID(num)}@default)

include => localphone-out

[phones]
include => internal
include => localphone-out

[macro-voicemail]
exten => s,1,Dial(SIP/${ARG1},10)
exten => s,n,GotoIf($["${DIALSTATUS}" = "BUSY"]?busy:unavail)
exten => s,n(unavail),VoiceMail(${MACRO_EXTEN}@default,u)
exten => s,n,Hangup()
exten => s,n(busy),VoiceMail(${MACRO_EXTEN}@default,b)
exten => s,n,Hangup()


---------------------------------------------------------------------


To create a vaoice mailbox I add the following line to the voicemail.conf file.

100 => password,Name of an user,jezell@company.com