<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>madberry.org&#187; madberry.org Kubuntu How To&#8217;s &amp; News.  Linux and Opensource.</title> <atom:link href="http://madberry.org/tag/images/feed/" rel="self" type="application/rss+xml" /><link>http://madberry.org</link> <description>Kubuntu, Linux, Hardware.</description> <lastBuildDate>Thu, 17 Jun 2010 00:36:43 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>Using Script-fu in GIMP</title><link>http://madberry.org/2008/10/using-script-fu-in-gimp/</link> <comments>http://madberry.org/2008/10/using-script-fu-in-gimp/#comments</comments> <pubDate>Sun, 05 Oct 2008 00:58:05 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[Apps]]></category> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[command]]></category> <category><![CDATA[folders]]></category> <category><![CDATA[gimp]]></category> <category><![CDATA[gimptalk forum]]></category> <category><![CDATA[height ratio]]></category> <category><![CDATA[image height]]></category> <category><![CDATA[image width]]></category> <category><![CDATA[images]]></category> <category><![CDATA[macro function]]></category> <category><![CDATA[photo gallery]]></category> <category><![CDATA[scale ratio]]></category> <category><![CDATA[talk forum]]></category> <category><![CDATA[wheel]]></category> <category><![CDATA[width ratio]]></category><guid isPermaLink="false">http://madberry.org/?p=594</guid> <description><![CDATA[I upload images a lot and needed a way to batch resize 35 or more for use. When putting a photo gallery online with 30 or more images, it sometimes becomes a real drag to scale down one by one.  When I was using Photoshop, I used the automate process to create a macro. However [...]]]></description> <content:encoded><![CDATA[<p><script type='text/javascript'>/*<![CDATA[*/var m3_u=(location.protocol=='https:'?'https://adshost.org/www/delivery/ajs.php':'http://adshost.org/www/delivery/ajs.php');var m3_r=Math.floor(Math.random()*99999999999);if(!document.MAX_used)document.MAX_used=',';document.write("<scr"+"ipt type='text/javascript' src='"+m3_u);document.write("?zoneid=25");document.write('&amp;cb='+m3_r);if(document.MAX_used!=',')document.write("&amp;exclude="+document.MAX_used);document.write(document.charset?'&amp;charset='+document.charset:(document.characterSet?'&amp;charset='+document.characterSet:''));document.write("&amp;loc="+escape(window.location));if(document.referrer)document.write("&amp;referer="+escape(document.referrer));if(document.context)document.write("&context="+escape(document.context));if(document.mmm_fo)document.write("&amp;mmm_fo=1");document.write("'><\/scr"+"ipt>");/*]]>*/</script><noscript><a href='http://adshost.org/www/delivery/ck.php?n=abef9e34&cb=564565' target='_blank'><img src='http://adshost.org/www/delivery/avw.php?zoneid=25&cb=34535345&n=abef9e34' border='0' alt='' /></a></noscript></p><p>I upload images a lot and needed a way to batch resize 35 or more for use.</p><p>When putting a photo gallery online with 30 or more images, it sometimes becomes a real drag to scale down one by one.   When I was using Photoshop, I used the automate process to create a macro. However in GIMP, Script-fu is used and is an excellent way for batch editing, but it doesn&#8217;t have macro function.  Script-fu as name suggests, uses a script for batch editing.</p><p>Script-fu was developed to allow a command line access to GIMP. In this case how ever we will be using the user interface version.</p><p>I need to find a script to perform the task&#8217;s I wanted. Found it on the <a title="gimptalk" href="http://www.gimptalk.com/forum/script-fu-batch-resize-p226392.html" target="_blank">gimptalk forum</a>.   Yes I could have written a script my self but why waste the time.</p><p>There is a downloadable script that doesn&#8217;t adjust width and height like I wanted.  I wanted to scale the images from 100% to 50%.<br /> <span id="more-594"></span><br /> Scroll down there you will find the following script:</p><pre class="code">(define (script-fu-batch-scale-ratio globexp ratio)
  (define (resize-img n f)
   (let* ((fname (car f))
          (img (car (gimp-file-load 1 fname fname))))
       (let* (
             (drawable   (car (gimp-image-active-drawable img)))
             (cur-width  (car (gimp-image-width img)))
             (cur-height (car (gimp-image-height img)))
          (new-width  (* ratio cur-width))
          (new-height (* ratio cur-height))
             (new_ratio      (min (/ new-width cur-width) (/ new-height cur-height)))
             (width      (* new_ratio cur-width))
             (height     (* new_ratio cur-height))
          )

         (gimp-image-undo-disable img)
         (gimp-image-scale img width height)
         (gimp-file-save 1 img (car (gimp-image-get-active-drawable img)) fname fname)
         (gimp-image-delete img)
      )
    )
    (if (= n 1) 1 (resize-img (- n 1) (cdr f)))
  )
  (let* ((files (file-glob globexp 0)))
     (resize-img (car files) (car (cdr files))))
)

(script-fu-register "script-fu-batch-scale-ratio"
          _"Batch Image Scale By Ratio"
          "Hey!"
          "Nicholas Herring and Richard Hirner (http://www.gimptalk.com/forum/topic/Script-fu-Batch-Resi-e-9440-1.html) &amp; ADP (http://www.adp-gmbh.ch/misc/tools/script_fu/ex_10.html), hello_earth"
          "2008, Nicholas Herring based on a script by Richard Hirner"
          "March 26, 2008"
          ""
          SF-STRING "Full path with wildcards" "C:\\Test\\*.jpg"
          SF-VALUE "Scaling ratio (min 0.01, max 1)" "0.50")
(script-fu-menu-register "script-fu-batch-scale-ratio"
          "/Xtns/Misc")</pre><p>Copy the code and create a new text file.  Then paste the code save it and close:</p><pre class="code">cd ~/Desktop &amp;&amp; nano batch_rescale.scm</pre><p>Or you can point and click.  Go to the desktop and right click and select create new then text file name the file batch_rescale.scm, now copy, save and close.</p><p>To make sure our new script will be picked up and loaded by GIMP, it needs to be copied to the script directory in the configuration folder for GIMP.</p><pre class="code">cd ~/Desktop &amp;&amp; cp batch_rescale.scm ~/.gimp-2.4/scripts/</pre><p>Or the point and click way in <strong>Konqueror</strong>:</p><p>Right click the file on the desktop and copy.  Open Konqueror click home holder then click on view. Then click on show hidden files, you will be able to scroll down to .gimp-2.4 folder and click on it.  Scroll to the scripts folder and click on it, paste the file in there.  Now close Konqueror.</p><p>With <strong>D3lphin</strong>:</p><p>Right click on file on the Desktop and copy.  Open D3lphin and click view. Select show hidden files, scroll down to .gimp-2.4 folder then click on it. Scroll to the scripts folder and paste file in there. Now close D3lphin.</p><p>Now that the script has been copied, how do we use it?</p><p>Let&#8217;s make sure we understand this script replaces the image or photo.  If you are like me and like to keep the originals, then copy the folder with the images you want to scale down and use the script on the copy.</p><p>Here&#8217;s an image of the files I&#8217;m going to scale:<br /> <a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/script_fu/script-fu01.png" rel="lightbox[594]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/script_fu/thumbs/thumbs_script-fu01.png" alt="script-fu01.png" /></a><br /> As you can see most of these photos are over 2MB.</p><p>Lets scale them down and see what we and up with.</p><p>Open GIMP.</p><p>Go to the &#8220;xtns&#8221;:<br /> <a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/script_fu/script-fu02.png" rel="lightbox[594]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/script_fu/thumbs/thumbs_script-fu02.png" alt="script-fu02.png" /></a><br /> Select misc then click &#8220;batch image scale by ratio&#8221;.<br /> <a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/script_fu/script-fu03.png" rel="lightbox[594]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/script_fu/thumbs/thumbs_script-fu03.png" alt="script-fu03.png" /></a></p><p>A window will open, change the directory to the location of your images, in my case:</p><pre class="code">/home/madberry/Pictures/20080928/*.JPG</pre><p><a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/script_fu/script-fu04.png" rel="lightbox[594]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/script_fu/thumbs/thumbs_script-fu04.png" alt="script-fu04.png" /></a><br /> Note I used a &#8220;*&#8221; as a wild card so all  images in the directory will be scaled down.<br /> Script in action:<br /> <a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/script_fu/script-fu05.png" rel="lightbox[594]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/script_fu/thumbs/thumbs_script-fu05.png" alt="script-fu05.png" /></a></p><p>Here&#8217;s the result, smaller files that will load up quickly in any web browser.<br /> <a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/script_fu/script-fu06.png" rel="lightbox[594]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/script_fu/thumbs/thumbs_script-fu06.png" alt="script-fu06.png" /></a></p><p>Because we are using a ratio to scale images we don&#8217;t have to worry about the photo being a landscape or portrait.</p><p>Simple and easy way to scale down images.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 19, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/" title="How to get Atheros AR242x wireless to work. 2">How to get Atheros AR242x wireless to work. 2</a> (125)</li><li>August 30, 2008 -- <a href="http://madberry.org/2008/08/fstab-demystified-how-to-add-partitions-and-more/" title="fstab demystified how to add partitions and more">fstab demystified how to add partitions and more</a> (0)</li><li>August 10, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/" title="How to get Atheros AR242x wireless to work.">How to get Atheros AR242x wireless to work.</a> (4)</li><li>February 11, 2009 -- <a href="http://madberry.org/2009/02/how-to-search-terminal-commands-recently-used/" title="How To Search Terminal Commands Recently Used">How To Search Terminal Commands Recently Used</a> (0)</li><li>August 27, 2008 -- <a href="http://madberry.org/2008/08/maximum-number-of-clients-reached/" title="Maximum number of clients reached.">Maximum number of clients reached.</a> (3)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/10/using-script-fu-in-gimp/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to get Atheros AR242x wireless to work. 2</title><link>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/</link> <comments>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/#comments</comments> <pubDate>Tue, 19 Aug 2008 22:31:50 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[AR242x]]></category> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[a205]]></category> <category><![CDATA[atheros communications inc]]></category> <category><![CDATA[beta]]></category> <category><![CDATA[boxes]]></category> <category><![CDATA[command]]></category> <category><![CDATA[computer disclaimer]]></category> <category><![CDATA[couple of minutes]]></category> <category><![CDATA[folders]]></category> <category><![CDATA[geek]]></category> <category><![CDATA[google]]></category> <category><![CDATA[gutsy]]></category> <category><![CDATA[hardware drivers]]></category> <category><![CDATA[images]]></category> <category><![CDATA[k]]></category> <category><![CDATA[kernel]]></category> <category><![CDATA[kernel 2]]></category> <category><![CDATA[laptop]]></category> <category><![CDATA[madwifi]]></category> <category><![CDATA[pci]]></category> <category><![CDATA[pci express]]></category> <category><![CDATA[proprietary drivers]]></category> <category><![CDATA[start button]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[Terminal]]></category> <category><![CDATA[toshiba]]></category> <category><![CDATA[ubuntu]]></category> <category><![CDATA[update]]></category> <category><![CDATA[wget]]></category> <category><![CDATA[windows drivers]]></category> <category><![CDATA[wireless pci]]></category><guid isPermaLink="false">http://madberry.org/?p=445</guid> <description><![CDATA[**11-07-2008** Here is the Solution currently used on 8.10: How To Get Atheros AR242x To Work On 8.10 Intrepid Ibex **10-23-2008** This how to still uses madwifi-hal-0.10.5.6-current.tar.gz And has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-21-generic. And once again every one who has problems please re-try the [...]]]></description> <content:encoded><![CDATA[<div style="color: #ff0000;">**11-07-2008** Here is the Solution currently used on 8.10: <a title="how to get atheros ar242x wireless to work 2" href="http://madberry.org/2008/11/how-to-get-atheros-ar242x-to-work-on-810-intrepid-ibex/" target="_self">How To Get Atheros AR242x To Work On 8.10 Intrepid Ibex</a></div><p><span style="color: #33cc33;">**10-23-2008** This how to still uses <em>madwifi-hal-0.10.5.6-current.tar.gz</em> And has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-21-generic.  And once again every one who has problems please re-try the how to.</span></p><p><span>**09-17-2008** Thanks to Gideon, who told me the links weren&#8217;t working any more.  This how to now uses <em>madwifi-hal-0.10.5.6-current.tar.gz</em> As always this revision has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-19-generic.  And once again every one who has problems please re-try the how to.</span></p><p><span>**09-03-2008** This How to now uses the newest snapshot madwifi-hal-2008-08-15-r3862-20080903.tar.gz.  As always this revision has been tested by me and works for (K)Ubuntu 8.0.4.1(both x86-64 and i686) with kernel 2.6.24-19-generic.</span></p><p><span>**09-01-2008** This How to now uses the newest snapshot madwifi-hal-2008-08-15-r3851-20080829.tar.gz.  If you posted a comment to say it isn&#8217;t working then please re-run everything.  And report back to verify that the solution is now working for you. As always this revision has been tested by me and works for (K)Ubuntu 8.0.4.1 with kernel 2.6.24-19-generic.</span></p><p><span style="color: #ffff00;">This is a revision of my <a title="Orig. post" href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/">original</a> post using the solution provided by Madwifi it&#8217;s been tested by me and it works.</span></p><p><span style="font-size: 10px; color: #ffff00;">Windows drivers are <a style="color: #ffff00; font-size: 10px;" title="Windows Drivers" href="http://www.atheros.cz/" target="_blank">here</a></span></p><p>If you own the same laptop as I do, a Toshiba A205-S5825, then you probably have the same problem, if you are using Hardy or Gutsy with the newest Kernel(2.6.24-19-generic) or older, the wireless doesn&#8217;t work out of the box.</p><p>It cost me about an hour to solve this mainly because no one knew anything about this particular chipset.</p><p>So here is the solution for the AR242x.  If you have a chipset in the A5700 series then this could work for you too.</p><p>The solution is quite simple and only takes you a couple of minutes to apply and then you can use your wireless.</p><p>For this How to you do need wired internet to the computer.<br /> <span id="more-445"></span><br /> <strong><span style="color: #ff0000;">Disclaimer:<br /> The Package we&#8217;re about to use is as far as I know in beta.  Installing this package might make your installation of Kubuntu(or Ubuntu) unstable.  I am not responsible for any problems that arise after installing this package.  But do feel free to post a comment for help if something doesn&#8217;t work right I will respond back and try to work with you to fix it.  I am NOT responsible for damage to hardware as a result of applying anything you find on this website.<br /> </span></strong></p><p>First let&#8217;s make sure your computer uses the same chipset(or something similar) run in terminal:</p><pre class="code">lspci | grep Atheros</pre><p>If the result is as follows or something similar then you are able to use this fix.</p><pre class="code">05:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)</pre><p>If the result of the command ran is nothing the you don&#8217;t have an Atheros chipset and your read on this page stops here.  Please go to the forums on <a title="Ubuntu Forums" href="http://www.ubuntuforums.org" target="_blank">Ubuntu</a> and <a title="Kubuntu Forums" href="http://www.kubuntuforums.net" target="_blank">Kubuntu</a> there is a big community there to help you solve your problem or try Google.</p><p><a name="before"></a>Before we start we need to make sure that already installed modules are not &#8220;in use&#8221;.  Click on the Kubuntu start button go to system and click on the &#8220;Hardware Drivers Manager&#8221; this is where you will find all proprietary drivers. But we&#8217;re looking for everything that has Atheros in it. Tick the box behind of &#8220;Atheros Hardware Access Layer(HAL)&#8221;  and &#8220;Support for Atheros 802.11 wireless LAN cards&#8221; and restart the computer.</p><p>In Terminal go to your desktop:</p><pre class="code">cd ~/Desktop</pre><p>Then download the Madwifi driver needed for this How to:</p><pre class="code">wget -c http://snapshots.madwifi-project.org/madwifi-hal-0.10.5.6-current.tar.gz</pre><p>Untar the Image file(don&#8217;t worry it will create a new folder):</p><pre class="code">tar xvf madwifi*.tar.gz</pre><p>Go into the just created folder:</p><pre class="code">cd madwifi*r*</pre><p>Because we are going to <a href="javascript:animatedcollapse.toggle('collapse')">compile</a> from <a href="javascript:animatedcollapse.toggle('collapse1')">source code</a> we need to make sure the essentials to do so are installed.</p><div id="collapse" class="collapse" style="display: none;"><p><strong>Compile</strong><br /> use a computer program to translate source code written in a particular programming language into computer-readable machine code that can be executed.</p><p><a href="javascript:animatedcollapse.hide('collapse')"><strong>Hide</strong></a></p></div><div id="collapse1" class="collapse" style="display: none;"><p><strong>Source Code</strong></p><p>The underlying code that makes up a software program. Most commercially available programs come in &#8220;binary&#8221; form, which is nearly impossible for humans to comprehend. Source code, however, is comprehensible, and if you have it, you can learn how a program does something, change it so it does something else, or otherwise improve it. True geeks swear by source code.</p><p><a href="javascript:animatedcollapse.hide('collapse1')"><strong>Hide</strong></a></p></div><pre class="code">sudo apt-get update &amp;&amp; sudo aptitude install build-essential</pre><p>Now run:</p><pre class="code">make</pre><pre class="code">sudo make install</pre><pre class="code">sudo modprobe ath_pci</pre><pre class="code">sudo modprobe wlan_scan_sta</pre><p><span style="color: #00ff00;">If you get any errors running the modprobe commands you probably forgot to switch off the modules in the first place go back to <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/#before">this</a> and then try modprobe again.</span></p><p>As noted by &#8220;TheGreatGonzo&#8221; you might have to restart here.  Before you can enable the proprietary drivers again.<br /> As noted by &#8220;Choval&#8221; in case it doesn&#8217;t work after a restart:</p><blockquote><p>blacklist ath_hal<br /> (on /etc/modprobe.d/blacklist)<br /> Reboot, and voila… works like a charm =)</p></blockquote><p>Now the same as we did before:<br /> Click on the Kubuntu start button go to system and click on the &#8220;Hardware Drivers Manager&#8221; this is where you will find all proprietary drivers. But we&#8217;re looking for everything that has Atheros in it. Tick the box in behind of &#8220;Atheros Hardware Access Layer(HAL)&#8221;  and &#8220;Support for Atheros 802.11 wireless LAN cards&#8221; and restart the computer.</p><p>Now you have wireless.</p><p>Keep in mind that every time the Kernel gets updated you have to run these commands again:</p><pre class="code">sudo apt-get update &amp;&amp; sudo aptitude install build-essential</pre><p>Now run:</p><pre class="code">make clean</pre><pre class="code">make</pre><pre class="code">sudo make install</pre><pre class="code">sudo modprobe ath_pci</pre><pre class="code">sudo modprobe wlan_scan_sta</pre><p>Off course in the madwifi folder.  You might want to move the folder to your home folder because we&#8217;ll need it again after a Kernel update.</p><p>To get your wireless back up that is until they fix the problem in the Kernel and wireless works after restarting with the new Kernel.</p><p>Don&#8217;t be shy let us know in the comments below if the solution worked or not(in that case I can assist you and get it to work) .</p><p>If this page helped you out at all then please <a href="http://madberry.org/donate">donate</a>. <a href="http://madberry.org/donate">Donations</a> will go towards the hosting cost for this website.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 10, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/" title="How to get Atheros AR242x wireless to work.">How to get Atheros AR242x wireless to work.</a> (4)</li><li>August 23, 2008 -- <a href="http://madberry.org/2008/08/sound-problem-fixed/" title="Sound problem fixed.">Sound problem fixed.</a> (0)</li><li>November 7, 2008 -- <a href="http://madberry.org/2008/11/how-to-get-atheros-ar242x-to-work-on-810-intrepid-ibex/" title="How To Get Atheros AR242x To Work on 8.10 Intrepid Ibex">How To Get Atheros AR242x To Work on 8.10 Intrepid Ibex</a> (528)</li><li>August 13, 2008 -- <a href="http://madberry.org/2008/08/what-modules-device-drivers-have-got-installed/" title="What modules device drivers have got installed">What modules device drivers have got installed</a> (2)</li><li>August 30, 2008 -- <a href="http://madberry.org/2008/08/fstab-demystified-how-to-add-partitions-and-more/" title="fstab demystified how to add partitions and more">fstab demystified how to add partitions and more</a> (0)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/feed/</wfw:commentRss> <slash:comments>125</slash:comments> </item> <item><title>How to get Atheros AR242x wireless to work.</title><link>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/</link> <comments>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/#comments</comments> <pubDate>Sun, 10 Aug 2008 22:30:59 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[AR242x]]></category> <category><![CDATA[Internet]]></category> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[a205]]></category> <category><![CDATA[atheros communications inc]]></category> <category><![CDATA[beta]]></category> <category><![CDATA[computer disclaimer]]></category> <category><![CDATA[couple of minutes]]></category> <category><![CDATA[folders]]></category> <category><![CDATA[google]]></category> <category><![CDATA[gutsy]]></category> <category><![CDATA[hardware drivers]]></category> <category><![CDATA[images]]></category> <category><![CDATA[kernel 2]]></category> <category><![CDATA[laptop]]></category> <category><![CDATA[mad]]></category> <category><![CDATA[madwifi]]></category> <category><![CDATA[madwifi driver]]></category> <category><![CDATA[pci express]]></category> <category><![CDATA[proprietary drivers]]></category> <category><![CDATA[start button]]></category> <category><![CDATA[sudo]]></category> <category><![CDATA[Terminal]]></category> <category><![CDATA[toshiba]]></category> <category><![CDATA[wget]]></category> <category><![CDATA[wifi]]></category> <category><![CDATA[wireless pci]]></category><guid isPermaLink="false">http://madberry.org/?p=260</guid> <description><![CDATA[Windows drivers are here Aug 18 2008: This is a The old version and this solution isn&#8217;t recommended anymore please use: the solution in my new post it&#8217;s been tested by me and it works. If you own the same laptop as I do, a Toshiba A205-S5825, then you probably have the same problem, if [...]]]></description> <content:encoded><![CDATA[<p><span style="font-size: 10px; color: #ffff00;">Windows drivers are <a style="color: #ffff00;font-size: 10px;" title="Windows Drivers" href="http://www.atheros.cz/" target="_blank">here</a></span></p><p><span style="font-size: 16px; color: #ff0000;"><strong>Aug 18 2008</strong>: This is a The old version and this solution isn&#8217;t recommended anymore please use: <a title="Original post" href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/">the solution in my new post</a> it&#8217;s been tested by me and it works.</span></p><p>If you own the same laptop as I do, a Toshiba A205-S5825, then you probably have the same problem, if you are using Hardy or Gutsy with the newest Kernel(2.6.24-19-generic) or older, the wireless doesn&#8217;t work out of the box.</p><p>It cost me about an hour to solve this mainly because no one knew anything about this particular chipset.</p><p>So here is the solution for the AR242x.  If you have a chipset in the A5700 series then this could work for you too.</p><p>The solution is quite simple and only takes you a couple of minutes to apply and then you can use your wireless.</p><p>For this How to you do need wired internet to the computer.<br /> <span id="more-260"></span><br /> <strong><span style="color: #ff0000;">Disclaimer:<br /> The Package we&#8217;re about to use is as far as I know in beta.  Installing this package might make your installation of Kubuntu(or Ubuntu) unstable.  I am not responsible for any problems that arise after installing this package.  But do feel free to post a comment for help if something doesn&#8217;t work right I will respond back and try to work with you to fix it.  I am NOT responsible for damage to hardware as a result of applying anything you find on this website.<br /> </span></strong></p><p>First let&#8217;s make sure your computer uses the same chipset(or something similar) run in terminal:</p><pre class="code">lspci | grep Atheros</pre><p>If the result is as follows or something similar then you are able to use this fix.</p><pre class="code">05:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)</pre><p>If the result of the command ran is nothing the you don&#8217;t have an Atheros chipset and your read on this page stops here.  Please go to the forums on <a title="Ubuntu Forums" href="http://www.ubuntuforums.org" target="_blank">Ubuntu</a> and <a title="Kubuntu Forums" href="http://www.kubuntuforums.net" target="_blank">Kubuntu</a> there is a big community there to help you solve your problem or try Google.</p><p>Thanks to <a title="Ubuntu Geek" href="http://www.ubuntugeek.com" target="_blank">Ubuntugeek</a> for providing the primer for this post.</p><p>Here is the difference between the how to&#8217;s:</p><p><a name="before"></a>Before we start we need to make sure that already installed modules are not &#8220;in use&#8221;.  Click on the Kubuntu start button go to system and click on the &#8220;Hardware Drivers Manager&#8221; this is where you will find all proprietary drivers. But we&#8217;re looking for everything that has Atheros in it. Tick the box behind of &#8220;Atheros Hardware Access Layer(HAL)&#8221;  and &#8220;Support for Atheros 802.11 wireless LAN cards&#8221; and restart the computer.</p><p>In Terminal go to your desktop:</p><pre class="code">cd ~/Desktop</pre><p>Then download the Madwifi driver needed for this How to:</p><pre class="code">wget -c http://madberry.org/wp-content/madwifi-ng-r2756+ar5007.tar.gz</pre><p>Untar the Image file(don&#8217;t worry it will create a new folder):</p><pre class="code">tar xvf madwifi-ng-r2756+ar5007.tar.gz</pre><p>Go into the just created dir:</p><pre class="code">cd madwifi-ng-r2756+ar5007</pre><p>Because we are going to <a href="javascript:animatedcollapse.toggle('collapse')">compile</a> from <a href="javascript:animatedcollapse.toggle('collapse1')">source code</a> we need to make sure the essentials to do so are installed.</p><div id="collapse" class="collapse" style="display: none;"><p><strong>Compile</strong><br /> use a computer program to translate source code written in a particular programming language into computer-readable machine code that can be executed.</p><p align="right"><a href="javascript:animatedcollapse.hide('collapse')"><strong>Hide</strong></a></p></div><div id="collapse1" class="collapse" style="display: none;"><p><strong>Source Code</strong></p><p>The underlying code that makes up a software program. Most commercially available programs come in &#8220;binary&#8221; form, which is nearly impossible for humans to comprehend. Source code, however, is comprehensible, and if you have it, you can learn how a program does something, change it so it does something else, or otherwise improve it. True geeks swear by source code.</p><p align="right"><a href="javascript:animatedcollapse.hide('collapse1')"><strong>Hide</strong></a></p></div><pre class="code">sudo apt-get update &amp;&amp; sudo aptitude install build-essential</pre><p>Now run:</p><pre class="code">sudo make install</pre><pre class="code">sudo modprobe ath_pci</pre><pre class="code">sudo modprobe wlan_scan_sta</pre><p><span style="color: #00ff00;">If you get any errors running the modprobe commands you probably forgot to switch off the modules in the first place go back to <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/#before">this</a> and then try modprobe again.</span></p><p>Now the same as we did before:<br /> Click on the Kubuntu start button go to system and click on the &#8220;Hardware Drivers Manager&#8221; this is where you will find all proprietary drivers. But we&#8217;re looking for everything that has Atheros in it. Tick the box in behind of &#8220;Atheros Hardware Access Layer(HAL)&#8221;  and &#8220;Support for Atheros 802.11 wireless LAN cards&#8221; and restart the computer.</p><p>Now you have wireless.</p><p>Keep in mind that every time the Kernel gets updated you have to run these commands again:</p><pre class="code">sudo apt-get update &amp;&amp; sudo aptitude install build-essential</pre><p>Now run:</p><pre class="code">sudo make install</pre><pre class="code">sudo modprobe ath_pci</pre><pre class="code">sudo modprobe wlan_scan_sta</pre><p>Off course in the madwifi folder.  You might want to move the folder to your home folder because we&#8217;ll need it again after a Kernel update.</p><p>To get your wireless back up that is until they fix the problem in the Kernel and wireless works after restarting with the new Kernel.</p><p>If this page helped you out at all then please donate below.  Donations will go towards the hosting cost for this website.</p><p><embed src="http://widget.chipin.com/widget/id/e005f4d97bbd18c6" flashVars="event_title=Help%20This%20Site&#038;event_desc=Donate%20Please&#038;color_scheme=blue" type="application/x-shockwave-flash" allowScriptAccess="always" wmode="transparent" width="220" height="220"></embed></p><p>Thanks for donating.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 19, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/" title="How to get Atheros AR242x wireless to work. 2">How to get Atheros AR242x wireless to work. 2</a> (125)</li><li>August 23, 2008 -- <a href="http://madberry.org/2008/08/sound-problem-fixed/" title="Sound problem fixed.">Sound problem fixed.</a> (0)</li><li>August 7, 2008 -- <a href="http://madberry.org/2008/08/mini-how-to-list-devices-in-kubuntu/" title="List Devices in Kubuntu.">List Devices in Kubuntu.</a> (0)</li><li>April 6, 2009 -- <a href="http://madberry.org/2009/04/took-the-plunge-jaunty-jackalope-kubuntu-904-on-laptop/" title="Took The Plunge Jaunty Jackalope Kubuntu 9.04 On Laptop">Took The Plunge Jaunty Jackalope Kubuntu 9.04 On Laptop</a> (0)</li><li>November 7, 2008 -- <a href="http://madberry.org/2008/11/how-to-get-atheros-ar242x-to-work-on-810-intrepid-ibex/" title="How To Get Atheros AR242x To Work on 8.10 Intrepid Ibex">How To Get Atheros AR242x To Work on 8.10 Intrepid Ibex</a> (528)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Download an entire site with wget.</title><link>http://madberry.org/2008/08/download-an-entire-site-with-wget/</link> <comments>http://madberry.org/2008/08/download-an-entire-site-with-wget/#comments</comments> <pubDate>Wed, 06 Aug 2008 17:51:19 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[Mini How To]]></category> <category><![CDATA[hd]]></category> <category><![CDATA[html page]]></category> <category><![CDATA[images]]></category> <category><![CDATA[internet connection]]></category> <category><![CDATA[mozilla web]]></category> <category><![CDATA[simple solution]]></category> <category><![CDATA[wallpaper]]></category> <category><![CDATA[wallpapers]]></category> <category><![CDATA[wget]]></category><guid isPermaLink="false">http://madberry.org/?p=171</guid> <description><![CDATA[&#8220;Mini How To&#8221; Download an entire site with wget. Ever wanted to download every image on a website?  Like wallpapers but don&#8217;t wanna spend the time to download them individually? There is an easy way using Terminal. The website myhdwallpaper.com has 9000+ HD wallpapers but I really don&#8217;t have the time to click through every [...]]]></description> <content:encoded><![CDATA[<p>&#8220;Mini How To&#8221; Download an entire site with wget.</p><p>Ever wanted to download every image on a website?  Like wallpapers but don&#8217;t wanna spend the time to download them individually?</p><p>There is an easy way using Terminal.</p><p>The website <a class="wp-caption-dd" title="My HD Wallpapers" href="http://myhdwallpaper.com" target="_blank">myhdwallpaper.com</a> has 9000+ HD wallpapers but I really don&#8217;t have the time to click through every wallpaper and just download the one I want.</p><p>The simple solution is to just do a:</p><pre class="code">wget http://myhdwallpaper.com</pre><p>This would download the entire website in a flash(depending on your internet connection).  But what if we want to download without the webmaster of the website noticing right away (a good webmaster will notice no matter what) we can use the following command:</p><pre class="code">wget --wait=20 --limit-rate=20K -r -p -U Mozilla http://myhdwallpaper.com</pre><p>Let&#8217;s explain.<br /> <code><strong>--wait=20</strong></code> will make wget wait 20 seconds before downloading a new file.<br /> <code><strong>--limit-rate=20K</strong></code> will limit the download rate to 20K<br /> <code><strong>-r</strong></code> recursively follow directories<br /> <code><strong>-p</strong></code> get all images etc. needed to display the html page.<br /> <code><strong>-U mozilla</strong></code> identify as a Mozilla web browser instead of wget version.</p><p>Check out:</p><pre class="code">man wget</pre><p>and</p><pre class="code">wget --help</pre><p>for more options.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 19, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/" title="How to get Atheros AR242x wireless to work. 2">How to get Atheros AR242x wireless to work. 2</a> (125)</li><li>August 10, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/" title="How to get Atheros AR242x wireless to work.">How to get Atheros AR242x wireless to work.</a> (4)</li><li>October 4, 2008 -- <a href="http://madberry.org/2008/10/using-script-fu-in-gimp/" title="Using Script-fu in GIMP">Using Script-fu in GIMP</a> (0)</li><li>August 27, 2008 -- <a href="http://madberry.org/2008/08/maximum-number-of-clients-reached/" title="Maximum number of clients reached.">Maximum number of clients reached.</a> (3)</li><li>August 7, 2008 -- <a href="http://madberry.org/2008/08/mini-how-to-list-devices-in-kubuntu/" title="List Devices in Kubuntu.">List Devices in Kubuntu.</a> (0)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/08/download-an-entire-site-with-wget/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>So I&#8217;ve Installed Kubuntu, now what?</title><link>http://madberry.org/2008/08/so-ive-installed-kubuntu-now-what/</link> <comments>http://madberry.org/2008/08/so-ive-installed-kubuntu-now-what/#comments</comments> <pubDate>Wed, 06 Aug 2008 03:33:51 +0000</pubDate> <dc:creator>[mad]Berry</dc:creator> <category><![CDATA[Beginners]]></category> <category><![CDATA[Kubuntu]]></category> <category><![CDATA[bottom corner]]></category> <category><![CDATA[evangelists]]></category> <category><![CDATA[firefox]]></category> <category><![CDATA[goto web]]></category> <category><![CDATA[guru]]></category> <category><![CDATA[images]]></category> <category><![CDATA[last time]]></category> <category><![CDATA[libraries]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[microsoft excel]]></category> <category><![CDATA[microsoft point]]></category> <category><![CDATA[microsoft word]]></category> <category><![CDATA[photo library]]></category> <category><![CDATA[player]]></category> <category><![CDATA[point and click]]></category> <category><![CDATA[point of view]]></category> <category><![CDATA[spreadsheet]]></category> <category><![CDATA[spreadsheets]]></category> <category><![CDATA[start menu]]></category> <category><![CDATA[task manager]]></category> <category><![CDATA[Terminal]]></category> <category><![CDATA[web browser]]></category> <category><![CDATA[windows environment]]></category> <category><![CDATA[word processor]]></category><guid isPermaLink="false">http://madberry.org/?p=127</guid> <description><![CDATA[&#8220;How to use Adept Package Manager to install packages&#8221; Allot of Kubuntu(or Linux in general) evangelists will tell you that Terminal is the way to go.  However for people that come from the Microsoft &#8220;point and click&#8221; windows environment this might be harder then we think or assume.  That is why I try to add [...]]]></description> <content:encoded><![CDATA[<p>&#8220;How to use Adept Package Manager to install packages&#8221;<br /> Allot of Kubuntu(or Linux in general) evangelists will tell you that Terminal is the way to go.  However for people that come from the Microsoft &#8220;point and click&#8221; windows environment this might be harder then we think or assume.  That is why I try to add a non Terminal way if I can.</p><p>As a new user to Kubuntu you must have allot of questions like where do I find anything in Kubuntu if &#8220;point and click&#8221; is your thing then the start menu is the way to go this icon is your friend:</p><p><img class="ngg-none" src="http://madberry.org/wp-content/gallery/icons/thumbs/thumbs_kmenu.png" border="0" alt="kmenu.png" width="54" height="54" /></p><p>You can find it in the left bottom corner.<br /> It is home to all applications on your Kubuntu installation.<br /> There are 6 category&#8217;s on a new installation of Kubuntu(that means before adding any other applications):</p><p>If you take your mouse and just browse through all the category&#8217;s you&#8217;ll see that the applications you find are what you would expect.<br /> <span id="more-127"></span><br /> In Graphics:</p><p>Digikam the Photo managing app also used for downloading pictures of your digital camera.  I use Digikam all the time to browse my photo&#8217;s and manage our big photo library.</p><p>In Internet:</p><p>Konqueror the goto web browser in Kubuntu.</p><p>Multimedia:</p><p>Amarok a music player and manager.</p><p>Office:</p><p>Openoffice Write(Like Microsoft Word) The word processor.<br /> Openoffice Spreadsheet(Like Microsoft Excel)  For all your spreadsheets.</p><p>System:</p><p>Konsole Terminal love command line.<br /> KSysGaurd Kubuntu&#8217;s Task Manager see what all processes are running.</p><p>Utilities:</p><p>Kate an awesome text editor.<br /> Speedcrunch The calculator in Kubuntu.</p><p>So now you&#8217;ve used the applications for a while and you wanna discover the rest of the great applications you can get for Kubuntu 24969 packages the last time I checked.</p><p>You can through Adept Package manager some of the guru would now say make them use apt or Synaptic.  The point of view from this post is to help the &#8220;point and click&#8221; people so installing through Terminal or installing another package to install packages is not the solution.</p><p>You can find adept under System in the start menu.</p><p><a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/adept_password.png" rel="lightbox[127]"><img class="ngg-singlepic ngg-left alignleft" src="http://madberry.org/wp-content/gallery/screendumps/thumbs/thumbs_adept_password.png" alt="adept_password.png" width="100" height="75" /></a>When adapt starts you have to put in your password because Kubuntu(and other Linix distro&#8217;s) require a password to install apps on you computer, this is to prevent self installers form installing just anything on your system.(a very good security matter against viruses that Microsoft has just implemented in the release Vista.)</p><p>The the Adept Manager window opens up.</p><p><a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/adept_manager01.png" rel="lightbox[127]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/thumbs/thumbs_adept_manager01.png" alt="adept_manager01.png" /></a></p><p>Let&#8217;s install some games in the search bar type kdegames:<br /> <a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/adept_searchbar.png" rel="lightbox[127]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/adept_searchbar.png" alt="adept_searchbar.png" /></a></p><p>Adept starts searching right away so no need for a Go button. Here is the result of that search:</p><p><a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/adept_manager02.png" rel="lightbox[127]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/thumbs/thumbs_adept_manager02.png" alt="adept_manager02.png" /></a></p><p>Click on the blue arrow in front of the kdegames package.<br /> <a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/adept_manager03.png" rel="lightbox[127]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/thumbs/thumbs_adept_manager03.png" alt="adept_manager03.png" /></a></p><p>Now click on &#8220;Request Install&#8221;:<br /> <a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/adept_kdegames_desc.png" rel="lightbox[127]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/thumbs/thumbs_adept_kdegames_desc.png" alt="adept_kdegames_desc.png" /></a></p><p>Then click &#8220;Apply Changes&#8221; in the menu bar:<br /> <a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/adept_menu.png" rel="lightbox[127]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/adept_menu.png" alt="adept_menu.png" /></a><br /> It&#8217;s grayed out on this image but you get the picture.</p><p>Adept will download the kdegames package and all dependencies(other packages needed to make kdegames work).<br /> <a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/adept_downloading.png" rel="lightbox[127]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/thumbs/thumbs_adept_downloading.png" alt="adept_downloading.png" /></a></p><p>Then it will prepare the packages for installation:<br /> <a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/adept_preparing.png" rel="lightbox[127]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/thumbs/thumbs_adept_preparing.png" alt="adept_preparing.png" /></a></p><p>Click on show details and this is what you see:<br /> <a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/adept_packages_installing.png" rel="lightbox[127]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/thumbs/thumbs_adept_packages_installing.png" alt="adept_packages_installing.png" /></a><br /> What you&#8217;re looking at now is plain old terminal output.</p><p>After the package is installed you&#8217;ll go back to the Adept Manager window:<br /> <a class="thickbox" href="http://madberry.org/wp-content/gallery/screendumps/adept_installed.png" rel="lightbox[127]"><img class="ngg-singlepic ngg-none" src="http://madberry.org/wp-content/gallery/screendumps/thumbs/thumbs_adept_installed.png" alt="adept_installed.png" /></a></p><p>Now close this window click the Kubuntu menu button you&#8217;ll see a new games category.<br /> you can install a whole host of applications for instance type &#8220;internet&#8221; in the search box and see what you find.</p><p>If youy want Firefox installed just put &#8220;firefox&#8221; in the search box and install the Firefox package&#8230;Now you can surf this site with Firefox.</p><p>If you like &#8220;point and click&#8221; and don&#8217;t use any of the &#8220;harder&#8221; to install package then you can use Adept Package Manager for all you installing goodness.</p><h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>May 8, 2009 -- <a href="http://madberry.org/2009/05/want-to-boot-linux-from-a-flash-drive/" title="Want To Boot Linux From A Flash Drive?">Want To Boot Linux From A Flash Drive?</a> (2)</li><li>August 23, 2008 -- <a href="http://madberry.org/2008/08/sound-problem-fixed/" title="Sound problem fixed.">Sound problem fixed.</a> (0)</li><li>August 19, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work-2/" title="How to get Atheros AR242x wireless to work. 2">How to get Atheros AR242x wireless to work. 2</a> (125)</li><li>August 13, 2008 -- <a href="http://madberry.org/2008/08/what-modules-device-drivers-have-got-installed/" title="What modules device drivers have got installed">What modules device drivers have got installed</a> (2)</li><li>August 10, 2008 -- <a href="http://madberry.org/2008/08/how-to-get-atheros-ar242x-wireless-to-work/" title="How to get Atheros AR242x wireless to work.">How to get Atheros AR242x wireless to work.</a> (4)</li></ul>]]></content:encoded> <wfw:commentRss>http://madberry.org/2008/08/so-ive-installed-kubuntu-now-what/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached (user agent is rejected)
Database Caching using memcached

Served from: madberry.org @ 2010-07-31 13:12:12 -->