2013-01-22

SSH linux terminal



$apt-get install openssh-client
$apt-get install openssh-server
 
http://wiki.debian.org/SSH
 

---------------------------------------------------------------------
on client:
$ ssh-keygen -t rsa
$ ls ~/.ssh/
$ cat ~/.ssh/id_rsa.pub
     # copy conten to server "~/.ssh/authorized_keys"
$ ssh-copy-id -i ~/.ssh/id_rsa.pub $remote_user@$remote_host


on server:
$ cat ~/.ssh/authorized_keys

-----------------------------------------------------------------------
create pabulic key on client
 ssh-keygen -t rsa
 copy key from client ~/.id_rsa.pub (line) to server ~/.ssh/authorized_keys (line)
---------------------------------------------------------------------
on client:

    destination (server)         localhost (client)

$ ssh rolas@192.168.1.11 -p 22 -R 22222:192.168.1.15:22


on server:
$ ssh 127.0.0.1 -p 22222
---------------------------------------------------------------------

scp $source_file $remote_user@$remote_host:$destination_file
 
scp $remote_user@$remote_host:$source_file $destination_file 

ssh $remote_user@$remote_host 'ls *.txt'
 



http://www.debianadmin.com/howto-use-ssh-local-and-remote-port-forwarding.html

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


GET ETH ACTIVE
$ /sbin/route -n | grep "0.0.0.0" | grep "UG"
0.0.0.0         192.168.1.15     0.0.0.0         UG    0      0        0 eth0

GET IP
$ /sbin/ifconfig eth0 | grep "inet addr:"
    inet addr:192.168.1.15  Bcast:192.168.1.255  Mask:255.255.255.0


2013-01-12

StarCraft II: Wings of Liberty on Ubuntu **UPDATED**





Installation (How to):
StarCraft II: Wings of Liberty on Ubuntu



I am very Happy to Post This!!!


Performance Issue resolved on Ubuntu!

I did update, and now it is:

Ubuntu 12.10
Wine version: 1.5.20

Linux P5QCUbuntu64 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


Nvidia:



In my frost post I dod not write the version of Nvidia driver, I believe it also updated so as Nvidia Settings Tool , cause in the previous version I do not remember option "Prefer Maximum Performance" (Pict. below). I definitely
recommend to set this before starting the game!




I set Game Graphics on Medium!



I really enjoy the Game!
Comparing performance it my some difference with Windows XP. Windows may perform slightly better.... Bud I don't care! Now on Ubuntu + Wine it's good enough!
By by Windows!!!


     




Adding skype to GNOME (tray) panel indicator applet on Ubuntu 12.10

Ubuntu indicator-applet is like a tray in Windows 
 
Check if packeges installed:

$ sudo apt-get install indicator-applet indicator-applet-session
  
Adding skype to indicator-applet
Check settings: 
$ gsettings get com.canonical.Unity.Panel systray-whitelist 
$ ['JavaEmbeddedFrame', 'Wine', 'Update-notifier']
 
Add skype to the list:
$ gsettings set com.canonical.Unity.Panel systray-whitelist \
"['JavaEmbeddedFrame', 'Wine', 'Update-notifier', 'Skype']"
 
 
Gnome panel configure in session "Gnome classic no effect".
 "alt" + "alt" + mouse right click, select "Add to Panel"
 
The name of the panel item where skype icon appears 
(add this if not already exists):
 
 
 
Graphical Desktop activation tool:  
$ sudo apt-get install gnome-tweak-tool


2013-01-08

... Star Trek Spock ...



If you eliminate the impossible, whatever remains, however improbable must be the truth!

                         

2013-01-03

Best posible sound using Windows


We need the right player "foobar2000_v1.2"
http://www.foobar2000.org/

Driver - "ASIO4ALL_2_10_English"
http://www.asio4all.com/

And component for foobar to use them together - "foo_out_asio.fb2k-component"
http://www.foobar2000.org/components

It will not work, if not configured correctly. Also we should kill all sound related programs which may conflict.

Check if the component in the right place (picture below):


Set output device like this (picture below):



Now try play some file, i guess all outputs are muted by default, so unmute them if it looks like playing bud no sound.


Also select only one output device in the Device list. Restart Foobar after that.

Final indication if we done everything correctly (picture below):





"This software uses code of FFmpeg licensed under the LGPLv2.1 and its source can be downloaded here", taken from http://www.foobar2000.org/download


So I believe, for Linux no need special installs or configurations, the sound not messed up by default.