Imthiaz Blog

me and stupid works….!!!

Configure Wireless in Fedora Core 4 for Hp zd8000

I made a big mistake of installing ndiswrapper for fedora core 4 using yum. It downloaded the latest kernel and source etc and compile ndiswrapper and I was not able to update any wifi drivers for my HP Pavilion zd8000.

After much struggle for so many hours I removed ndiswrapper using the yum. I wanted to reinstall ndiswrapper. This time I have decided to install the hard way by compiling from source.

For that I needed the source of current kernel source. I needed to download the same. To find out the current kernel version issue this command.

[imthiaz@localhost ~]$ uname -r
2.6.11-1.1369_FC4smp

Then I downloaded the source rpm from this place http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/SRPMS/. Click here to download the src rpm.

Then install the source rpm..

[imthiaz@localhost ~]$ rpm -ivh kernel-2.6.11-1.1369_FC4.src.rpm

1:kernel ########################################### [100%]

Then build the source

[imthiaz@localhost ~]$ rpmbuild -bp –target=noarch /usr/src/redhat/SPECS/kernel-2.6.spec

After issuing the command we can see a lot of debug messages then it comes out to prompt.

Now you can start the ndiswrapper installation. A complete installation mannual is given here.

To find out the wifi card spec issue this command lspci -n and you find some text like this..

0b:03.0 Class 0280: 14e4:4318 (rev 02)

Next I download the windows driver for hp zd8000 wifi card. The integrated wireless card is the Broadcom AirForce One 54g. I download couple of drivers after reading reviews from many website and finally this one solved my day.

ftp://ftp.support.acer-euro.com/notebook/aspire_3020_5020/driver/80211g.zip

After extracting the zip file we have install the driver for ndiswrapper. We can do that with following command.

#ndiswrapper -i bcmwl5a.inf

After this just follow the instruction from here

http://ndiswrapper.sourceforge.net/mediawiki/index.php/Installation

from Load Module section. And all commands worked perfect for me from that section :-).

Then I added the following lines to /etc/rc.d/rc.local

iwlist wlan0 scan
iwconfig wlan0 mode Managed
iwconfig wlan0 essid ‘Goldcrab’
dhclient wlan0

I added the above lines so that wifi loaded and configured whenever I boot my laptop. Now it is working cool ;-)

Update Firefox 1.5.0.1 in RH Fedora Core 4

I really wanted to upgrade my Firefox in FC4. When I tried using yum it updated Firefox 1.0.4 to 1.0.7. I tried adding extra mirrors in yum configuration but no use.

Latter I found a manual method to update Firefox.

su or login as root first.
# wget ftp.mozilla.org/pub/mozilla.org/firefox/ .. /firefox-1.5.tar.gz
# cd /usr/lib
# tar xzvf ~/firefox-1.5.tar.gz
# mv firefox firefox-1.5
# which firefox
/usr/bin/firefox
# cd /usr/bin/
# mv firefox old.firefox
# ln -s /usr/lib/firefox-1.5/firefox

Thanks to Philip for sharing this. I followed the same instruction to update Firefox 1.5.1 and it worked.

su or login as root first.
# wget ftp.mozilla.org/pub/mozilla.org/firefox/.. /firefox-1.5.0.1.tar.gz
# cd /usr/lib
# tar xzvf ~/firefox-1.5.0.1.tar.gz
# mv firefox firefox-1.5.0.1
# which firefox
/usr/bin/firefox
# cd /usr/bin/
# mv firefox old.firefox
# ln -s /usr/lib/firefox-1.5.0.1/firefox

Cool… ;-)

HP zd8000 and Redhat Fedora Core 4 Linux

It has been really a good time working in Linux after a long break. I managed to download latest stable release of Fedora Core 4. The last version I used was fedora core 2. Once it was downloaded my plan was to install the Linux in my laptop (Hp Pavilion zd8000). So far I was using Microsoft Windows Xp home edition on my laptop. Single partition I hate the most. So I need to do a lot of backup work. Now the DVD writer was very handy. I backed up all my needed important files into DVDs. It took me great deal of time. Now I partitioned the same into smaller ones with capacity around 20GB each.

After that I installed Windows XP home into the main partition and kept one partition for Linux. And installing drivers and other needed stuff on window xp took some time. Then I burnt only the first cd ISO and rest I kept in the main partition. I installed the Fedora from local hard disk. I did this since I planned to install everything from the cds. I saved 3 cds ;-). I partitioned manually and It looks something like this.

Disk /dev/hda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 3187 25599546 c W95 FAT32 (LBA)
/dev/hda2 3188 12161 72083655 f W95 Ext’d (LBA)
/dev/hda5 3188 5737 20482843+ b W95 FAT32
/dev/hda6 5738 8287 20482843+ b W95 FAT32
/dev/hda7 8288 9562 10241406 b W95 FAT32
/dev/hda8 9563 9594 257008+ 83 Linux
/dev/hda9 9595 9725 1052226 82 Linux swap / Solaris
/dev/hda10 9726 12161 19567138+ 83 Linux

The installation went smooth. It took nearly 45 minutes to complete. I booted up and so far all went cool. Some issues I faced

  • My Screen was really bad
  • Sound card failed
  • And fedora needed some good apps related to playing media.

I don’t want to explain how I fixed these issues. And there were more issues and I fixed them too. I referred these websites to fix the issues. These guys are cool.

Once I fixed all the issues mentioned above the fedora on my laptop was really cool and worked amazing. Did i forget to mention I didn’t log into windows for three days now.

Screenshot of Fedora Core 4 On Hp Pavilion zd8000

Added few lines in /etc/fstab file to mount all my windows partition.

# This file is edited by fstab-sync - see ‘man fstab-sync’ for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
/dev/hda1 /mnt/win-1 vfat user,gid=users,umask=0002 0 0
/dev/hda5 /mnt/win-2 vfat user,gid=users,umask=0002 0 0
/dev/hda6 /mnt/win-3 vfat user,gid=users,umask=0002 0 0
/dev/hda7 /mnt/win-4 vfat user,gid=users,umask=0002 0 0

/dev/hdb /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0

I found If I install Yellow dog Updater, Modified (yum) it will make life easier to install packages for fedora. You can refer to http://www.fedorafaq.org/ if you wish to tweak your fedora installation.

Some commands I used to install new softwares.

  • yum install vlc
  • yum install xmms
  • yum install firefox
  • yum install gaim
  • etc etc. Now updating packages and installing new on fedora is very easy.

<meta name="GENERATOR" content="OpenOffice.org 1.9.104 (Linux)" /><meta name="CREATED" content="20060223;15222300" /><meta name="CHANGED" content="16010101;0" />Life is very<br /> <style>!-- @page { size: 8.5in 11in; margin: 0.79in } --></style> <p> exciting for past three days with Linux. I will update more in the days to come.</p> </div> <p class="postmetadata">Posted in <a href="http://imthi.com/blog/category/linux" title="View all posts in Linux" rel="category tag">Linux</a> <strong>|</strong> <a href="http://imthi.com/blog/linux/hp-zd8000-and-redhat-fedora-core-4-linux.php#comments" title="Comment on HP zd8000 and Redhat Fedora Core 4 Linux">1 Comment »</a></p> <div class="navigation"> <div class="alignleft"></div> <div class="alignright"><a href="http://imthi.com/blog/category/linux/page/2" >Next Entries »</a></div> </div> </div> <div class="sidenav"> <form method="get" id="searchform" action="/index.php"> <div><input type="text" value="" name="s" id="s" /> <input type="submit" id="searchsubmit" value="Search" /> </div> </form> <ul id="sidebarwidgeted1"> <li> <a class="header" href="#">Pages</a> <div><ul><li class="page_item page-item-74"><a href="http://imthi.com/organizer" title="Wordpress Organizer">Wordpress Organizer</a></li> <li class="page_item page-item-131"><a href="http://imthi.com/wp-pda" title="Wordpress PDA & iPhone Plugin">Wordpress PDA & iPhone Plugin</a></li> <li class="page_item page-item-2"><a href="http://imthi.com/contact-me" title="Contact Me">Contact Me</a></li> <li class="page_item page-item-325"><a href="http://imthi.com/blogroll" title="Blogroll">Blogroll</a></li> </ul></div> </li> <li> <a class="header" href="#">Tags</a> <div id="sidebartags"><a href='http://imthi.com/blog/tag/adsense' class='tag-link-49' title='2 topics' rel="tag" style='font-size: 7.58333333333pt;'>adsense</a> <a href='http://imthi.com/blog/tag/apple' class='tag-link-55' title='2 topics' rel="tag" style='font-size: 7.58333333333pt;'>Apple</a> <a href='http://imthi.com/blog/tag/blog-update' class='tag-link-36' title='5 topics' rel="tag" style='font-size: 9.33333333333pt;'>blog update</a> <a href='http://imthi.com/blog/tag/content' class='tag-link-22' title='1 topic' rel="tag" style='font-size: 7pt;'>content</a> <a href='http://imthi.com/blog/tag/crap' class='tag-link-35' title='2 topics' rel="tag" style='font-size: 7.58333333333pt;'>crap</a> <a href='http://imthi.com/blog/tag/dubai' class='tag-link-10' title='6 topics' rel="tag" style='font-size: 9.91666666667pt;'>Dubai</a> <a href='http://imthi.com/blog/tag/flip-media' class='tag-link-25' title='12 topics' rel="tag" style='font-size: 13.4166666667pt;'>flip media</a> <a href='http://imthi.com/blog/tag/friends' class='tag-link-16' title='4 topics' rel="tag" style='font-size: 8.75pt;'>Friends</a> <a href='http://imthi.com/blog/tag/fun' class='tag-link-59' title='2 topics' rel="tag" style='font-size: 7.58333333333pt;'>fun</a> <a href='http://imthi.com/blog/tag/google' class='tag-link-23' title='13 topics' rel="tag" style='font-size: 14pt;'>google</a> <a href='http://imthi.com/blog/tag/iphone' class='tag-link-44' title='7 topics' rel="tag" style='font-size: 10.5pt;'>iphone</a> <a href='http://imthi.com/blog/tag/javascript' class='tag-link-34' title='2 topics' rel="tag" style='font-size: 7.58333333333pt;'>javascript</a> <a href='http://imthi.com/blog/tag/linux' class='tag-link-8' title='3 topics' rel="tag" style='font-size: 8.16666666667pt;'>Linux</a> <a href='http://imthi.com/blog/tag/mac' class='tag-link-24' title='11 topics' rel="tag" style='font-size: 12.8333333333pt;'>mac</a> <a href='http://imthi.com/blog/tag/malaysia' class='tag-link-31' title='2 topics' rel="tag" style='font-size: 7.58333333333pt;'>malaysia</a> <a href='http://imthi.com/blog/tag/microsoft' class='tag-link-45' title='2 topics' rel="tag" style='font-size: 7.58333333333pt;'>Microsoft</a> <a href='http://imthi.com/blog/tag/news' class='tag-link-62' title='2 topics' rel="tag" style='font-size: 7.58333333333pt;'>News</a> <a href='http://imthi.com/blog/tag/party' class='tag-link-26' title='2 topics' rel="tag" style='font-size: 7.58333333333pt;'>party</a> <a href='http://imthi.com/blog/tag/pda' class='tag-link-50' title='2 topics' rel="tag" style='font-size: 7.58333333333pt;'>pda</a> <a href='http://imthi.com/blog/tag/photography' class='tag-link-20' title='2 topics' rel="tag" style='font-size: 7.58333333333pt;'>Photography</a> <a href='http://imthi.com/blog/tag/products' class='tag-link-53' title='4 topics' rel="tag" style='font-size: 8.75pt;'>Products</a> <a href='http://imthi.com/blog/tag/real-estate' class='tag-link-21' title='3 topics' rel="tag" style='font-size: 8.16666666667pt;'>Real Estate</a> <a href='http://imthi.com/blog/tag/router' class='tag-link-27' title='1 topic' rel="tag" style='font-size: 7pt;'>router</a> <a href='http://imthi.com/blog/tag/seo' class='tag-link-12' title='5 topics' rel="tag" style='font-size: 9.33333333333pt;'>SEO</a> <a href='http://imthi.com/blog/tag/travel' class='tag-link-30' title='9 topics' rel="tag" style='font-size: 11.6666666667pt;'>travel</a> <a href='http://imthi.com/blog/tag/trivandrum' class='tag-link-65' title='4 topics' rel="tag" style='font-size: 8.75pt;'>Trivandrum</a> <a href='http://imthi.com/blog/tag/vmware' class='tag-link-58' title='2 topics' rel="tag" style='font-size: 7.58333333333pt;'>VMware</a> <a href='http://imthi.com/blog/tag/web' class='tag-link-7' title='5 topics' rel="tag" style='font-size: 9.33333333333pt;'>Web</a> <a href='http://imthi.com/blog/tag/windows' class='tag-link-56' title='2 topics' rel="tag" style='font-size: 7.58333333333pt;'>Windows</a> <a href='http://imthi.com/blog/tag/wordpress' class='tag-link-39' title='6 topics' rel="tag" style='font-size: 9.91666666667pt;'>wordpress</a></div> </li> <li> <a class="header" href="#">Recent Post</a> <div><ul> <li><a href='http://imthi.com/blog/products/google-web-monopoly-next-milestone-chrome.php' title='Google web monopoly next milestone Chrome'>Google web monopoly next milestone Chrome</a></li> <li><a href='http://imthi.com/blog/personal/weekend-at-preeth-beach-resort-varkala.php' title='Weekend at Preeth Beach Resort - Varkala'>Weekend at Preeth Beach Resort - Varkala</a></li> <li><a href='http://imthi.com/blog/personal/one-day-tour-with-david-sheridan-in-trivandrum.php' title='One day tour with David Sheridan in Trivandrum'>One day tour with David Sheridan in Trivandrum</a></li> <li><a href='http://imthi.com/blog/web/imthicom-gets-pagerank-5.php' title='imthi.com gets pagerank 5'>imthi.com gets pagerank 5</a></li> <li><a href='http://imthi.com/blog/web/google-news-in-tamil.php' title='Google news in Tamil'>Google news in Tamil</a></li> <li><a href='http://imthi.com/blog/personal/travelling-from-trivandrum-to-chennai-by-train.php' title='Travelling from Trivandrum to Chennai by train'>Travelling from Trivandrum to Chennai by train</a></li> <li><a href='http://imthi.com/blog/personal/first-post-from-iphone.php' title='First post from iphone'>First post from iphone</a></li> <li><a href='http://imthi.com/blog/personal/flip-media-trivandrum-moves-to-technopark.php' title='Flip Media Trivandrum moves to technopark'>Flip Media Trivandrum moves to technopark</a></li> </ul></div> </li> <li> <a class="header" href="#">Categories</a> <div><ul> <li class="cat-item cat-item-10"><a href="http://imthi.com/blog/category/dubai" title="View all posts filed under Dubai">Dubai</a> </li> <li class="cat-item cat-item-8 current-cat"><a href="http://imthi.com/blog/category/linux" title="Stuff I do in Linux">Linux</a> </li> <li class="cat-item cat-item-1"><a href="http://imthi.com/blog/category/personal" title="my personal stuffs...">Personal</a> </li> <li class="cat-item cat-item-20"><a href="http://imthi.com/blog/category/photography" title="Post related to photography">Photography</a> </li> <li class="cat-item cat-item-53"><a href="http://imthi.com/blog/category/products" title="View all posts filed under Products">Products</a> </li> <li class="cat-item cat-item-2"><a href="http://imthi.com/blog/category/programming" title="stuffs I do...">Programming</a> </li> <li class="cat-item cat-item-21"><a href="http://imthi.com/blog/category/real-estate" title="View all posts filed under Real Estate">Real Estate</a> </li> <li class="cat-item cat-item-12"><a href="http://imthi.com/blog/category/seo" title="Search Engine Optimization">SEO</a> </li> <li class="cat-item cat-item-6"><a href="http://imthi.com/blog/category/software" title="View all posts filed under Software">Software</a> </li> <li class="cat-item cat-item-7"><a href="http://imthi.com/blog/category/web" title="View all posts filed under Web">Web</a> </li> </ul></div> </li> <li> <a class="header" href="#">Archives</a> <div><ul> <li><a href='http://imthi.com/blog/2008' title='2008'>2008</a></li> <li><a href='http://imthi.com/blog/2007' title='2007'>2007</a></li> <li><a href='http://imthi.com/blog/2006' title='2006'>2006</a></li> <li><a href='http://imthi.com/blog/2005' title='2005'>2005</a></li> </ul></div> </li> <li> <a class="header" href="#">Meta</a> <div> <ul> <li><a href="http://imthi.com/wp-login.php">Log in</a></li> <li><a href="http://imthi.com/feed" title="Syndicate this site using RSS"><img border="0" alt="Syndicate this site using RSS" src="http://www.feedburner.com/fb/images/pub/feed-icon16x16.png" /> <abbr title="Really Simple Syndication">RSS</abbr></a></li> <li><a href="http://imthi.com/comments/feed" title="The latest comments to all posts in RSS">Comments <abbr title="Really Simple Syndication">RSS</abbr></a></li> <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="This page validates as XHTML 1.0 Transitional, eXtensible HyperText Markup Language">XHTML</abbr></a></li> <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li> </ul> </div> </li> </ul> <div align="center"> <p><a href="http://www2.clustrmaps.com/counter/maps.php?url=http://imthi.com" id="clustrMapsLink"><img src="http://www2.clustrmaps.com/counter/index2.php?url=http://imthi.com" alt="Visitor map" border="0" /></a></p> <p><script type='text/javascript' language='JavaScript' src='http://xslt.alexa.com/site_stats/js/t/b?url=imthi.com'></script></p> </div> </div> <div class="clearer"><span></span></div> </div> <div class="footer"> <a href="http://www.flipcorp.com/">Flip Media - interactive digital agency in Dubai</a> | <a href="http://propdubai.com/" title="Properties in Dubai">Properties in Dubai</a> <br /> Copyright © 2005 - 2008 <a title="Imthiaz Blog" href="http://imthi.com">H.M Imthiaz Rafiq</a> | Imthiaz Blog is powered by <a href="http://wordpress.org" title="WordPress">WordPress</a> and theme by <a href="http://web.ygoy.com/2008/05/05/yg-desire-2-column-widget-ready-wordpress-theme/">YGoY</a> </div> <!-- SyntaxHighlighter Stuff --> <script type="text/javascript" src="http://imthi.com/wp-content/plugins/syntaxhighlighter/files/shCore.js"></script> <script type="text/javascript"> dp.SyntaxHighlighter.ClipboardSwf = 'http://imthi.com/wp-content/plugins/syntaxhighlighter/files/clipboard.swf'; dp.SyntaxHighlighter.HighlightAll('code'); </script> <script type="text/javascript" language="javascript"> <!-- $(document).ready(function(){ $('div.entry img').each(function(){ if($(this).parent().is('a')){ $(this).parent().attr('rel',$(this).parents('div.entry').attr('id')); $(this).parent().attr('class','jqueryLightbox'); $(this).parent().attr('title',$(this).attr('title')); } }); $('.jqueryLightbox').lightbox(); $("#sidebarwidgeted1").accordion({ autoHeight: false , header: '.header' }); }); --> </script> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> <script type="text/javascript"> <!-- _uacct = "UA-3996483-1"; urchinTracker(); --> </script> </body> </html>