lost trying to set up pogo-eo2 as local file server

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

lost trying to set up pogo-eo2 as local file server

Postby mgamer20o0 » Thu Feb 07, 2013 2:34 am

I am trying to set up my new pogo-e02 to stream media on my local network. i have read http://archlinuxarm.org/platforms/armv5 ... 2-pinkgray and got though that but this is where i am lost. i read one of the posts about installing samba and there as a link but it doesnt work.

i found the samba archwiki though i am not sure what i am doing. how to start is very well documated but after that its kind of a blank. i have had to restall a couple times playing around trying to get it to work. i just dont know enough to get this fixed.
https://wiki.archlinux.org/index.php/Samba

are there any new videos or walk though to explain what to do next? i am at a loss.
mgamer20o0
 
Posts: 3
Joined: Thu Feb 07, 2013 2:11 am

Re: lost trying to set up pogo-eo2 as local file server

Postby moonman » Thu Feb 07, 2013 2:44 am

$this->bbcode_second_pass_code('', 'nano /etc/samba/smb.conf')

copy paste this:
$this->bbcode_second_pass_code('', '[global]
workgroup = WORKGROUP
server string = Pogoplug
netbios name = Pogoplug
security = share
load printers = yes
printing = bsd
printcap name = /dev/null
disable spoolss = yes
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
# max protocol = SMB2
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072
use sendfile = true

[media]
path = /media/
read only = no
public = yes
writable = yes
force user = root
')

Add more entries of type
$this->bbcode_second_pass_code('', '[media] --> name of share, whatever you like
path = /media/ --> path to share
read only = no
public = yes
writable = yes
force user = root')
as needed

then $this->bbcode_second_pass_code('', 'systemctl enable smbd nmbd
systemctl start smbd nmbd')

No videos or walkthorughs, you just have to read documentation :|
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: lost trying to set up pogo-eo2 as local file server

Postby mgamer20o0 » Thu Feb 07, 2013 2:52 am

thank you. it says no such file or directory.

dont i have to install samba 1st?
mgamer20o0
 
Posts: 3
Joined: Thu Feb 07, 2013 2:11 am

Re: lost trying to set up pogo-eo2 as local file server

Postby Socaltom » Thu Feb 07, 2013 3:22 am

To install samba
$this->bbcode_second_pass_code('', 'pacman -Sy samba')

I also recommend installing webmin
$this->bbcode_second_pass_code('', 'pacman -Sy webmin')

https://wiki.archlinux.org/index.php/Webmin

It makes adding shares and changing rights on shares much easier.

FWIW, 9 out of 10 times I had issues it was because the rights at the folder/file were wrong, not because of samba because the file or folder was owned by root.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: lost trying to set up pogo-eo2 as local file server

Postby mgamer20o0 » Thu Feb 07, 2013 3:43 am

thank you. i think they should add to the walkthough a few of these steps. how to set up archlinux was very simple easy to follow when done its like they assume you know what you are doing.
mgamer20o0
 
Posts: 3
Joined: Thu Feb 07, 2013 2:11 am

Re: lost trying to set up pogo-eo2 as local file server

Postby rty » Thu Feb 07, 2013 6:01 am

There used to be a good wiki page on setting up Samba but the page has been removed after systemd was introduced. Anyway, worry not. Just follow the steps Socaltom and Moonman outlined, i.e install Samba, create the directory, set the directory permission, configure Samba, start Samba, and test it. Remember, everytime you make any change on Samba configuration (/etc/samba/smb.conf), you must restart Samba:

$this->bbcode_second_pass_code('', '
systemctl restart smbd
systemctl restart nmbd
')

Just to be sure, install Nano text editor:

$this->bbcode_second_pass_code('', '
pacman -Sy nano
')
Alarm + Samba + NginX + Php+ MySQL + phpMyAdmin on Raspberry Pi 3, Pogoplug 4, Pogoplug E02, Seagate Goflex Home
rty
 
Posts: 75
Joined: Sun Jun 03, 2012 8:57 am
Location: Singapore

Re: lost trying to set up pogo-eo2 as local file server

Postby WarheadsSE » Thu Feb 07, 2013 4:17 pm

nano should be default package

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

Re: lost trying to set up pogo-eo2 as local file server

Postby lordesp27 » Sat Feb 09, 2013 7:43 pm

hi guys i have the same problem. i followed everything here but when i get to systemct1, it says command not found. this is the first time im on linux system so i do apologize for this question. :)
lordesp27
 
Posts: 28
Joined: Thu Feb 07, 2013 3:49 pm

Re: lost trying to set up pogo-eo2 as local file server

Postby pepedog » Sat Feb 09, 2013 8:17 pm

systemctl not systemct1
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: lost trying to set up pogo-eo2 as local file server

Postby lordesp27 » Sun Feb 10, 2013 5:29 am

thanks you so much. now i can see the shared folder but cant access it. its saying it cant access the network. i guess i have to read more about linux. i guess ill be posting more post and read more stuff here. :)
lordesp27
 
Posts: 28
Joined: Thu Feb 07, 2013 3:49 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 7 guests