Help getting Pink Pogoplug running NAS -- AGAIN!

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Help getting Pink Pogoplug running NAS -- AGAIN!

Postby Hypnosis4U2NV » Sat Aug 06, 2011 11:52 pm

I bought this little guy for the ability to create a low cost and energy efficient NAS server for my external Hard Drives.. The original interface was not bad streaming my media files to my WDTV's, but it doesn't work with MKV's.. So I decided to load up Linux and have a go at it with the great tutorial's that I found on the web.

I don't have the Linux understanding as most of you have, but I consider myself a quick learner and pretty good at following directions.. Following the instructions set forth here http://archlinuxarm.org/platforms/armv5 ... 2-pinkgray, I was able to load the modified uBoot program on my Pink Pogoplug and install Archlinux to a 4GB USB stick.. When I rebooted the system, my router had a new IP address for the Pogoplug called 'alarm' and I was able to SSH into it with root/username and root/password..

And from there I am stuck with how I can set this device to become a NAS on my network to access the data on my external hard drives which are connected to it.. I am almost there, but would greatly appreciate any further instructions on how to go about achieving this..

Thanks in advance..
Last edited by Hypnosis4U2NV on Sat Oct 15, 2011 10:18 pm, edited 2 times in total.
Hypnosis4U2NV
 
Posts: 62
Joined: Sat Aug 06, 2011 11:41 pm

Re: Help getting Pink Pogoplug running NAS

Postby WarheadsSE » Sun Aug 07, 2011 2:04 am

Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Help getting Pink Pogoplug running NAS

Postby radengr » Sun Aug 07, 2011 2:20 am

More specifically, what you want to install is Samba:

http://archlinuxarm.org/support/guides/ ... ions/samba

Let us know how it goes.
radengr
 
Posts: 22
Joined: Sun Aug 07, 2011 2:08 am

Re: Help getting Pink Pogoplug running NAS

Postby Hypnosis4U2NV » Sun Aug 07, 2011 3:00 am

Thanks guys! I'm gonna play with it a bit tomorrow when I get back from work..
Hypnosis4U2NV
 
Posts: 62
Joined: Sat Aug 06, 2011 11:41 pm

Re: Help getting Pink Pogoplug running NAS

Postby Hypnosis4U2NV » Mon Aug 08, 2011 11:35 pm

So I came home today to try and finish up setting this Pogoplug up with Samba.. I shut down the Pogoplug, put the USB I created with the Archlinux in the front USB port and rebooted.. It would not boot.. Tried again, and still no go.. I went ahead and installed everything from scratch, uBoot first and then the Archlinux.. After rebooting, I was able to see the 'alarm' IP on my router but NO green led on the front of the Pogoplug.. I SSH'ed into the 'alarm' IP and started to install Samba..

Can't get past smbpasswd -a pcguest

login as: root
root@192.168.0.187's password:
Last login: Wed Dec 31 18:45:08 1969 from 192.168.0.192
[root@alarm ~]# smbpasswd -a pcguest
Can't load /etc/samba/smb.conf - run testparm to debug it
[root@alarm ~]#
Hypnosis4U2NV
 
Posts: 62
Joined: Sat Aug 06, 2011 11:41 pm

Re: Help getting Pink Pogoplug running NAS

Postby pepedog » Tue Aug 09, 2011 12:14 am

Did you rename the sample in /etc/samba? Then edit it? Then start samba with /etc/rc.d/samba start
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Help getting Pink Pogoplug running NAS

Postby Hypnosis4U2NV » Tue Aug 09, 2011 12:28 am

Thanks for bearing with me..

I created a smb.conf using the sample information from the Samba installation page and also edited limits.conf because I have Windows 7 machines.. I then went back and tried smbpasswd -a pcguest and it allowed me to edit the password (I just pressed enter twice to leave it blank)..

[root@alarm ~]# smbpasswd -a pcguest
New SMB password:
Retype new SMB password:
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /etc/samba/private/passdb.tdb file.
account_policy_get: tdb_fetch_uint32 failed for type 1 (min password length), returning 0
account_policy_get: tdb_fetch_uint32 failed for type 2 (password history), returning 0
account_policy_get: tdb_fetch_uint32 failed for type 3 (user must logon to change password), returning 0
account_policy_get: tdb_fetch_uint32 failed for type 4 (maximum password age), returning 0
account_policy_get: tdb_fetch_uint32 failed for type 5 (minimum password age), returning 0
account_policy_get: tdb_fetch_uint32 failed for type 6 (lockout duration), returning 0
account_policy_get: tdb_fetch_uint32 failed for type 7 (reset count minutes), returning 0
account_policy_get: tdb_fetch_uint32 failed for type 8 (bad lockout attempt), returning 0
account_policy_get: tdb_fetch_uint32 failed for type 9 (disconnect time), returning 0
account_policy_get: tdb_fetch_uint32 failed for type 10 (refuse machine password change), returning 0
Added user pcguest.
[root@alarm ~]#

So everything seems completed as far as the setup goes but I still have questions..

What do I edit in the smb.conf that would allow sharing of my hard drives attached to different usb ports?
How do I distinguish the usb ports?
How do I start Samba and what do I need to do in order to make sure its running and my drives are being shared?
How do I look up the drives connected to the Pogoplug with my PC and WDTV's?
Hypnosis4U2NV
 
Posts: 62
Joined: Sat Aug 06, 2011 11:41 pm

Re: Help getting Pink Pogoplug running NAS

Postby pepedog » Tue Aug 09, 2011 12:08 pm

I "think" you can label drives, and the will appear in /media that way, example
tune2fs -L "bigdrive" /dev/sdb1
when plugged in mounts as /media/bigdrive
But if all drives are plugged in at boot, there may be a problem.
Look at the smb.conf file sample on how they are shared, restart samba after edit.

There is many ways to share media, I use minidlna, and mt-daap for iPhone media library
Look at packages this way
pacman -Ss > atextfile.txt
Read the text file for descriptions, always pacman -Syu before installing
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Help getting Pink Pogoplug running NAS

Postby Hypnosis4U2NV » Tue Aug 09, 2011 1:13 pm

I can only make out bits and pieces of the Linux code and I really am lost at this point as far as what commands I should add or edit to get this to work.

I started the SAMBA server and through my Windows 7 PC I was able to see the Network for 'ALARM' and see the share for "ArchLinuxARM" which is, I assume, the USB stick connected to the front of the device which hold the ArchLinux OS.. Connecting to the share "ArchLinuxARM" gives me a Windows error that it can't connect to it.
Hypnosis4U2NV
 
Posts: 62
Joined: Sat Aug 06, 2011 11:41 pm

Re: Help getting Pink Pogoplug running NAS

Postby WarheadsSE » Tue Aug 09, 2011 2:04 pm

http://archlinuxarm.org/support/guides/ ... ions/samba

Specifically, for windows 7, see the tidbit on win7 and changing the limits. Search the page for "windows 7"

As for that path in the ArchLinuxARM .. that doesn't exist. You're better off changing that to /media or some other path that actually exists.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 4 guests