Monday, May 28, 2007

Installing VMware in Feisty

Step 1: Take of of some Dependencies:
In a terminal enter:
sudo apt-get install linux-headers-`uname -r` build-essential
sudo apt-get install xinetd

Step 2: Download VMware and Register for a Serial Number
Download VMware Here
Register for a Serial Number Here

Step 3: Installing VMware
If you did not save the VMware-server tarball to your desktop please move it there now.

Direct the terminal to your desktop:

cd /home/YOUR LOGIN NAME/Dekstop
*You must change the red colored text to your login name.

Untar Vmware:
tar -xzf VMware-server-1.0.3-44356.tar.gz

Direct your terminal to the folder you just untarred:
cd vmware-server-distrib

Install VMware:
sudo vmware-install.pl

Step 4: Setting up VMware
After invoking the install vmware is going to ask you some questions, what you should enter is in
red

After installing vmware so you will see this in your terminal:
Accept the end user licence:
Do you accept? (yes/no) yes

Thank you.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin]
/usr/bin

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]
/etc

What is the directory that contains the init scripts?
[/etc/init.d]
/etc/init.d

In which directory do you want to install the VMware Management Interface files?
[/usr/lib/vmware-mui]
/usr/lib/vmware-mui

The path "/usr/lib/vmware-mui" does not exist currently. This program is going
to create it, including needed parent directories. Is this what you want?
[yes]
yes

In which directory would you like to install the documentation files?
[/usr/lib/vmware-mui/doc]
/usr/lib/vmware-mui/doc

The path "/usr/lib/vmware-mui/doc" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
yes

Before running VMware Management Interface for the first time, you need to
configure it by invoking the following command:
"/usr/bin/vmware-config-mui.pl". Do you want this program to invoke the command
for you now? [yes]
no

You need to answer no to this question because VMware Server will not compile correctly on Feisty without patching the vmmon file

Step 5: Patch the vmmon file
Download the Path Here

If you did not save the VMware-server tarball to your desktop please move it there now.

Direct the terminal to your desktop:

cd /home/YOUR LOGIN NAME/Dekstop
*You must change the red colored text to your login name.

Untar the Patch:
tar xvzf vmware-any-any-update109.tar.gz

Direct your terminal to the folder you just untarred:
cd vmware-any-any-update109

Install the Patch:
sudo ./runme.pl

Step 6: Continue the Installing & Configuration

You should automatically be prompted to run sudo vmware-config.pl

If not you can start the process in a terminal:
sudo vmware-config.pl

Once the configuration begins, you will see:
Making sure services for VMware Server are stopped.

Stopping VMware services:
Virtual machine monitor done

You must read and accept the End User License Agreement to continue.
Press enter to display it. press enter

Do you accept? (yes/no)
yes
Thank you.

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]
/usr/share/icons

The path "/usr/share/icons" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want? [yes]
yes

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]
/usr/share/applications

The path "/usr/share/applications" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
yes

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]
/usr/share/pixmaps

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
yes

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.20-16-generic/build/include]
/lib/modules/2.6.20-16-generic/build/include
Extracting the sources of the vmmon module.

Building the vmmon module.

Do you want networking for your virtual machines? (yes/no/help) [yes] yes

Configuring a bridged network for vmnet0.

The following bridged networks have been defined:

. vmnet0 is bridged to eth1

All your ethernet interfaces are already bridged.

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes]
yes

Configuring a NAT network for vmnet8.

Do you want this program to probe for an unused private subnet? (yes/no/help) yes


Probing for an unused private subnet (this can take some time)...

The subnet 192.168.246.0/255.255.255.0 appears to be unused.

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 192.168.246.0.

Do you wish to configure another NAT network? (yes/no) [no] no

Do you want to be able to use host-only networking in your virtual machines?
[yes]
yes

Configuring a host-only network for vmnet1.

Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes]
yes

Probing for an unused private subnet (this can take some time)...

The subnet 172.16.37.0/255.255.255.0 appears to be unused.

The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 172.16.37.0.

Do you wish to configure another host-only network? (yes/no) [no] no

Trying to find a suitable vmnet module for your running kernel.

The module bld-2.6.15-23-i386server-Ubuntu6.06 loads perfectly in the running
kernel.

Please specify a port for remote console connections to use [902] 902

Stopping internet superserver: xinetd.
Starting internet superserver: xinetd.
Configuring the VMware VmPerl Scripting API.

Building the VMware VmPerl Scripting API.

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Installing the VMware VmPerl Scripting API.

The installation of the VMware VmPerl Scripting API succeeded.

Generating SSL Server Certificate

In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]
/var/vm

Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: Type your VMware Server serial number

Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done

The configuration of VMware Server 1.0.3 build-44356 for Linux for this running
kernel completed successfully.

Using this guide Vmware will use your systems connection to access the internet. so if you can connect to the internet so can your vitual machine. You have now installed and setup VMware, enjoy. Run it while using Beryl and make you friends jealous.
edited by pHreaksYcle

Sunday, May 27, 2007

Installing Newest Azureus in Ubuntu 7.04 Feisty Fawn

This works for anyone running Ubuntu 7.04 Feisty Fawn, not just for Dell Inspiron 1501 users.

Step 1:
You need to have Java 5 or higher installed. If you need to install Java follow my guide for installing Java 6 in Feisty

If you need to check the version of Java you have installed run:
java -version

Step 2:
Download the newest version 2.5.0.4 of Azureus from sourceforge.com
For 64 bit systems look here.

Step 3:
In a terminal type:
cd Desktop
*or cd /filepath to where you downloaded the azureus tar ball

Now untar and install Azureus:
sudo tar jxvf Azureus_2.5.0.4_linux.tar.bz2 -C /opt/

Set root permissions to Azureus:
sudo chown -R root:root /opt/azureus/

Setup a launcher for Azurues in the Application->Internet menu:
sudo gedit /usr/share/applications/Azureus.desktop

Add this to the file you just created:
[Desktop Entry]
Name=Azureus
Comment=P2P Client
Exec=/opt/azureus/azureus
Icon=/opt/azureus/Azureus.png
Terminal=false
Type=Application
Categories=Application;Network;
*Save and Close

Step 4:
Setup Azureus to run via the command line:
sudo gedit /usr/bin/azureus

Add this to the file you just created:
#!/bin/sh

/opt/azureus/azureus "$*"
*Save and Close

Make it executable:
sudo chmod +x /usr/bin/azureus

To run Azureus via command line:
/usr/bin/azureus

To run Azureus as root:
sudo /usr/bin/azureus

Don't know where to find torrents or how to? Check out my Bittorrent Guide
Now you have the newest version of Azureus up and running enjoy.

Tuesday, May 15, 2007

Installing Java Runtime Environment 6 in Feisty

This works for anyone running Ubuntu 7.04 Feisty Fawn, not just for Dell Inspiron 1501 users.

If you want to use the newest Java applications, you need to get Java 6. If you have Java 5 installed and running Azureus from fesity repos be warned that it doesn't play nice with Java 6. But the reason I moved to Java 6 is to install newest version on Azureus, the one in the repos bugs me and the newer one has added functionality and stability.

To install Java 6 and the browser plugin for mozilla:
sudo apt-get install sun-java6-jre sun-java6-plugin

Replace old version of Java with new:
sudo update-java-alternatives -s java-6-sun

Tell your system to use Java 6:
sudo gedit /etc/jvm

Then type this into the top of the file:
/usr/lib/jvm/java-6-sun
save file and close it

File should look similar to this:
# This file defines the default system JVM search order. Each
# JVM should list their JAVA_HOME compatible directory in this file.
# The default system JVM is the first one available from top to
# bottom.

/usr/lib/jvm/java-6-sun
/usr/lib/jvm/java-gcj
/usr/lib/jvm/ia32-java-1.5.0-sun
/usr/lib/jvm/java-1.5.0-sun
/usr

Now test to make sure everything is running right:
java -version

You should see this:
java version “1.6.0″ Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)

Now your running the latest version of Java and able to run the newest version of Azureus.
edited by pHreaksYcle

Monday, May 14, 2007

Another Way To Get Wi-Fi Working - Feisty Only

I got this guide from Cosmin at http://www.linux-geek.org/. It allows you to use the Broadcom naitive linux driver at a decent speed with good reliability. He deserves all the credit. I had nothing to do with making the packages or helping to write the guide. If it works for you, thank him. If you have questions, comments or praise check out his blog and leave your questions/comments there. All I did was put it in my format and clean up the design.

Disclaimer:
I recommend using ndiswrapper, it works at full speed, offers system stability and is the best bet for new Ubuntu/Linux users. This is NOT a guide for people who couldn't get my ndiswrapper guide to work. The guide works. If you can't get it work, I guarantee you are doing something wrong. All you have to do is copy, paste and follow directions. I will not answer any questions from people who can not get this guide to work for them. This guide is for people experiencing WPA problems, want to use Aircrack, or are comfortable with unstable bleeding edge drivers. The native linux Broadcom driver does not work at full speed, it tops out at 11MBps. The module was take from a newer kernel and "ported" by Cosmin, meaning it wasn't intended to be used with your kernel. I've been testing it for three weeks now and am pretty satisfied with it. This guide is intended just for the 2.6.20-15-generic kernel, the default one in Feisty.

This is only for 32 bit version, for 64 bit version go to Cosmin's blog

Get the deb package
wget http://ubuntu.cafuego.net/pool/feisty-cafuego/bcm43xx/bcm43xx-firmware_1.3-1ubuntu2_all.deb

Install the firmware files
sudo dpkg -i ./bcm43xx-firmware_1.3-1ubuntu2_all.deb

Remove the package
sudo rm ./bcm43xx-firmware_1.3-1ubuntu2_all.deb

Download the module for the 32 bit kernel
wget http://linux-geek.org/files/bcm43xx.tar.bz2
or get it here: http://www.mediafire.com/?8mnjnsxubdn


Replace the bcm43xx driver provided by the Ubuntu kernel with the driver ported by Cosmin, from the 2.6.21-rc7 kernel
sudo rm /lib/modules/2.6.20-15-generic/kernel/drivers/net/wireless/bcm43xx/bcm43xx.ko

sudo tar xvjf ./bcm43xx.tar.bz2 -C /lib/modules/2.6.20-15-generic/kernel/drivers/net/wireless/bcm43xx/

Reboot

To test if it working
sudo modprobe bcm43xx

sudo iwlist scan

Enjoy!
edited by pHreaksYcle

My Dell Inspiron 1501

Because a bunch of people keep asking me for my system specs even though they were listed in my first post.

Mobile AMD Sempron 3500+ Processor (1.8GHz/512K)
ATI Radeon Xpress 1150 with up to 256MB HyperMemory
1.5GB of 533 DDR2 RAM (using 192MB for Video Card)
160GB 5400 RPM SATA hard drive
DVD+/-RW with Dual Layer DVD+R write capacity
Dell Wireless 1390 802.11g Mini Card (54Mbps)
Integrated Richo 3in1 card reader

We were indexed by google a while ago and I never mentioned it. You can find ubuntu1501 when entering ubuntu dell 1501, linux dell 1501, dell 1501 and combinations of those words and applications I've written about. I was looking into installing azureus from source and googled "installing azureus ubuntu" and got my own blog. Needless to say the answer wasn't there. But none of this would even be possible without you guys reading my blog. So thank you readers! Sorry about the lack of updates after the barrage of updates last week. Paramedic program is sucking up a ton of my time. Good news is everything is going to be back to normal after Wednesday. Now enjoy pics of my 1501.

desktop
cover
sticker
linux inside
sticker drm
edited by pHreaksYcle

Wednesday, May 9, 2007

Free Ubuntu Computer Stickers

Free as in the cost of a stamp and an envelope. Just like the Windows logo sticker that came with your Dell Inspiron 1501.

In the United States Send a self addressed stamped envelope to:
System76, Inc. (Free Sticker)
1582 S. Parker Rd. Ste. 310
Denver, Colorado 80231

Don't live in the US? Don't sweat it. Argentina, Australia, Belgium, Bolivia, Brazil, Canada, Chile, Colombia, France, Germany, Hungary, India, Italy, Mexico
Netherlands, New Zealand, Norway, Peru, Serbia, Switzerland, Turkey, United Kingdom and Venezuela all have there own offers. CLICK HERE for your local address.
edited by pHreaksYcle

Saturday, May 5, 2007

Customizing Firefox

This works for anyone running Firefox, not just for Ubuntu users.

Access FireFox's Configuration File
type about:config into the url
about_config
The red box is the url, where you type about:config
The Blue box is the filter box, it allows you to search through the about:config file and is where you type the blue text commands

Now let's get Firefox to run faster:

Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.

Set "network.http.pipelining" to "true"
Set "network.http.proxy.pipelining" to "true"
Set "network.http.pipelining.maxrequests" to 15.
Right-click anywhereinside the firefox winodw and select New-> Integer.
Name it "nglayout.initialpaint.delay" and set its value to "0.

Firefox downloads webpages from links it thinks you may click. This may make the "experience" seem faster but really it just bogs down Firefox and you PC.
Set "network.prefetch-next" to false

Remove some annoying Firefox features:
Turn off chrome tooltips, this causes little pop up winodws to tell you what your mouse is hovering over. If you been using Firefox for as long or longer than I have (before 1.0) you really don't need to be told what the back button does. It also hinders dragging a bookmark into the bookmark toolbar folder, the tool tip gets in the way and prevents the drop from working.
Set "browser.chrome.toolbar_tip" to false

Customize backspace button, the Ubuntu default is set to scroll up when hit. I prefer it to work like it did in Windows and go back in my page history.
Set "
browser.backspace_action" to either 0 or 1
0 - Pressing backspace button will go back a page in the session history
1
- Pressing backspace button will scroll up a page in the current document and
[Shift]+[Backspace] will scroll down.

Remove URL GO button. No one over the age of 4 and under the ago of 50 uses it.
Set " browser.urlbar.hideGoButton" to true

Some of my favorite plugins:
Tab Mix Plus
Tab Mix Plus enhances Firefox's tab browsing capabilities. It includes such features as duplicating tabs, controlling tab focus, tab clicking options, undo closed tabs and windows, plus much more. It also includes a full-featured session manager with crash recovery that can save and restore combinations of opened tabs and windows.

Foxmarks Bookmarks
If you use Firefox on more than one computer, you'll want Foxmarks. Install Foxmarks on each computer, and it will work silently in the background to keep your bookmarks synchronized. As a bonus, log in to my.foxmarks.com from any computer anywhere to access your bookmarks.

Mouse Gestures
Allows you to execute common commands (like page forward/backward, close tab, new tab) by mouse gestures drawn over the current webpage, without reaching for the toolbar or the keyboard.
You can also use click-only "rocker" gestures which are even faster than drawn gestures.

Flashblock
Flashblock is an extension for the Mozilla, Firefox, and Netscape browsers that takes a pessimistic approach to dealing with Macromedia Flash content on a webpage and blocks ALL Flash content from loading. It then leaves placeholders on the webpage that allow you to click to download and then view the Flash content.

Adblock Plus
Right-click on a banner and choose "Adblock" from the context menu - the banner won't be downloaded again. Maybe even replace parts of the banner address with star symbols to block similar banners as well. Or you select a filter subscription when Adblock Plus starts up the first time, then even this simple task will usually be unnecessary: the filter subscription will block most advertisements fully automatically.

Adblock Filterset.G Updater
This is a companion extension to Adblock or Adblock Plus and should be used in conjunction with it. This extension automatically downloads the latest version of Filterset.G every 4-7 days. Filterset.G is an excellent set of filters maintained by G for Adblock that blocks most ads on the internet. In addition, this extension allows you to define your own set of filters that you can add along with Filterset.G during an update. To report missed ads or problems with the extension visit the support forums http://forum.pierceive.com/.

Winestripe Theme
This is the classic Firefox 1.5 theme for Firefox 2.0. I can't stand the default theme for Firefox 2.0, so I'm glad Florian Schmitz made this.

To enable autoscrolling & smooth scrolling go to Edit->Preferences and click Advanced. It allows you to middle click/touch pad scroll smoothly left, right, up and down web pages. It's enabled in Windows but not in Ubuntu.
Firefox Advanced Options
edited by pHreaksYcle

Installing Mozilla Thunderbird in Ubuntu 7.04 Feisty Fawn

This works for anyone running Ubuntu 7.04 Feisty Fawn, not just for Dell Inspiron 1501 users.

Evolution is a good email client, I've been using it for four months now and don't have any real complaints. But Thunderbird 2 is hands down the best email client I have ever used and it's incredibility easy to install.

Mozilla Thunderbird is a free, cross-platform e-mail and news client developed by the Mozilla Foundation. The project strategy is modelled after Mozilla Firefox. Just as Firefox aims to redefine the web browser, Thunderbird is a refinement of the mail and news interface.
To learn more check out the Wiki or Mozilla's Thunderbird Page

Download Mozilla Thunderbird 2:
wget -c http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/2.0.0.0/linux-i686/en-US/thunderbird-2.0.0.0.tar.gz

Extract it:
sudo tar -C /opt -zxvf thunderbird-2.0.0.0.tar.gz

Make a launcher command available to all users:
first:
sudo dpkg-divert --divert /usr/bin/mozilla-thunderbird.ubuntu --rename /usr/bin/mozilla-thunderbird
second:
sudo ln -s /opt/thunderbird/thunderbird /usr/bin/mozilla-thunderbird
third:
sudo ln -s /opt/thunderbird/thunderbird /usr/bin/thunderbird

Now you can launch Thunderbird with the command:
thunderbird

Now we will make a launcher for Thunderbird
1. Right click the Application Places System menu bar
2. Select edit menus
3. Scroll down to Internet
4. Select new item (upper right hand corner of window)
5. Fill in the boxes you can put whatever you want in, only command matters
Type: Application
Name: Mozilla Thunderbird
Command: thunderbird
Comment: Email Client
6. Select an icon, or you can use this one here.

Enjoy, Thunderbird automatically configures Gmail. if you need to configure another email service check out the Mozilla Thunderbird F.A.Q.
edited by pHreaksYcle

Installing Wine on Your Dell 1501 [Feisty]

This works for anyone running Ubuntu 7.04 Feisty Fawn, not just for Dell Inspiron 1501 users.

Wine is a translation layer (a program loader) capable of running Windows applications on Linux. Windows programs running in Wine act as native programs would, running without the performance or memory usage penalties of an emulator, with a similar look and feel to other applications on your desktop. From the Wine Website

Remember kids, Wine Is Not an Emulator

Add Wine's repositories to your source list:
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list

Add the repository key:
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

Update apt-get:
sudo apt-get update

Install Wine:
sudo apt-get install wine

Once installed you have to configure it:
winecfg
edited by pHreaksYcle

Friday, May 4, 2007

VMware Working on 1501 [Feisty]

I finally got around to installing VMware on my Dell 1501. While I wish I could used a KVM, my Sempron 3500+ doesn't support it. It does run VMware well, here are some screens. With a guide to follow shortly.

VMware XP Install

VMware Running XP on Ubuntu 7.04
edited by pHreaksYcle