10/6/12

SSH errors and tips - Ubuntu

If you're trying to connect to remote machine via ssh and receiving the error below:

"ssh: connect to host <hostname> port 22: Connection refused"

Follow the instructions below to solve this issue:

// Login directly to the remote machine

// Check that the ssh service on the remote machine is running
[user@server]$ sudo service ssh status

If you receiving the following massage: ssh stop/waiting than the ssh service is not running.

// Restart the ssh service
[user@server]$ sudo service ssh restart

It will pop up the following massage: 
ssh start/running, process <process number>


--------------------------------------


If you're trying to connect to remote machine via ssh and receiving the error below:


"Read from socket failed: Connection reset by peer"

Follow the instructions below to solve this issue:

// Login directly to the remote machine

// Check that the ssh service on the remote machine is running
[user@server]$ sudo service ssh status

// Generate the public/private keys:
[user@server]$ sudo sshd-generate

Dhcp3-server installation failed - Ubuntu

If you're trying to install the dhcp3-server in ubuntu linux and you're retrieving the following error:

"The following packages have unmet dependencies:

dhcp3-server: Depends: dhcp3-common (= 3.1.3-2ubuntu3.2) but 3.1.3-2ubuntu3.3 is to be installed E: Broken packages"

Follow the instructions below to solve this issue:


// Install the synaptic package

[user@server]$ sudo apt-get install synaptic

// Run the synaptic package (to run the synaptic app you should work in GUI mode)

[user@server]$ synaptic

In Synaptic application search for the dhcp3-common > Select it >

From the menu bar click on Package > Force Version... >
In the popped up window select the following forced version to be installed:
Force version: 3.1.3-2ubuntu3.2 (stable)

This process will do the following:

  1. Remove the packages below: 
    • dhcp3-client
    • wicd 
    • wicd-daemon
    • wicd-gtk
  2. Downgrade the dhcp3-common package
Click on the Apply button

// Install the dhcp3-server package

[user@server]$ sudo apt-get install dhcp3-server

// Install the dhcp3-client package

[user@server]$ sudo apt-get install dhcp3-client

// install the wicd package

[user@server]$ sudo apt-get install wicd







9/23/12

NFS mount error - CentOS

If you're retrieving:  "clnt_create: RPC: Program not registered"
when you're trying to view mounted NFS folder (/nfsshare) on the local server by running:

[root@server]# showmount localhost -e

Follow the steps bellow to fix this issue:

// Check the exports file for the mounted (/test) directory
[root@server]# vi /etc/exports

You should see something like the following:
/nfsshare                  *(rw, sync)

// Check that the nfs service is running
[root@server]# service nfs status

If you're getting error than your nfs service is not running

// Restart the nfs restart
[root@server]# service nfs start

You should see the following:
Starting NFS services:    [ OK ]
Starting NFS mountd:      [ OK ]
Stopping RPC idmapd:   [ OK ]
Starting RPC idmapd:     [ OK ]
Starting NFS daemon:    [ OK ]

Now the command should work fine :)


2/23/12

How to fix Scheduling Assistant didn't show Free\Busy information


If you are working in Outlook 2007 and it does not show the available times for users in the Scheduling Assistant, and you getting the following error: "Your server location could not be determined. Contact your administrator".

Follow the instructions below to solve this:
  • Close the Outlook Program
  • Click on Start > Run > 
  • Type regedit in the open box
  • Browse to the following path: HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Calendar
  • Right click on Calendar > New > Dword (32-bit) Value
  • Name it: UseLegacyFB
  • Open the UseLegacyFB > set it with the value: 1



12/18/11

Windows Key Shortcuts

On the list below you can find a useful windows key shortcuts:
You can use this keys only on Windows keyboards
(To check if you are working on Windows keyboard check if  you have Win Key on your keyboard - Its located between the Ctrl and Alt keys):

Win key





Win key - Displays the Start Menu
Win key + D - Minimize all your open windows (if you click on the keys again it will restore all the windows back to their last state)
Win key + E - Open the Windows Explorer window
Win key + L - Locks your machine
Win key + F - Open the Find files window
Win key + R - Displays the Run command window
Win key + TAB - Switching between the open windows (Aero mode)
Alt + TAB - Switching between the open windows (Standard mode)
Win key + U - Displays the Utility Manager window
Win key + PAUSE - Displays the System Properties window


Control Panel Tools (*.cpl files)

Each tool in Control Panel is represented by a *.cpl file in the Windows\System32 folder. The .cpl files in the Windows\System32 folder are loaded automatically when you start Control Panel.
Instead of opening the control panel with all the tool you can open specific tool by using the *.cpl file from the command line.


On the list below you can find useful *.cpl file (command line shortcuts).
To run this commands open the run window (Win Key + R)




or run them from the search line (Win Key):




Appwiz.cpl - Add/Remove Programs properties
Desk.cpl - Display properties
Inetcpl.cpl - Internet properties
Intl.cpl - Regional Settings properties
Joy.cpl - Game controllers properties
Main.cpl - Mouse properties
Mmsys.cpl - Sound properties
Ncpa.cpl - Network properties
Sysdm.cpl - System properties and Add New Hardware wizard
TimeDate.cpl - Date/Time properties
Firewall.cpl - Windows Firewall properties
Hdwwiz.cpl - Device Manager
Wscui.cpl - Action Center

  

11/4/11

How to add the Facebook Stream to your Google+ Profile

The Facebook for Google+ extension allows you to see your Facebook stream inside Google+.

Follow the instructions below to install the Facebook for Google+ extension:
  • Click on this link to open the Google Web Store
  • Click on the + ADD TO CHROME button (placed on the  top of the right\left corner)
  • On the Confirm Installation windows click on the Install button
  • Log in to your Google+ account
  • Click on the Facebook tab
  • Log in to your Facebook account to get your Facebook Stream in to your Google+ account.