My WaR WiTh WoRdS

The AIM of one’s life is to become AIMLESS

Archive for the ‘Ubuntu’ Category

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 --buildpkg Ubuntu/gutsy
in the directory where you have the 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"

Section "Device"
Identifier "Generic Video Card"
#Driver "vesa"
BusID "PCI:1:5:0"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
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

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
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
Ankur Shrivastava

Written by Ankur

December 24, 2007 at 10:26 pm


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

Enabling 3D effects in Ubuntu 7.10 on ATI x 1250

with one comment

So after a long time of SUSE use i went back to my Ubuntu install when i was reminded by Sohil about the 3D effects which were working on Ubuntu 7.04 with the new ATI 8.42.3 drivers and well it was like a challenge for me to enable those in my install. So here i present you the way to enable those in your Ubuntu 7.10 fresh install with the ATI 8.42.3 drivers, just install the xserver-xgl package sudo apt-get install xserver-xgl and reboot enjoy

Written by Ankur

November 3, 2007 at 6:10 pm

Posted in Linux, Ubuntu

Using Wifi in Ubuntu on HP 6515b (broadcom)

with 5 comments

so after the install the thing that is left is the WiFi support so here it goes
first disable the bcm43xx driver
sudo rmmod bcm43xx
then black list the driver by adding “balcklist bcm43xx” in
sudo gedit /etc/modprobe.d/blacklist
then download diswrapper-utils-1.9 deb file and install it offline or if you have a LAN connection, For the next step you should have a copy of the windows driver on HDD or flash drive and type
sudo ndiswrapper -i /the location of windows driver/bcmwl5.inf
now check if driver is there or not
sudo ndiswrapper -l
you should get a output like
bcmwl5 : driver installed
device (14E4:4312) present (alternate driver: bcm43xx)

then type
sudo ndiswrapper -m
to write wlan0 to ndiswrapper, then you need to start ndiswrapper type
sudo modprobe ndiswrapper
Now you just need to enable ndiswrapper to start on boot, for that add “ndiswrapper” in /etc/modules
sudo gedit /etc/modules
all done enjoy

Ankur Shrivastava

Written by Ankur

October 8, 2007 at 11:12 pm

Posted in Linux, Ubuntu

Using Ubuntu on HP 6515b ( ATI X1250 )

with 31 comments

So there are a lot of people having trouble installing Linux ( Ubuntu ) on those ATI Radeon Xpress 1250 or any other ATI card here is the solution ( i have given this example with ubuntu but it can be used with any other Linux distro ) first go to ATI’s site and download the driver then all we have to do is boot into your linux distro and just install the drivers, for that we will first need a copy of the drivers on HDD or flash drive, and then just cd into that directory and type
where is the name of the driver file with me, it will start the install procedure just follow that and after the install just configure your resolution with
aticonfig --resolution=0,1280x800
as my resolution was 1280×800 your can be 1024×786 or some other just type what ever it is.
after this we just need to start the X server again type startx and enjoy every thing in graphical mode.

Note:- if you used a Live CD you will have to install the drivers 2 times first for the live CD and then for your system, enjoy!!!

Ankur Shrivastava

Written by Ankur

October 7, 2007 at 12:40 am

Posted in Linux, Ubuntu

HowTo copy VCD in Ubuntu

with 3 comments

Some the biggest problem with Ubuntu that i find is copying a VCD ( the one copying whom is legal!!!), But not anymore here is a simple way to copy those VCDs into simple mpeg files u just need to install a program with apt-get and type a command and thats it. So first install vcdimager type
sudo apt-get install vcdimager
after it gets installed just type
and you will find the avseq**.mpeg files in your home folder enjoy

Written by Ankur

July 2, 2007 at 2:37 am

Posted in Linux, Special, Ubuntu