Posted by Simson on February 7th, 2010
I want to access the music collection on our big Windows XP-running game-playing desktop PC from my recycled Linux laptop down in the basement. I found a lot of information on connecting to a Linux file server from a Windows client, but not much on going the other way round. A bit here, and bit there, and this is what I came up with.
First, edit your file and give the Windows machine a name:
192.168.1.2 pootie
Next, install the and packages using your method of choice.
Create a directory where the share will appear on your local filesystem.
$ sudo mkdir /mnt/music
Edit and add a line for the mount. Here "pootie" is the name of the machine and "music" is the name of the share.
//pootie/music /mnt/music cifs exec,credentials=/etc/cifspw 0 0
Create a password file with the login credentials for your Windows account.
username=Jason
password=ImNotGonnaTellYouThat
And secure the file:
$ sudo chmod 600 /etc/cifspw
Giddyup.
$ sudo mount -a
Posted by Simson on February 7th, 2010
How To Upgrade Debian Etch To Lenny
Debian Etch is soon
to be unsupported by the Debian team, there for all Debian Linux
Servers need to be upgraded to Debian Lenny, I work for Netzen (an IT Support
company) and have upgraded many Linux servers to Debian Lenny over the
past month, So I am providing this guide on how to upgrade Debian Etch
to Debian Lenny to the HowtoForge community.
Posted by Simson on February 5th, 2010
Trafficanalysis Using Debian Lenny
By using my Network Monitoring Appliance we noticed a link in MRTG
always under heavy load. On this link a lot of different traffic
aggregates, so we decided to analyze of what quantities of protocols
and therefore applications the cumulative traffic consists.
Posted by Simson on February 4th, 2010
CVSup Method
This is a quick method for getting and keeping your copy of the Ports Collection up to date using CVSup protocol. If you want to learn more about CVSup, see Using CVSup.
Note: The implementation of CVSup protocol included with the FreeBSD system is called csup. It first appeared in FreeBSD 6.2. Users of older FreeBSD releases can install it via thenet/csup port/package.
Make sure /usr/ports is empty before you run csup for the first time! If you already have the Ports Collection present, obtained from another source, csup will not prune removed patch files.
- Run csup:
# csup -L 2 -h cvsup.FreeBSD.org /usr/share/examples/cvsup/ports-supfile
Change cvsup.FreeBSD.org to a CVSup server near you. See CVSup Mirrors (Section A.6.7) for a complete listing of mirror sites.
Note: One may want to use his own ports-supfile, for example to avoid the need of passing the CVSup server on the command line.
- In this case, as root, copy /usr/share/examples/cvsup/ports-supfile to a new location, such as /root or your home directory.
- Edit ports-supfile.
- Change CHANGE_THIS.FreeBSD.org to a CVSup server near you. See CVSup Mirrors (Section A.6.7) for a complete listing of mirror sites.
- And now to run csup, use the following:
# csup -L 2 /root/ports-supfile
- Running the csup(1) command later will download and apply all the recent changes to your Ports Collection, except actually rebuilding the ports for your own system.
Posted by Simson on February 4th, 2010
Installing Nginx With PHP5 And MySQL Support On Fedora 12
Nginx (pronounced
“engine x”) is a free, open-source, high-performance HTTP server. Nginx
is known for its stability, rich feature set, simple configuration, and
low resource consumption. This tutorial shows how you can install Nginx
on a Fedora 12 server with PHP5 support (through FastCGI) and MySQL
support.
Posted by Simson on February 4th, 2010
How To Add Two-Factor Authentication To Openvpn AS With The WiKID Strong Authentication Server
It’s been a while since our last tutorial on how to add two-factor authentication to OpenVPN using the WiKID Strong Authentication System.
The people at OpenVPN have been very active lately and it seems like a
good time to take a look at what they’ve done. It’s still dead simple
to configure, but it is mostly done via the new slick web interface.
Recent Comments