Geek Freely: 2010

    Featured Post

    The whole point in this post is to run your own VPN service, and allow you to connect remote devices to your home network.

    To start off yo…

    I always forget how to upgrade my Nvidia graphics driver, so here it is :

    To stop gdm from virtual console (after going to virtual console by giving Ctrl + Alt + F1

    sudo service gdm stop

    To start after installing nvidia drivers:

    sudo sh ./NVIDIA-Linux-*

    To start it is as simple as stopping

    sudo service gdm start

    And I used these commands for this little beast:

    So I have FreeNAS running samba shares on my network, for the most part I really don’t need to access the data on my actually Linux boxes – only my HTPC.

    But I decided I wanted to create mount point on the media folder of my Ubuntu install.

    So here is what I had to do in fstab (/etc/fstab)

    //freenas_server/sharename /media/localsharedirectory cifs credentials=/home/macleod/smb.credentials,uid=mountuser,gid=mountgroup,iocharset=utf8,codepage=cp437,auto 0 0

    My credentials are stored in smb.credentials, like so:

    username=myuname

    password=mypwd

    And I got most of the information from here:

    Obviously replace mountgroup, mountuser with your ubuntu username and group (group is probably the same as name).  Also replace the appropriate shares and credentials – hopefully you get the picture.

    UPDATE:

    I edited the fstab entry so I now define the iocharset and codepage, this is so foreign characters are displayed correctly in the filesystem, and applications.  I noticed the issue due to having display issues in iSub and Subsonic.

    UPDATE2:

    The DOS Charset should be CP437 – CP850 is missing a few which I needed for foreign language music artists.

    I was trying to use symbolic links:

    ln -s /mnt/Personal/Music /mnt/user/Music

    But I needed to add them to the wheel group – which didn’t make sense, I tried doing everything relative, instead of absolute – like indicated http://www.proftpd.org/docs/howto/Chroot.html but it didn’t work for me.  Adding them to wheel basically allowed them to navigate anywhere they wanted.

    If anyone has had success using symlinks with their proftpd server, do let me know.

    In the end I had to mount a null filesystem

    mount_nullfs /mnt/Personal/Music /mnt/user/Music

    This basically duplicates the filesystem, any changes made to the dupe will affect the original, so be very careful with your user privilages.

    To undo this “link” you can simple umount the dupe

    umount /mnt/user/Music

    I do not currently know of any ill side effects to this, but I would appreciate any feedback from the guru’s out there.

    I do have to run these commands every-time the system starts – this is a real drawback – I would love to use symbolic links, but have not been able to work it out.

    The Rii mini.  I just bought this tiny little keyboard to control my bedroom XBMC HTPC, I am thinking about buying another for the living room – it’s perfect.  It’s back-lit, wireless, rechargeable (lithium-ion).  What more could you ask?  Seriously, what else do you need?

    Comment please!

    So the other month I bought a ton of new equipment for a new NAS box.  The question was, which NAS software to go for?  As ever it needed to be free, preferably open-source, and have all the functionality I was looking for.

    Webserver

    FTP server

    SAMBA/CIFS

    RSYNC

    I wrote about my excitment for

    more than a few months back ().  However during this wait my current NAS ) began to fail, due to harddrive issues, and the fact that it was a crappy old box.

    OMV has yet to be released, so I was in a bit of a pickle, I have new hardware, I need a new NAS, so I began to try my alternatives.  I installed and checked out the following NAS solutions:

    P.S. There are more, but some of them were ruled out due to hardware limitations, or pricing for several drive solutions ().

    eBox was nice in the fact that it had a built in LDAP server, but I soon realized that it is not something I really need.  Openfiler was cool, but I had some issues with my

    drives (a), and I wasn’t really a fan of the Volume Management. And Amahi… it sounds good, but the plug and play aspect is a little cluncky/cloogy in my mind.

    So in the end, I stuck with FreeNAS!  I have implemented encryption on my drives, FreeNAS handles the WD EARS no problem, setup the UPS feature for safe power downs.  All in all I am happy with my decision, there is no guarantee that OMV will be in a good shape when it is release, so why take the risk – stick with something I know and love!

    I just bought myself the WNR3500L from Netgear, because it ca be flashed with custom firmware – which is great.  My old buffalo router could do the same, and I used Tomato.

    I decided, new router, new firmware… not such a stunning idea.  My immediate issues with DD-WRT over Tomato:

    Other than these inconveniences I like it, I will update this as I find the time and move forward.  I am sure DD-WRT will become more user friendly, but I expected more from it – especially the way everyone rave about it.  For now I would tell ppl who are looking into these firmwares to go with Tomato.

    So a while back I was looking for an application to convert FLAC to MP3,

    the solution resulted in Foobar 2000 ().  Only

    problem I had with this amazingly fast little tool, was getting my hands

    on the lame.exe ()

    but it only took a little googling to find – and I just gave you the

    link – so you are good to go

    Update:

    is a freeware application that is not only capable of converting audio files such as flac, but also image and other formats.  Will be checking this out!

    So I have been thinking a lot about VPN, I want to securely access my home network and VPN is the best way to do that.

    As I have mentioned in previous post I use

    on my router.  This free software allows me to adapt my .  One of the variants out there for Tomato firmware allows me to run an

    server from the router.

    Using this

    I would have the ability to connect securely and become part of my network from anywhere in the world.  This got me thinking a little more…

    I have a small portable

    solution, running on Ubuntu, if I had a VPN server up and running on my router I could configure the VPN client on Ubuntu to securely connect and be part of my network – allowing me to stream my content securely/encrypted anywhere in the world!

    So I am on the search, I need to find a good application for port

    triggering.

    I use uTorrent for getting various content/distributions, however I

    don’t want traffic hitting my router when I am not using the

    application.  To get the best out of uTorrent you need to open a port on

    your router (port forward), but I don’t want that port to be open when

    my application is not running, so what’s the solution – port triggering.

    There is an application out there that will work ,

    but it is not supported in Windows 7.  The basic idea is that when Port

    Trigger sees the application of choice (uTorrent) running, it will

    intermittently send a request to a port.  This port request can then be

    set up at your router to open the configured port for your application

    connection.  Then, when the application is not running Port Trigger no

    longer ‘pings’ the trigger port, and the router will not open the port

    for the application.

    If anyone has any suggestions for a Windows 7 supported application,

    please get in touch!

    My router running Tomato firmware:

    So I used to be a big fan of Lupas Rename 2000 (), but I came across a problem that it could not solve.

    I had several files that had characters at the start of the filename that I wanted to move to the end… after some searching I found a utility (free too) that could accomplish my requirement.  It’s called Bulk Rename Utility ().

    This nifty little application allows me to, for example, do the following:

    Original filename – “(1937) Snow White and the Seven Dwarfs.avi”

    New Filename – “Snow White and the Seven Dwarfs (1937).avi”

    This is an example you understand…

    The application can be downloaded as an installer, or as a stand alone application – for all you portable pundits out there.

    So I signed up to be notified about the

    beta, but I never received an email – today I went to check the site out for an update… the beta has been out since the 7th.  I have downloaded the deb on my Ubuntu machine and installed it:

    sudo dpkg -i “downloaded file name without quotes”

    Probably have dependency issues…

    sudo apt-get -f install

    Worth checking on a few updates…

    sudo apt-get update

    sudo apt-get upgrade

    Well, obviously I haven’t had a chance to check it out, but we will see – I am very interested in the social aspects of the application, but I am loving

    with

    right now!

    Update:

    So I played about with boxee for a short period, the beta is a much needed improvement, but I am not sure if I will switch to it from xbmc!

    Subscribe to:

    Labels

    Blog Archive

    Links

    Leave a Reply

    Your email address will not be published.

    Geek Freely: 2010

    Featured Post

    The whole point in this post is to run your own VPN service, and allow you to connect remote devices to your home network.

    To start off yo…

    I always forget how to upgrade my Nvidia graphics driver, so here it is :

    To stop gdm from virtual console (after going to virtual console by giving Ctrl + Alt + F1

    sudo service gdm stop

    To start after installing nvidia drivers:

    sudo sh ./NVIDIA-Linux-*

    To start it is as simple as stopping

    sudo service gdm start

    And I used these commands for this little beast:

    So I have FreeNAS running samba shares on my network, for the most part I really don’t need to access the data on my actually Linux boxes – only my HTPC.

    But I decided I wanted to create mount point on the media folder of my Ubuntu install.

    So here is what I had to do in fstab (/etc/fstab)

    //freenas_server/sharename /media/localsharedirectory cifs credentials=/home/macleod/smb.credentials,uid=mountuser,gid=mountgroup,iocharset=utf8,codepage=cp437,auto 0 0

    My credentials are stored in smb.credentials, like so:

    username=myuname

    password=mypwd

    And I got most of the information from here:

    Obviously replace mountgroup, mountuser with your ubuntu username and group (group is probably the same as name).  Also replace the appropriate shares and credentials – hopefully you get the picture.

    UPDATE:

    I edited the fstab entry so I now define the iocharset and codepage, this is so foreign characters are displayed correctly in the filesystem, and applications.  I noticed the issue due to having display issues in iSub and Subsonic.

    UPDATE2:

    The DOS Charset should be CP437 – CP850 is missing a few which I needed for foreign language music artists.

    I was trying to use symbolic links:

    ln -s /mnt/Personal/Music /mnt/user/Music

    But I needed to add them to the wheel group – which didn’t make sense, I tried doing everything relative, instead of absolute – like indicated http://www.proftpd.org/docs/howto/Chroot.html but it didn’t work for me.  Adding them to wheel basically allowed them to navigate anywhere they wanted.

    If anyone has had success using symlinks with their proftpd server, do let me know.

    In the end I had to mount a null filesystem

    mount_nullfs /mnt/Personal/Music /mnt/user/Music

    This basically duplicates the filesystem, any changes made to the dupe will affect the original, so be very careful with your user privilages.

    To undo this “link” you can simple umount the dupe

    umount /mnt/user/Music

    I do not currently know of any ill side effects to this, but I would appreciate any feedback from the guru’s out there.

    I do have to run these commands every-time the system starts – this is a real drawback – I would love to use symbolic links, but have not been able to work it out.

    The Rii mini.  I just bought this tiny little keyboard to control my bedroom XBMC HTPC, I am thinking about buying another for the living room – it’s perfect.  It’s back-lit, wireless, rechargeable (lithium-ion).  What more could you ask?  Seriously, what else do you need?

    Comment please!

    So the other month I bought a ton of new equipment for a new NAS box.  The question was, which NAS software to go for?  As ever it needed to be free, preferably open-source, and have all the functionality I was looking for.

    Webserver

    FTP server

    SAMBA/CIFS

    RSYNC

    I wrote about my excitment for

    more than a few months back ().  However during this wait my current NAS ) began to fail, due to harddrive issues, and the fact that it was a crappy old box.

    OMV has yet to be released, so I was in a bit of a pickle, I have new hardware, I need a new NAS, so I began to try my alternatives.  I installed and checked out the following NAS solutions:

    P.S. There are more, but some of them were ruled out due to hardware limitations, or pricing for several drive solutions ().

    eBox was nice in the fact that it had a built in LDAP server, but I soon realized that it is not something I really need.  Openfiler was cool, but I had some issues with my

    drives (a), and I wasn’t really a fan of the Volume Management. And Amahi… it sounds good, but the plug and play aspect is a little cluncky/cloogy in my mind.

    So in the end, I stuck with FreeNAS!  I have implemented encryption on my drives, FreeNAS handles the WD EARS no problem, setup the UPS feature for safe power downs.  All in all I am happy with my decision, there is no guarantee that OMV will be in a good shape when it is release, so why take the risk – stick with something I know and love!

    I just bought myself the WNR3500L from Netgear, because it ca be flashed with custom firmware – which is great.  My old buffalo router could do the same, and I used Tomato.

    I decided, new router, new firmware… not such a stunning idea.  My immediate issues with DD-WRT over Tomato:

    Other than these inconveniences I like it, I will update this as I find the time and move forward.  I am sure DD-WRT will become more user friendly, but I expected more from it – especially the way everyone rave about it.  For now I would tell ppl who are looking into these firmwares to go with Tomato.

    So a while back I was looking for an application to convert FLAC to MP3,

    the solution resulted in Foobar 2000 ().  Only

    problem I had with this amazingly fast little tool, was getting my hands

    on the lame.exe ()

    but it only took a little googling to find – and I just gave you the

    link – so you are good to go

    Update:

    is a freeware application that is not only capable of converting audio files such as flac, but also image and other formats.  Will be checking this out!

    So I have been thinking a lot about VPN, I want to securely access my home network and VPN is the best way to do that.

    As I have mentioned in previous post I use

    on my router.  This free software allows me to adapt my .  One of the variants out there for Tomato firmware allows me to run an

    server from the router.

    Using this

    I would have the ability to connect securely and become part of my network from anywhere in the world.  This got me thinking a little more…

    I have a small portable

    solution, running on Ubuntu, if I had a VPN server up and running on my router I could configure the VPN client on Ubuntu to securely connect and be part of my network – allowing me to stream my content securely/encrypted anywhere in the world!

    So I am on the search, I need to find a good application for port

    triggering.

    I use uTorrent for getting various content/distributions, however I

    don’t want traffic hitting my router when I am not using the

    application.  To get the best out of uTorrent you need to open a port on

    your router (port forward), but I don’t want that port to be open when

    my application is not running, so what’s the solution – port triggering.

    There is an application out there that will work ,

    but it is not supported in Windows 7.  The basic idea is that when Port

    Trigger sees the application of choice (uTorrent) running, it will

    intermittently send a request to a port.  This port request can then be

    set up at your router to open the configured port for your application

    connection.  Then, when the application is not running Port Trigger no

    longer ‘pings’ the trigger port, and the router will not open the port

    for the application.

    If anyone has any suggestions for a Windows 7 supported application,

    please get in touch!

    My router running Tomato firmware:

    So I used to be a big fan of Lupas Rename 2000 (), but I came across a problem that it could not solve.

    I had several files that had characters at the start of the filename that I wanted to move to the end… after some searching I found a utility (free too) that could accomplish my requirement.  It’s called Bulk Rename Utility ().

    This nifty little application allows me to, for example, do the following:

    Original filename – “(1937) Snow White and the Seven Dwarfs.avi”

    New Filename – “Snow White and the Seven Dwarfs (1937).avi”

    This is an example you understand…

    The application can be downloaded as an installer, or as a stand alone application – for all you portable pundits out there.

    So I signed up to be notified about the

    beta, but I never received an email – today I went to check the site out for an update… the beta has been out since the 7th.  I have downloaded the deb on my Ubuntu machine and installed it:

    sudo dpkg -i “downloaded file name without quotes”

    Probably have dependency issues…

    sudo apt-get -f install

    Worth checking on a few updates…

    sudo apt-get update

    sudo apt-get upgrade

    Well, obviously I haven’t had a chance to check it out, but we will see – I am very interested in the social aspects of the application, but I am loving

    with

    right now!

    Update:

    So I played about with boxee for a short period, the beta is a much needed improvement, but I am not sure if I will switch to it from xbmc!

    Subscribe to:

    Labels

    Blog Archive

    Links

    Leave a Reply

    Your email address will not be published.