Stigatle.net

Site sponsored by Nettkroken.no

  • Increase font size
  • Default font size
  • Decrease font size
Welcome to the Frontpage

Maratis exporter has been updated for 3dsmax 2015

E-mail Print PDF

You can download the exporter from this link:

http://bullet4max.com/owncloud/public.php?service=files&t=77a5d3f2a5432c0baae23aabaa3fa072

Unzip it to your 3dsmax 2015 root folder and then start 3dsmax.
Open the "/scenes/maratis sample scenes/samplescene.max"
run the Maratis_exportmesh.ms script (in scripts root folder) to open the GUI.
browse to a empty folder (the script will create all needed folders).
and export the scene.
open the mproj file in Maratis - and enjoy smile

There are some issues with the texture\shading (shadows), I did not have time to fix that tonight.
But atleast all the major things works, so it's a good fresh start.

I want to focus on next to clean it up and then make the shading more complete.

I am in the process of releasing the repository I'm working in as well, that will also include a wiki with instructions and
a bugtracker,And that includes a lot of small fixes, it's still rough around the edges.

For more info about maratis3d:
http://www.maratis3d.org/

Last Updated on Saturday, 01 November 2014 22:16
 

Linux is frustrating at times

E-mail Print PDF

I bought a new AMD computer to use for simple storage, I have two disks with OS on it, and two raid controller cards with 2 disks each, 6 disks in total.
I started on it yesterday morning.

So,

First I tried latest ubuntu stable, did not work because it disables USB during install, so that prevents me from installing since I cannot use mouse \ keyboard.
I then grabbed the latest unstable, which did not work either because it refused to have anything to do with my disks.
Same goes for Xubuntu.
I then tried CentOS, but network card failed, and it failed to install properly on my raid setup, also would not boot with the internal graphics card, and internal gigabit network card did not work either.

So next up was debian, which failed again because it did not work with my raid setup at all.

 

So right now I'm trying OpenSuse, which seems to work so far, at least the network card works, graphics and raid.

OpenSuse saves the day.

Last Updated on Sunday, 02 March 2014 12:53
 

OwnCloud with Tahoe-Lafs

E-mail Print PDF
Owncloud with Tahoe-LAFS.

Important update on this tutorial:
After testing it more the last days I ran into some strange issues, when I used 'regular' ftp, and due to 'Zooko' pointing out that there are several issues in regards to using ftp isntead of SFTP
https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2097

I have now updated this tutorial to use SFTP instead , that works much better,I also updated so that you install from source to get the latest version.

After all the NSA scandals I decided to pull all my files off amazon, google, dropbox etc.
As a alternative I’ve been using one of my servers in my basement, I’ve been using Owncloud as my front-end ,
it works perfectly, the client is crossplatform too, so it works with most OS’es.

The only issue I had was off-site storage, I really wanted a secure way of storing them off-site, so if my house burns down I can still get to my files.

This is where Tahoe-LAFS comes in, is a secure storage system for files. I wanted Owncloud to work with this system,
and it does indeed work, but it takes some work to configure it.

I plowed through the Tahoe-LAFS documentation, and asked the friendly guys at IRC on how to get tahoe to work with SFTP,
when that was set up I pointed my OwnCloud to the Tahoe-LAFS SFTP.

Please note that Owncloud only shows the files that are uploaded through it's webGUI or through the sync client, and not files uploaded to the same directory through SFTP to the Tahoe client, this is because Owncloud has it's database that keeps track of where the files are located etc.

Also if owncloud seems to 'lock up' during setup, then just stop the tahoe client, and reconfigure owncloud's external storage.
It seems to hang if misconfigured, stopping the tahoe client makes the owncloud plugin 'time out' faster so that you can work with it again.

This tutorial will do so that you hook it up to the test grid, that makes it easier for you to follow since you only need a client node,
but please do not put large amount of files there, this is just for testing. Keep in mind that your files cannot be seen by anyone else, even if you use the test-grid.

First you need to install Tahoe-LAFS I assume you are on ubuntu, and that you are running owncloud server on the same machine as Tahoe-LAFS.

Also please note that bugs may happen, so please only do this for research, I take no responsibility for what you do.

Install the dependencies for tahoe:
apt-get install python python-dev python-setuptools build-essential git && easy_install pip && pip install twisted


Start off by  getting the latest  Tahoe-LAFS source code by entering the command:
git clone https://github.com/tahoe-lafs/tahoe-lafs.git

cd into the tahoe dir:

cd tahoe-lafs

build it:

python setup.py build


 to start tahoe from now cd into the 'bin' (inside the thaoe-lafs directory you cloned the source to) and type:

./tahoe create-client

this will create our client config etc.

Edit the configuration it created:
 
nano /home/YOUR_USERNAME/.tahoe/tahoe.cfg

Edit the following:

[node]
nickname = Another nickname than "None"


[client]
 introducer.furl = pb:// This e-mail address is being protected from spambots. You need JavaScript enabled to view it :50213/introducer


(this will connect it to the testgrid).

restart tahoe with the new configuration:
tahoe restart

open your browser and go to:
http://127.0.0.1:3456/

this is your tahoe installation webgui.
click the ‘create a directory’ button (just leave everything as default).

click on ‘more info about this directory’
then copy the long line that says:
'Directory writecap’
it’s a long line like this (example has been altered, so do not use it):
URI:DIR2:lrd3bxx5wm3grihn6srggrc5xq:aeoxmyovm6vpivcqutds2lszrrmaudbkrv6jfyzfqndjv3o4k46q

We will use this for our SFTP account file,

Create a folder named 'private' inside your home directory:

mkdir private


we then create the keyfiles needed for sftp, do not enter any password, just confirm the defaults, we place them into the 'private' directory:

ssh-keygen -f /home/YOUR_USERNAME/private/ssh_host_rsa_key

Then create the file:
nano /home/YOUR_USERNAME/private/accounts

and enter:
YOUR_USERNAME YOUR_PASSWORD URI:DIR2:lrd3bxx5wm3grihn6srggrc5xq:aeoxmyovm6vpivcqutds2lszrrmaudbkrv6jfyzfqndjv3o4k46q
 
in a row (Space between username, pass and uri). the URI is the folder we created in our webgui.

We then edit our tahoe config, to enable FTP with the account file we created.
nano /home/YOUR_USERNAME/.tahoe/tahoe.cfg

Add the following:

[sftpd] enabled = true port = tcp:8022:interface=127.0.0.1 host_pubkey_file = /home/YOUR_USERNAME/ssh_host_rsa_key.pub host_privkey_file = /home/YOUR_USERNAME/ssh_host_rsa_key accounts.file = /home/YOUR_USERNAME/accounts


You then log in to your owncloud instance, and

1) click on your username (I assume you are admin on that instance)

2) select ‘apps’, enable ‘external storage support’.

click your username again, and select ‘admin’,
add your SFTP to the config:
‘Folder name = tahoestorage’
‘external storage = Sftp’
‘configuration= 127.0.0.1:8022' (8022 is the port the SFTP runs on)
‘username = your username in the accounts file’
‘password = your password in the accounts file’.
assign it to your self or a group in the last 'setting' for the FTP.

then the ‘tahoestorage’ will appear in your root folder on owncloud.
If the icon looks like a folder then you've done it correctly, also a green icon will appear next to where you define the FTP settings if everything is OK.
you can then put files there and it’ll distribute it over tahoe-lafs.

You can check the SFTP by connecting with filezilla to :
ftp://127.0.0.1:8022 with your defined username \ password.

 you can also open the port to owncloud webserver so that you can use the owncloud desktop client from wherever you are to your server at home,
then this owncloud instance will automatically distribute all files to the Tahoe grid - awesome, the power of open-source..!

Last Updated on Sunday, 03 November 2013 21:02
 

Easy encrypted system backups to tahoe-lafs

E-mail Print PDF

Just a quick note today, I've been looking into software that can help with system backups to Tahoe-Lafs,
and Duplicati is the best one I've found, it's very easy to use, advanced features (file encryption included), and easy to use GUI.

 You can point it to your Tahoe-Lafs client directly during the backup setup process.
Create a new folder in the webgui, and get the folder information and "uri",
enter that path in the setupwizard for duplicati when asked for it.
(remember to add /uri/ to the pat, example:
/uri/URI:DIR2:ye6ptqbtygm42sy4ahsdpyhg7m:76ctkgflevs3mfcath3mfwlpapkjq5ze5exy73v4xrmesspnisga )

You can create a folder to store backups in through your Tahoe client webgui. 

Last Updated on Sunday, 03 November 2013 20:29
 

Update on bitcoin mining

E-mail Print PDF

I've been mining 24\7 with my Butterflylab's Jalapeno miner since I got it,
and It's still working perfectly fine.


I've been thinking about investing in larger ASIC miners, but I've been waiting to do so to see how the market for these miners are heading.
As we've seen many times - preordering is very very risky, since you have no clue what so ever if the company that makes them will deliver on time.
I was lucky and got my pre-ordered jalapeno miner early, so that I was able to earn back my investment within weeks of it arriving.

The difficulty for mining is always going upwards, this means that you earn less and less, if you get the same miner as I have now - today - then I would
not think you would earn it back again.

I'm not in it for the money, it's simply a system I believe in, and something I use for various purchases, and I want to help the network by running a miner.
As long as I do not loose money then I'm happy to invest.

As for mining software - I currently use CgMiner on a ubuntu server box, and I recently started to use the 'p2pool' software, instead of joining a 'regular' online pool.
This is a decentralized pool, so it cannot go down or be attacked like many of the other pools.

There's more info here:
https://en.bitcoin.it/wiki/P2Pool

 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  4 
  •  5 
  •  Next 
  •  End 
  • »


Page 1 of 5