[Resolved] Goflex Home Successful Install: Now what?

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

[Resolved] Goflex Home Successful Install: Now what?

Postby Oogbored » Mon Dec 03, 2012 8:02 pm

I'm going to go ahead and apologize in advance for being naive. Here's my situation. I have a Goflex Home 3tb, which I have successfully upgraded to Arch Linux, green light is solid, I can ssh into it, load new commands, everything from that standpoint is good. However, I upgraded to Arch Linux to use the device how it was meant to be used, as an easy throw any file on it, and have it played across the house NAS. I can find no information on how to actually make it useful beyond this point. I do not have any Linux machines, nothing on the network can detect the device. How do I enable the box to work as a nas, in a windows environment? As it is it serves as a mildly interesting doorstop, that pretty code can be added to.
Last edited by Oogbored on Wed May 29, 2013 7:29 am, edited 1 time in total.
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

Re: Goflex Home Successful Install: Now what?

Postby pepedog » Mon Dec 03, 2012 8:11 pm

Have a go at samba
https://wiki.archlinux.org/index.php/Samba
Samba is windows sharing
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Goflex Home Successful Install: Now what?

Postby Oogbored » Mon Dec 03, 2012 8:20 pm

I stared at the Samba setup tutorial for quite a while last night after having set up the Goflex, and could not make heads or tails of it. I've never had much luck with the windows command prompt which seems to be necessary to load Samba. I also have a PS3 an and Sony SMB Media player which will need access to the files on the device. What I'm looking for really is what the original device advertised it was able to do, stream any file to anything on the network. Is there anything I can load onto the Arch Linux device to get it to play nice nativity with everything else? As it stands only Network Magic can see it by mac and IP address, and I can ssh into with putty.
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

Re: Goflex Home Successful Install: Now what?

Postby xenoxaos » Mon Dec 03, 2012 8:50 pm

possibly give minidlna a go as well.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Goflex Home Successful Install: Now what?

Postby Oogbored » Mon Dec 03, 2012 10:18 pm

Minidlna installed, I go to try and configure it to run, and this is as far as I get.

[root@alarm ~]# /etc/rc.conf
-bash: /etc/rc.conf: Permission denied
[root@alarm ~]# nano /etc/rc.conf
[root@alarm ~]# /etc/rc.d/minidlna start
/etc/rc.d/minidlna: line 4: /etc/rc.d/functions: No such file or directory
/etc/rc.d/minidlna: line 16: stat_busy: command not found
/etc/rc.d/minidlna: line 32: stat_fail: command not found
[root@alarm ~]# nano /etc/rc.d/functions
[root@alarm ~]# /etc/rc.d/minidlna start
/etc/rc.d/minidlna: line 16: stat_busy: command not found
/etc/rc.d/minidlna: line 32: stat_fail: command not found
[root@alarm ~]#

It told me there was no such file as /ect/rc.d/funtions, so I made one with the nano command, no idea what to put in it since this is my first attempt to do anything with linux so I copy pasted

#
# /etc/rc.conf - configuration file for initscripts
#
# Most of rc.conf has been replaced by various other configuration
# files. See archlinux(7) for details.
#
# For more details on rc.conf see rc.conf(5).
#

DAEMONS=()

# A reasonable DAEMONS array when using sysvinit is:
# DAEMONS=(syslog-ng network crond)
#
# When using systemd, it is recommended to only enable daemons that
# do not have native systemd service files.

# Storage
#
# USEDMRAID="no"
# USELVM="no"

# Network
#
# interface=
# address=
# netmask=
# gateway=

into the file and added minidlna in under the daemon ()
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

Re: Goflex Home Successful Install: Now what?

Postby xenoxaos » Mon Dec 03, 2012 10:23 pm

The new rootfs uses systemd. Ignore anything that references initscripts, rc.conf, /etc/rc.d/, etc.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Goflex Home Successful Install: Now what?

Postby Oogbored » Mon Dec 03, 2012 11:34 pm

Thanks for the help so far, sorry for my continued helplessness.

Read around on different boards, tutorials, and beginners guides.

Found the systemctl enable command to attempt to add minidlna to the daemon and boot list, no real results. What exactly do I need to do to make this come online?
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

Re: Goflex Home Successful Install: Now what?

Postby moonman » Tue Dec 04, 2012 12:17 am

"systemctl enable <service>" just makes it start at boot.
"systemctl start <service>" starts it right away.

You need to edit the config file and add folders that you want to be available for streaming:
https://wiki.archlinux.org/index.php/Mi ... figuration
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Goflex Home Successful Install: Now what?

Postby Oogbored » Tue Dec 04, 2012 12:30 am

Following the tutorial I enter, and get the response of:
[root@alarm ~]# etc/minidlna.conf
-bash: etc/minidlna.conf: No such file or directory

Start mini dlna:
[root@alarm ~]# systemctl start minidlna
[root@alarm ~]# /etc/minidlna.conf
-bash: /etc/minidlna.conf: Permission denied

Go to edit the file to set it up via the nano command:
[root@alarm ~]# nano etc/minidlna.conf

Enter in settings, and I am told that the directory does not exist, so I cannot save it.
Oogbored
 
Posts: 68
Joined: Mon Dec 03, 2012 7:55 pm

Re: Goflex Home Successful Install: Now what?

Postby moonman » Tue Dec 04, 2012 12:48 am

You are missing the leading "/" which denotes the root directory (not to confuse with /root) in Unix-like OS. you are trying to access etc/minidlna.conf relative to the directory you are in (which is your home directory denoted by '~' character, that would be /root/etc/minidlna.conf which doesn't exist). So, to edit the file you need to use "nano /etc/minidlna.conf"
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 1 guest