Open a command prompt with administrative permissions:
mklink /D Virtual_Folder_Here Real_Folder_Here
Example, you want to install something to D:\Games, but you want it to appear as C:\Games.
mklink /D C:\Games D:\Games
This will create a folder D:\Game which also appears as C:\Game. Anything that references C:\Game will be redirected to D:\Game.
Since I am not completely familiar with steam, I have not given an example that matches your exact folder. If steam allows you to pick the folder it installs to (Which due to you not just installing it to the other drive, I am not so sure it does.) you could create they symbolic link first. If however it does not, you may need to do some file-transfers, moving it to the new location and then creating the symbolic link. Example:
Steam installed your game to: C:\Program Files\Steam\SteamApps\common\Game2
Now, you create your folder: D:\GameGoesHere
Then, you copy all the files from the original folder and put it in D:\GameGoesHere, then you can create the link:
Notice I used quotations this time due to the spacing of “Program Files.” Also note that before creating the link the virtual folder must NOT be a real folder. So, if the folder you want to be a link exists, you must delete it first (Not before you copy it, of course!)
I love the scroll wheel on top of the Apple mighty mouse, but after use the sweat and oil on your finger combined with grit and dust clogs the whole thing up. This manifests itself in the scroll wheel not scrolling down, or up, or in worst cases, not scrolling all. Here’s how to fix the problem.
I rang Apple and said my scroll wheel was not working and they gave me this simple but effective solution over the phone. It was not broken but just dirty. It’s funny that I could not find it anywhere on Google or on the Apple webpage, it has worked for me numerous times.
Simply take a sheet of clean white paper, put it on top of the mouse, and press down on the scroll wheel with your finger, but with the paper between your finger and the scroll wheel. Press quite hard with it and at the same time scroll around – moving it up and down and round and round. Move to a different area of the paper and give it another go.
The paper seems to absorb all the oil and gunk off the scroll wheel, and the scroll wheel in turn when it is clean must absorb the gunk off the sensors or whatever is underneath it.
I wanted to restrict access to my SOCKS server but didn’t want to add local users and authenticate against them. Also IP based restriction was out of the question as our users IP is dynamic. A PAM (Pluggable Authentication Module) library would be ideal for that regard. To install, run the following command:
1
sudo apt–getinstall dante–server libpam–pwdfile
2. Edit Dante configuration file
Back up the original configuration file
1
sudo mv/etc/danted.conf/etc/danted.conf.bak
Open vim or your favorite text editor
1
sudo vim/etc/danted.conf
Copy and paste following lines. Its very simple configuration that allows every client with an account to access the server so you may want to edit this so it fits your needs.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
## general configuration
internal:eth0 port=443
external:eth0
method:pam
user.privileged:root
user.notprivileged:nobody
user.libwrap:nobody
logoutput:stderr
## client access rules
clientpass{from:0.0.0.0/0to:0.0.0.0/0}
## server operation access rules
# allow the rest
pass{
from:0.0.0.0/0to:0.0.0.0/0
method:pam
}
You can read more about Dante server configuration here.
3. Add PAM configuration file
When I installed Dante, it didn’t create any file in “/etc/pam.d” folder but if there is any, we need to make a back up.
I used htpasswd to register users so I assumed that you have apache2 installed on your server. We have to create a folder to put our virtual accounts database there.
1
sudo mkdir/etc/danted
then use following command to register users
if cannot find htpasswd command user this command “sudo apt-get install apache2-utils“
1
sudo htpasswdcd/etc/danted/socks.passwd auser
The command will ask you for a password. Minor problem with htpasswd command is that your passwords can not be larger than 8 characters.
-c argument will make new file and -d will force MD5. For creating additional users you only need to use -d argument.
5. Starting server
To start the server enter following command
1
/etc/init.d/danted start
To stop the server
1
/etc/init.d/danted stop
If you’re lucky enough your server will start without any problems. If not please refer to troubleshooting step.
To test your server you need a SOCKS 5 client that could handle authentication. I don’t know about linux but you can use Proxifier if you’re using windows.
6. Troubleshooting
The only problem I encountered while setting up the server was getting following error after started the server:
After a bit of digging I found out that this is a bug exist in Ubuntu 12.04. Anyway you can solve the problem with below command
1
2
cd/lib/x86_64–linux–gnu
sudo ln–slibc.so.6libc.so
Hope this helps some people who had trouble setting up Dante server.
Source http://devmash.net/setup-dante-server-with-virtual-user-accounts-on-ubuntu/
and http://www.linuxquestions.org/questions/linux-networking-3/unable-to-find-htpasswd-command-932076/
How to install dante socks server on debian (ubuntu is similar):
apt-get install dante-server
This installs dante onto your debian server. By default it will not start (it will try to start – but will fail saying “no internal interfaces are configured etc…”).
To configure Dante socks server:
vi /etc/danted.conf
By default – most required lines will be uncommented. The following lines need to be inserted/ uncommented in danted.conf
#logoutput: stderr
logoutput: syslog
#the above line will send any logs to /var/log/syslog instead to a terminal
internal: eth0 port = 1080
internal: 127.0.0.1 port = 1080
external: eth0
method: username none
#the above puts no username or password. Access will instead be controlled via client ip address/range.
#if there is no username or password - then danted socks server needs to run as nobody, i.e.
#method: pam
# if you choose to use pam instead - a valid username&password as required for sshing to the socks server is required.
#Note: not sure if proxy login details are sent in clear text.
#user.privileged: proxy
user.notprivileged: nobody
client pass {
from: 136.201.251.21/0 port 1-65535 to: 0.0.0.0/0
# 136.201.251.21/0 = specific ip address.
}
client pass {
from: 127.0.0.0/8 port 1-65535 to: 0.0.0.0/0
}
client block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
#Finally block other traffic
block {
from: 0.0.0.0/0 to: 127.0.0.0/8
log: connect error
}
pass {
from: 136.201.251.21/0 to: 0.0.0.0/0
protocol: tcp udp
}
pass {
from: 127.0.0.0/8 to: 0.0.0.0/0
protocol: tcp udp
}
block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
Once the config is complete. Start/Restart dante socks server:
/etc/init.d/danted start
If there is a problem with the config – it will tell you immediately on trying to start the danted daemon.
Test Dante Socks Server
netstat -n -a
#check to see if server is listening on 1080
Make sure the firewall is open. Add appropriate rule as on Iptables_Firewall. Test also with winscp or putty.
Other SOCKS Servers
Note that putty itself can provide a SOCKS 5 server!! (But putty needs to be able to connect to an external server/computer firstly!)
To configure socks to act as a socks v5 server:
Open Putty, Go to CONNECTION -> SSH -> TUNNELS
In the Source Port - put 1080
In the Destination Port - put 1080
Click on the Dynamic radio button for "Dynamic Port Forwarding"
Connect to an server with external access. Telnet localhost 1080 and it should connect.
Also note – SOCKS v5 can be setup using ssh on the command line.
The username authentication method uses the system password file to verify a username and password combination supplied by a user as part of the SOCKS version 5 authentication process. Note that the password is transmitted in cleartext with this authentication method.
Environment setup
The standard system password authentication functions are used to verify the password, and the machine running the SOCKS server needs to have all users and passwords in a password file or similar database. It might, depending on the platform, be possible to run the server in a chroot() environment with a password file independent of the rest of the system.
For the server to be able to access the system password file, it will typically have to be started with root privileges. In this case, the user.privileged anduser.notprivileged keywords should be set to ensure that the server will run as an unprivileged user when it does not need root privileges.
Example clientmethod usage
This authentication method cannot be used as a clientmethod.
hibiware koware yuku sekai wa hateshinaku
michinaru souzou ga ima chitsujo o nakushiteru
kasaneau itami ga kurikaesu genjitsu
kimi to no mainichi ga sono yami ni imi o nageta
sashishimeshita michi o kagayakasetaikara
kuroi kono juudan ga ima subete o uchinuku
akaku moeru sono manazashi ni atsuku hibiku inochi no kodou
tsuyoku fukaku tsuranuiteiku shinjitsu o (black and red bullet!)
kizudarake no kokoro moyashite kimi to ashita o kirihirakitai
kono karada ni subete o komete tatakau yo black and red bullet!
kibou o shinjite
hagukumi kowasareta kanashii sono kioku
te ni shita kono karada itsu kara ka iki hisometa
mugen ni tachitsukushi sagashiteta yuuki wa
chiisana kimi no naka ni yawarakaku yadotteta
katachi o nakushiteku aimai na shinri ni
tachimukau sono seigi o mamotte ikiru kara
kimi to tobou hatenai yume ni mukau kokoro shinzoku no kaze
motto hayaku uchiyabutteku genkai o (black and red bullet!)
kizu-darake no kokoro o daite tsumugu asu o hikiyoseru kara
itsuka kitto tadoritsukeru yo sei mo shi mo black and red bullet!
koeta sono saki ni
akaku sunda hitomi wa yagate toraeteiku mujou no yami o
dakara boku wa tonari ni iru yo itsu no hi mo
kizudarake no kokoro moyashite kimi to asu o kirihirakitai
kono omoi ni subete o komete tsuranukou
akaku moeru sono manazashi ni atsuku hibiku inochi no kodou
tsuyoku fukaku tsuranuiteiku shinjitsu o (black and red bullet!)
kizudarake no kokoro o daite tsumugu asu o hikiyoseru kara
kono karada ni subete o komete tatakau yo black and red bullet!
kibou o shinjite
It cracks and breaks, this endless world;
Undiscovered creations are on the brink of losing all regulation.
As the pain keeps piling up in a reality stuck on repeat,
I cast the meaning of my everyday life with you into that darkness.
I want to light this path that was laid out for me,
So I’ll pierce everything with a black bullet.
Within your burning red gaze, I see the beat and resonance of life itself,
As it pierces through powerfully, deeply; seeking the truth with a (black and red bullet!).
With my battered heart burning, and you by my side, I want to cut a path to tomorrow,
Taking everything inside these bodies and fighting back with a (black and red bullet!).
Believe that there’s hope!
Sad memories of your shattered upbringing,
Wait with baited breath within this body you obtained.
The courage you sought while standing against the phenomenal,
Have been gently sleeping within your tiny body.
Our forms start to fade in midst an uncertain truth,
For we now live to execute the justice we defend.
We fly together through an endless dream, our hearts going forth with great speed.
Faster still, we’ll break through the limits with a (black and red bullet!)
Clutching our battered hearts, we’ll pull the strings connecting the future,
Someday we’ll surely arrive, facing life and death with a (black and red bullet!).
And once we go beyond…
Eventually, those clear red eyes will be taken by this cruel darkness,
So I’ll stay by your side each and every day.
With my battered heart burning, and you by my side, I want to cut a path to tomorrow,
Taking everything inside this feeling and piercing through.
Within your burning red gaze, I see the beat and resonance of life itself,
As it pierces through powerfully, deeply; seeking the truth with a (black and red bullet!).
Clutching our battered hearts, we’ll pull the strings connecting the future,
Taking everything inside these bodies and fighting back with a (black and red bullet!).
Believe that there’s hope!
itsuka no, ikutsuka no kimi to no sekai (The Many Worlds I’ll Share with You Someday)
Romanji
Soto wa ame ga furishikitteru kedo
Iya ja nai yo yasurageru basho
Mada shiranai hibi wo mukaete wa
Atarashii PEEJI wo mekuru yo
Ikutsu mo no koe wo kiite
Mezameta asa no mabushisa
Kimi wa itsumo soko ni tatazunde
Itsuka no kimi no sekai
Boku ni mo misete yo hora ima
Nanigenaku tsumuida shigusa ni omowazu
Mune ga shimetsukerareru
Mata ashita nani wo hanasou?
Monogatari no tsuzuki wo mi ni yukou
Deatta kisetsu wa mou hana ga saki
Tsubomi datta koro wo omou darou
Kimi da sodatte kita kono machi ni wa
Yawarakai omokage yadotte
Kimi wa nani ni koi wo shite
Koko made aruite kita no?
Shiritai to omou yo
Furimuite
Itsuka no boku no inai
Kimi no sekai e to yuketara…
Yasashiku mune ni hibiku you na FUREEZU wo
Boku ni sasayaki kakeru
Yume de itsuka mita you na ki ga shiteta
Keshiki ima me no mae ni hirogatte
Tsutaetakatta kotoba wo omowazu ushinatta yo
“Yasashii koe ga suru”
“Wa ni natteite”
“Doko kana?”
“Koko da yo”
“Saa…!”
Itsuka no kimi no sekai
Boku ni mo misete yo hora ima
Yasashiku mune ni hibiku you na FUREEZU wo
Boku ni sasayaki kakete
Mata ashita nani wo hanasou?
Monogatari no tsuzuki wo mi ni yukou
Ashita mo aeru no kana?
Monogatari wa mirai e tsuzuiteku
But I don’t mind, ’cause I feel at ease here.
Facing an unknown future,
I turn over a new page.
I hear familiar voices,
As I wake to a blinding morning.
You’re always standing there, waiting.
Someday, I want you,
To show me your world. C’mon, show me now!
Your actions string together without hesitation,
Pulling tightly at my chest.
What shall we talk about tomorrow?
Let’s see how this story continues!
In the season we met, the flowers were already in bloom,
But I’m thinking of the time when they were still budding;
In this city you were raised in,
I see tender traces of you everywhere.
What things did you love,
In your journey to the present?
I think I wanna know… so turn my way!
If I could someday go,
To your world, in which I don’t exist…
You’d whisper a phrase to me,
That would gently resound in my heart.
I feel like I’ve seen it before in a dream;
The scenery stretches before my eyes,
And I lose the words I wanted to tell you.
“I hear a sweet voice.”
“It all becomes one.”
“Where are you?”
“I’m right here!”
“C’mon…!”
Someday, I want you,
To show me your world. C’mon, show me now!
Whisper that phrase to me,
That will gently resound in my heart.
What shall we talk about tomorrow?
Let’s see how this story continues!
Will I see you again tomorrow?
This story goes on into the future…