Barrio Malawi - HOWTOs http://www.saintsjd.com/malawi/taxonomy/term/25/0 en Network Monitoring with Ubuntu http://www.saintsjd.com/malawi/blog/jon/network_monitoring_with_ubuntu <p>I am starting to publish the final results of my Fulbright research. Here is an article I published on the Ubuntu Linux Community wiki about creating a network monitoring server to analyze traffic on your network.</p> <p>It has proven to be an essential tool for my resaerch and for improving the campus network at Mzuzu University. If you want detailed analysis of who is doing what on your computer network, this <a href="https://help.ubuntu.com/community/NetworkMonitoringBridge">Network Monitoring Bridge</a> is for you.</p> <br class="clear" /> http://www.saintsjd.com/malawi/blog/jon/network_monitoring_with_ubuntu#comments connectivity Fulbright Journal HOWTOs networking Mon, 30 Oct 2006 09:48:16 -0500 jon 162 at http://www.saintsjd.com/malawi Faster browsing over slow connections with Loband http://www.saintsjd.com/malawi/blog/jon/faster_browsing_over_slow_connections_with_loband <p>Today a friend at the university showed me <a href="http://www.loband.org">Loband</a>, a service that simplifies web pages, in order to make them download faster over slow internet connections. Loband strips out colors and images, leaving only the text and links of the original web page. Images are replaced with an “i” logo, and by clicking, you are able to load images on-demand. </p> <p>Loband doesn't work well with most webmail applications, but has been working great for me for reading news websites. It filters out many of the image heavy advertisements. </p> <p>To use Loband: just go to <a href="http://www.loband.org">http://www.loband.org</a> and type in the URL of the website you would like to simply in the gray bar at the top of the web page. Click “go!” and you should see a text-only version of the website. Loband replaces all the links on the simplified pages automatically with new links that will also be passed through the Loband filter... so you are free to keep browsing around the text-only version of the site. Happy (faster) clicking!!</p> <br class="clear" /> http://www.saintsjd.com/malawi/blog/jon/faster_browsing_over_slow_connections_with_loband#comments bandwidth HOWTOs Wed, 24 May 2006 15:38:41 -0400 jon 74 at http://www.saintsjd.com/malawi Recovering Deleted files with Linux and Sleuthkit http://www.saintsjd.com/malawi/blog/jon/recovering_deleted_files_with_linux_and_sleuthkit <p>Ever accidentally delete a file you really needed from the recycle bin? Ever format a disk and install a new operating system only to find later that you forgot to save off some really important files first? The former recently happened to us here at the Univeristy in Mzuzu... we thought doom was upon us until we stumbled upon a open (free to change, use, and distribute) software utility called Sleuthkit (<a href="http://www.sleuthkit.org">http://www.sleuthkit.org</a>). </p> <p>When we realized our disaster, we started searching Google for "data recovery", "recover my files", etc. Listings appeared for companies charging hundreds of dollars for data recovery services and software. We tried some of the trial versions of the commercial software, but nothing was able to detect our files. Finally one of us here in the office in Mzuzu stumbled upon Sleuthkit, an amazing utility that was able to recover out deleted files from a formatted disk and didn't cost us a penny!</p> <p>For all those out there that do not feel comfortable removing hard disks from computers, or if all of this talk of Ubuntu and software is boring you at this stage, let me leave you with just one parting thought - if you are using a computer and discover that a file you really need has somehow been "permanently" deleted the steps you should take are:</p> <p>1. Immediately stop using the computer and shut it down. When your precious file was "deleted" from the disk, it wasn't actually deleted at all. In fact all the computer did was make a note to it self that the space occupied by the file is now free to be over written. If your file has not yet been over written by new files, then recovery might possible with Sleuthkit.</p> <p>2. Next, contact all the nerds you know. Tell them what has happened and tell them that you have heard of about tools like "Ubuntu", "Linux", and "Sleuthkit" that can be used to fix the problem. If the nerd's eyes light up when you mention "Ubuntu" or "Linux" you have found the right person to help.</p> <p>The following are the steps we used to recover our files from the formatted disk here at the university in Mzuzu:</p> <ol> <li>Remove the hard disk from the computer it was in when the files were deleted (if the disk with deleted files in on a laptop do the following: boot the laptop with a liveCD such as knoppix, mount a network drive using smbmount or nfs, use dd to write an image of the disk to the network drive, and skip to step #8 below)</p> <li>Attach the disk with the "deleted" files to a computer that is running Ubuntu Linux as its operating system (I imagine your Could use a Ubuntu LiveCD here )<br /> <strong>*** Note this computer will need to have free disk space larger than the entire size of the disk with deleted files ****</strong></p> <li>Boot up the Ubuntu computer <li>use System-&gt;Administration-&gt;Disks or run the command "df -h" from the command line to determine which system device number your disk being identified by. We used df -h and based on the size of our disks found that the one with the deleted files was referenced as /dev/hdb<br /> <strong>*** Only once you are positive that you have the correct system identity of your disk should you proceed ***</strong></p> <li>Create a disk image of the disk "sudo dd if=/dev/YOUR_DISK_ID of=/home/YOUR_HOME_FOLDER/recovery_disk_image.img" <li>When the image of the disk with deleted files is ready, power down Ubuntu and remove the disk with the deleted files. Store it in a safe place. But do not plug it back into another computer just yet. <li>Turn the Ubuntu computer back on <li>Add the universe software repoitories to your apt sources list (see The Ubuntu Getting Started Guidi on Google for more info) <li>use apt or synaptic package manager to to install <strong>sleuthkit</strong> and <strong>autopsy</strong> <li>open a command line prompt and run "sudo autopsy" <li>open a web browser and go to the page <a href="http://localhost:9999/autopsy" title="http://localhost:9999/autopsy">http://localhost:9999/autopsy</a> <li>A graphical interface appears Choose "New case" and follow the questions that the wizard asks you. When prompted for the location of the disk image enter "/home/YOUR_HOME_FOLDER/formatted_disk.img" <li>After sluethkit analyzes the disk image it will display a listing of the disk's partitions. Choose the partition where you deleted file was saved and click Analyze -&gt; File Analysis <li>Along the left hand side of the screen you will see a search box where you can search for the deleted file by name. Enter the file name and click Search. <li>A list of the files matching your search text will appear. Browse the list of files and click on the hyperlink name of the file that you would like to recover <li>Once the file finishes loading click the Export hyperlink and wait for your web browser to prompt you to save the file <li>When prompted save the file <li>Test to make sure your “deleted” file opens correctly on another computer. Transfer the file to another computer using a CD, USB flash drive, floppy disk or the internet </ol> <p>Repeat steps 14 -18 to recover more files that were deleted. Using these steps we were able to recover an entire folder of files from a disk that had been formatted and reinstalled with a new version of Windows XP. Hope it works for you as well as it worked for us</p> <br class="clear" /> http://www.saintsjd.com/malawi/blog/jon/recovering_deleted_files_with_linux_and_sleuthkit#comments HOWTOs Linux Nerds Only open source Wed, 17 May 2006 03:39:17 -0400 jon 71 at http://www.saintsjd.com/malawi Buying a car in Malawi http://www.saintsjd.com/malawi/blog/jon/buying_a_car_in_malawi <p>We bought a car today! And so we say good buy to the mini-busses for a while. Buying a car in Malawi was an entertaining experiment and a wonderful insight into the economy here. In all the process took about one week from when agreed to buy the car. Everything here is done in cash, so it made things the transaction a little tricky. We were able to wire money from the US to our recently opened Malawian bank account. It took about 4 days for the transaction to take. We then wrote a check to ourselves for an amount equal to about a foot and a half tall stack of bills in Malawian Kwacha. The largest bill in Malawi is 500 Kwacha (this is about $4.50). If you can imagine buying a car with a stack of five-dollar bills you will quickly be able to visualize the chunk of change we were carrying with us. So we loaded our chunk into a backpack and a friend of ours drove us to the office of the owner of the car. The office is in a rougher end of Lilongwe, a place where you really wouldnt even want to walk around with as little as $10 in your pocket (hey, we really needed wheels). There we traded the stack for the car you see here... a pretty good deal if you ask me.</p> <p>Here are somethings to keep in mind the next time you want to buy a car in Malawi:</p> <ul> <li>If you are speaking about a car with someone on the phone, be sure to ask if the car is a “runner”. Cars in Malawi come as “runners” and “non-runners”. Just because a car is for sale, do not expect it to run or have an engine. <li>When reading classified adds for cars, the term “lady driven” essentially means lightly driven. Chances are the car you are looking at was driven only on paved roads. <li>Check that the registration tags are all in place and up to date. There should be three or four of them from the various auto agencies of Malawi on the left hand side of the windshield. Nearly every road block in Malawi checks your tags. <li>Verify with your employer whether you are eligible for “duty free status” or not. Basically there are two car markets in Malawi the duty paid and duty unpaid markets. No one seems to really know what the law is, but some employees of certain organizations receive duty free status for their time in Malawi. Employees with duty free status are able to buy cars that do not have their duty paid. Duty in Malawi is about 100% of the value of the car, so you do not want to discover that you need to pay duty after you buy one. If you have duty free status, the cars you will be able to buy will be significantly cheaper, but might be harder to sell because you need sell to another person with duty free status. Duty paid cars are more expensive, but can be sold to a wider range of people. <li>Cars in Malawi need to have strips of red and white reflective tape on the bumpers. Red on the back and white on the front. They check for this frequently at the countries many road blocks. <li>Cars in Malawi are also required to carry two reflective triangles with them at all times, make sure the car you are buying comes with them. I have already been asked twice to show my triangles at multiple road blocks. <li>Check that the car has a good spare tire and a jack. Often if the owner has taken the car to a mechanic the jack “disappears”. The owner might now even be aware of this. <li>Check exchange rates carefully for your method of payment. Differences of just one or two kwacha can make a huge difference in your price. Wiring in dollars to and from foreign bank accounts might be a good option. When buying from a local, be prepared to pay cash. Bring a large backpack and an even larger bodyguard with you to carry your foot and a half tall stack of cash from the bank to the sale. </ul> <br class="clear" /> http://www.saintsjd.com/malawi/blog/jon/buying_a_car_in_malawi#comments HOWTOs Malawi Travel Guides Fri, 10 Mar 2006 06:32:25 -0500 jon 26 at http://www.saintsjd.com/malawi What is a Blog? http://www.saintsjd.com/malawi/blog/jon/what_is_a_blog <p>“Blog” is a term used to describe a specific type of website. The term “blog” comes from joining two words “web” and “log” into one. In fact, “web log” is a perfect description of what blogs truly are- online journals! Blogs are websites consisting of a series of regularly posted entries that are usually displayed on the web page in chronological order. Blogs can be written by one author, known as a blogger, or have many contributors (bloggers) writing entries about a common topic or theme. Blogs almost always encourage participation from their audiences and usually provide an easy way for readers to respond to an entry and publish their comments on the same web page.</p> <p>How to use (this and other) blogs</p> <p><strong>Getting only the information that you want:</strong></p> <p>One of the most common challenges we all face in the Information Age is finding effective means of sorting through the vast quantities of info-junk available at our fingertips in order to find the information that we are looking for. Most blogs (this one is no exception) are equipped with category systems to help readers slice through content and locate only the entries that interest them the most. </p> <p>In this blog you will notice that Marissa and Jon's latest entries appear on the homepage. Beneath each entry on the home page there will be a listing of the categories that the entry is a part of. Amoung other things our categories include “Artists Only” for entries that have anything to do with art, and “Nerds Only” for entries about computers, Linux, derivatives, and other geeky matters, the category “Fulbright Journal” will hold all entries that are officially part of Jon's Fulbright research, etc. By clicking the category name other entries in the same category will appear. In this way you, as a reader can easily access only the information that interests you most.</p> <p>Examples:</p> <ul> <li>To see only Fulbright Research entries click here</li> <li>To see only entries that deal with art click Artists Only</li> <li>To see only entries that are about computers and information technology click Nerds Only</li> </ul> <p><strong>Receive notification of new information on a blog automatically with RSS (Really Simple Sydication) feeds:</strong></p> <p>Blogs are one of the most dynamic types of websites. New content and entries are usually posted to the website frequently. As a reader, it is an inconvinience to continually check blogs for new content. Most blogs (including this one) offer a cool technology called RSS feeds (Really Simple Sydication) which allows readers to receive automatic notifications when new content becomes available. To use RSS feeds you will need to download and install RSS feed reader program. To get started read this excellent tutorial written by the BBC World News Service using RSS feeds LINK HERE. You can think of an RSS feeds as electronic paper boys that bring news of new blog content directly to your doorstep. The notification of new content delivered to you will look much like an email, but will not be delivered to your inbox. The notifications are stored in your feed reading application. Notifcations will include the title and a short description of the new content so you can decide if it is worth reading or not. </p> <p>Our feeds are listed on the bottom right hand corner of the website where it says “Feed Me...”. These feeds are categorized so that our readers can choose to be notified only when new content that is of interest becomes available. </p> <p>To use the RSS feeds on this blog follow the instructions below:</p> <ol> <li>Right mouse click one of the feed links</li> <li>Click “Copy link location”</li> <li>Paste the link into your feed reader application</li> <li>You will now be automatically notified of any new content that Marissa or Jon posts to this blog</li> </ol> <p><strong>Blogging is a participation sport – airing your thoughts:</strong></p> <p>This blog, like most, allows our readers to post their thoughts to the website for other readers to read and comment upon. Comments posted to the site will appear as a threaded discussion directly below the full text of any article that Marissa and Jon publish on the blog.</p> <p>To comment on an entry on the blog follow these steps:</p> <ol> <li>Click the “add comment” link below the full text of any of the entries on the site</li> <li>Type your comments in the text box that appears</li> <li>Click submit</li> </ol> <p>We will review your comments, and if they are hilarious or witty enough, approve them for display on the blog ;)</p> <br class="clear" /> http://www.saintsjd.com/malawi/blog/jon/what_is_a_blog#comments HOWTOs Information Technology Tue, 21 Feb 2006 01:41:34 -0500 jon 7 at http://www.saintsjd.com/malawi