My WaR WiTh WoRdS

The AIM of one’s life is to become AIMLESS

Archive for December 2007

3D effects on ubuntu 7.10 on ati 1250

with 2 comments

Well after going through a large number of guides like this i finally thought about giving guide at cchtml a try, well the hings mentioned are really great but not all steps are needed so here is a simplified version

Here i assume that you have not done any of this step before and are doing it for the first time but if that is not the case then this might not work for you.
Ok so first step installation of drivers, there are two steps for this as mentioned in the cchtml wiki one automatic and other manual, for automatic you need to enable the restricted repositories by going to System>>Administration>>Software Sources, and the typing
sudo apt-get update
sudo apt-get install linux-restricted-modules-generic restricted-manager
sudo apt-get install xorg-driver-fglrx

which will install the drivers by downloading them from net, if you dont have the bandwidth to download that much you can go for the manual install where we will build those file, here i assumed that you have copy of the ati drivers .run file which if your Ubuntu is installed by me could be found at “/”, to build we need to install certain packages
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-generic dkms
to build the packages type
sudo bash ati-driver-installer-8.443.1-x86.x86_64.run --buildpkg Ubuntu/gutsy
in the directory where you have the ati-driver-installer-8.443.1-x86.x86_64.run file, this is the latest file at the time of writing but you might have a different file this will work with any driver after 8.38, as they have AIGLX support anyway now we need to install the packages made type
sudo dpkg -i xorg-driver-fglrx_8.443.1-1*.deb fglrx-kernel-source_8.443.1-1*.deb fglrx-amdcccle_8.443.1-1*.deb
when you do that you might be asked
Configuration file `/etc/xdg/compiz/compiz-manager'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** compiz-manager (Y/I/N/O/D/Z) [default=N] ?

just answer Y to the question and proceed, once this is done you now need to edit the xorg.conf file type (here — is [minus][minus] unlike a big [minus] as it appears to be )
aticonfig --initial
sudo gedit /etc/X11/xorg.conf

and replace
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:1:5:0"
EndSection

WITH
Section "Device"
Identifier "Generic Video Card"
#Driver "vesa"
BusID "PCI:1:5:0"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
EndSection
now just restart the X server but pressing Ctrl + ALT + Backspace, all done this will give you the Basic 3D effects but who is satisfied with that we need more so we will go for installing Compiz settings manager, for this type
sudo apt-get install compizconfig-settings-manager gcompizthemer subversion
svn ls https://svn.generation.no/emerald-themes

now accept the certificate and fetch the themes by going to System>>Preferances>>Emerald Themes Manager,
to enable 3D effects go to System>>Preferances>>Appearance then Visual Effects select Custom and edit your settings by Preferances
now you are all set to blow everyone up with your Linux box’s 3D effects enjoy

Written by Ankur

December 29, 2007 at 1:46 am

Posted in college, Linux, Special, Ubuntu

Tagged with , , , , , , ,

Making a local Ubuntu / Debian repository on Fedora

with 2 comments

So now i know how to make a local Ubuntu / Debian LAN repository on Fedora using apt-cacher, apt-cacher as the name says caches all the packages with it when ever any client requests a package from it, it checks if the package that is there with it is latest or not if it is then it serves that package else it downloads the package and serves it, but well i am not discussing what it does here but how to set it up on Fedora 8, so lets begin

for apt-cacher to work you need to have a apache server installed and the source of apt-cacher which can be downloaded from here just and extract it and follow the following step as root
mv apt-cacher-1.5.3 /usr/share/apt-cacher
here 1.5.3 was the latest package during my writing, then rename apache.conf to /etc/httpd/conf.d/apt-cacher.conf and set the permisions
cd /usr/share/apt-cacher
mv apache.conf /etc/httpd/conf.d/apt-cacher.conf
chmod 644 /etc/httpd/conf.d/apt-cacher.conf
chown root:root /etc/httpd/conf.d/apt-cacher.conf

now just restart apache
/etc/init.d/httpd restart
now rename apt-cacher2 to apt-cacher and move all the .conf files to /etc/apt-cacher/
mv apt-cacher2 apt-cacher
mkdir /etc/apt-cacher
mv *.conf /etc/apt-cacher/

now edit /etc/httpd/conf.d/apt-cacher.conf and edit user and group to apache
gedit /etc/httpd/conf.d/apt-cacher.conf
after doing that run install.pl
./install.pl
now make /var/cache/apt-cacher and /var/log/apt-cacher owned by apache
chown -R apache /var/cache/apt-cacher
chown -R apache /var/log/apt-cacher

all done just goto http://yourip/apt-cacher and every thing should work fine, if it does not then check /var/log/http/error_log for what went wrong and dont forget to forward the port 3142 (default) so that everyone can access it
you can see how to configure it here and since you are on Fedora you will have to modify some steps a little
enjoy
Ankur Shrivastava

Written by Ankur

December 24, 2007 at 10:26 pm

Stuff.txt

with 8 comments

I reached home 2 days ago and i have already completed 1/3 of my To-Do list’s task but still a lot remains to be done.
the things that i have completed are, First setting up of a LAMP server and MediaWiki on that >> done this with a Fedora 8 based server on my desktop, it was really easy to do but i still have to learn a lot about MediaWiki as we are planning to use it for LUG Manipal’s Wiki. Second was trying to SSH form my cell >> done this by using MidpSSH as putty for symbian was giving me trouble with my E61i, i was able to do almost all the things through it like writing a simple C++ hello world program and compiling it by g++, but the best thing is that now i can run 3D effects on ati 1250 on Ubuntu 7.10 , yes i finally found a way to make it work and it works pretty well without the need to downgrade xorg but still the process comprises of things taken from here and there so the final and the best part will come up shortly, so till then bye cya
Ankur Shrivastava

Written by Ankur

December 18, 2007 at 1:08 pm

Posted in Indore, Linux, Special, Stuff, Ubuntu

Back Home

leave a comment »

that is X121 with Dabba and my cell in b/w
So am back home and looking forward to some great things, i have my to-do list ready and hope to complete most of them in time and yew i have got my Nokia E61i and it is really a nice device will upload its pics soon, i still have to become comfortable with typing on a QWERTY phone so that i can type with my previous speed on that any way there surely are great thing to come cya….
Ankur Shrivastava

Written by Ankur

December 16, 2007 at 11:28 am

Posted in Indore, Special

3D effects on fedora 8 on ati 1250

with 7 comments

I have finally found a way to make Compiz work on ATI x1250 on HP 6515b after searching on a large number of forums i finally found it on Fedora Forums all thanks to leigh123@linux and here is my easy way well its not that easy but still it works
PLEASE TRY THIS PROCEDURE CAREFULLY IT HAS NOT WORKED ON SOME SYSTEMS I WILL UPDATE IT AS AND WHEN I GET A DIFFERENT WAY

First enable the Livna repositories type
su
rpm -Uhv http://rpm.livna.org/livna-release-8.rpm

then type
yum install kmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-libs-32bit
yum update kmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-libs-32bit
service fglrx restart
fglrx-config-display enable

now restart your xserver by pressing ctrl + alt + backspace , then after restarting go to terminal type
fglrxinfo
you should see something like this
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon X1200 Series
OpenGL version string: 2.0.6958 Release

and then run
glxinfo
you should see some thing like this
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
.......................................................

now you can proceed with update of Compiz, for this add the compiz fusion repo login as root and type
wget http://www.dfm.uninsubria.it/compiz/fusion/compiz-fusion.repo
cp compiz-fusion.repo /etc/yum.repos.d/

before install remove the old packages type
rm -rf /home/*/.config/compiz
rm -rf /home/*/.gconf/apps/compiz

now install compiz
yum install compiz-all fusion-icon-all compiz-fusion-plugins-unsupported compiz-bcop ccsm emerald-themes
after this we have to downgrade xorg-x11-server-Xorg for all i386 (32bit) users type
wget http://koji.fedoraproject.org/packages/xorg-x11-server/1.3.0.0/9.fc7/i386/xorg-x11-server-Xorg-1.3.0.0-9.fc7.i386.rpm
rpm -U --oldpackage xorg-x11-server-Xorg-1.3.0.0-9.fc7.i386.rpm

For x86_64 (64bit) users type
wget http://koji.fedoraproject.org/packages/xorg-x11-server/1.3.0.0/9.fc7/x86_64/xorg-x11-server-Xorg-1.3.0.0-9.fc7.x86_64.rpm
rpm -U --oldpackage xorg-x11-server-Xorg-1.3.0.0-9.fc7.x86_64.rpm

now we have to prevent xorg-x11-server-Xorg from upgrading so we blacklist it
gedit /etc/yum.conf
add
exclude=xorg-x11-server-Xorg
at the end and enjoy your 3D effects ……………

PS:- Dont enable too many plugins it will slow things down and there is some problem that i face with the Expo plugin dont enable that

Written by Ankur

December 11, 2007 at 1:29 am

Posted in college, Linux, Special

Tagged with , , , , , ,

WOW Dell !!!!!!!!

with 4 comments

Dell world of warcraft

For all the World of warcraft fans Dell has released a laptop XPS 1730 special world of warcraft edition with a 17″ HD screen and 512MB Dual NVIDIA GeForce 8700M GT with NVIDIA SLI and AGEIA PhysX Physics Accelerator rest other specs are Intel C2D T7500 (2.2GHz/800Mhz FSB, 4MB Cache), Windows Vista Ultimate 2GB Dual Channel DDR2 SDRAM at 667MHz, 160GB SATA Hard Drive (7200RPM) and a Backlit keyboard
WOW Dell

WOW Dell

plus you also get
Golden Ticket for a FigurePrintsTM custom statue of your actual in-game World of Warcraft character with your actual armor and weapons
World of Warcraft Beta Club Key Card with a key to future World of Warcraft beta tests
World of Warcraft and The Burning Crusade Collector’s Edition Account Upgrade Certificates
Exclusive desktop background artwork and screensavers
Additional loot like a behind the scenes DVD, soundtrack, Warcraft novels, strategy guides, trading cards, etc
What else does a warcraft fan need aaah well a fan who has $4500 to spare………………..

Written by Ankur

December 8, 2007 at 1:39 pm

Posted in Special

Tagged with , ,

Fedora 8 on HP 6515b

leave a comment »

Well i have installed Fedora 8 now and well i was facing the usual problems, install proceeded well in text mode without any problems but on booting after the ATI driver install i was presented with a console login that is no xserver started and then started the problem with WiFi, ndiswrapper wont install it took me no time to find that the kernel version was different of the rpm package of ndiswrapper that i had, so i went about every were searching for it but was not able to find what i was looking for so finally i had to go for compiling of ndiswrapper from source.This done i was left with a text only system i mean i can always start xserver by typing startx after logging in but i wont boot on startup, so i was think a way to get gdm to start on system startup and there i was searching for the rc scripts i remember reading about them in Slack Book, after adding gdm to the rc.local file i was now happily using Laptop with Fedora

ok so lets come to the point how exactly did i solved these problems for installing ATI driver i have already explained it earlier here and here , so now moving to ndiswrapper
you need to download the source code (the .tar.gz file) from http://ndiswrapper.sourceforge.net well from any other computer if you have net access only by WiFi, after u have the tar.gz file copy it to any folder like your home folder ( /home/<username>/ ) now simply right click on it and select extract here, now you have a directory with all the files of source code but to compile the source you will need to install some more software from the DVD for this go to Add/Remove Software in the Applications menu, enter your root password when it will open it will give you error saying something like Repository could not be updated so go to repositories in that and let the tick be there only in front of Install Media remove that tick from every other option, here select Development then tick Development Tools (remove them after compiling if you wont use them), after that go to Search tab and select All packages, there search for ‘Kernel headers’ you will find a package with name of Kernel-headers – 2.6.23.1-42 select that, click apply it will ask you for the DVD insert it and packages will be installed, now you can happily compile your ndiswrapper source

For compiling open up a Terminal from Applications >> System Tools >> Terminal type ‘ su ‘ , enter your password now type
cd /home/<user name>/<name of ndiswrapper directory>/

now when in the ndiswraper directory type
make uninstall
to remove any previous non working installs of ndiswrapper, after that type
make
here you if you see a error then you probably dont have the correct/complete source or are missing a required package, if it proceeds without a error which it will then you just need to install ndiswrapper type
make install
your work is now over you just need to install the windows driver by the method which i have described here all done now let us proceed to the xserver problem

For this just login as root ( which i wont prefer but is best for this time ) and type ‘ startx ‘ at the prompt after logging in then go to /etc/ in the file browser there right click on ‘ inittab ‘ file and select open with “Text Editor” in the file there will be some thing written as
id:3:initdefault:
change that to
id:5:initdefault:
and save the file, reboot and you will be greeted by a nice Fedora Infinity Screen enjoy!!!!

Written by Ankur

December 5, 2007 at 12:19 am