Friday, August 6, 2010

FreeNAS


Would love to buy the Pogplugged.  But I can't really afford the extra $107 right now.

http://ecx.images-amazon.com/images/I/41LnMgExJaL._SL210_.jpg

So I download the FreeNAS live CD.

Booted up my old portable from the CD.

Set the LAN IP address using option 2.

Connect from second machine using 'http://192.168.2.67:80'

Log in using 'admin/freenas'

Attached a windows USB drive.

How do I get FreeNAS to see it?

Took some looking before I realize that there is a green '+' to the right of the drive list.  Selecting the '+' gave me the 'Disk|Add' window.


Change password to my favorite password.

Working from LiveCD so password is not saved.

The web interface is good if you have a single partition on a single drive, but that it not what I have.

trying by hand.

From the shell.

Using the following links for reference:

http://forums.freebsd.org/showthread.php?t=9819
http://www.freebsd.org/doc/en/books/handbook/disks-adding.html

Trying to see what drive dmesg saw:  less /var/run/dmesg?

md0 - I think this is the drive in memory for the liveCD
ad0 - this is the drive for the protable
acd0 - the DVD drive

PC BIOS partitions are called slices.

See what 'slices' are on the USB drive I am testing with.

On USB stick:  (da0)

  • FAT 32 (shows as da0)
On NextStar (da1)

  • NextStarNTFS57:  61 GB NTFS
  • 6.2 GB FAT
  • 50 GB Ext 3
  • 2.2 GB logical partition
When I look at the I see one slice for da0 and 6 slices for da1.

Mounted the slice for the stick.

# mkdir /mnt/st1
# mount_msdosfs /dev/da0s1 /mnt/st1
#l ls /mnt/st1
Audio

It didn't show up in the WebGUI.

Unmount and used WebGUI.

Add drive than mount point.

I can see it from the shell now.

OK, how do i see it from another machine?

What to do from the WebGUI when you start:

Set the time.  System -> General
Change the password.  System -> Password

Add the disk.  Disks -> Management
Set mount point.  Disks ->Mount Point -> Management

Trying to connect.  Looks like Samba is already running on the FreeNAS.

Look like Samba is installed on the connecting machine.

Following this link:  http://ubuntuforums.org/showthread.php?t=202605

Use command 'hostname' from command line to see host name.

Use "route -n" to find the gateway address:  http://www.cyberciti.biz/faq/how-to-find-gateway-ip-address/

This seems to be a good tutorial:  http://www.lagesse.org/freenas-tutorial-for-windows-users-part-two-configuration/

Going to have to reboot in windows and test from there.  The test fails in Ubuntu.










http://www.pogoplugged.com/page/community-store




No comments:

Post a Comment