can not install samba on pogo E02

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

can not install samba on pogo E02

Postby confucius » Wed Feb 27, 2013 5:00 pm

Following the installation tutorial on this site, I successfully installed the archlinux on my pogoplug E02 using 32G nano flash drive by Sandisk.

However, I searched many places and can hardly find any clear instructions on how to install Samba. I followed instructions here http://yltan.com/blog/part-2-setting-po ... ba-server/
But got my flash drive frozen and not bootable. I had to reformat the flash drive, install archlinux again. I stayed up till 2:30AM and could not get the samba set up.

Is there any easy to follow instructions for a linux Newbie to install Samba on Archlinux?

Thank you,
confucius
 
Posts: 7
Joined: Wed Feb 27, 2013 4:34 pm

Re: can not install samba on pogo E02

Postby Socaltom » Wed Feb 27, 2013 10:02 pm

I would avoid that page, his advice is dangerous, and he doesn't explain what he is doing.

A good resource is the arch wiki https://wiki.archlinux.org/

Read up on pacman
( -Syu updates everything avoid that unless you have a good backup, its often problematic)

-Sy installs packages, and updates your database of packages

-Ss searches the package repositories for the text that follows

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

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

to install webmin

$this->bbcode_second_pass_code('', 'pacman -Sy webmin')

edit /etc/webmin/miniserv.conf to add your ip to the line
allow = 192.168.

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

Once you have both installed you can use the samba file sharing module in webmin to create shares and a whole bunch of other stuff.
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: can not install samba on pogo E02

Postby confucius » Thu Feb 28, 2013 2:31 am

Thanks for the information. I got webmin up and running. However, after the configuration following these steps http://www.webmin.com/samba-howto.html and click restart samba server. I got this error message. Failed to restart Samba servers : /etc/rc.d/samba start failed
confucius
 
Posts: 7
Joined: Wed Feb 27, 2013 4:34 pm

Re: can not install samba on pogo E02

Postby tedm » Thu Feb 28, 2013 3:57 am

some of the wiki pages haven't updated outdated SysV scripts to systemd yet.

try: systemctl [start/stop/restart/status] webmin and/or samba


$this->bbcode_second_pass_quote('confucius', 'T')hanks for the information. I got webmin up and running. However, after the configuration following these steps http://www.webmin.com/samba-howto.html and click restart samba server. I got this error message. Failed to restart Samba servers : /etc/rc.d/samba start failed
tedm
 
Posts: 88
Joined: Tue Jan 01, 2013 1:12 am

Re: can not install samba on pogo E02

Postby confucius » Thu Feb 28, 2013 4:06 am

Thanks for your reply. I managed to see Samba Server and after the click I see the shared folder "home" on my windows 7 64bit machine.

However, my Windows 7 64 bit machine can not access the shared folder "home". The error message says "....not
accessible. You might not have permission to use this network resource.....

not enough storage is available to process this command"

Windows 7 64bit.
confucius
 
Posts: 7
Joined: Wed Feb 27, 2013 4:34 pm

Re: can not install samba on pogo E02

Postby confucius » Thu Feb 28, 2013 4:17 am

here is the picture of the error message I got.
Attachments
CaptureSambaNotAccessible.JPG
CaptureSambaNotAccessible.JPG (38.5 KiB) Viewed 7324 times
confucius
 
Posts: 7
Joined: Wed Feb 27, 2013 4:34 pm

Re: can not install samba on pogo E02

Postby Socaltom » Thu Feb 28, 2013 5:17 am

Try taking the space out of the sever name "samba server"
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: can not install samba on pogo E02

Postby confucius » Thu Feb 28, 2013 6:08 am

I mounted another USB drive to /mnt/usbdisk1 and created a share folder called test. The problem has solved.
Now I have a new problem. I can not write to the shared folder.

I also used "chmod -R 777 /mnt/usbdisk1/shared" but still no avail.

Here is my configration file
[global]
dns proxy = no
log file = /var/log/samba/%m.log
load printers = yes
netbios name = Samba Server
writeable = yes
server string = Samba Server
workgroup = WORKGROUP
os level = 20
encrypt passwords = yes
public = yes
security = share
max log size = 50
read only = no
force user = sambauser

[test]
path = /mnt/usbdisk1/shared

$this->bbcode_second_pass_quote('Socaltom', 'T')ry taking the space out of the sever name "samba server"
confucius
 
Posts: 7
Joined: Wed Feb 27, 2013 4:34 pm

Re: can not install samba on pogo E02

Postby rty » Thu Feb 28, 2013 11:53 am

These 3 lines do not belong to the "global" section:
$this->bbcode_second_pass_quote('', '
')public = yes
read only = no
writeable = yes


Move all three to [test]
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
Top

Re: can not install samba on pogo E02

Postby sjwoo » Thu Feb 28, 2013 2:54 pm

Is there something I'm missing here?

$this->bbcode_second_pass_code('', '[root@pogo ~]# systemctl start samba.service
Failed to issue method call: Unit samba.service failed to load: No such file or directory. See system logs and 'systemctl status samba.service' for details.
[root@pogo ~]# systemctl status samba.service
samba.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)

[root@pogo ~]# ls /etc/samba/smb.conf
/etc/samba/smb.conf
[root@pogo ~]#')
sjwoo
 
Posts: 38
Joined: Thu Dec 15, 2011 2:46 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 53 guests