Monday, August 13, 2007

How to change IP address from the Windows command line

Check out this web page:

http://www.daybarr.com/blog/2007/05/11/how-to-change-ip-address-from-the-windows-command-line
It explains how to use comand prompt to change your ip address, gateway and dns servers plus how to chage it back to dhcp again. It uses netsh.
This is how you set your ip address, subnet mask and gateway:

netsh interface ip set address "Local Area Connection" static 192.168.1.140 255.255.255.0 192.168.1.1 1
netsh interface ip set dns "Local Area Connection" static 4.2.2.2 primary

Then back to DHCP
netsh interface ip set address "Local Area Connection" dhcp
netsh interface ip set dns "Local Area Connection" dhcp

This is so helpful. You just put this code in to a text file and change the extension from txt to cmd. Then you can open it and it will set your ip address. Then have another file that will change it back to DHCP again.

Thursday, August 9, 2007

The AMD Phenom™ Processor will be here by the end of 2007!

It will have four cores and will have a range of speed of 1.8-2.3 Ghz at first.

I can't wait till DDR3 gets cheaper. Right now it costs $400-500 to get 1GB. DDR2 costs $40-50 for the same amount with a speed of 800Mhz. DDR3 has speeds of 1066-1333Mhz. Look at this bench marking site comparing the two.

After reading the above article you will notice that DDR3 has barely any improvement on DDR2. Someone should test them in a 64bit Windows Vista computer and see if there is any improvement then.

There is another nice technology that is coming called bluetooth 3.0 which is supposed to greatly speed up the transfer of data wirelessly to other bluetooth devices. Right now with version 2 the speed is 3Mbps. Well when the new version 3 comes out that speed will be increased to 480Mbps which is like firewire and USB2.0!

I like this article about the 480Mbps speed

The current standard version 2 uses the 2.4Ghz band. Here is a quote from the following site: "In other developments, the SIG said it continues to work with the WiMedia Alliance to incorporate 6GHz-band ultra-wideband technology into the 3.0 version of the specification, tentatively dubbed High Speed Bluetooth. The 480+Mbps spec is due by the end of the year, about six months behind what the SIG called an aggressive schedule announced last year.

Sunday, February 4, 2007

My Goal for Ubuntu is compatability with Windows

I am starting to use Ubuntu Linux on my home built computer. I love using this new operating system.
I like it better than Windows XP.
I post some snags that some people might run into when they try Ubuntu. There isn't anything that Ubuntu willl not do. If you are having trouble with anything email me and I will try to help. Look at my posts and you might find out how to fix a problem you are having. My goal is to find a way to do anything windows can do. So far in my adventures it is compatible.

Friday, January 26, 2007

Installing flash 9 in ubuntu

I wanted to look at the stock market in google:
http://finance.google.com/finance?q=goog&hl=en
When I right clicked on the flash program which is the moving chart I noticed that I was using version 7. The newest version is 9.
These instructions are for firefox in Ubuntu Edgy Eft.
First click tools and add-ons. Then click on plugins, then go down and click on flash version 9 for windows. It takes you here: http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash
Download option 1. Open the archive file you just downloaded called: install_flash_player_9_linux.tar.gz and click extract and then extract again and it goes it to a folder on the desktop.
Next open a terminal and type:
cd Desktop

next, type:
cd install_flash_player_9_linux

this takes you into the file that was extracted to the desktop. Now type:
sudo ./flashplayer-installer

now it asks you the root password. Then it asks you for the directory where firefox or what ever browzer you use is. I typed the following:
/usr/lib/firefox

then it will install to that dir ectory, press enter and it should say finished installing.
Now go here and right click on flash movie to see what version you are using.
http://finance.google.com/finance?q=goog&hl=en
good luck

Wednesday, January 17, 2007

Force ubuntu to keep old package installed

I use vnc to login as another user on my computer from another computer. I can even login as another user from anywhere that has the internet. My vnc program was uptodate and it doesn't work unless I use the last version of vnc4server. So I open synaptic package manager and find vnc4server. The version I use that works is 4.1.1+xorg1.0.2-0ubuntu1. This version is for Edgy but a new update came called edgy security. When I install this version I can't login to one of my users from another computer while I am already logged on in the physical computer. So I clicked on vnc4server in synaptic package manager and clicked on package tab and force version then I chose the older release. Now the problem is when I turn on my computer the auto updater keeps bugging me so I found a work-around.

Monday, December 25, 2006

Installing GLX and Beryl using Gnome and Nvidia

I got this info from:
http://www.ubuntuforums.org/showthread.php?t=127090
First click System-Administration-Synaptic Package Manager
It usually asks for your password to continue. Click on Reload to download the most recent package list. Next click Mark All Upgrades, Apply to install any upgrades available.
Next open Settings and then Software Sources, I have the first four boxes checked including (multiverse).
Click on third party tab and click add button. Add this line:
http://nvidia.limitless.lupine.me.uk/ubuntu edgy stable
deb http://ubuntu.beryl-project.org edgy main
This is the key for beryl for i386 or 64bit. Download the following file to the desktop.
http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg
do a reload and update again
find and uninstall nvidia-glx and nvidia-kernel-common
I only had nvidia-kernel-common installed so I uninstalled it.
now reload and update
remove xorg-common and install xserver-xorg
This will install Xorg 7.0, which is very compatible with Xgl.
Next search for nvidia-glx and check it to be installed. Make sure nvidia-kernel-common is due to be installed then click apply. It will take a while to download, It was about 30Mb and 4 files for me.
Then save a copy of your xorg.conf file just incase the follow changes make it so you can't get back in to your gui user interface.
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup1
Now edit the xorg.conf file like this:sudo nano -w /etc/X11/xorg.conf or sudo gedit /etc/X11/xorg.conf
under the Section "Module" add # on the following lines like this:
# Load "GLcore"
# Load "dri" <-- Ati users should not include # Let it load dri.
and add following line

Load "glx"

When you are done, it should look something like this:
Section "Module"
# Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
# Load "dri" <-- the # should only be applied by nvidia owners
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

nder Section "Device", have it look something like this:

Section "Device"
Identifier "NVIDIA Corporation NV40 [GeForce 6800 LE]"
Driver "nvidia" <--- ATI users should use the fglrx driver
BusID "PCI:1:0:0"
Option "NvAGP" "1" <-- Ati users can ignore this.
Option "RenderAccel" "true" <-- Ati users can probably ignore this. Don't think drivers support it

EndSection

when glx-nvidia is installed corectly then check to see if direct rendering is working.
type in a terminal:glxinfo

If it is working then the results will be: direct rendering=yes
If this is right then you did everything right and beryl can be installed.

Next find and install beryl-manager using Synaptic pkg manager
also find emerald and emerald-themes, click to install them. This should give a whole list of all the files to be installed:
beryl
beryl-core
beryl-manager
beryl-plugins
beryl-plugins-data
beryl-settings (version
emerald
libberylsettings0
libemeraldengine0
libxcomposite1
click apply

I changed permission of home folder with bad results

I acidentally changed the permisions in my home directory.
When I restarted the computer I was welcomed with this message

your $HOME/.dmrc file has incorrect permissions and is being
ignored. .dmrc file sould be owned by user and have 644 permissions. It also said that It needs the right permisions to write to the .dmrc file. And other user can't have access to it.
That is wht I did. I changed the permisions so everyone can access my home/user folder. Then this message came up when I rebooted.
I messed with the settings of my home foler and then when I logged back in it was a blank desktop and then it logged off after 5 seconds or so.

I found a site that helped me fix this problem. I used another user to search the internet:
http://ubuntuforums.org/archive/index.php/t-91455.html
Then I loged off and pressed ctrl-alt F1 to switch to the terminal. I logged on and typed the following code.

cd ~
sudo chmod 644 .dmrc
sudo chown username .dmrc
sudo chmod 755 /home/username
sudo chown username /home/username

then type this to check permissions:
ls .dmrc -l
it gave me this:
-rw-r--r-- 1 mike mike 26 2006-12-20 22:24 .dmrc