My WaR WiTh WoRdS

The AIM of one’s life is to become AIMLESS

Archive for the ‘Stuff’ Category

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!!!!

Advertisements

Written by Ankur

December 5, 2007 at 12:19 am

Fedora 8 the Werewolf

with one comment

So finally Fedora 8 is here and i am still confused about what to use as my base OS Ubuntu / OpenSUSE / Fedora or Debian, anyway more on that Later, so here are the First impressions……..
I booted into the Fedora 8 Live Gnome CD on my HP6515b Lapptop and the cool grub splash i was greated with the X server error and there i was searching for my pen drive for the ATI Drivers, which was no were to be seen which forced me to search for the drivers in my not so arranged data, after struggling for some minutes and mounting 2-3 drives i finally found them, after the drivers were installed everything ran fine and i was presented with a nice Gnome desktop and i really liked the wallpaper, it made every thing look great, then clicking on install to Hard Drive gave me a Ubuntu Like install Wizard. the only problem i faced was with grub boot options it should have looked for the GNU/Linux distro’s already installed (dont care/know about Windows as i dont have it) on my system but scinse in had my boot loader on MBR that was wiped clean, anyway setting up GRUB in not that hard i just reinstalled grub with my SUSE partition as root and added the Fedora entries to the menu.lst and the job was done.

Anyways overall the experience was good without any trouble (except for the drivers about which nothing can be done by them) but one problem that i face is again with my Broadcom WiFi chipset for which i will have to use ndiswrapper which is giving trouble installing, anyways i have only worked on that for 5 min but its not a big problem and will soon be solved.

Update 1 :- i formated my previous installation with 64bit DVD version

Update 2 :- WiFi problem was there because i was using ndiswrapper package build for kernel 2.6.23.1-49 while mine was 2.6.23.1-42 buildig ndiswrapper from the source solved the problem.

Written by Ankur

November 11, 2007 at 6:44 pm

Posted in college, Linux, Stuff

Tagged with , , , ,

Mandriva:- An Open Letter to Steve Ballmer

with one comment

I found this on the Mandriva Blog today a must read :–

Dear Steve,

Hi, this is François, from Mandriva.

I’m sure we’re way too small for you to know me. You know, we’re one of these tiny Linux company working hard for our place on the market. We produce a Linux Distro, Mandriva Linux. The last edition, Mandriva 2008 was seen as a pretty good version and we’re proud of it. You should give it a spin, I’m sure you’d like it. We also happen to be one of the Linux companies that did not sign an agreement with your company (nobody’s perfect).

We recently closed a deal with the Nigerian Government. Maybe you heard about it, Steve. They were looking for an affordable hardware+software solution for their schools. The initial batch was 17,000 machines. We had a good answer to their need: the Classmate PC from Intel, with a customized Mandriva Linux solution. We presented the solution to the local government, they liked the machine, they liked our system, they liked what we offered them, the fact that it was open, that we could customize it for their country and so on.

Then your people entered the game and the deal got more competitive. I would not say it got dirty, but someone could have said that. They fought and fought the deal, but still the customer was happy to get CMPC and Mandriva.

So we closed the deal, we got the order, we qualified the software, we got the machine shipped. In other word, we did our job. I understand the machine are being delivered right now.

And then, today, we hear from the customer a totally different story: “we shall pay for the Mandriva Software as agreed, but we shall replace it by Windows afterward.”

Wow! I’m impressed, Steve! What have you done for these guys to change their mind like this? It’s pretty clear to me, and it will be clear to everyone. How do you call what you just did Steve, in the place where you live? In my place, they give it various names, I’m sure you know them.

Hey Steve, how do you feel looking at yourself in the mirror in the morning?

Of course, I will keep fighting this one and the next one, and the next one. You have the money, the power, and maybe we have a different sense of ethics you and I, but I believe that hard work, good technology and ethics can win too.

cheers

François

PS: a message to our friends in Nigeria: it’s still time to do the right thing and make the right choice, you will get lots of support for it and excellent services!

Any comments????????

Written by Ankur

November 1, 2007 at 10:32 am

Posted in Linux, Stuff, Windows

Search For Maya Begins

leave a comment »

Maya the mystery which can engulf any one of us without our knowing, which can make us do a lot of unexpected things, which can make a lot of different things happen to us….. Now the search for that MAYA has begun and let us find a maya here in Manipal and prove SAB MOHA MAYA HAI !!!!!!!!!!!!!!!!!!!!!!!!! hope for the best

PS :- Hehehehehehehehehehehehe

Written by Ankur

October 6, 2007 at 2:21 pm

Posted in college, Stuff

Its a Boring world

with one comment

From past few weeks i am getting bored like anything, i have nothing to do and life is looking like a monotonous function. Doing the same thing every day, visiting the same sites every day and listening to same songs every day ( see my last.fm page for proof) is really driving me crazy, excluding the time i spend with friends its really boring and my blog really displays that earlier i used to post a lot whenever i used to be free it was a simple rule “Less busy life more post more busy life more posts” but now even with less busy life there are less post. but hey i was onto it, i have made almost 10 drafts this month but have not posted a single here.

I got bored of writing about my boredom so i hope whatever i have written will bore you to death and i think it  will remain with me till i leave on 25th evening…………………

Written by Ankur

July 20, 2007 at 12:37 am

Posted in Life, Stuff

What Does MY Birth Date Mean?

leave a comment »

Your Birthdate: February 25

You excel at anything difficult or high tech.
In other words, you’re a total (brilliant) geek.
It’s difficult for you to find people worth spending time with.
Which is probably why you’ll take over the world with your evil robots!

Your strength: Your unfailing logic
Your weakness: Loving machines more than people
Your power color: Tan
Your power symbol: Pi
Your power month: July

What Does Your Birth Date Mean?

PS – I agree i was getting bored

Written by Ankur

May 28, 2007 at 1:55 am

Posted in Stuff

Using GPRS with Ubuntu without Bluetooth on Airtel

with 12 comments

Well i know you wont be interested in using GPRS for connecting to net as it offers a download speed of 5KB/s instead of your broadband connection, but it can be of great help when you are traveling or when you dont have a broadband like me ( special thanks to BSNL for that).

I wanted to install Amarok on my newly installed Ubuntu 7.04 so i needed a net connection for that there were a hell lot of dependency as Amarok is basicly a KDE application. so my hunt began for a way to connect my Nokia 3250 with Airtel MobileOffice to it. I found a hell lot of sites upon searching for it but all of them required me to download some or other package for which i needed a net connection lol, but then on Linuxquestions.org i finally found a way to configure it without any extra package just the default Ubuntu Install and guess what it works with all Linux systems (it was originally posted for Fedora). So here is what to do

First:- check the VID and PID of your phone, To do this simpily connect your phone in PcSuit mode through the USB cable provided then type in terminal
lsusb

to get the output somewhat like this

ankur@ankur-desktop:~$ lsusb
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 0421:042d Nokia Mobile Phones
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

Notice the ID 0421:042d Nokia Mobile Phones here 421 is the VID and 42d is the PID replace them with what is shown in your case below. Now run the command
sudo /sbin/modprobe usbserial vendor=0x(vid) product=0x(pid)

Like “sudo /sbin/modprobe usbserial vendor=0x421 product=0x42d” in my case

then run the following command
wvdialconf create

To get the following output
ankur@ankur-desktop:~$ sudo wvdialconf create
Scanning your serial ports for a modem.
Port Scan: S0 S1 S2 S3
WvModem: Cannot get information for serial port.
ttyACM0: ATQ0 V1 E1 -- OK
ttyACM0: ATQ0 V1 E1 Z -- OK
ttyACM0: ATQ0 V1 E1 S0=0 -- OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM0: Modem Identifier: ATI -- Nokia
ttyACM0: Speed 4800: AT -- OK
ttyACM0: Speed 9600: AT -- OK
ttyACM0: Speed 19200: AT -- OK
ttyACM0: Speed 38400: AT -- OK
ttyACM0: Speed 57600: AT -- OK
ttyACM0: Speed 115200: AT -- OK
ttyACM0: Speed 230400: AT -- OK
ttyACM0: Speed 460800: AT -- OK
ttyACM0: Max speed is 460800; that should be safe.
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found an USB modem on /dev/ttyACM0.
Modem configuration written to create.
ttyACM0: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

This shows that a modem is connected at /dev/ttyACM0, Now substitute this at (your modem) in the script below
Enter the command
sudo gedit etc/wvdial.conf

delete any thing already written there and place this in that
[Dialer Defaults]
Modem = (your modem)
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = *99***1#
Username = A
Password = B
Stupid Mode = 1

All done now to connect open terminal and type sudo wvdial and you are connected with the following outputankur@ankur-desktop:~$ sudo wvdial
Password:
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat May 26 23:56:24 2007
--> Pid of pppd: 5682
--> Using interface ppp0
--> pppd: �[06][06][08]` [06][08]
--> pppd: �[06][06][08]` [06][08]
--> pppd: �[06][06][08]` [06][08]
--> pppd: �[06][06][08]` [06][08]
--> pppd: �[06][06][08]` [06][08]
--> local IP address 10.190.137.17
--> pppd: �[06][06][08]` [06][08]
--> remote IP address 10.6.6.6
--> pppd: �[06][06][08]` [06][08]
--> primary DNS address 202.56.230.5
--> pppd: �[06][06][08]` [06][08]
--> secondary DNS address 202.56.240.5
--> pppd: �[06][06][08]` [06][08]
To disconnect press Ctrl+C. Enjoy

Written by Ankur

May 27, 2007 at 2:00 pm

Posted in Linux, Special, Stuff