Ubuntu Live CD root password and live session password for user Ubuntu

Posted on December 11, 2009 by GoogleThem.
Categories: Linux tips and tricks.
sudo passwd ubuntu

Then create your password, you will need to already be in Terminal ;-)

To create a usable root user’s account on a live cd, you can set the root password then su. This has not been possible in previous versions of Ubuntu as their user model made you remember to sudo before each command requiring root access.

sudo passwd root

As of Ubuntu 9.10, I haven’t been able to login with “demo” or “Ubuntu” as the password for live session username “Ubuntu”.

Cannot see other computers on network

Posted on August 16, 2009 by GoogleThem.
Categories: Networking Tips.

If you cannot find networked computers or to tell if your ports are accessible:

1) Ping the machine by name or IP:

  • Windows: Start > Run > Type: cmd.exe
  • ping 192.168.0.1

2) Use Telnet to probe the machine by IP and port:

How To Use Telnet

Once you have the IP address, open a command prompt on the source computer:

  • Windows: Start > Run > Type: cmd.exe
  • Mac: Utilities > Terminal

Enter command:

telnet IP_ADDRESS_OF_DESTINATION_COMPUTER 4242 (e.g. telnet 54.162.1.10 4242)

If telnet can successfully connect, you will see an encrypted connection string (a bunch of unintelligible text). Example:

imac2:~ Renee$ telnet 54.162.1.10 4242
Trying 54.162.1.10…
Connected to 54.162.1.10.
Escape character is '^]'.
??d???t”??Y+???+|???ؑ?d6#?еW?{?????6߉?D!@g?????l?????>?]??b6`ۛ??gÖ²$d?c΋?

If telnet cannot successfully connect, you may see connection refused, no response or some other response. Proceed to step 3.

Tips for Using Telnet to Isolate the Issue

Focus on getting telnet to connect successfully in one direction to help isolate the issue. Test to see if you can connect from Computer A (source) to Computer B (destination).

  1. Check the software firewall on Computer A and run the telnet test from Computer B to Computer A.
  2. Try disabling your software firewall and 3rd party security software and test again.
    • If the test passes, then you know you have a configuration issue with your software firewall or security software. Consult your manufacturer documentation on how to configure an exception for CrashPlan on TCP port 4242.
  3. With your software firewall or security software still disabled, check the router configuration at Site A. Consult your router manufacturer’s documentation to make sure your router is configured properly to allow the incoming connection from Computer B. Test again after making any modifications to the router configuration.

Installing Telnet on Vista

Telnet is not installed by default in Vista. To install Telnet, please follow these instructions:

  1. Click Start then select Control Panel.
  2. Select Programs and Features.
  3. Select Turn Windows features on or off.
  4. Select the Telnet Client option.
  5. Click OK.

A dialog box will appear to confirm installation. The telnet command should now be available.

3) Use Netstat to find all ports already being used and whether your ports are open:

Windows:

netstat -ano

Mac / Linux:

netstat -an

Choose another port if something is already listed under the number you’ve selected.

Once you find an unused port, you can change the listening port option in CrashPlan: Settings > Backup > Inbound Backup Settings. Make sure to set up port forwarding for that port, as well.

If you need to open a port:

Configure Port Forwarding

If the telnet connection fails, enable port forwarding on your router for incoming connections on the port you need. There is some great information about port forwarding including tutorials for various router makes and models at www.portforward.com.


Google Them

Posted on August 2, 2009 by GoogleThem.
Categories: Google tips and tricks.

Googlethem.com is full of google tricks and tips for searching and finding things, people, music, information and special hidden techniques, click here to google them.

If you want SEO or Search Engine Optimization howto click here.

If you want Linux tips, tricks, and commands, click here.

For HTML and CSS tips and fixes, click here.

These pages help you to fix a problem with HTML, formatting with CSS, how to google them, music downloads online with special google search, how to find books online, backup hard drive with dd, dd backup and restore partition and mbr, adding optional disk drive, google description limit, looking for videos online, and much more.

Boot, MBR, and Partition fix

Posted on July 8, 2009 by GoogleThem.
Categories: Windows Tips.

Windows 7 fixmbr:

from: http://www.planetmy.com/blog/how-to-fixmbr-using-windows-vista-bootable-disk/
This is a Malaysian computer blog which I find interesting, visit it if you like the tutorial below!
The following tutorial will teach you “How to fixmbr using Windows Vista bootable disk“.

  • Boot up your computer using Microsoft Windows Vista Bootable disk. (Check your BIOS setup)
  • When you see the 1st Windows Vista installation screen appear, please configure your ‘language‘ preferences.
  • When prompted, click ‘Repair your computer’.
  • Startup Repair will automatically detect a problem. When prompted, click ‘Repair and restart’, and then restart your computer from the Windows Vista bootable disk. If Startup Repair does not automatically detect a problem, continue to the next step.
  • click ‘Repair Your Computer’.
  • Click Command Prompt from the System Recovery Options.
  • BootRec.exe provides the following command-line options:


  • /FixMbr. Re-writes the master boot record (MBR) of the system partition to start Windows Vista. This won’t overwrite the existing partition table.
  • /FixBoot. Writes a boot sector onto the system partition to start Windows Vista.
  • /ScanOs. Scans all disks for Windows Vista installations and displays them to you. Oddly, this didn’t work for me, even on a test system that was starting just fine.
  • /RebuildBcd. Scans all disks for Windows Vista installations and prompts you to pick the ones you want to add to the BCD.
  • Type  ‘BootRec.exe /fixmbrand press Enter.
  • Congratulations! You’re done.

To fix grub after installing windows destroyed your boot sector:
from: ubuntuforums.org

…any time you install a copy of windows it will erase grub

its a simple fix..

1. boot live cd
2. open terminal
3. sudo grub
4.from grub prompt do this
find /boot/grub/stage1
it will give you something like this (hd0,0)
5.use the disk that you found with the command above for this next command
root (hd0,0)
(remember to change the numbers to correspond to whatever you got in the previous step)
6.setup (hd0) (notice how i left out the ,0) thats not a typo!
it should give you some type of confirmation that it worked
then you can just quit grub
quit
then exit the terminal
exit
reboot!
(you will need to add windows to your /boot/grub/menu.lst)

OSX86 Tips

Posted on June 16, 2009 by GoogleThem.
Categories: osx86 tips.

OSX86 tips:

Trackpad Tap:
Problem:  Trackpad tap not working.
Fix: Put computer into sleep then it works after waking up.

Boot cannot find com.apple.Boot.plist:
If something goes wrong usually you don’t get the full 1280×800 resolution. You can fix that just adding to com.apple.Boot.plist configuration file (did you remember the time-out for boot menu?) these new lines:

* <key>Graphics Mode</key>
* <string>1024×600x32</string>

You should have something like this:

<plist version=”1.0″>
<dict>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>cpus=1</string>
<key>Quiet Boot</key>
<string>No</string>
<key>Timeout</key>
<string>7</string>
<key>Graphics Mode</key>
<string>1024×600x32</string>
<key>Boot Graphics</key>
<string>Yes</string>
</dict>
</plist>

NOTE: Before you reboot the system, remember to repair the privileges!

Kexts:
kextHelper (it sets the correct rights and stuff and makes a backup of your replaced kexts).

If ever a kext has your system crashing, not booting or unstable do the following:

Boot into “single user mode” by specifying -s at the boot prompt

Then type: /sbin/fsck -fy /sbin/mount -uw / (don’t forget the / at the end!!)

Then erase the offending kext(s) with the backup(s) (example of AppleIntelGMA950 kext) cp -R /Backup Extensions/AppleIntelGMA950.kext/ /System/Library/Extensions/ rm /System/Library/Extensions.mkext

Reboot with the -f option

OSX86 9 step install guide:
from: http://www.taranfx.com/blog/?p=1204

Uses bootloader from Windows 7 after installing OS X to repair the boot sector, with Diskpart commands. Then adding OS X to windows boot menu while inside windows.


Keyword Tools and Keyphrase Checking

Posted on June 11, 2009 by GoogleThem.
Categories: Google tips and tricks.

Keyword and Keyphrase tools:

Google Rankings keyword density tool

Keyword density of over 25% is a no no,  I’d stay under 15%.


Added a client to google analytics but they cannot see their account

Posted on June 1, 2009 by GoogleThem.
Categories: Google tips and tricks.

If you’ve  added a person with a google account (gmail or whatever) and they cannot access their analytics account that you’ve shared with them from your account:

Try this link instead: https://www.google.com/analytics/settings/?et=reset&hl=en-US

If Google’s summary description for my page is not from my home page content or description Meta Tag

Posted on May 24, 2009 by GoogleThem.
Categories: Google tips and tricks, Uncategorized.

This information comes directly from google.

If google’s summary that’s listed on the search results page is not what you expect and it doesn’t change when your page content or Meta Tag Description does:

First make sure your page has been crawled lately, you can do this manually by submitting your website to google. You can do this automatically by generating a sitemap.xml file and forcefeeding  google all of your pages with it.

Prevent search engines from displaying DMOZ data in search results for your site

One source we use to generate snippets is the Open Directory Project. You can direct us not to use this as a source by adding a meta tag to your pages.

To prevent all search engines (that support the meta tag) from using this information for the page’s description, use the following:

<meta name="robots" content="NOODP">

To specifically prevent Google from using this information for a page’s description, use the following:

<meta name="googlebot" content="NOODP">

If you use the robots meta tag for other directives, you can combine those. For instance:

<meta name="googlebot" content="NOODP, nofollow">

Note that once you add this meta tag to your pages, it may take some time for changes to your snippets to appear in the index.

If you’re concerned about content in your title or snippet, you may want to double-check that this content doesn’t appear on your site. If it does, changing it may affect your Google snippet after we next crawl your site. If it doesn’t, try searching Google.com for the title or snippet enclosed in quotation marks. This will display pages on the web that refer to your site using this text. If you contact these webmasters to request that they change their information about your site, any changes to their sites will be recognized by our crawler after we next crawl their pages.

Permanent 301 Redirect the easy way

Posted on May 12, 2009 by GoogleThem.
Categories: html tips.

How to redirect any and all website pages to another website removing the page reference. This way if you have an old website with old links everyone will be redirected to the front door. Search engines will see the permanent 301 redirect and update their index to not list your old website.

# redirect anything with base url in the second line to the first one and remove any page references
redirectMatch 301 ^(.*)$ http://mynewwebsite.com
redirectMatch permanent ^(.*)$ http://www.myoldwebsite.net


Filter yourself out of Google analytics

Posted on May 10, 2009 by GoogleThem.
Categories: Google tips and tricks.

To not count yourself in your google analytics reports.

1) Filter your own IP by finding your external IP address, then in Analytics->Filter Manager (bottom right)->Create New Filter->Name it, set to “Exclude all trafffic from an IP address”, use your external IP or better yet use a range of IPs close to yours (if you have a dynamic IP, which most people have)->Name your filter something like “me filtered out”.

You can calculate your range of IPs using Regular Expressions (Regex) on this page at google.
If your IP is 67.154.12.152 Then after adding the whole block from 1 to 255:
ex:^67\.154\.12\.([1-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))$

2) You need to add a new website profile in analytics:
Analytics Settings->Add Website Profile->Add a Profile for an existing domain->Name the profile something like “mydomain.com with me filtered out”->Finish (button)

3) You need to add your filter to a website profile in analytics:
While viewing all of your “Website Profiles”, Click the “Edit” text to the far right of the new one you created and named (me filtered out)->Click the “Add Filter” text->Apply existing Filter to Profile->Click your filter->Click “Add” (button)->Click “Save Changes (button).

Your new profile will have 0 visits up to the day you added the new profile. So your previous numbers of visits do not transfer to your new profile. From now on your new profile will have lower numbers than the original profile because the new profile doesn’t count your visits any more and the old one still counts everything.