Archive for March, 2007

LCOD – 3.19.07 – finding shared folders in vmware

Not sure where to find files in your Linux vmware host when you’ve shared them as a vmware shared folder?

“In a Linux virtual machine, shared folders appear under /mnt/hgfs. So the shared folder in this example would appear as /mnt/hgfs/Test files.”

So if you share it as drive I it will show up as /mnt/hgfs/drive I
Which you would need to access with a \ to escape out that space in the path…

cd /mnt/hgfs/drive\ I

I finally found this info here, after searching all over…

http://www.vmware.com/support/ws45/doc/running_sharefold_ws.html

, ,

No Comments

LCOD – 3.12.07 – Speeding up your DNS queries

I did some testing and OpenDNS is fast.

To change to use OpenDNS instead of your own, or worse! your ISP’s crappy, poorly maintained dns server, you can follow the instructions here.

http://opendns.com/start/

The basic info is to put in these 2 IP’s as your dns servers

208.67.222.222
208.67.220.220

On Linux/*BSD you’d put them in your /etc/resolv.conf file like this

nameserver 208.67.222.222
nameserver 208.67.220.220

If you’d like to double whammy your performance run a local cache, I use DJB’s djbdns dnscache in forwarding only mode, as described here.

http://cr.yp.to/djbdns/run-cache-x-home.html

With the above IP’s in the @ file.

Installing DJB’s stuff is cake, you can pretty much cut & paste his instructions found here

http://cr.yp.to/djbdns/install.html

Of course you’ll need Daemontools, and ucspi, install instructions (cut & pasteable) here

http://cr.yp.to/daemontools/install.html
http://cr.yp.to/ucspi-tcp/install.html

If you get compilation errors cuz DJB hasn’t fixed a bug in his code and some systems (lots of recent Linux systems), run these commands.
(run after you’ve extracted the archive, and cd’d into it’s directory, and run for EACH install.) You may get a no such file for the src one on some, but he mixes software locations, so just run em both.

perl -pi -e ‘s/extern int errno\;/\#include <errno.h>/’ *
perl -pi -e ‘s/extern int errno\;/\#include <errno.h>/’ src/*

Enjoy!

, , , ,

No Comments

Easy AdSense by Unreal