Aug 25 2011

How To – Enable SSH Shell Access on ESXi 5.0

Category: Tutorials,Virtualizationadmin @ 6:42 pm

Enabling ESXi Shell access with the vSphere Client

Use the vSphere Client to enable local and remote access to the ESXi Shell:
  1. Log in to a vCenter Server system using the vSphere Client.
  2. Select the host in the inventory panel.
  3. Click the Configuration tab and click Security Profile.
  4. In the Services section, click Properties.
  5. Select ESXi Shell from this list:ESXi Shell
    SSH
    Direct Console UI
  6. Click Options and select Start and stop manually.Note: When you select Start and stop manually, the service does not start when you reboot the host. If you want the service to start when you reboot the host, select Start and stop with host.
  7. Select Start to enable the service.
  8. Click OK.

Enabling ESXi Shell Access with the Direct Console User Interface

Use the direct console user interface to enable the ESXi Shell:
  1. From the direct console user interface, press F2 to access the System Customization menu.
  2. Select Troubleshooting Options and press Enter.
  3. From this Troubleshooting Mode Options menu, select Enable ESXi Shell.Enable ESXi Shell
    Enable SSH
  4. Press Enter to enable the service.

Configuring the timeout for the ESXi Shell

By default, the timeout setting for the ESXi Shell is 0 (disabled). The timeout setting is the number of minutes that can elapse before you must log in after the ESXi Shell is enabled. After the timeout period, if you have not logged in, the shell is disabled.
Note: If you are logged in when the timeout period elapses, your session persists. However, the ESXi Shell is disabled and it prevents other users from logging in.
  • To set the ESXi Shell timeout from the Direct Console User Interface:
    1. From the direct console user interface, press F2 to access the System Customization menu.
    2. Click Troubleshooting Mode Options.
    3. Select Modify ESXi Shell timeout and press Enter.
    4. Enter the timeout in minutes.
    5. Press Enter.
    6. Press Esc until you return to the main menu of the Direct Console User Interface
  • To set the ESXi Shell timeout from vSphere Client:
    1. Log in to a vCenter Server system using the vSphere Client.
    2. Select the host in the inventory panel and click Configuration tab.
    3. Under Software, select Advanced Settings.
    4. In the left panel, select UserVars.
    5. In the UserVars.ESXiShellTimeOut field, enter the timeout setting.
    6. Click OK.

Accessing the local ESXi Shell

  1. If you have direct access to the host, press Alt+F2 to open the login page on the machine’s physical console..
  2. Provide credentials when prompted.

Accessing the remote TSM

  1. Open an SSH client.
  2. Specify the IP address or domain name of the ESX host.Notes:
    • Directions may vary depending on what SSH client you are using. For more information, consult vendor documentation and support.
    • By default, SSH works on TCP port 22.
  3. Provide credentials when prompted.

 

Here is the video:


Aug 25 2011

How To – Cannot change network to bridged: There are no un-bridged host network adaptors

Category: Tutorialsadmin @ 6:00 pm

This tutorial is aimed at people that have had problems with their VMWare Workstation 7 setup.
If you have recieved the message “Cannot change network to bridged: There are no un-bridged host network adaptors” then please follow these instructions to see if it fixes your problem.

There is one method I tried that was quicker and it worked – here is what I did:

  1. Make sure vmware workstation is closed
  2. Search for vmware workstation in your start menu list and right click on it
  3. Click on launch as administrator
  4. Accept the prompt
  5. Once vmware workstation opens up, go to edit / virtual network editor and it should try and automatically sort out your network settings.
  6. This usually does the trick if you are on Windows Vista or Windows 7.
  7. If it didnt resolve the matter, then press on restore defaults.
  8. Fin

Here is another method:

Virtual Network Editor

Error “Cannot change network to bridged: There are no un-bridged host network adaptors”

Cannot change network to bridged: There are no un-bridged host network adaptors

  • First you need to check whether the VMware driver is installed on your network card. It needs to be ticked. If it is not there click install

vmware driver

  • Open Service and click VMware Bridge Protocol to install

vmware bridge protocol

  • If that does not work. Open the Virutal Network Editor and click Restore
  • WARNING: this will reset all network settings as shown in the network editor. BACKUP before doing this

vmware network restore defaultvmware uninstalling network components


Jul 26 2011

How To – Reset Password for Asus EEEPC

Category: Technology,Tutorialsadmin @ 10:25 pm

Reset your Asus Eee PC password

Password persa sull'Eee PC?
Sorry for the screenshot language, but I own an Italian Eee PC :(
… and sorry for my poor English, too!

Don’t worry: you can reset the password, setting a new one without resetting your Eee PC with the built-in “Restore Factory Settings“… and without losing your precious data! ;)

Removing the login password request

To remove the password request (in order to be able to do the login again) you have to delete a configuration file… so, you’ll need to access the file system. You can do this entering the single user mode.

Entering boot loader (Grub) of the Eee PC

Turn on your Eee PC; as soon as the first screen appears (the one with the “Press F2 to run setup” request)…

Schermata di boot dell'Asus Eee PC

… press and keep pressed the F9 key, until the Grub main screen will appear. Now, you have 3 options:

  1. Normal Boot;
  2. Perform Disk Scan;
  3. Restore Factory Setting.

Grub Eee PC - schermata principale

Booting Single User Mode

Select (using the arrow keys) Perform Disk Scan and press the “e” key, to edit the line. Now select the second line (the one that begins with “kernel”), and press “e” again.

Modificare Perform disk scan

The cursor will blink at the end of the line. To enter the single user mode you have to replace the string XANDROSSCAN=y with XANDROSBOOTDEBUG=y

inserire XANDROSBOOTDEBUG

Press enter, then press the “b” key to boot single user mode.

Removing the configuration file with BusyBox

Now you’ll enter BusyBox, a small Linux-based system, with an ash shell. With this shell, you’ll delete the configuration file /home/user/.AsusLauncher/requireLogin: this way, you’ll remove the login password request!

Execute the following commands:

  1. for the Eee PC 701 or Eee PC 904 HD:
    1. mount /dev/sda2 /mnt-user/
    2. cd /mnt-user/home/user/
    3. rm .AsusLauncher/requireLogin
    4. exit
  2. for the Eee PC 900:
    1. mknod /dev/sdb b 8 16
    2. mknod /dev/sdb1 b 8 17
    3. mount /dev/sdb1 /mnt-user/
    4. rm /mnt-user/user/.AsusLauncher/requireLogin
    5. exit

Rimuovere la Richiesta password dell'Eee PC
(click on the photo to zoom it, to be able to check the commands)

Press return to reboot and to enter your Eee PC without the login request! ;)

Resetting the old password and setting a new one

Now you’re able to read and edit your files, but you can’t administrate your Eee PC: you have to set a new password.

Open the terminal (with CTRL+ALT+T). To set a new user password type:

sudo passwd user

Press enter and type the new password.

Do the same for the root password, typing

sudo passwd

exit and restart the laptop

Source: TechnoBurger.net


Jul 07 2011

How To – Unlock Mac OSX With Your iPhone (Bluetooth)

Category: iPhone / iTouch / iPad,Tutorialsadmin @ 12:15 am

mech14 has put two scripts together to use proximity to lock and unlock your Mac.

The scripts also can be used to play and pause music when there’s a Bluetooth connection.

The method is very easy and you don’t need to jailbreak your iPhone to do so.
STEP 1: Download the required file which contains the two scripts for your Mac then open it and move all the files to a new folder on your desktop.
STEP 2: Now open the file which have a Bluetooth icon then it will be installed in your menu bar.
STEP 3: Click on the icon then hit Preferences and select your options as shown:

STEP 4: At last, you’ll need to add the Apple Scripts. In the Out of Range Script field, hit Change and select the Apple Script you have already downloaded ‘outrange’. Then repeat the same step for In Range script.

Now try turning your iPhone’s Bluetooth on and your Mac will surely respond.


Jun 11 2011

How To – Enable Multitask on iPad iOS 5 Beta 1

Category: iPhone / iTouch / iPad,Tutorialsadmin @ 7:57 pm

1. Download iOS 5 beta 1 for iPad 1and install it using iTunes 10.5 beta
2. Jailbreak iOS 5 beta 1 on iPad 1 using Redsn0w 0.9.8b1 for Mac. No Windows version out yet, please wait for it.
3. Either get iFile from Cydia or SSH into your device to edit the K848AP.plist file. Mac users can also use the TextWrangler.
4. Go to the following directory in the filesystem: /System/Library/CoreServices/Springboard.app, open the K848AP.plist file from there and add this: multitasking-gestures
5. Save the file.


Jun 11 2011

How To – Upgrade to iOS 5 Beta 1 Without Developer Verification

Category: iPhone / iTouch / iPad,Tutorialsadmin @ 7:55 pm

http://www.crispytech.com/wp-content/uploads/2011/02/Mystery_iOS5.pngA lot of people have been asking for this, so I though I would post how its done.

  1. Download the iOS 5 IPSW
  2. Update via iTunes. Click using the Option key or Shift key while clicking Update. Select the file you downloaded.
  3. Once it upgrades, a new activation screen will appear.
  4. Triple click the home button. This activates the VoiceOver.
  5. Triple click the home button. Emergency Call will appear.
  6. Click on emergency call, and while it is switching, swipe with three fingers down.
  7. Notification Center will appear.
  8. Click on the Weather Widget and it will load.
  9. Click on the home button. The iOS device will exit the springboard.


Jun 11 2011

How to Install Linux on PS3 – Fedora, Debian and Ubuntu

Category: PS3,Tutorialsadmin @ 7:43 pm

Example of How To install Ubuntu on PS3

All guides can be found here.
Debootstrap HOWTO by glevand (geoffrey.levand@mail.ru)
(Redone by snowy)
(Updated by thom)
——————————————————-
Installing Ubuntu Lucid (10.04) with debootstrap on petitboot
——————————————————–
For different versions of Ubuntu, just change all occurrences of lucid, to natty or whatever build you would like.

You can also edit the config files in whatever text editor you would like. Nano and Vi are the preferred text editors

- Configuring the base system

1. umount /dev/ps3dd2
2. mkdir /mnt/ubuntu
3. mkfs.ext3 /dev/ps3dd2
4. mount /dev/ps3dd2 /mnt/ubuntu
5. rm -rf /mnt/ubuntu/*
6. debootstrap –arch powerpc lucid /mnt/ubuntu Index of /
7. mount -t proc none /mnt/ubuntu/proc
8. mount –rbind /dev /mnt/ubuntu/dev
9. LANG=C chroot /mnt/ubuntu /bin/bash
10. export TERM=xterm-color

- Mounting partitions
if you want to use nano editor you will need to type “apt-get install nano” without quotes

File /etc/fstab
—————-

/dev/ps3dd2 / ext3 defaults 0 1
/dev/ps3vram none swap sw 0 0
/dev/ps3dd1 none swap sw 0 0
/dev/sr0 /mnt/cdrom auto noauto,ro 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0

- Setting timezone

1. dpkg-reconfigure tzdata

- Configuring networking

1. echo “Name of your computer here” > /etc/hostname

File /etc/network/interfaces
—————————–

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

File /etc/resolv.conf (cat /etc/resolv.conf, if you see nameservers already skip this step)
———————-

nameserver 192.168.1.1

- Configuring apt

File /etc/apt/sources.list
—————————
deb Index of /ubuntu-ports lucid-updates main restricted
deb-src Index of /ubuntu-ports lucid-updates restricted
deb Index of /ubuntu-ports lucid universe
deb Index of /ubuntu-ports lucid-updates universe
deb Index of /ubuntu-ports lucid multiverse
deb Index of /ubuntu-ports lucid-updates multiverse
deb Index of /ubuntu-ports lucid-security main restricted
deb-src Index of /ubuntu-ports lucid-security main restricted
deb Index of /ubuntu-ports lucid-security universe
deb-src Index of /ubuntu-ports lucid-security universe
deb Index of /ubuntu-ports lucid-security multiverse
deb-src Index of /ubuntu-ports lucid-security multiverse

OR (Use the following if you have trouble with above sources.)

deb Index of /ubuntu-ports lucid main restricted
deb-src Index of /pub/ubuntu lucid main restricted
deb Index of /ubuntu-ports lucid-updates main restricted
deb-src Index of /pub/ubuntu lucid-updates main restricted
deb Index of /ubuntu-ports lucid universe
deb-src Index of /pub/ubuntu lucid universe
deb Index of /ubuntu-ports lucid-updates universe
deb-src Index of /pub/ubuntu lucid-updates universe
deb Index of /ubuntu-ports lucid multiverse
deb-src Index of /pub/ubuntu lucid multiverse
deb Index of /ubuntu-ports lucid-updates multiverse
deb-src Index of /pub/ubuntu lucid-updates multiverse
deb Index of /ubuntu-ports lucid-backports main restricted universe multiverse
deb Index of /ubuntu-ports lucid-security main restricted
deb-src Index of /ubuntu-ports lucid-security main restricted
deb Index of /ubuntu-ports lucid-security universe
deb-src Index of /ubuntu-ports lucid-security universe
deb Index of /ubuntu-ports lucid-security multiverse
deb-src Index of /ubuntu-ports lucid-security multiverse
deb Index of /ubuntu-ports lucid-proposed restricted main multiverse universe

1. apt-get update

- Configuring locales and keyboard

1. apt-get install locales
2. dpkg-reconfigure locales
3. apt-get install console-data
4. dpkg-reconfigure console-data

- Finishing touches

1. tasksel install standard
2. apt-get clean
3. passwd
4. apt-get install build-essential ncurses-dev git-core gitosis
5. mkswap /dev/ps3dd1
6. swapon /dev/ps3dd1

- Installing kernel

1. cd /usr/src
2. git clone git://git.gitbrew.org/ps3/ps3linux/linux-2.6.git
3. ln -sf linux-2.6 linux
4. cd linux
5. cp ps3_linux_config .config
6. make menuconfig
7. make
8. make install
9. make modules_install

If you compile your kernel on PS3 then make sure you activate swap because
compiling kernel needs much RAM. I used /dev/ps3dd1 as swap which
you have to create with fdisk first of course or some other program.

- Creating kboot.conf
1. ls /boot/
(After running ls /boot/, look for vmlinux… in this directory, and user it’s fiel name in the next commmand.)
2. edit kboot.conf and replace what you see for > vmlinux-2.6.* from below (example. vmlinux-2.6.38-gf77c53d)

File /etc/kboot.conf
———————

debian_vflash=/boot/vmlinux-2.6.* root=/dev/ps3dd2
debian_vflash_hugepages=/boot/vmlinux-2.6.* root=/dev/ps3dd2 hugepages=1

- Creating /dev/ps3flash device (needed for ps3-utils)

File /etc/udev/rules.d/70-persistent-ps3flash.rules
—————————————————-

KERNEL==”ps3vflashf”, SYMLINK+=”ps3flash”


Jun 07 2011

Skype Downtime 07.06.2011 [June 2011]

Category: Tutorialsadmin @ 2:52 pm

Skype appears to be down, or at the very least it is for a whole lot of users throughout Europe who are tweeting in a ton of different languages about their inability to connect. Many blame Microsoft, and even founder Bill Gates for the downtime, which is sort of strange because the multi-billion dollar acquisition of Skype hasn’t even closed yet.

Anyway, let’s pray that this isn’t a repeat of the Great Skype Outage of December 2010, when the apocalypse appeared nigher than ever.

Funnily enough, a bug in the Microsoft Windows client was to blame for that one.

If you’re affected by the downtime, you’d be well advised to monitor Skype Heartbeat (although it claims things are all working normal at the time of publication) and @Skype.

I’ll be one of those watching closely, because it’s down for me too. Damn you, Microsoft!

Update: around 7 AM Eastern time, the Skype team tweeted that “a small number” of users may be having trouble connecting indeed, and that it’s investigating the cause.

Companies always say only a small subset of users experience problems when they occur.

I have no clue why they insist on pointing that out like it makes a difference.

Update 2: and a Heartbeat blog post for good measure, saying the same.

Update 3: Skype slowly crawling back up for me (7:40 AM Eastern time)

Update 4: Skype now says a configuration problem caused the glitch (8:15 AM Eastern time). The company adds that now that is has identified the cause of the problem, they have begun to address it. The client should reconnect automatically as soon as it’s able to do so.

News thanks to techcrunch.com


May 29 2011

How To – Remove Mac Defender/Security/Protector Fake AntiVirus Phishing Malware

Category: Tutorialsadmin @ 1:47 pm

How to avoid installing this malware

If any notifications about viruses or security software appear, quit Safari or any other browser that you are using. If a normal attempt at quitting the browser doesn’t work, then Force Quit the browser.

To Force Quit an application, choose Force Quit from the Apple menu (or press Command + Option + Esc), then choose the unresponsive application in the Force Quit window, and click Force Quit.

Alternatively, press and hold Option then right click the application’s icon in the Dock and choose Force Quit from the contextual menu.

Or, in Mac OS X v10.5 or later, press Command + Option + Shift + Esc for three seconds to force quit the front-most application.

In some cases, your browser may automatically download and launch the installer for this malicious software. If this happens, cancel the installation process; do not enter your administrator password. Delete the installer immediately using the steps below.

  1. Go into the Downloads folder or your preferred download location.
  2. Drag the installer to the Trash.
  3. Empty the Trash.

How to remove this malware

DO NOT ever provide your credit card information under any circumstances.

  1. Move or close the malware’s Scan Window.
  2. Go to the Utilities folder in the Applications folder and launch Activity Monitor.
  3. Choose All Processes from the pop up menu in the upper right corner of the window.
  4. Under the Process Name column, look for the name of the app and click to select it; common app names include: MacDefender, MacSecurity or MacProtector.
  5. Click the Quit Process button in the upper left corner of the window and select Quit.
  6. Quit Activity Monitor application.
  7. Open the Applications folder.
  8. Locate the malware app, i.e. MacDefender, MacSecurity, MacProtector or other name.
  9. Drag to Trash, and empty Trash.

Malware also installs a login item in your account in System Preferences. Removal of the login item is not necessary, but you can remove it by following the steps below.

  1. Open System Preferences, select Accounts, then Login Items.
  2. Select the name of the app you removed in the steps above, i.e. MacDefender, MacSecurity, MacProtector.
  3. Click the minus button.


May 07 2011

How To – Install ionCube for Xampp

Category: Tutorialsadmin @ 4:47 pm
  1. Find your PHP version. You will need to know the version when you download the ionCube loaders.
  2. Download ionCube loader from: http://www.ionCube.com/loaders.php
  3. Download the following version: Windows (x86) — Windows Installer
  4. Install ionCube loader to XAMPP at: C:\xampp\htdocs\ioncube
  5. Open php.ini with your text editor.

The file is located at C:\xampp\apache\bin\ or C:\xampp\php\. [or differently path if you installed xampp in a different directory]
Add the following line before any other zend_extension statements.

zend_extension = “C:\xampp\htdocs\ioncube\ioncube_loader_win_5.3.dll”

And Save the file.


« Previous PageNext Page »
Get Adobe Flash player